/* ═══════════════════════════════════════════
   FREIM LANDING — PREMIUM DESIGN SYSTEM
   ═══════════════════════════════════════════ */

/* --- DESIGN TOKENS --- */
:root {
    --bg: #ffffff;
    --bg-surface: #f9fafb;
    --bg-card: rgba(255, 255, 255, 0.9);
    --accent: #059669;
    --accent-secondary: #4f46e5;
    --accent-pink: #db2777;
    --accent-dim: rgba(5, 150, 105, 0.08);
    --accent-glow: rgba(5, 150, 105, 0.2);
    --gradient-accent: linear-gradient(135deg, #059669 0%, #4f46e5 100%);
    --gradient-card: linear-gradient(135deg, rgba(5, 150, 105, 0.04) 0%, rgba(79, 70, 229, 0.03) 100%);
    --text-main: #111827;
    --text-muted: #4b5563;
    --text-dim: #9ca3af;
    --border: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(5, 150, 105, 0.3);
    --font-main: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t: 0.4s var(--ease);

    --nav-height: 72px;
    --section-pad: clamp(60px, 10vw, 120px);
    --side-pad: clamp(24px, 6vw, 10%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

::selection {
    background: rgba(0, 245, 212, 0.2);
    color: #fff;
}

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

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

button {
    cursor: pointer;
}

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    padding: 0 var(--side-pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border);
    transition: var(--t);
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-socials {
    display: none;
}

.social-icon {
    color: var(--text-main);
    transition: var(--t);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.social-icon:hover {
    color: var(--accent);
    transform: scale(1.1) translateY(-2px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* ─── LAZY REVEAL ─── */
[data-reveal="lazy"] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

[data-reveal="lazy"].is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


.nav .logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -1px;
    color: var(--text-main);
    text-decoration: none;
    position: relative;
    z-index: 1001;
}


.nav .logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 1px;
    opacity: 0.6;
}

.nav .links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav .links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    transition: var(--t);
    position: relative;
    padding: 4px 0;
}

.nav .links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease);
}

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

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

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 28px;
    height: 20px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #121826;
    border-radius: 1px;
    transition: var(--t);
    transform-origin: center;
}


.nav.active .nav-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav.active .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav.active .nav-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 0 var(--side-pad);
    padding-top: var(--nav-height);
    background: #ffffff;
}




/* Animated perspective grid (disabled for full animation) */
.hero::before {
    display: none;
}



/* Top-left ambient glow */
.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(0, 191, 154, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}


/* Removed hero-layout grid for centered content */
.hero-layout {
    display: none;
}


.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--accent-dim);
    border: 1px solid rgba(0, 245, 212, 0.15);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 32px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 28px;
    padding-bottom: 0.1em;
    background: linear-gradient(135deg, #121826 0%, #121826 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 40px;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-tagline strong {
    color: var(--accent);
    font-weight: 700;
}

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

.hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    position: relative;
    z-index: 2;
}

/* Glowing ring behind hero image */
.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 28px;
    background: var(--gradient-accent);
    opacity: 0.3;
    z-index: 1;
    filter: blur(20px);
    animation: glow-pulse 4s ease-in-out infinite alternate;
}

.hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.3), rgba(123, 97, 255, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 3;
}

/* --- HERO LOGISTICS ANIMATION --- */
.hero-canvas-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #f9fafb;
    opacity: 1;
}

.hero-canvas-container:not(.ready)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f9fafb 25%, #f0f0f0 50%, #f9fafb 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

#map {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 1.5s var(--ease), filter 1.5s var(--ease);
}

.hero-canvas-container.ready #map {
    opacity: 1;
    filter: blur(0);
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #f9fafb;
}

#vehicleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-overlay {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    max-width: 800px;
    margin: 0 auto;
    padding: 48px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.02);
}

.hero-overlay [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.hero-overlay [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}


.hero-overlay h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    background: linear-gradient(135deg, #121826, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}


.hero-overlay p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}


.canvas-controls {
    position: absolute;
    bottom: 40px;
    right: var(--side-pad);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--t);
    backdrop-filter: blur(10px);
}

.icon-btn:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px var(--accent-glow);
}


.icon-btn svg {
    width: 20px;
    height: 20px;
}

/* ═══════════════════════════════════════════ */

/* --- BUTTONS --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
    transition: var(--t);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}


.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 245, 212, 0.3), 0 0 60px rgba(0, 245, 212, 0.15);
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
}

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

/* --- SECTIONS --- */
.section {
    padding: var(--section-pad) var(--side-pad);
    position: relative;
    overflow: hidden;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), rgba(0, 191, 154, 0.15), var(--border), transparent);
}


.section-header {
    max-width: 640px;
    margin-bottom: 64px;
}

.section-header h2 {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 24px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--text-main);
    position: relative;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Accent underline for section titles */
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* --- SECTION TABS --- */
.tabs-nav {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: clamp(20px, 4vw, 60px);
    margin-bottom: 40px;
    flex-wrap: nowrap; /* Avoid wrapping to maintain header line look */
    border-bottom: 1px solid var(--border);
    padding-bottom: 0px;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    padding-right: var(--side-pad);
}

.tabs-nav::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4.5vw, 2.8rem);
    font-weight: 900;
    color: var(--text-main);
    cursor: pointer;
    opacity: 0.2;
    transition: var(--t);
    position: relative;
    letter-spacing: -1.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn.active {
    opacity: 1;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: width 0.4s var(--ease);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-btn:hover:not(.active) {
    opacity: 0.5;
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
}

.tab-pane.active {
    display: block;
    animation: tabIn 0.6s var(--ease) forwards;
}

@keyframes tabIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- GLASS CARDS --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--t);
}

/* Top shimmer line */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.glass-card:hover {
    border-color: var(--border-hover);
    background: #ffffff;
    transform: translateY(-6px);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.1),
        0 0 40px rgba(0, 191, 154, 0.08);
}


/* --- PILLARS / FEATURES GRID --- */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-card {
    padding: 48px 36px;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 28px;
    color: var(--accent);
    padding: 10px;
    border-radius: 12px;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t);
}

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

.pillar-card:hover .pillar-icon {
    background: rgba(0, 245, 212, 0.15);
    transform: scale(1.1);
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 700;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 300;
}

/* --- STORY SECTION --- */
.section-story {
    background: linear-gradient(180deg, #f8f9fa 0%, var(--bg) 100%);
}


.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
}

.story-text h2 {
    display: inline-block;
    position: relative;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 32px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
}

.story-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.story-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
}

.story-text p+p {
    margin-top: 16px;
}

.story-text mark {
    background: none;
    color: var(--accent);
    font-weight: 700;
}

.story-quote {
    padding: 40px;
    border-left: 3px solid transparent;
    border-image: var(--gradient-accent) 1;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-main);
    position: relative;
}

.story-quote::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

/* --- TRACTION SECTION --- */
.traction-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.stat-item {
    text-align: center;
    padding: 48px 24px;
    border-radius: 16px;
    background: #f8f9fa;
    border: 1px solid var(--border);
    transition: var(--t);
}


.stat-item:hover {
    border-color: var(--border-hover);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    font-weight: 500;
}

/* Feature sub-cards */
.traction-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 40px 32px;
}

.feature-card .pillar-icon {
    color: var(--accent-pink);
    background: rgba(255, 45, 135, 0.08);
}

.feature-card:nth-child(2) .pillar-icon {
    color: var(--accent-secondary);
    background: rgba(123, 97, 255, 0.08);
}

.feature-card:hover .pillar-icon {
    transform: scale(1.1);
}

.feature-card:nth-child(1):hover .pillar-icon {
    background: rgba(255, 45, 135, 0.15);
}

.feature-card:nth-child(2):hover .pillar-icon {
    background: rgba(123, 97, 255, 0.15);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 300;
}

/* --- TEAM SECTION --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    text-align: center;
    padding: 48px 28px;
}

.member-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 24px;
    background: var(--gradient-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent);
    transition: var(--t);
}

.member-card:hover .member-avatar {
    border-color: var(--accent);
    box-shadow: 0 0 24px var(--accent-dim);
    transform: scale(1.05);
}

.member-role {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 3px;
    margin-bottom: 12px;
    display: block;
}

.member-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.member-bio {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    font-weight: 300;
}

/* --- CTA SECTION --- */
.cta-section {
    text-align: center;
    padding: var(--section-pad) var(--side-pad);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 191, 154, 0.1) 0%, transparent 70%);
    pointer-events: none;
}


.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 16px;
    line-height: 1;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-content .btn-primary {
    display: inline-flex;
    margin: 0 auto;
}

/* --- FOOTER --- */
footer {
    padding: 48px var(--side-pad);
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

/* --- KEYFRAMES --- */
@keyframes grid-drift {
    from {
        transform: perspective(600px) rotateX(65deg) translateY(0);
    }

    to {
        transform: perspective(600px) rotateX(65deg) translateY(60px);
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.6);
    }
}

@keyframes glow-pulse {
    0% {
        opacity: 0.2;
        filter: blur(20px);
    }

    100% {
        opacity: 0.4;
        filter: blur(30px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* --- SCROLL REVEAL DEFAULTS --- */
/* GSAP will override, but this prevents flash of invisible content */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

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

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

    .hero-image-wrap {
        max-width: 360px;
    }

    .pillars {
        grid-template-columns: 1fr;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .traction-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .nav {
        padding: 0 20px;
        background: rgba(255, 255, 255, 0.95);
    }


    .nav-toggle {
        display: flex;
    }

    .nav .links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--ease);
        z-index: 1000;
        padding-top: 100px;
        padding-bottom: 60px;
        overflow-y: auto;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-socials {
        display: flex !important;
        gap: 20px;
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid var(--border);
        width: 200px;
        justify-content: center;
    }

    .mobile-socials .social-icon {
        width: 44px;
        height: 44px;
        background: transparent;
    }

    .nav.active .links {
        opacity: 1;
        pointer-events: all;
    }

    .nav .links a {
        font-size: 1.2rem;
        letter-spacing: 6px;
        padding: 15px;
        width: 100%;
        text-align: center;
    }

    .nav .links a::after {
        display: none;
    }

    .hero {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        letter-spacing: -2px;
        margin-bottom: 12px;
        padding-bottom: 0.1em;
    }

    .hero-overlay p {
        margin-bottom: 20px;
        font-size: 0.95rem;
    }

    .hero-actions {
        margin-top: 24px;
    }

    .hero-image-wrap {
        max-width: 280px;
    }

    .traction-bar {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

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

    .member-name {
        font-size: 1.8rem;
    }

    .story-quote {
        padding: 24px;
        font-size: 1.4rem;
    }
}