/* ============================================================
   DECONMA — Design System
   Colores del logo: teal #3ED6C4 → azul #2E6FD8 · naranja #F97316
   ============================================================ */

:root {
  --bg: #0b0f14;
  --bg-soft: #10161d;
  --bg-card: #131b24;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eaf0f6;
  --text-dim: #93a1b0;
  --teal: #3ed6c4;
  --blue: #2e6fd8;
  --sky: #2ba8e0;
  --orange: #f97316;
  --amber: #fbbf24;
  --grad: linear-gradient(100deg, var(--teal), var(--sky) 40%, var(--orange) 90%);
  --grad-soft: linear-gradient(100deg, rgba(62,214,196,.15), rgba(43,168,224,.12) 40%, rgba(249,115,22,.15) 90%);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 20px;
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Noise & cursor ============ */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: .35;
  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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; width: 480px; height: 480px; border-radius: 50%;
  pointer-events: none; z-index: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(43,168,224,.07) 0%, transparent 65%);
  transition: opacity .3s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo { text-align: center; animation: preloaderPulse 1.2s ease-in-out infinite; }
.preloader-bar {
  width: 140px; height: 3px; margin: 18px auto 0; border-radius: 3px;
  background: rgba(255,255,255,.08); overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 40%; border-radius: 3px;
  background: var(--grad); animation: loadbar 1s ease-in-out infinite;
}
@keyframes loadbar { 0% { transform: translateX(-100%);} 100% { transform: translateX(350%);} }
@keyframes preloaderPulse { 0%,100% { transform: scale(1);} 50% { transform: scale(1.04);} }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 100px; border: none; cursor: pointer;
  text-decoration: none; color: var(--text); position: relative;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, background .25s;
  will-change: transform;
}
.btn-primary {
  background: var(--grad); color: #08131a;
  box-shadow: 0 8px 28px rgba(43,168,224,.35);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(249,115,22,.4); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.05); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.2); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,15,20,.75); backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--text);
}
.nav-logo em { color: var(--orange); font-style: normal; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 100px; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.06); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; padding: calc(var(--nav-h) + 40px) 24px 80px; text-align: center;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  animation: blobFloat 14s ease-in-out infinite;
}
.blob-1 { width: 480px; height: 480px; background: rgba(46,111,216,.35); top: -10%; left: -8%; }
.blob-2 { width: 420px; height: 420px; background: rgba(249,115,22,.22); bottom: -12%; right: -6%; animation-delay: -5s; }
.blob-3 { width: 340px; height: 340px; background: rgba(62,214,196,.22); top: 30%; right: 18%; animation-delay: -9s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-50px) scale(1.08); }
  66% { transform: translate(-30px,30px) scale(.94); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='49' viewBox='0 0 28 49' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z' fill='%23ffffff' fill-opacity='0.055'/%3E%3C/svg%3E");
  background-size: 46px 80.5px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, black 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, black 25%, transparent 78%);
}

/* Figuras 3D flotantes del hero */
.hero-shapes { position: absolute; inset: 0; perspective: 1000px; pointer-events: none; }
.shape { position: absolute; display: block; transform-style: preserve-3d; will-change: transform; }
.hex {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(140deg, rgba(62,214,196,.28), rgba(46,111,216,.06) 60%);
  box-shadow: inset 0 0 30px rgba(62,214,196,.15);
  animation: float3d 9s ease-in-out infinite;
}
.hex-1 { width: 110px; height: 124px; top: 16%; left: 8%; }
.hex-2 { width: 64px; height: 72px; top: 62%; left: 15%; animation-delay: -3s;
  background: linear-gradient(140deg, rgba(249,115,22,.3), rgba(251,191,36,.05) 60%);
  box-shadow: inset 0 0 24px rgba(249,115,22,.18); }
.hex-3 { width: 84px; height: 95px; top: 22%; right: 9%; animation-delay: -6s;
  background: linear-gradient(140deg, rgba(43,168,224,.26), rgba(167,139,250,.06) 60%); }
.orb-1 {
  width: 46px; height: 46px; border-radius: 50%; top: 68%; right: 16%;
  background: radial-gradient(circle at 32% 30%, rgba(251,191,36,.75), rgba(249,115,22,.25) 60%, transparent 75%);
  filter: blur(.5px); animation: float3d 7s ease-in-out infinite; animation-delay: -2s;
}
.ring-1 {
  width: 90px; height: 90px; border-radius: 50%; top: 44%; right: 24%;
  border: 2px solid rgba(62,214,196,.3); border-top-color: rgba(249,115,22,.45);
  animation: spin3d 14s linear infinite;
}
@keyframes float3d {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-30px) rotateX(22deg) rotateY(28deg); }
}
@keyframes spin3d {
  from { transform: rotateX(60deg) rotateZ(0deg); }
  to { transform: rotateX(60deg) rotateZ(360deg); }
}

.hero-content { max-width: 900px; }
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .24em;
  text-transform: uppercase; margin-bottom: 32px;
  background: linear-gradient(90deg, #93a1b0 0%, var(--teal) 30%, var(--orange) 50%, var(--teal) 70%, #93a1b0 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: badgeShimmer 5.5s linear infinite;
}
@keyframes badgeShimmer { to { background-position: -220% 0; } }

.hero-title {
  font-size: clamp(42px, 7.5vw, 84px); font-weight: 700; margin-bottom: 28px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block; transform: translateY(110%);
  animation: riseUp .9s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-title .line:nth-child(2) .word { animation-delay: .12s; }
.hero-title .line:nth-child(3) .word { animation-delay: .24s; }
@keyframes riseUp { to { transform: translateY(0); } }
.accent-dot { color: var(--orange); font-style: normal; }

#typewriter { min-height: 1.1em; }
#typewriter::after {
  content: "|"; margin-left: 4px; color: var(--orange);
  animation: blink 1s steps(1) infinite;
  -webkit-text-fill-color: var(--orange);
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px); color: var(--text-dim);
  max-width: 640px; margin: 0 auto 40px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 36px;
  margin-top: 64px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num, .stat-plus {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat p { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.stat-sep { width: 1px; height: 44px; background: var(--border); }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); }
.scroll-mouse {
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.25);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
}
.scroll-mouse span {
  width: 4px; height: 8px; border-radius: 4px; background: var(--teal);
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ Marquee ============ */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 0; overflow: hidden; background: var(--bg-soft);
  transform: rotate(-1deg) scale(1.02); margin: 0 -10px;
}
.marquee-track {
  display: flex; gap: 42px; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--text-dim); white-space: nowrap; text-transform: uppercase; letter-spacing: .06em;
}
.marquee-track i { color: var(--orange); font-style: normal; font-size: 18px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: 120px 0; position: relative; }
.section-head { margin-bottom: 64px; }
.section-head h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 700; }
.section-sub { color: var(--text-dim); margin-top: 18px; max-width: 560px; font-size: 17px; }

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ Bento services ============ */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.bento-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px; position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.bento-card:hover { border-color: rgba(62,214,196,.35); }
.bento-featured { grid-row: span 2; background: linear-gradient(160deg, var(--bg-card), #17222e); }
.bento-icon { margin-bottom: 18px; line-height: 0; }
.bento-icon svg {
  filter: drop-shadow(0 10px 22px rgba(43, 168, 224, .3));
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.bento-card:hover .bento-icon svg { transform: translateY(-5px) scale(1.06) rotate(-3deg); }
.bento-new {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: #08131a; background: var(--grad); padding: 5px 12px; border-radius: 100px; font-weight: 600;
}
.bento-card h3 { font-size: 24px; margin-bottom: 12px; }
.bento-card p { color: var(--text-dim); font-size: 15px; }
.bento-list { list-style: none; margin: 22px 0; }
.bento-list li {
  padding: 10px 0 10px 28px; position: relative; color: var(--text-dim);
  font-size: 14px; border-bottom: 1px dashed var(--border);
}
.bento-list li::before { content: "✦"; position: absolute; left: 0; color: var(--orange); }
.bento-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  color: var(--teal); text-decoration: none; font-weight: 600; font-size: 15px;
  font-family: var(--font-display);
}
.bento-link span { transition: transform .25s; }
.bento-link:hover span { transform: translateX(6px); }
.bento-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(62,214,196,.08), transparent 45%);
}
.bento-card:hover .bento-glow { opacity: 1; }

/* ============ Proceso ============ */
.process-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative;
  padding-top: 40px;
}
.process-line {
  position: absolute; top: 0; left: 2%; right: 2%; height: 2px;
  background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden;
}
.process-line span { display: block; height: 100%; width: 0%; background: var(--grad); transition: width 1.2s cubic-bezier(.22,1,.36,1); }
.process-step { position: relative; }
.process-step::before {
  content: attr(data-step);
  font-family: var(--font-mono); font-size: 52px; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18);
  display: block; margin-bottom: 14px; line-height: 1;
  transition: -webkit-text-stroke-color .4s;
}
.process-step:hover::before { -webkit-text-stroke-color: var(--teal); }
.process-step h4 { font-size: 20px; margin-bottom: 10px; }
.process-step p { color: var(--text-dim); font-size: 14.5px; }

/* ============ Ejemplos ============ */
.examples { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.examples-tabs { display: flex; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; }
.tab {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  padding: 12px 26px; border-radius: 100px; cursor: pointer;
  background: transparent; border: 1px solid var(--border); color: var(--text-dim);
  transition: all .3s;
}
.tab:hover { color: var(--text); border-color: rgba(255,255,255,.25); }
.tab.active { background: var(--grad); color: #08131a; border-color: transparent; }

.example-panel { display: none; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.example-panel.active { display: grid; animation: panelIn .5s cubic-bezier(.22,1,.36,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.browser-mock {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  background: #0a0e13; box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s;
}
.example-panel:hover .browser-mock {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 40px 100px rgba(43,168,224,.18);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  background: #161d26; border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.browser-url {
  flex: 1; max-width: 320px; margin: 0 auto; text-align: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  background: rgba(255,255,255,.05); border-radius: 8px; padding: 5px 14px;
}
.browser-mock iframe { width: 100%; height: 460px; border: none; display: block; background: #fff; }

.phone-mock {
  width: 300px; height: 620px; margin: 0 auto; border-radius: 44px;
  border: 10px solid #1c242e; background: #000; position: relative; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.06);
  transform: perspective(1400px) rotateY(9deg) rotateX(2deg);
  transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s;
}
.example-panel:hover .phone-mock {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 40px 100px rgba(62,214,196,.16), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #1c242e; border-radius: 20px; z-index: 2;
}
.phone-mock iframe { width: 100%; height: 100%; border: none; background: #0d1117; }

.example-info h3 { font-size: 28px; margin-bottom: 14px; }
.example-info p { color: var(--text-dim); margin-bottom: 26px; }

/* ============ Precios ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 32px; display: flex; flex-direction: column; position: relative;
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s, box-shadow .35s;
}
.price-card:hover { transform: translateY(-8px); border-color: rgba(62,214,196,.3); }
.price-featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 24px 70px rgba(43,168,224,.18);
}
.price-featured:hover { box-shadow: 0 30px 90px rgba(249,115,22,.22); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #08131a; font-family: var(--font-display);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: 6px 18px; border-radius: 100px;
}
.price-head h3 { font-size: 23px; margin-bottom: 8px; }
.price-head p { color: var(--text-dim); font-size: 14px; min-height: 42px; }
.price-amount { margin: 26px 0; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.price-amount .from {
  width: 100%; font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--teal); margin-bottom: 4px;
}
.price-amount .currency { font-size: 20px; color: var(--text-dim); font-family: var(--font-display); }
.price-amount .num { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -0.01em; }
.price-amount .period { width: 100%; font-size: 13px; color: var(--text-dim); font-family: var(--font-mono); }
.price-features { list-style: none; margin-bottom: 32px; flex: 1; }
.price-features li {
  padding: 9px 0 9px 30px; position: relative; font-size: 14.5px; color: var(--text-dim);
}
.price-features li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px; border-radius: 50%; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(62,214,196,.12); color: var(--teal); font-weight: 700;
}
/* Planes mensuales dentro de cada tarjeta */
.monthly-plans { margin: 4px 0 18px; }
.monthly-title {
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-dim); margin-bottom: 10px;
}
.mplan {
  border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px;
  background: rgba(255,255,255,.03); overflow: hidden; transition: border-color .3s;
}
.mplan[open] { border-color: rgba(62,214,196,.35); }
.mplan summary {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 13px 16px; cursor: pointer; list-style: none;
}
.mplan summary::-webkit-details-marker { display: none; }
.mplan-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.mplan-name::before { content: "+ "; color: var(--teal); font-weight: 700; }
.mplan[open] .mplan-name::before { content: "− "; color: var(--orange); }
.mplan-price { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--teal); white-space: nowrap; }
.mplan-price small { font-size: 11px; color: var(--text-dim); font-weight: 500; }
.mplan-list { list-style: none; padding: 0 16px; margin: 0 0 12px; }
.mplan-list li {
  padding: 6px 0 6px 22px; position: relative; font-size: 13px; color: var(--text-dim);
}
.mplan-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--teal); font-size: 11px; }
.mplan .btn { margin: 0 16px 14px; width: calc(100% - 32px); padding: 10px 16px; font-size: 13.5px; }

.pricing-note { text-align: center; margin-top: 44px; color: var(--text-dim); }
.pricing-note a { color: var(--teal); }

/* ============ Agenda ============ */
.schedule-card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  background: linear-gradient(150deg, var(--bg-card), #17222e);
  border: 1px solid var(--border); border-radius: 28px; padding: 56px;
  position: relative; overflow: hidden;
}
.schedule-card::before {
  content: ""; position: absolute; top: -40%; right: -20%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,.12), transparent 65%); pointer-events: none;
}
.schedule-text h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; }
.schedule-text p { color: var(--text-dim); margin-bottom: 24px; }
.schedule-perks { list-style: none; }
.schedule-perks li { padding: 7px 0; color: var(--text); font-size: 15px; }
.schedule-widget iframe {
  width: 100%; height: 480px; border: none; border-radius: 16px;
  background: #0d1117; border: 1px solid var(--border);
}
.schedule-placeholder {
  border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.03);
  padding: 44px 32px; text-align: center; backdrop-filter: blur(8px);
}
.schedule-cal-icon { font-size: 42px; margin-bottom: 14px; }
.schedule-placeholder h4 { font-size: 22px; margin-bottom: 6px; }
.schedule-placeholder > p { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.schedule-slots { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.schedule-slots span {
  font-family: var(--font-mono); font-size: 13px; padding: 9px 16px;
  border: 1px solid var(--border); border-radius: 100px; color: var(--text-dim);
  cursor: pointer; transition: all .25s;
}
.schedule-slots span:hover, .schedule-slots span.picked {
  border-color: var(--teal); color: var(--teal); background: rgba(62,214,196,.08);
}
.schedule-fallback { font-size: 13px; color: var(--text-dim); margin-top: 12px; text-align: center; }
.schedule-fallback a { color: var(--teal); }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: border-color .3s;
}
.faq-item[open] { border-color: rgba(62,214,196,.3); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); color: var(--teal); font-size: 18px;
  transition: transform .3s, background .3s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--grad); color: #08131a; }
.faq-item p { padding: 0 26px 24px; color: var(--text-dim); font-size: 15px; }

/* ============ CTA final ============ */
.final-cta-card {
  text-align: center; padding: 90px 40px; border-radius: 32px; position: relative; overflow: hidden;
  background: var(--grad-soft); border: 1px solid var(--border);
}
.final-cta-card h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 36px; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); background: var(--bg-soft); }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px; padding-top: 70px; padding-bottom: 50px;
}
.footer-brand p { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin: 14px 0 6px; }
.footer-brand em { color: var(--orange); font-style: normal; }
.footer-brand span { color: var(--text-dim); font-size: 13.5px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-cols h5 {
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-dim); margin-bottom: 18px;
}
.footer-cols a { display: block; color: var(--text-dim); text-decoration: none; padding: 6px 0; font-size: 14.5px; transition: color .2s, transform .2s; overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--teal); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 24px; text-align: center; color: var(--text-dim); font-size: 13px; }

/* ============ Modal ============ */
.modal { position: fixed; inset: 0; z-index: 80; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,8,12,.75); backdrop-filter: blur(6px); animation: fadeIn .3s; }
.modal-card {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 40px)); max-height: 90vh; overflow-y: auto;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px;
  padding: 38px; animation: modalIn .4s cubic-bezier(.22,1,.36,1);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -44%); } }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,.04);
  color: var(--text); cursor: pointer; font-size: 14px; transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,.12); }
.modal-card h3 { font-size: 22px; margin-bottom: 6px; }
.modal-card h3 span { color: var(--teal); }
.modal-price { color: var(--text-dim); margin-bottom: 24px; }
.modal-price strong { color: var(--text); font-family: var(--font-display); font-size: 18px; }
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.modal-form label { font-size: 13px; font-weight: 600; color: var(--text-dim); display: flex; flex-direction: column; gap: 7px; }
.modal-form input, .modal-form textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px; color: var(--text); font-family: var(--font-body); font-size: 15px;
  transition: border-color .2s; resize: vertical;
}
.modal-form input:focus, .modal-form textarea:focus { outline: none; border-color: var(--teal); }
.modal-note { font-size: 12.5px; color: var(--text-dim); text-align: center; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-featured { grid-column: span 2; grid-row: auto; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .process-line { display: none; }
  .example-panel, .example-panel.active { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .schedule-card { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; padding: 20px 24px 28px; gap: 4px;
    background: rgba(11,15,20,.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform .4s cubic-bezier(.22,1,.36,1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px; font-size: 17px; }
  .nav-burger { display: block; }
  .nav-actions .btn { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-featured { grid-column: auto; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .schedule-fallback { overflow-wrap: anywhere; }
  .process-track { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .stat-sep { display: none; }
  .browser-mock iframe { height: 380px; }
  .phone-mock { width: 260px; height: 540px; }
  .hero-shapes { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
