/* ══════════════════════════════════════════════════════════════
   Aetheris Landing — CSS v4.1
   Dark theme, premium minimal, orange accent
   AI Lead Engine + Automation OS
   ══════════════════════════════════════════════════════════════ */

:root {
    --bg-dark: #0A0A0F;
    --bg-surface: #12121A;
    --bg-card: #1A1A25;
    --bg-hover: #22222F;
    --border: #2A2A3A;
    --border-subtle: #1F1F2E;
    --text-primary: #F0F0F5;
    --text-secondary: #9898A8;
    --text-muted: #68687A;
    --accent: #F97316;
    --accent-hover: #EA6C0E;
    --accent-glow: rgba(249, 115, 22, 0.15);
    --accent-soft: rgba(249, 115, 22, 0.08);
    --highlight: #FBBF24;
    --green: #22C55E;
    --red: #EF4444;
    --blue: #3B82F6;
    --purple: #9333EA;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-accent: 0 0 40px rgba(249,115,22,0.12);
    --max-width: 1200px;
    --nav-h: 64px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }

/* ══ AETHER ORB ══ */
.aether-orb {
    position: fixed;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.35) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    mix-blend-mode: screen;
    opacity: 0;
}
.aether-orb.visible { opacity: 1; }
.aether-orb.hover-interactive {
    width: 48px; height: 48px;
    background: radial-gradient(circle, rgba(249,115,22,0.2) 0%, transparent 70%);
    border: 1px solid rgba(249,115,22,0.3);
}
.aether-orb.hover-input { opacity: 0.15; }
@media (prefers-reduced-motion: reduce) { .aether-orb { display: none !important; } }
@media (hover: none) { .aether-orb { display: none !important; } }
body.anim-off .aether-orb { display: none !important; }

/* ══ BUTTONS ══ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.95rem;
    text-decoration: none; cursor: pointer; border: none;
    transition: all 0.2s ease; font-family: inherit;
    white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.3); }
.btn--outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { background: transparent; color: var(--text-secondary); }
.btn--ghost:hover { color: var(--text-primary); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* Magnetic hover effect on primary buttons */
.btn--primary { position: relative; }
body:not(.anim-off) .btn--primary { transition: all 0.2s ease, transform 0.15s ease; }

/* ══ LOGO MARK ══ */
.logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    border-radius: 8px; font-weight: 800; font-size: 1.1rem;
    color: var(--bg-dark); flex-shrink: 0;
}

/* ══ NAV ══ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    display: flex; align-items: center;
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
    width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; font-size: 1.2rem; font-weight: 700; color: var(--text-primary);
}
.nav__links { display: flex; gap: 4px; align-items: center; }
.nav__item { position: relative; }
.nav__link {
    background: none; border: none; cursor: pointer; font-family: inherit;
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.88rem; font-weight: 500; padding: 8px 14px;
    border-radius: var(--radius-sm); transition: color 0.2s, background 0.2s;
    display: inline-block;
}
.nav__link:hover, .nav__link:focus-visible { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav__actions { display: flex; gap: 10px; align-items: center; }

/* Anim toggle */
.nav__anim-toggle {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.anim-toggle__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); transition: all 0.2s;
}
body.anim-off .anim-toggle__dot { background: var(--text-muted); }

/* Burger */
.nav__burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span { width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s; }

/* ══ HORIZON PANEL (mega menu) ══ */
.horizon-panel {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 440px; padding-top: 12px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 110;
}
.nav__item:hover .horizon-panel,
.nav__item:focus-within .horizon-panel {
    opacity: 1; visibility: visible;
}
.horizon-panel__content {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.horizon-panel__info h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 12px; }
.horizon-panel__info ul { list-style: none; }
.horizon-panel__info li {
    font-size: 0.82rem; color: var(--text-secondary);
    padding: 4px 0; padding-left: 16px; position: relative;
}
.horizon-panel__info li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }
.horizon-panel__action {
    display: inline-block; margin-top: 12px;
    font-size: 0.82rem; font-weight: 600; color: var(--accent); text-decoration: none;
}
.horizon-panel__action:hover { text-decoration: underline; }

/* Mini previews in horizon panel */
.mini-pipeline-preview { display: flex; gap: 4px; flex-direction: column; }
.mini-stage {
    font-size: 0.75rem; padding: 6px 10px;
    background: var(--bg-surface); border: 1px solid var(--border-subtle);
    border-radius: 6px; display: flex; justify-content: space-between;
    color: var(--text-secondary);
}
.mini-stage--active { border-color: var(--accent); color: var(--accent); }
.mini-count { font-weight: 700; color: var(--text-primary); }
.mini-nodes { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 0; }
.mini-node {
    font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 4px;
}
.mini-node--blue { background: #1e3a5f; color: #60A5FA; }
.mini-node--green { background: #1a3320; color: #4ADE80; }
.mini-node--orange { background: #3d2e0e; color: var(--highlight); }
.mini-arrow { color: var(--text-muted); font-size: 0.75rem; }

/* ══ HERO ══ */
.hero {
    position: relative; padding: 120px 0 80px; overflow: hidden;
    min-height: calc(100vh - var(--nav-h));
    display: flex; align-items: center;
}
.hero__bg {
    position: absolute; top: -100px; right: -200px;
    width: 900px; height: 900px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
    pointer-events: none;
}
.hero__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.hero__content { position: relative; z-index: 1; }
.hero__badge {
    display: inline-block; padding: 6px 14px;
    border: 1px solid rgba(249,115,22,0.3); border-radius: 20px;
    font-size: 0.75rem; font-weight: 600; color: var(--accent);
    letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 20px;
    background: var(--accent-soft);
}
.hero__title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800; line-height: 1.1; margin-bottom: 20px;
}
.hero__gradient {
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__subtitle {
    font-size: 1.1rem; color: var(--text-secondary);
    max-width: 520px; margin-bottom: 24px; line-height: 1.7;
}
.hero__chips {
    display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap;
}
.hero__chip {
    padding: 8px 16px; border-radius: 20px; font-size: 0.82rem;
    font-weight: 500; cursor: pointer; border: 1px solid var(--border);
    background: transparent; color: var(--text-secondary);
    transition: all 0.2s; font-family: inherit;
}
.hero__chip:hover { border-color: var(--accent); color: var(--text-primary); }
.hero__chip.active {
    background: var(--accent-soft); border-color: var(--accent); color: var(--accent);
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__trust { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.hero__integrations { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero__int-label { font-size: 0.78rem; color: var(--text-muted); }
.hero__int-tag {
    font-size: 0.72rem; padding: 3px 10px; border-radius: 12px;
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

/* ══ HERO DEMO PANEL ══ */
.hero__demo { position: relative; z-index: 1; }
.demo-panel {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.demo-panel__header {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 16px; background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}
.demo-panel__dot { width: 10px; height: 10px; border-radius: 50%; }
.demo-panel__dot--red { background: #EF4444; }
.demo-panel__dot--yellow { background: #FBBF24; }
.demo-panel__dot--green { background: #22C55E; }
.demo-panel__title { font-size: 0.75rem; color: var(--text-muted); margin-left: 8px; }

.demo-state { display: none; padding: 24px; min-height: 280px; }
.demo-state.active { display: block; }

/* Lead Simulator */
.demo-label { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 8px; display: block; }
.demo-input-group { display: flex; gap: 8px; margin-bottom: 16px; }
.demo-input {
    flex: 1; padding: 10px 14px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--bg-surface);
    color: var(--text-primary); font-family: inherit; font-size: 0.88rem;
    transition: border-color 0.2s;
}
.demo-input:focus { outline: none; border-color: var(--accent); }
.demo-result { opacity: 0; transition: opacity 0.3s; }
.demo-result.visible { opacity: 1; }
.demo-result__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.demo-stat { text-align: center; padding: 12px 8px; background: var(--bg-surface); border-radius: var(--radius-sm); }
.demo-stat__num { display: block; font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
.demo-stat__num--hot { color: var(--red); }
.demo-stat__num--warm { color: var(--highlight); }
.demo-stat__num--cold { color: var(--blue); }
.demo-stat__label { font-size: 0.7rem; color: var(--text-muted); }
.demo-action {
    font-size: 0.8rem; color: var(--accent); padding: 8px 12px;
    background: var(--accent-soft); border-radius: var(--radius-sm);
}

/* Timeline */
.demo-timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
    display: grid; grid-template-columns: 40px 16px 1fr;
    gap: 12px; align-items: center; padding: 10px 0;
    border-left: 2px solid var(--border); margin-left: 20px; padding-left: 24px;
    position: relative;
}
.timeline-item:last-child { border-left-color: transparent; }
.timeline-time { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-align: right; }
.timeline-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--border); position: absolute; left: -6px;
}
.timeline-dot--active { background: var(--accent); box-shadow: 0 0 8px rgba(249,115,22,0.4); }
.timeline-dot--green { background: var(--green); box-shadow: 0 0 8px rgba(34,197,94,0.4); }
.timeline-text { font-size: 0.82rem; color: var(--text-secondary); }
.timeline-text strong { color: var(--text-primary); }

/* Kanban */
.demo-kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.kanban-col { background: var(--bg-surface); border-radius: var(--radius-sm); padding: 8px; }
.kanban-col--success { border: 1px solid rgba(34,197,94,0.2); }
.kanban-col__header {
    font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
    margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center;
}
.kanban-badge {
    font-size: 0.65rem; padding: 1px 6px; border-radius: 8px;
    background: var(--accent-soft); color: var(--accent);
}
.kanban-card {
    font-size: 0.72rem; padding: 6px 8px; margin-bottom: 4px;
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 4px; display: flex; justify-content: space-between;
    color: var(--text-secondary);
}
.kanban-card--won { border-color: rgba(34,197,94,0.3); }
.kanban-score { font-weight: 700; color: var(--accent); font-size: 0.68rem; }
.kanban-card--won .kanban-score { color: var(--green); }
.demo-kanban__stats {
    display: flex; gap: 20px; font-size: 0.78rem; color: var(--text-muted);
}
.demo-kanban__stats strong { color: var(--text-primary); }

body:not(.anim-off) .kanban-card--moving {
    animation: cardMove 2s ease-in-out infinite;
}
@keyframes cardMove {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(4px); opacity: 0.7; }
}

/* ══ SECTION HEADER ══ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block; padding: 4px 14px;
    background: var(--accent-soft); color: var(--accent);
    border-radius: 16px; font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.3px; margin-bottom: 14px;
}
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700; margin-bottom: 10px;
}
.section-header p { color: var(--text-secondary); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ══ COMO FUNCIONA ══ */
.como-funciona { padding: 80px 0; }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.step {
    flex: 1; min-width: 180px; max-width: 240px;
    text-align: center; padding: 24px 16px; position: relative;
}
.step__num {
    font-size: 0.7rem; font-weight: 700; color: var(--accent);
    letter-spacing: 2px; margin-bottom: 12px;
}
.step__icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--accent-soft); border: 1px solid rgba(249,115,22,0.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; color: var(--accent);
}
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.step__connector {
    width: 40px; height: 2px; background: var(--border);
    margin-top: 52px; flex-shrink: 0;
}

/* ══ MODULES ══ */
.modules { padding: 80px 0; background: var(--bg-surface); }
.modules__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.module-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
    cursor: pointer; transition: all 0.25s;
    text-align: left; font-family: inherit; color: inherit; width: 100%;
}
.module-card:hover, .module-card:focus-visible {
    border-color: var(--accent); background: var(--bg-hover);
    transform: translateY(-3px); box-shadow: var(--shadow-accent);
    outline: none;
}
.module-card__num {
    display: inline-block; padding: 3px 10px;
    background: var(--accent-soft); color: var(--accent);
    border-radius: 6px; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 1px; margin-bottom: 10px;
}
.module-card h3 { font-size: 0.92rem; font-weight: 600; margin-bottom: 6px; }
.module-card p { color: var(--text-muted); font-size: 0.8rem; line-height: 1.45; }

/* ══ MODAL ══ */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.modal__content {
    position: relative; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px; max-width: 540px; width: 100%;
    max-height: 90vh; overflow-y: auto;
}
.modal__close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; color: var(--text-muted);
    font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.modal__close:hover { color: var(--text-primary); }
.module-detail__tag {
    display: inline-block; padding: 4px 12px; background: var(--accent-soft);
    color: var(--accent); border-radius: 6px; font-size: 0.75rem;
    font-weight: 700; letter-spacing: 1px; margin-bottom: 12px;
}
.module-detail h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.module-detail p { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.92rem; line-height: 1.6; }
.module-detail__flow {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    margin-bottom: 24px; padding: 16px; background: var(--bg-surface);
    border-radius: var(--radius-sm);
}

/* ══ BLUEPRINTS PREVIEW ══ */
.blueprints-section { padding: 80px 0; }
.blueprint-preview {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px; text-align: center;
}
.blueprint-preview__flow {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.bp-node {
    padding: 10px 18px; border-radius: var(--radius-sm);
    font-size: 0.82rem; font-weight: 600; white-space: nowrap;
}
.bp-node--webhook { background: #1e3a5f; color: #60A5FA; border: 1px solid #2563EB; }
.bp-node--code { background: #1a3320; color: #4ADE80; border: 1px solid #22C55E; }
.bp-node--if { background: #3d2e0e; color: var(--highlight); border: 1px solid #D97706; }
.bp-node--sheets { background: #162d16; color: #4ADE80; border: 1px solid #16A34A; }
.bp-node--respond { background: #2d1a3d; color: #C084FC; border: 1px solid var(--purple); }
.bp-arrow {
    width: 24px; height: 2px; background: var(--text-muted); position: relative;
}
.bp-arrow::after {
    content: ''; position: absolute; right: 0; top: -4px;
    border: 5px solid transparent; border-left-color: var(--text-muted);
}
.blueprint-preview__caption { color: var(--text-muted); font-size: 0.82rem; }

/* ══ PREMIUM OFFER ══ */
.premium-offer { padding: 80px 0; background: var(--bg-surface); }
.premium__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.premium-card {
    position: relative; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px;
}
.premium-card--featured { border-color: var(--accent); box-shadow: var(--shadow-accent); }
.premium-card__badge {
    position: absolute; top: -12px; left: 24px;
    padding: 4px 16px; background: var(--accent); color: #fff;
    font-size: 0.75rem; font-weight: 700; border-radius: 12px;
}
.premium-card__header { margin-bottom: 16px; }
.premium-card__header h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.premium-card__type { font-size: 0.82rem; color: var(--accent); font-weight: 500; }
.premium-card__desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.5; }
.premium-card__list { list-style: none; margin-bottom: 20px; }
.premium-card__list li {
    padding: 6px 0 6px 20px; position: relative;
    font-size: 0.88rem; color: var(--text-secondary);
}
.premium-card__list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.premium-card__needs {
    font-size: 0.8rem; color: var(--text-muted); padding: 12px;
    background: var(--bg-surface); border-radius: var(--radius-sm);
    margin-bottom: 20px; line-height: 1.5;
}
.premium-card__needs strong { color: var(--text-secondary); }

/* ══ PRICING ══ */
.pricing { padding: 80px 0; }
.pricing__toggle {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-bottom: 40px;
}
.pricing__toggle-label { font-size: 0.88rem; color: var(--text-muted); }
.pricing__toggle-label.active { color: var(--text-primary); font-weight: 600; }
.pricing__save {
    font-size: 0.72rem; color: var(--green); font-weight: 600;
    background: rgba(34,197,94,0.1); padding: 2px 8px; border-radius: 8px;
}
.pricing__toggle-switch {
    width: 44px; height: 24px; border-radius: 12px;
    background: var(--bg-card); border: 1px solid var(--border);
    cursor: pointer; position: relative; transition: all 0.2s;
}
.pricing__toggle-knob {
    position: absolute; top: 2px; left: 2px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--text-muted); transition: all 0.2s;
}
.pricing__toggle-switch[aria-checked="true"] { background: var(--accent-soft); border-color: var(--accent); }
.pricing__toggle-switch[aria-checked="true"] .pricing__toggle-knob { left: 22px; background: var(--accent); }

.pricing__grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; align-items: start;
}
.pricing-card {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px;
    transition: all 0.25s;
}
.pricing-card:hover { border-color: rgba(249,115,22,0.3); }
.pricing-card--featured { border-color: var(--accent); box-shadow: var(--shadow-accent); transform: scale(1.02); }
.pricing-card__badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    padding: 4px 18px; background: var(--accent); color: #fff;
    font-size: 0.75rem; font-weight: 700; border-radius: 16px; white-space: nowrap;
}
.pricing-card__header { margin-bottom: 20px; }
.pricing-card__header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.pricing-card__desc { color: var(--text-muted); font-size: 0.82rem; }
.pricing-card__price { margin-bottom: 28px; }
.pricing-card__amount { font-size: 2.8rem; font-weight: 800; }
.pricing-card__period { color: var(--text-muted); font-size: 0.88rem; }
.pricing-card__features { list-style: none; margin-bottom: 28px; }
.pricing-card__features li {
    padding: 7px 0 7px 22px; position: relative;
    font-size: 0.88rem; color: var(--text-secondary);
    border-bottom: 1px solid rgba(42,42,58,0.4);
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ══ CALCULATOR ══ */
.calculator { padding: 80px 0; background: var(--bg-surface); }
.calc__card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px; max-width: 800px; margin: 0 auto;
}
.calc__inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.calc__field label { display: block; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 6px; }
.calc__field input {
    width: 100%; padding: 10px 14px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--bg-surface);
    color: var(--text-primary); font-family: inherit; font-size: 1rem;
    transition: border-color 0.2s;
}
.calc__field input:focus { outline: none; border-color: var(--accent); }
.calc__results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 16px; }
.calc__result {
    text-align: center; padding: 20px;
    background: var(--bg-surface); border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}
.calc__result-label { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.calc__result-value { font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.calc__disclaimer { font-size: 0.75rem; color: var(--text-muted); text-align: center; font-style: italic; }

/* ══ FAQ ══ */
.faq { padding: 80px 0; }
.faq__list { max-width: 700px; margin: 0 auto; }
.faq__item {
    border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 8px; background: var(--bg-card); overflow: hidden;
}
.faq__item summary {
    padding: 16px 20px; cursor: pointer; font-weight: 600;
    font-size: 0.95rem; list-style: none; display: flex;
    justify-content: space-between; align-items: center;
    transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.2rem; color: var(--text-muted); transition: transform 0.2s; }
.faq__item[open] summary::after { content: '−'; color: var(--accent); }
.faq__item[open] summary { color: var(--accent); }
.faq__item p { padding: 0 20px 16px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ══ CONTACT FORM ══ */
.contacto { padding: 80px 0; background: var(--bg-surface); }
.contact-form {
    max-width: 520px; margin: 0 auto;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px;
}
.form-progress { margin-bottom: 28px; position: relative; }
.form-progress__bar {
    height: 3px; background: var(--accent);
    border-radius: 2px; transition: width 0.3s;
    width: 33.33%;
}
.form-progress__steps {
    display: flex; justify-content: space-between;
    margin-top: 8px;
}
.form-step-dot {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 600;
    background: var(--bg-surface); color: var(--text-muted);
    border: 1px solid var(--border); transition: all 0.2s;
}
.form-step-dot.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.form-step-dot.done { background: var(--green); color: #fff; border-color: var(--green); }

.form-step { display: none; }
.form-step.active { display: block; }
.form-optional { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select {
    width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--bg-surface);
    color: var(--text-primary); font-family: inherit; font-size: 0.92rem;
    transition: border-color 0.2s; appearance: none;
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239898A8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--accent); }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; }

.form-success__icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--green); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 16px;
}

/* ══ CTA SECTION ══ */
.cta-section { padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 12px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 28px; font-size: 1rem; }

/* ══ FOOTER ══ */
.footer { padding: 48px 0 24px; border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer__logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer__brand p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; }
.footer__links h4 { font-size: 0.82rem; font-weight: 600; margin-bottom: 14px; color: var(--text-secondary); }
.footer__links a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.82rem; padding: 3px 0; transition: color 0.2s; }
.footer__links a:hover { color: var(--text-primary); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; }
.footer__bottom p { color: var(--text-muted); font-size: 0.78rem; }

/* ══ COMMAND PALETTE ══ */
.cmd-palette { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding-top: 20vh; }
.cmd-palette[hidden] { display: none; }
.cmd-palette__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.cmd-palette__box {
    position: relative; width: 100%; max-width: 520px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.cmd-palette__input-wrap {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 20px; border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}
.cmd-palette__input {
    flex: 1; background: none; border: none; color: var(--text-primary);
    font-family: inherit; font-size: 1rem; outline: none;
}
.cmd-palette__kbd {
    font-size: 0.72rem; padding: 2px 8px; border-radius: 4px;
    background: var(--bg-surface); color: var(--text-muted);
    border: 1px solid var(--border); font-family: inherit;
}
.cmd-palette__results { list-style: none; max-height: 300px; overflow-y: auto; }
.cmd-palette__results li {
    padding: 12px 20px; cursor: pointer; font-size: 0.9rem;
    color: var(--text-secondary); transition: all 0.1s;
    display: flex; align-items: center; gap: 10px;
}
.cmd-palette__results li:hover, .cmd-palette__results li.selected { background: var(--bg-hover); color: var(--text-primary); }
.cmd-palette__results li .cmd-tag {
    font-size: 0.7rem; padding: 2px 8px; border-radius: 4px;
    background: var(--accent-soft); color: var(--accent);
}

/* ══ SCROLL REVEAL ══ */
.reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
body.anim-off .reveal { opacity: 1; transform: none; transition: none; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { text-align: center; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__chips { justify-content: center; }
    .hero__cta { justify-content: center; }
    .hero__integrations { justify-content: center; }
    .modules__grid { grid-template-columns: repeat(2, 1fr); }
    .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pricing-card--featured { transform: none; }
    .premium__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .calc__inputs { grid-template-columns: 1fr; }
    .calc__results { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .steps { flex-direction: column; align-items: center; }
    .step__connector { width: 2px; height: 24px; margin: 0; }
    .horizon-panel { display: none; }
}

@media (max-width: 768px) {
    .nav__links, .nav__actions { display: none; }
    .nav__burger { display: flex; }
    .nav__links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg-surface); padding: 20px; gap: 8px;
        border-bottom: 1px solid var(--border);
    }
    .nav__links.open .nav__item { width: 100%; }
    .nav__links.open .nav__link { display: block; width: 100%; text-align: left; }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .modules__grid { grid-template-columns: 1fr; }
    .demo-result__grid { grid-template-columns: repeat(2, 1fr); }
    .demo-kanban { grid-template-columns: repeat(2, 1fr); }
    .blueprint-preview__flow { gap: 4px; }
    .bp-arrow { width: 16px; }
    .footer__grid { grid-template-columns: 1fr; gap: 20px; }
}
