/* ================================================================
   DidácticaIA — Landing Page CSS
   Certuap Global E.I.R.L. · RUC 20614381061
================================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
    --o:   #FF6B35;
    --o-d: #E55A25;
    --o-l: #FF8C5A;
    --ink: #0D0D0D;
    --ink-2: #1A1A2E;
    --mist: #F4F2EE;
    --mist-2: #EAE7E1;
    --white: #FFFFFF;
    --text: #2D2D2D;
    --text-2: #5A5A6E;
    --text-3: #8A8A9A;
    --success: #10B981;
    --border: #E2DED8;

    --font-h: 'Poppins', -apple-system, sans-serif;
    --font:   'Inter', -apple-system, sans-serif;
    --font-m: 'JetBrains Mono', 'Fira Code', monospace;

    --r:   8px;
    --r-lg:16px;
    --r-xl:24px;
    --r-f: 999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow:    0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
    --shadow-o:  0 8px 32px rgba(255,107,53,.28);

    --t: all .25s cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
    font-family: var(--font);
    background: var(--white);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
    position: fixed; top:0; left:0; right:0; z-index:999;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--t);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
    max-width: 1200px; margin:0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem;
}
.nav-brand {
    display: flex; align-items: center; gap: .6rem;
    text-decoration: none;
    font-family: var(--font-h);
    font-size: 1.25rem; font-weight: 800;
    color: var(--ink);
}
.nav-brand img { height: 28px; }
.nav-brand:hover { color: var(--o); }

.nav-links {
    display: flex; align-items: center; gap: .25rem;
    list-style: none;
}
.nav-links a {
    padding: .45rem .875rem;
    border-radius: var(--r);
    color: var(--text-2); text-decoration: none;
    font-size: .9rem; font-weight: 500;
    transition: var(--t);
}
.nav-links a:hover { color: var(--o); background: rgba(255,107,53,.08); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }

.btn-nav-ghost {
    padding: .5rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    color: var(--text); text-decoration: none;
    font-size: .875rem; font-weight: 600;
    transition: var(--t);
}
.btn-nav-ghost:hover { border-color: var(--o); color: var(--o); }

.btn-nav-solid {
    padding: .5rem 1.25rem;
    background: var(--o);
    color: #fff; text-decoration: none;
    font-size: .875rem; font-weight: 700;
    border-radius: var(--r);
    transition: var(--t);
    box-shadow: var(--shadow-o);
}
.btn-nav-solid:hover { background: var(--o-d); transform: translateY(-1px); color: #fff; }

.nav-user {
    display: flex; align-items: center; gap: .75rem;
}
.nav-user-name {
    font-size: .875rem; font-weight: 600; color: var(--text);
    display: flex; align-items: center; gap: .4rem;
}
.nav-credits {
    background: rgba(255,107,53,.1);
    color: var(--o-d);
    padding: .25rem .65rem;
    border-radius: var(--r-f);
    font-size: .78rem; font-weight: 700;
    border: 1px solid rgba(255,107,53,.2);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none; border: none;
    font-size: 1.4rem; color: var(--text);
    cursor: pointer; padding: .25rem;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: linear-gradient(150deg, #1A1A2E 0%, #16213E 40%, #0F3460 70%, #1a1a2e 100%);
    display: flex; align-items: center;
    padding: 5rem 0 4rem;
    position: relative; overflow: hidden;
}

/* Mesh background */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(255,107,53,.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(99,102,241,.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 60% 80%, rgba(20,184,166,.1) 0%, transparent 50%);
    pointer-events: none;
}
/* Grid pattern */
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 2rem;
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero left */
.hero-left {}

.hero-kicker {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,107,53,.15);
    border: 1px solid rgba(255,107,53,.3);
    color: #FF8C5A;
    padding: .35rem 1rem;
    border-radius: var(--r-f);
    font-size: .8rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeUp .7s ease .1s both;
}

.hero-title {
    font-family: var(--font-h);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 1.25rem;
    animation: fadeUp .7s ease .2s both;
}
.hero-title .accent {
    background: linear-gradient(135deg, var(--o), #FF8C5A, #FFB347);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2rem;
    animation: fadeUp .7s ease .3s both;
}

.hero-btns {
    display: flex; gap: 1rem; flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: fadeUp .7s ease .4s both;
}

.btn-hero-primary {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .9rem 1.75rem;
    background: linear-gradient(135deg, var(--o), var(--o-d));
    color: #fff; text-decoration: none;
    font-weight: 700; font-size: 1rem;
    border-radius: var(--r-lg);
    transition: var(--t);
    box-shadow: var(--shadow-o);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,107,53,.4); color:#fff; }

.btn-hero-ghost {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .9rem 1.75rem;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    color: #fff; text-decoration: none;
    font-weight: 600; font-size: 1rem;
    border-radius: var(--r-lg);
    backdrop-filter: blur(8px);
    transition: var(--t);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); color: #fff; }

.hero-trust {
    display: flex; align-items: center; gap: 1.25rem;
    flex-wrap: wrap;
    animation: fadeUp .7s ease .5s both;
}
.trust-item {
    display: flex; align-items: center; gap: .4rem;
    font-size: .82rem; color: rgba(255,255,255,.6);
}
.trust-item i { color: var(--success); font-size: .9rem; }

/* Hero right — terminal */
.hero-terminal {
    background: rgba(13,13,13,.85);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
    animation: fadeUp .8s ease .3s both;
}
.terminal-bar {
    background: rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: .875rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between;
}
.t-dots { display: flex; gap: .45rem; }
.t-dot {
    width: 11px; height: 11px; border-radius: 50%;
}
.t-dot.r { background: #ff5f57; }
.t-dot.y { background: #ffbd2e; }
.t-dot.g { background: #28ca42; }
.t-label {
    font-family: var(--font-m);
    font-size: .75rem; color: rgba(255,255,255,.4);
}
.t-badge {
    background: rgba(255,107,53,.2);
    color: #FF8C5A;
    padding: .2rem .6rem;
    border-radius: var(--r-f);
    font-size: .72rem; font-weight: 700;
    border: 1px solid rgba(255,107,53,.3);
}
.terminal-body {
    padding: 1.5rem;
    min-height: 180px;
    display: flex; flex-direction: column; justify-content: center;
}
.t-prompt {
    font-family: var(--font-m);
    font-size: .9rem; color: rgba(255,255,255,.5);
    margin-bottom: .75rem;
}
.t-prompt span { color: var(--o); }
.t-output {
    font-family: var(--font-m);
    font-size: 1rem; color: #fff;
    line-height: 1.5;
    min-height: 52px;
}
.t-cursor {
    display: inline-block;
    width: 2px; height: 1.1em;
    background: var(--o);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 1s infinite;
}
@keyframes blink { 0%,50%{opacity:1} 51%,100%{opacity:0} }
.t-hint {
    margin-top: 1rem;
    font-size: .78rem; color: rgba(255,255,255,.35);
    display: flex; align-items: center; gap: .4rem;
    font-family: var(--font-m);
}
.t-hint i { color: var(--o); }

/* Generador chips below terminal */
.gen-chips {
    padding: 1rem 1.5rem 1.5rem;
    display: flex; flex-wrap: wrap; gap: .5rem;
    border-top: 1px solid rgba(255,255,255,.06);
}
.gen-chip {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .7rem;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-f);
    font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.65);
    transition: var(--t);
}
.gen-chip:hover { background: rgba(255,107,53,.15); border-color: rgba(255,107,53,.3); color: #FF8C5A; }
.gen-chip i { font-size: .8rem; }

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
    background: var(--ink-2);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
}
.stat-block {
    text-align: center;
    padding: .5rem 3rem;
    border-right: 1px solid rgba(255,255,255,.1);
}
.stat-block:last-child { border-right: none; }
.stat-n {
    font-family: var(--font-h);
    font-size: 2rem; font-weight: 900;
    color: var(--o);
    line-height: 1;
    margin-bottom: .3rem;
}
.stat-l {
    font-size: .75rem; font-weight: 600;
    color: rgba(255,255,255,.45);
    text-transform: uppercase; letter-spacing: .06em;
}

/* ── SECTIONS COMMON ─────────────────────────────────────── */
section { padding: 5rem 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.sec-tag {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(255,107,53,.1);
    border: 1px solid rgba(255,107,53,.2);
    color: var(--o-d);
    padding: .3rem .9rem;
    border-radius: var(--r-f);
    font-size: .78rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    margin-bottom: 1rem;
}
.sec-title {
    font-family: var(--font-h);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: .875rem;
}
.sec-sub {
    font-size: 1.05rem; color: var(--text-2);
    line-height: 1.7; max-width: 560px;
}

/* ── GENERADORES ─────────────────────────────────────────── */
.gen-section { background: var(--mist); }

.gen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.gen-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    padding: 1.75rem;
    text-decoration: none; color: var(--text);
    display: block;
    position: relative; overflow: hidden;
    transition: var(--t);
}
.gen-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--o), var(--o-l));
    transform: scaleX(0); transform-origin: left;
    transition: var(--t);
}
.gen-card:hover {
    border-color: rgba(255,107,53,.35);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255,107,53,.06);
    transform: translateY(-4px);
    color: var(--text);
    text-decoration: none;
}
.gen-card:hover::before { transform: scaleX(1); }

.gc-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.gc-icon {
    width: 48px; height: 48px;
    border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff; flex-shrink: 0;
    transition: var(--t);
}
.gen-card:hover .gc-icon { transform: scale(1.12) rotate(6deg); }
.gc-name { font-family: var(--font-h); font-size: 1.05rem; font-weight: 800; }

.gc-desc { font-size: .875rem; color: var(--text-2); line-height: 1.6; margin-bottom: 1.1rem; }

.gc-feats { list-style: none; margin-bottom: 1.1rem; }
.gc-feats li {
    display: flex; align-items: center; gap: .5rem;
    font-size: .82rem; color: var(--text-2);
    margin-bottom: .4rem;
}
.gc-feats li i { color: var(--success); font-size: .85rem; }

.gc-foot {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: .875rem;
    border-top: 1px solid var(--border);
}
.gc-cost { font-size: .82rem; color: var(--text-3); }
.gc-cost strong { color: var(--o); font-weight: 800; font-size: .95rem; }
.gc-badge {
    display: inline-flex; align-items: center; gap: .3rem;
    background: rgba(16,185,129,.1);
    color: #047857;
    border: 1px solid rgba(16,185,129,.25);
    padding: .25rem .65rem;
    border-radius: var(--r-f);
    font-size: .72rem; font-weight: 700;
}

/* Icon colors */
.ic-blue   { background: linear-gradient(135deg,#3B82F6,#1D4ED8); }
.ic-teal   { background: linear-gradient(135deg,#14B8A6,#0D9488); }
.ic-indigo { background: linear-gradient(135deg,#6366F1,#4338CA); }
.ic-purple { background: linear-gradient(135deg,#8B5CF6,#6D28D9); }
.ic-red    { background: linear-gradient(135deg,#EF4444,#B91C1C); }
.ic-orange { background: linear-gradient(135deg,#F97316,#C2410C); }
.ic-green  { background: linear-gradient(135deg,#22C55E,#15803D); }

/* ── PASOS ───────────────────────────────────────────────── */
.steps-section { background: var(--white); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 2.5rem; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--o), var(--o-l), var(--o));
    opacity: .25;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--mist);
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    transition: var(--t);
    position: relative;
}
.step:hover { border-color: rgba(255,107,53,.4); box-shadow: var(--shadow); transform: translateY(-4px); }

.step-num {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--o), var(--o-d));
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-h);
    font-size: 1.25rem; font-weight: 900;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-o);
}
.step h4 { font-family: var(--font-h); font-size: 1rem; font-weight: 800; margin-bottom: .5rem; }
.step p  { font-size: .875rem; color: var(--text-2); line-height: 1.6; }

/* ── POR QUÉ ─────────────────────────────────────────────── */
.why-section { background: var(--mist); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.why-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
    transition: var(--t);
}
.why-card:hover { border-color: rgba(255,107,53,.3); box-shadow: var(--shadow); transform: translateY(-3px); }

.why-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--o), var(--o-d));
    border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-o);
}
.why-card h4 { font-family: var(--font-h); font-size: 1.05rem; font-weight: 800; margin-bottom: .6rem; }
.why-card p  { font-size: .875rem; color: var(--text-2); line-height: 1.65; }

/* ── PRECIOS ─────────────────────────────────────────────── */
.pricing-section { background: var(--white); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    align-items: end;
}

.price-card {
    background: var(--mist);
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    padding: 1.75rem;
    transition: var(--t);
    position: relative;
}
.price-card:hover { border-color: rgba(255,107,53,.3); box-shadow: var(--shadow); }
.price-card.featured {
    background: linear-gradient(160deg, var(--ink-2), #0F3460);
    border-color: var(--o);
    color: #fff;
    transform: scale(1.04);
    box-shadow: var(--shadow-lg), var(--shadow-o);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.price-pop {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--o), var(--o-d));
    color: #fff; padding: .3rem 1rem;
    border-radius: var(--r-f);
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    box-shadow: var(--shadow-o);
    white-space: nowrap;
}

.price-name {
    font-family: var(--font-h);
    font-size: 1.1rem; font-weight: 800;
    margin-bottom: .5rem;
}
.price-card.featured .price-name { color: #fff; }

.price-amt {
    font-family: var(--font-h);
    font-size: 2.5rem; font-weight: 900;
    color: var(--o);
    line-height: 1; margin-bottom: .25rem;
}
.price-card.featured .price-amt { color: #FF8C5A; }
.price-per { font-size: .82rem; color: var(--text-3); margin-bottom: .5rem; }
.price-card.featured .price-per { color: rgba(255,255,255,.5); }
.price-desc { font-size: .82rem; color: var(--text-2); margin-bottom: 1.25rem; }
.price-card.featured .price-desc { color: rgba(255,255,255,.65); }

.price-feats { list-style: none; margin-bottom: 1.5rem; }
.price-feats li {
    display: flex; align-items: center; gap: .5rem;
    font-size: .82rem; color: var(--text-2);
    margin-bottom: .5rem;
}
.price-card.featured .price-feats li { color: rgba(255,255,255,.8); }
.price-feats li i { color: var(--success); font-size: .9rem; }
.price-card.featured .price-feats li i { color: #34D399; }

.btn-price {
    display: block; width: 100%;
    padding: .75rem;
    border-radius: var(--r);
    text-align: center; text-decoration: none;
    font-weight: 700; font-size: .9rem;
    transition: var(--t);
    border: 1.5px solid var(--border);
    background: var(--white); color: var(--text);
}
.btn-price:hover { border-color: var(--o); color: var(--o); }
.btn-price.primary {
    background: linear-gradient(135deg, var(--o), var(--o-d));
    color: #fff; border-color: transparent;
    box-shadow: var(--shadow-o);
}
.btn-price.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,107,53,.4); color: #fff; }

/* ── TESTIMONIOS ─────────────────────────────────────────── */
.testi-section { background: var(--mist); }

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.testi-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
    transition: var(--t);
    position: relative;
}
.testi-card:hover { border-color: rgba(255,107,53,.25); box-shadow: var(--shadow); }
.testi-card::before {
    content: '"';
    position: absolute; top: 1rem; right: 1.5rem;
    font-size: 4rem; color: rgba(255,107,53,.12);
    font-family: serif; line-height: 1;
    pointer-events: none;
}

.testi-stars { color: #F59E0B; font-size: .9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-text { font-size: .9rem; color: var(--text-2); line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: .875rem; }
.testi-avatar {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--o), var(--o-d));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem; color: #fff; flex-shrink: 0;
}
.testi-info strong { display: block; font-size: .875rem; font-weight: 700; color: var(--ink); }
.testi-info small  { font-size: .78rem; color: var(--text-3); }

/* ── CTA FINAL ───────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(150deg, var(--ink-2) 0%, #0F3460 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,107,53,.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 80% 50%, rgba(99,102,241,.12) 0%, transparent 60%);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; color: #fff;
    margin-bottom: 1rem; line-height: 1.1;
}
.cta-sub { font-size: 1.1rem; color: rgba(255,255,255,.7); margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,.5);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand {
    display: flex; align-items: center; gap: .6rem;
    text-decoration: none;
    font-family: var(--font-h);
    font-size: 1.1rem; font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-brand img { height: 26px; }
.footer-tagline { font-size: .875rem; line-height: 1.7; margin-bottom: 1rem; max-width: 280px; }
.footer-ruc {
    font-size: .75rem; color: rgba(255,255,255,.3);
    font-family: var(--font-m);
}
.footer-col h6 {
    font-family: var(--font-h);
    font-size: .82rem; font-weight: 800;
    color: #fff;
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a {
    color: rgba(255,255,255,.5); text-decoration: none;
    font-size: .875rem; transition: var(--t);
}
.footer-col ul a:hover { color: var(--o); }
.footer-contact li {
    display: flex; align-items: center; gap: .5rem;
    margin-bottom: .6rem; font-size: .875rem;
}
.footer-contact a { color: rgba(255,255,255,.5); text-decoration: none; transition: var(--t); }
.footer-contact a:hover { color: var(--o); }
.footer-contact i { color: var(--o); font-size: 1rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
    font-size: .8rem;
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:none; }
}

/* ── MOBILE NAV ──────────────────────────────────────────── */
.nav-mobile-menu {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 998;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu ul { list-style: none; margin-bottom: 1rem; }
.nav-mobile-menu ul li { margin-bottom: .25rem; }
.nav-mobile-menu ul a {
    display: block; padding: .6rem .875rem;
    border-radius: var(--r); color: var(--text);
    text-decoration: none; font-weight: 500; font-size: .95rem;
    transition: var(--t);
}
.nav-mobile-menu ul a:hover { background: rgba(255,107,53,.08); color: var(--o); }
.nav-mobile-btns { display: flex; flex-direction: column; gap: .75rem; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media(max-width:1024px){
    .hero-inner { grid-template-columns:1fr; gap:3rem; }
    .hero-terminal { max-width:520px; margin:0 auto; }
    .steps-grid { grid-template-columns:repeat(2,1fr); }
    .steps-grid::before { display:none; }
    .pricing-grid { grid-template-columns:repeat(2,1fr); }
    .price-card.featured { transform:none; }
    .price-card.featured:hover { transform:translateY(-4px); }
    .why-grid { grid-template-columns:repeat(2,1fr); }
    .footer-grid { grid-template-columns:1fr 1fr; gap:2rem; }
}

@media(max-width:768px){
    .nav-links,.nav-cta,.nav-user { display:none; }
    .nav-toggle { display:block; }
    section { padding:3.5rem 0; }
    .hero { padding:5.5rem 0 3rem; }
    .hero-inner { gap:2.5rem; }
    .hero-sub { max-width:100%; }
    .hero-btns { flex-direction:column; }
    .btn-hero-primary,.btn-hero-ghost { width:100%; justify-content:center; }
    .stats-inner { gap:0; }
    .stat-block { padding:.5rem 1.5rem; }
    .stat-n { font-size:1.5rem; }
    .gen-grid { grid-template-columns:1fr; }
    .steps-grid { grid-template-columns:1fr; }
    .why-grid { grid-template-columns:1fr; }
    .pricing-grid { grid-template-columns:1fr; }
    .testi-grid { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr; gap:2rem; }
    .footer-bottom { flex-direction:column; text-align:center; }
    .cta-btns { flex-direction:column; align-items:center; }
    .cta-btns a { width:100%; max-width:280px; justify-content:center; }
}

@media(max-width:480px){
    .hero-title { font-size:2rem; }
    .stats-inner { gap:0; }
    .stat-block { padding:.5rem 1rem; border-right:none; border-bottom:1px solid rgba(255,255,255,.1); }
    .stat-block:last-child { border-bottom:none; }
}