/* ==========================================================================
   Belanox LTD - Intelligence-Led Cybersecurity
   A sophisticated, editorial design with deep navy and cyan accents
   ========================================================================== */

/* CSS Custom Properties */
:root {
    /* Core palette - Navy intelligence aesthetic */
    --navy-900: #0a1628;
    --navy-800: #0f2240;
    --navy-700: #162d50;
    --navy-600: #1e3a5f;
    --navy-500: #2a4a73;

    /* Accent - Fresh green for tech elements */
    --cyan-400: #7de0b3;
    --cyan-500: #60D098;
    --cyan-600: #4db882;

    /* Light backgrounds */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;

    /* Semantic */
    --text-primary: var(--navy-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-50);
    --bg-accent: var(--gray-100);
    --accent: var(--cyan-500);
    --accent-light: var(--cyan-400);

    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Layout */
    --container-max: 1280px;
    --section-padding: var(--space-24);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

em {
    font-style: normal;
    color: var(--accent);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--navy-900);
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--navy-900) !important;
    color: var(--white) !important;
    padding: var(--space-3) var(--space-5) !important;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--navy-700) !important;
    transform: translateY(-1px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-2);
}

.mobile-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    transition: var(--transition-fast);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy-900);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--navy-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.25);
}

.btn-primary svg {
    transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
    border-color: var(--navy-900);
    color: var(--navy-900);
}

.btn-large {
    padding: var(--space-5) var(--space-8);
    font-size: 1.15rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-16);
    padding: calc(80px + var(--space-16)) var(--space-6) var(--space-16);
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(226, 232, 240, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-accent);
    padding: var(--space-2) var(--space-5);
    border-radius: 100px;
    margin-bottom: var(--space-6);
    animation: fadeSlideUp 0.6s ease backwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: var(--space-6);
}

.title-line {
    display: block;
    animation: fadeSlideUp 0.6s ease backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }

.title-line.accent {
    color: var(--navy-600);
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--accent);
    margin-bottom: var(--space-6);
    animation: fadeSlideUp 0.6s ease 0.3s backwards;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: var(--space-8);
    animation: fadeSlideUp 0.6s ease 0.4s backwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    animation: fadeSlideUp 0.6s ease 0.5s backwards;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.shield-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    animation: ringPulse 4s ease infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.ring-2 {
    width: 75%;
    height: 75%;
    border-color: var(--gray-400);
    animation-delay: 0.5s;
}

.ring-3 {
    width: 50%;
    height: 50%;
    border-color: var(--navy-500);
    animation-delay: 1s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.shield-core {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(10, 22, 40, 0.3);
    animation: coreGlow 3s ease infinite;
}

@keyframes coreGlow {
    0%, 100% { box-shadow: 0 8px 32px rgba(10, 22, 40, 0.3); }
    50% { box-shadow: 0 8px 48px rgba(6, 182, 212, 0.3); }
}

.shield-icon {
    width: 48px;
    height: 48px;
    color: var(--cyan-400);
}

.data-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    animation: nodeFloat 6s ease infinite;
}

.node-1 { top: 15%; left: 20%; animation-delay: 0s; }
.node-2 { top: 25%; right: 15%; animation-delay: 1.5s; }
.node-3 { bottom: 20%; left: 15%; animation-delay: 3s; }
.node-4 { bottom: 30%; right: 20%; animation-delay: 4.5s; }

@keyframes nodeFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    25% { transform: translate(5px, -8px); opacity: 1; }
    50% { transform: translate(-3px, 5px); opacity: 0.8; }
    75% { transform: translate(8px, 3px); opacity: 1; }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
    margin-bottom: var(--space-12);
}

.section-number {
    display: none;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.section-intro {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin-top: calc(-1 * var(--space-8));
    margin-bottom: var(--space-12);
}

/* ==========================================================================
   Why Belanox Section
   ========================================================================== */

.why-section {
    background: var(--bg-secondary);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
    align-items: start;
}

.why-headline {
    font-size: 2.25rem;
    margin-bottom: var(--space-5);
}

.why-lead {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: var(--space-6);
}

.why-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

/* Why Visual Container */
.why-visual {
    display: flex;
    align-items: center;
}

/* Value Card */
.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: 0 8px 32px rgba(10, 22, 40, 0.08);
    border: 1px solid var(--gray-200);
    width: 100%;
}

.value-item {
    display: flex;
    gap: var(--space-5);
    padding: var(--space-5) 0;
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.value-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.value-item:first-child {
    padding-top: 0;
}

.value-item:hover {
    transform: translateX(8px);
}

.value-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
}

.value-content h4 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: var(--space-1);
}

.value-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   CAF Section
   ========================================================================== */

.caf-section {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: var(--white);
}

.caf-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.caf-badge {
    display: inline-block;
    margin-bottom: var(--space-4);
}

.caf-badge span {
    background: rgba(96, 208, 152, 0.2);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    padding: var(--space-2) var(--space-4);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.caf-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: var(--space-2);
}

.caf-subtitle {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: var(--space-4);
}

.caf-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.caf-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.caf-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.caf-feature svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* CAF Visual */
.caf-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.caf-framework {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.framework-ring {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.framework-ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 6px;
    background: var(--accent);
    border-radius: 3px;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.framework-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.framework-label {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--white);
    line-height: 1;
}

.framework-sub {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.framework-objectives {
    position: absolute;
    inset: 0;
}

.objective {
    position: absolute;
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy-900);
    box-shadow: 0 4px 12px rgba(96, 208, 152, 0.4);
}

.obj-a { top: 0; left: 50%; transform: translateX(-50%); }
.obj-b { top: 50%; right: 0; transform: translateY(-50%); }
.obj-c { bottom: 0; left: 50%; transform: translateX(-50%); }
.obj-d { top: 50%; left: 0; transform: translateY(-50%); }

.caf-objectives-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2) var(--space-6);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.legend-item span {
    width: 22px;
    height: 22px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--navy-900);
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .caf-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .caf-features {
        justify-content: center;
    }

    .caf-content .btn {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .caf-features {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.stat-card {
    text-align: center;
    padding: var(--space-10) var(--space-6);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.1);
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--navy-800);
}

.stat-symbol {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent);
}

.stat-symbol.small {
    font-size: 2rem;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy-700);
    margin-bottom: var(--space-2);
}

.stat-desc {
    font-size: 1rem;
    color: var(--text-muted);
}

.stats-message {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-8);
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    border-radius: var(--radius-lg);
    color: var(--white);
}

.stats-message p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.stats-message strong {
    color: var(--cyan-400);
}

.stats-message .highlight {
    margin-top: var(--space-4);
    font-family: var(--font-display);
    font-size: 1.5rem;
    opacity: 1;
}

/* ==========================================================================
   Pillars Section
   ========================================================================== */

.pillars-section {
    background: var(--bg-secondary);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.pillar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-10);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 22, 40, 0.12);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-700);
}

.pillar-icon svg {
    width: 32px;
    height: 32px;
}

.pillar-title {
    font-size: 1.75rem;
}

.pillar-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.pillar-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.list-marker {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.pillar-technical .pillar-icon {
    background: var(--navy-800);
    color: var(--cyan-400);
}

.pillar-technical .list-marker {
    background: var(--navy-700);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.service-card {
    padding: var(--space-8);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    background: var(--white);
}

.service-card:hover {
    border-color: var(--navy-300);
    box-shadow: 0 8px 32px rgba(10, 22, 40, 0.08);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    color: var(--navy-700);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    color: var(--cyan-400);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
}

.service-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   Tech Section
   ========================================================================== */

.tech-section {
    background: var(--navy-900);
    color: var(--white);
}

.tech-section .section-number {
    color: var(--cyan-400);
}

.tech-section .section-title {
    color: var(--white);
}

.tech-section .section-title em {
    color: var(--cyan-400);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--cyan-500);
    transform: translateY(-4px);
}

.tech-number {
    display: none;
}

.tech-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
    color: var(--white);
}

.tech-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.tech-visual {
    height: 40px;
    position: relative;
}

/* Pulse Lines Animation */
.pulse-line {
    position: absolute;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
    width: 60%;
    animation: pulseLine 2s ease infinite;
}

.pulse-line:nth-child(1) { top: 0; animation-delay: 0s; }
.pulse-line:nth-child(2) { top: 50%; animation-delay: 0.5s; width: 80%; }
.pulse-line:nth-child(3) { top: 100%; animation-delay: 1s; width: 40%; }

@keyframes pulseLine {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(20px); }
}

/* Radar Sweep Animation */
.radar-sweep {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: relative;
}

.radar-sweep::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: var(--cyan-400);
    transform-origin: left center;
    animation: radarSweep 2s linear infinite;
}

@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scan Grid Animation */
.scan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    width: 44px;
}

.scan-grid span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    animation: scanPulse 2s ease infinite;
}

.scan-grid span:nth-child(1) { animation-delay: 0s; }
.scan-grid span:nth-child(2) { animation-delay: 0.1s; }
.scan-grid span:nth-child(3) { animation-delay: 0.2s; }
.scan-grid span:nth-child(4) { animation-delay: 0.3s; }
.scan-grid span:nth-child(5) { animation-delay: 0.4s; }
.scan-grid span:nth-child(6) { animation-delay: 0.5s; }
.scan-grid span:nth-child(7) { animation-delay: 0.6s; }
.scan-grid span:nth-child(8) { animation-delay: 0.7s; }
.scan-grid span:nth-child(9) { animation-delay: 0.8s; }

.scan-grid span.threat {
    background: var(--cyan-400);
    animation: threatPulse 1s ease infinite;
}

@keyframes scanPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes threatPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* ==========================================================================
   Leadership Section
   ========================================================================== */

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.leader-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-10);
    position: relative;
    border: 1px solid var(--gray-200);
}

.leader-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy-700);
    background: var(--gray-200);
    padding: var(--space-2) var(--space-4);
    border-radius: 100px;
    margin-bottom: var(--space-6);
}

.leader-badge.technical {
    background: var(--navy-800);
    color: var(--cyan-400);
}

.leader-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-4);
}

.leader-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.leader-stats {
    display: flex;
    gap: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-200);
}

.leader-stat {
    display: flex;
    flex-direction: column;
}

.leader-stat .stat-num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--navy-800);
}

.leader-stat .stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.leaders-footer {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Standards Section
   ========================================================================== */

.standards-section {
    background: var(--bg-secondary);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.standard-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.standard-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-5);
    color: var(--navy-700);
}

.standard-icon svg {
    width: 100%;
    height: 100%;
}

.standard-card h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.standard-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* London Trust */
.london-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-12);
    border: 1px solid var(--gray-200);
}

.trust-content h3 {
    font-size: 2.25rem;
    margin-bottom: var(--space-5);
}

.trust-content > p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.trust-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.trust-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--bg-accent);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-6' stroke='%2306b6d4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.trust-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.regions-map {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.region-badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--navy-700);
    transition: all var(--transition-base);
}

.region-badge:hover {
    transform: translateX(8px);
    border-color: var(--accent);
}

.region-badge svg {
    color: var(--accent);
    flex-shrink: 0;
}

.uk-badge {
    animation: fadeSlideUp 0.6s ease backwards;
}

.cala-badge {
    animation: fadeSlideUp 0.6s ease 0.1s backwards;
}

.chile-badge {
    animation: fadeSlideUp 0.6s ease 0.2s backwards;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.cta-section .container {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: var(--space-8);
    align-items: center;
    max-width: 1100px;
}

.cta-badge {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: var(--space-4);
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--space-6);
}

.cta-title em {
    color: var(--accent);
}

.cta-desc {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.cta-email {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Lock Animation */
.cta-visual {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.lock-animation {
    position: relative;
}

.lock-body {
    width: 80px;
    height: 70px;
    background: var(--navy-800);
    border-radius: var(--radius-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-shackle {
    position: absolute;
    top: -30px;
    width: 44px;
    height: 44px;
    border: 6px solid var(--navy-700);
    border-bottom: none;
    border-radius: 22px 22px 0 0;
    animation: lockShackle 3s ease infinite;
}

@keyframes lockShackle {
    0%, 70%, 100% { transform: translateY(0); }
    80% { transform: translateY(-8px); }
}

.lock-keyhole {
    width: 12px;
    height: 20px;
    background: var(--cyan-400);
    border-radius: 6px 6px 4px 4px;
    position: relative;
}

.lock-keyhole::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 12px;
    background: var(--cyan-400);
    border-radius: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--navy-900);
    color: var(--white);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 180px;
    width: auto;
    margin-bottom: var(--space-4);
}

.footer-brand p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: var(--space-16);
    justify-content: flex-end;
}

.footer-col h5 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-4);
}

.footer-col a {
    display: block;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-3);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--cyan-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: calc(80px + var(--space-12));
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
        margin-bottom: var(--space-8);
    }

    .shield-container {
        width: 240px;
        height: 240px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .why-content,
    .pillars-grid,
    .leaders-grid,
    .london-trust {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .tech-grid,
    .stats-grid,
    .standards-grid {
        grid-template-columns: 1fr;
    }

    .cta-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-visual {
        display: none;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: var(--space-2);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--space-16);
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .stats-grid {
        gap: var(--space-4);
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-symbol {
        font-size: 2rem;
    }

    .pillar,
    .leader-card {
        padding: var(--space-6);
    }

    .london-trust {
        padding: var(--space-8);
    }

    .trust-visual {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .leader-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
}

/* ==========================================================================
   Animations on Scroll
   ========================================================================== */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
