/* ========== VARIABLES ========== */
:root {
    --navy: #0D1B2A;
    --navy-deep: #060F18;
    --electric: #1A6FBF;
    --electric-light: #2B85D8;
    --teal: #0E7C6B;
    --teal-light: #14a08c;
    --light-blue: #E8F3FC;
    --light-teal: #E3F5F2;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --grey-text: #6B7280;
    --grey-dark: #374151;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(13, 27, 42, 0.08);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --container: 1240px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 200ms var(--ease);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--grey-dark);
    background: var(--white);
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

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

ul, ol {
    list-style: none;
}

/* ========== BASE TYPOGRAPHY ========== */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--navy);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4 {
    color: var(--white);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; }

p {
    color: var(--grey-text);
}

.dark-section p {
    color: rgba(255, 255, 255, 0.68);
}

/* ========== LAYOUT ========== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--space-3xl) 0;
    position: relative;
}

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

.off-white-section {
    background: var(--off-white);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--electric);
    margin-bottom: var(--space-sm);
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--electric);
}

.dark-section .section-label {
    color: var(--electric-light);
}

.dark-section .section-label::before {
    background: var(--electric-light);
}

.section-headline {
    max-width: 720px;
    margin-bottom: var(--space-md);
}

.section-sub {
    max-width: 640px;
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

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

.btn-primary {
    background: var(--electric);
    color: var(--white);
    box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 0 0 1px var(--electric);
}

.btn-primary:hover {
    background: var(--electric-light);
    box-shadow: 0 0 0 1px var(--electric-light), 0 8px 24px rgba(26, 111, 191, 0.35);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    box-shadow: inset 0 0 0 1px rgba(13, 27, 42, 0.15);
}

.btn-outline:hover {
    box-shadow: inset 0 0 0 1px var(--navy);
    transform: translateY(-1px);
}

.dark-section .btn-outline,
.btn-outline-light {
    color: var(--white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.dark-section .btn-outline:hover,
.btn-outline-light:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    background: rgba(255,255,255,0.04);
    transform: translateY(-1px);
}

/* Ripple */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    pointer-events: none;
    transform: scale(0);
    animation: ripple 600ms ease-out;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal-label {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.reveal-label.in {
    opacity: 1;
    transform: translateX(0);
}

.reveal-heading {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.reveal-heading.in {
    opacity: 1;
    transform: scale(1);
}
