:root {
    /* Professional Light Theme */
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Corporate Blue - Trustworthy & Stable */
    --accent-primary: #2563eb; /* Royal Blue */
    --accent-secondary: #0891b2; /* Cyan/Teal */
    --accent-tertiary: #7c3aed; /* Purple */
    
    --gradient-main: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
                     radial-gradient(at 100% 0%, rgba(124, 58, 237, 0.15) 0px, transparent 50%),
                     radial-gradient(at 100% 100%, rgba(8, 145, 178, 0.15) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(37, 99, 235, 0.05) 0px, transparent 50%);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-light: rgba(0, 0, 0, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Backgrounds */
#bg-canvas {
    display: none; /* Hide the canvas */
}

.overlay-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Enhanced gradient mesh to carry the visual load without particles */
    background: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(124, 58, 237, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(8, 145, 178, 0.08) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(37, 99, 235, 0.03) 0px, transparent 50%);
    z-index: -2;
    pointer-events: none;
    /* Removed pulse animation for a calmer background */
}

@keyframes meshPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-white {
    color: var(--accent-secondary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-symbol {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-primary);
    background: none;
    -webkit-text-fill-color: initial;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--accent-primary);
}

.btn-nav {
    padding: 0.5rem 1.25rem;
    background: var(--accent-primary);
    border-radius: 6px;
    color: white !important;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--accent-tertiary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--border-light);
    color: var(--accent-primary);
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-primary);
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sections Common */
.section {
    padding: 8rem 0;
    position: relative;
}

/* Alternating Section Colors */
.section:nth-of-type(odd) {
    background-color: var(--bg-dark); /* White */
}

.section:nth-of-type(even) {
    background-color: #f8fafc; /* Very subtle slate/grey */
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* Specific Section Adjustments */
#strategies {
    /* Ensure cards stand out on light grey background */
    background-color: #f1f5f9; 
}

.strategy-card {
    /* Cards stay white to pop against the grey section */
    background: white;
}

/* Risk section is usually even in this layout, so it gets the grey background */
#risk {
    background-color: white; /* Override if needed, or keep alternate */
}

/* Footer stays dark */
.footer-section {
    background-color: #0f172a !important;
}
    margin-bottom: 4rem;
    max-width: 600px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.centered-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Cards - 3D Effect Base */
.strategy-card {
    background: white;
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.1s ease; /* Fast transition for tilt */
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 1;
}

/* Card Glow Effect */
.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    pointer-events: none;
}

.strategy-card:hover::before {
    opacity: 1;
}

.strategy-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.strategy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.strategy-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
    transition: background 0.3s;
}

.feature-list li:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feature-list i {
    color: var(--accent-secondary);
    font-size: 1.1rem;
}

/* Visual Elements - SVG & Animation */
.visual-block {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Replaced abstract shape with SVG Container */
.svg-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-icon {
    width: 300px;
    height: 300px;
    filter: drop-shadow(0 10px 20px rgba(37, 99, 235, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Technology Section */
.tech-features {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.tech-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.tech-item:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 10px 20px rgba(8, 145, 178, 0.1);
}

.tech-item h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tech-item i {
    color: var(--accent-secondary);
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-left: 0;
    margin-top: 0.5rem;
}

/* Risk Section */
.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.risk-item {
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.risk-item:hover {
    transform: translateY(-5px);
}

.risk-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.risk-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.1) 0%, rgba(255,255,255,0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1;
}

.risk-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.risk-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Contact Footer */
.footer-section {
    background: #0f172a;
    padding-bottom: 2rem;
    color: #e2e8f0;
}

.footer-section h2, .footer-section .info-item, .footer-section .legal-links a {
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: #1e293b;
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 4rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.full-width {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 { font-size: 3.5rem; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 2rem; }
    .grid-2-col { grid-template-columns: 1fr; }
    .reverse-mobile { display: flex; flex-direction: column-reverse; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        justify-content: center;
        padding: 2rem;
        gap: 2.5rem;
        z-index: 1000;
    }
    .hero h1 { font-size: 2.5rem; margin-top: 1rem; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 5rem 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 2rem; }
    .btn { width: 100%; }
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}
