/* ============================================================
   CODEMUJI — Design System & Full Styles
   "Future-Ready Minimalism with Brand Identity"
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    /* Background */
    --bg-primary: #0F0F13;
    --bg-surface: #16161D;
    --bg-card: #1C1C26;
    --bg-card-hover: #22222E;

    /* Brand Colors */
    --purple: #7C3AED;
    --purple-light: #A78BFA;
    --purple-glow: rgba(124, 58, 237, 0.4);
    --purple-subtle: rgba(124, 58, 237, 0.08);

    --orange: #F97316;
    --orange-light: #FDBA74;
    --orange-glow: rgba(249, 115, 22, 0.4);
    --orange-subtle: rgba(249, 115, 22, 0.08);

    --gradient-mid: #C084FC;

    /* Text */
    --text-primary: #F1F1F4;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-py: 120px;
    --container-max: 1200px;
    --container-px: 24px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-index */
    --z-nav: 1000;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.15;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

input,
textarea,
button {
    font-family: var(--font-body);
    border: none;
    outline: none;
    background: none;
    color: var(--text-primary);
}

::selection {
    background: var(--purple);
    color: white;
}

/* ── Utility ───────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.text-gradient {
    background: linear-gradient(135deg, var(--purple-light), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-orange {
    color: var(--orange);
}

.text-purple {
    color: var(--purple-light);
}

.text-orange-glow {
    color: var(--orange);
    text-shadow: 0 0 40px var(--orange-glow), 0 0 80px rgba(249, 115, 22, 0.15);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--purple);
    color: var(--orange-light);
    box-shadow:
        0 0 20px var(--purple-glow),
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-out);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 40px var(--purple-glow),
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-ghost {
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
    border-color: var(--purple-light);
    color: var(--purple-light);
    background: var(--purple-subtle);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── NAVIGATION ────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 15, 19, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.04em;
    z-index: calc(var(--z-nav) + 1);
}

.logo-code {
    color: var(--purple-light);
}

.logo-muji {
    color: var(--orange);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta-btn {
    background: var(--purple);
    color: var(--orange-light) !important;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 0 15px var(--purple-glow);
}

.nav-cta-btn:hover {
    box-shadow: 0 0 30px var(--purple-glow);
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: calc(var(--z-nav) + 1);
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO SECTION ──────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: float 12s ease-in-out infinite;
    will-change: transform;
}

.hero-orb--purple {
    width: 600px;
    height: 600px;
    background: var(--purple);
    top: -15%;
    right: -10%;
    animation-delay: 0s;
}

.hero-orb--orange {
    width: 500px;
    height: 500px;
    background: var(--orange);
    bottom: -20%;
    left: -10%;
    animation-delay: -4s;
    opacity: 0.35;
}

.hero-orb--purple-sm {
    width: 300px;
    height: 300px;
    background: var(--purple-light);
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    animation-delay: -8s;
    opacity: 0.2;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-overline {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(38px, 6vw, 72px);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.08;
}

.hero-sub {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--purple-light);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border-hover), transparent);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-hover);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--purple-light);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

/* ── WHY ADAPT SECTION ─────────────────────────────────────── */
.why-adapt {
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}

.why-adapt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.why-adapt-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.why-adapt-overline {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 24px;
}

.why-adapt-headline {
    font-size: clamp(30px, 5vw, 52px);
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.why-adapt-manifesto {
    font-family: var(--font-heading);
    font-size: clamp(36px, 7vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.why-adapt-body {
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.why-adapt-body em {
    color: var(--text-primary);
    font-style: italic;
}

/* ── SERVICES SECTION ──────────────────────────────────────── */
.services {
    padding: var(--section-py) 0;
    background: var(--bg-surface);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-overline {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.5s var(--ease-out);
    cursor: pointer;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 0%, var(--purple-subtle), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow:
        0 0 30px var(--purple-glow),
        0 20px 60px rgba(0, 0, 0, 0.3);
    background: var(--bg-card-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--purple-subtle);
    border: 1px solid rgba(124, 58, 237, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--purple-light);
    transition: all 0.4s var(--ease-out);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: var(--purple);
    color: white;
    box-shadow: 0 0 20px var(--purple-glow);
    transform: scale(1.05);
}

.service-title {
    font-size: 22px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    transition: all 0.3s var(--ease-out);
}

.service-link .arrow {
    transition: transform 0.3s var(--ease-out);
}

.service-card:hover .service-link {
    color: var(--text-primary);
}

.service-card:hover .service-link .arrow {
    transform: translateX(4px);
}

/* AI Automation Special Card */
.service-card--ai {
    background: linear-gradient(135deg, var(--bg-card), rgba(124, 58, 237, 0.05));
    border-color: rgba(124, 58, 237, 0.2);
}

.service-card--ai .service-icon--ai {
    background: linear-gradient(135deg, var(--purple-subtle), var(--orange-subtle));
    border-color: rgba(249, 115, 22, 0.2);
    color: var(--orange);
}

.service-card--ai:hover .service-icon--ai {
    background: linear-gradient(135deg, var(--purple), var(--orange));
    color: white;
    box-shadow: 0 0 25px var(--orange-glow), 0 0 25px var(--purple-glow);
}

.ai-glow-border {
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: conic-gradient(from 0deg, var(--purple), var(--orange), var(--purple-light), var(--orange-light), var(--purple));
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
    animation: rotateBorder 4s linear infinite;
}

.ai-glow-border::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 19px;
    background: var(--bg-card);
}

.service-card--ai:hover .ai-glow-border {
    opacity: 1;
}

.service-card--ai:hover {
    border-color: transparent;
    box-shadow:
        0 0 40px var(--purple-glow),
        0 0 40px var(--orange-glow),
        0 20px 60px rgba(0, 0, 0, 0.4);
}

.ai-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    background: var(--orange-subtle);
    border: 1px solid rgba(249, 115, 22, 0.2);
    padding: 6px 14px;
    border-radius: 8px;
    z-index: 1;
    animation: pulse-badge 2s ease-in-out infinite;
}

/* ── TIMELINE / PROCESS SECTION ────────────────────────────── */
.process {
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            var(--purple),
            var(--purple-light),
            var(--gradient-mid),
            var(--orange-light),
            var(--orange));
    opacity: 0.4;
}

.timeline-step {
    position: relative;
    padding-left: 72px;
    padding-bottom: 48px;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--dot-color, var(--purple));
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 15px color-mix(in srgb, var(--dot-color, var(--purple)) 50%, transparent);
    z-index: 1;
    transition: all 0.4s var(--ease-out);
}

.timeline-step:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 25px color-mix(in srgb, var(--dot-color, var(--purple)) 60%, transparent);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 32px;
    transition: all 0.4s var(--ease-out);
}

.timeline-step:hover .timeline-card {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.timeline-number {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--purple-light);
    margin-bottom: 8px;
    display: block;
}

.timeline-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.timeline-card p {
    font-size: 15px;
    line-height: 1.7;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
    padding: var(--section-py) 0 40px;
    background: var(--bg-surface);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.footer-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.footer-headline {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.footer-sub {
    font-size: 17px;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.3s var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 15px var(--purple-glow);
    background: var(--bg-card-hover);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer Info */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-brand .nav-logo {
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.6;
    margin-top: 12px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}

.footer-links a:hover {
    color: var(--purple-light);
    padding-left: 4px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}

.social-icon:hover {
    background: var(--purple-subtle);
    border-color: var(--purple);
    color: var(--purple-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--purple-glow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scrollWheel {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateY(6px);
    }
}

@keyframes rotateBorder {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Scroll Reveal */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    :root {
        --section-py: 80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }


}

@media (max-width: 768px) {
    :root {
        --section-py: 64px;
        --container-px: 20px;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 15, 19, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
        z-index: var(--z-nav);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 20px;
        padding: 12px 24px;
    }

    .nav-cta-btn {
        margin-top: 16px;
        padding: 14px 32px;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number,
    .stat-suffix {
        font-size: 28px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Why Adapt */
    .why-adapt-manifesto {
        font-size: clamp(32px, 10vw, 56px);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Timeline */
    .timeline-step {
        padding-left: 56px;
    }

    .timeline-line {
        left: 16px;
    }

    .timeline-dot {
        left: 6px;
    }

    .timeline-card {
        padding: 20px 24px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}