/* Tua Agenda v4 — section-specific styles */

.section--tint { background: var(--accent-tint); }
.section--ink {
  background: var(--surface-3);
  color: #f7f4ff;
}
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink p { color: rgba(247,244,255,.78); }
.section--ink .eyebrow {
  color: #c4b5fd;
  border-color: rgba(196,181,253,.32);
  background: rgba(139,92,246,.18);
}
.section--ink .card {
  background: rgba(255,255,255,.04);
  border-color: rgba(196,181,253,.22);
  color: #f7f4ff;
}
.section--ink .card h3 { color: #fff; }
.section--ink .card p { color: rgba(247,244,255,.72); }
.section--ink .muted { color: rgba(247,244,255,.6); }

/* NAV */
.nav-container {
  position: sticky; top: 0; z-index: 50;
}
.nav {
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.brand-logo { display: block; height: 32px; width: auto; }
.footer .brand-logo { height: 34px; }
.nav-links { display: flex; gap: 26px; flex: 1; }
.nav-links a { font-size: 14px; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-select {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em;
  padding: 10px 10px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  cursor: pointer; line-height: 1;
}
.nav-menu-btn {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px clamp(20px, 5vw, 64px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 15px; color: var(--ink-2);
  padding: 10px 12px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-mobile a:hover { background: var(--accent-tint); color: var(--accent); }

/* HERO */
.hero {
  padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden; position: relative;
  background:
    radial-gradient(ellipse 1100px 600px at 15% 10%, color-mix(in oklab, var(--accent) 22%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 900px 500px at 90% 90%, color-mix(in oklab, var(--accent-2) 22%, transparent) 0%, transparent 60%),
    var(--accent-tint);
  border-bottom: 1px solid var(--line);
}
.hero .glow-orb.a { top: -120px; left: -120px; }
.hero .glow-orb.b { bottom: -200px; right: -100px; background: radial-gradient(circle, color-mix(in oklab, var(--accent-2) 45%, transparent) 0%, transparent 70%); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 18px 0 22px;
}
.hero-lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 56ch; padding-top: 1rem;}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.hero-micro { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.hero-kpis {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.kpi-num { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.kpi-num .accent { color: var(--accent); }
.kpi-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

.hero-imgwrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-imgwrap .placeholder { border-radius: var(--radius-lg); }

/* Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.7fr) minmax(0, 0.65fr);
  gap: 0;
  align-items: center;
}
.showcase-cell { display: flex; flex-direction: column; gap: 10px; }
.showcase-cell .placeholder { border-radius: 18px; }
.showcase-cell--phone .placeholder { border-radius: 26px; }
.showcase-cell--desktop {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 32px 64px rgba(81,41,166,.28));
  transform: translateY(100px) !important;
}
.showcase-cell:first-child {
  position: relative;
  z-index: 1;
  transform: translateX(100px) translateY(20px);
  opacity: 0.9;
}
.showcase-cell:last-child {
  position: relative;
  z-index: 1;
  transform: translateX(-100px) translateY(20px);
  opacity: 0.9;
}
.showcase-caption {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-align: center;
}

/* MARQUEE */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
}
.marquee .marquee-item { color: rgba(255,255,255,.85); }
.marquee .marquee-item::after { color: #c4b5fd; }
.marquee-track {
  display: flex; gap: 48px;
  animation: scroll 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
:root[data-anim="off"] .marquee-track { animation: none; }
.marquee-item { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 48px; }
.marquee-item::after { content: "●"; color: var(--accent); margin-left: -24px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* THESIS */
.thesis-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.thesis h2 { font-size: clamp(28px, 3.6vw, 48px); font-weight: 700; line-height: 1.1; margin: 16px 0 18px; }
.thesis-points { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.thesis-point { display: flex; gap: 14px; align-items: flex-start; }
.thesis-point .num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); min-width: 28px; padding-top: 2px; }
.thesis-point div p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.thesis-point div b { font-size: 15px; color: var(--ink); font-weight: 600; }

.chart {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--glow);
}
.chart h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.chart-legend { display: flex; gap: 16px; font-size: 12px; margin-top: 14px; flex-wrap: wrap; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.chart-legend .sw { width: 14px; height: 14px; border-radius: 3px; }

/* ARGUMENTS */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 48px); font-weight: 700; margin: 14px 0 16px; }
.section-head p { font-size: 16px; color: var(--muted); }
.args-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.arg-card { padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.arg-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 18px 40px -20px color-mix(in oklab, var(--accent) 45%, transparent); }
.arg-card:nth-child(3n+2) .arg-icon { background: color-mix(in oklab, var(--accent) 14%, transparent); }
.arg-card:nth-child(3n+1) { background: linear-gradient(180deg, var(--accent-tint) 0%, var(--surface) 60%); }
.arg-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.arg-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.arg-card p { font-size: 14px; line-height: 1.55; color: var(--muted); flex: 1; }
.arg-stat {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--accent); padding-top: 14px; border-top: 1px dashed var(--line-2);
  text-transform: uppercase;
}

/* PULL BAND */
.pull-band {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 64px);
  background:
    radial-gradient(ellipse at 20% 30%, rgba(196,181,253,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(139,92,246,.22) 0%, transparent 55%),
    var(--surface-3);
  color: #fff;
  border-top: 1px solid var(--accent-deep);
  border-bottom: 1px solid var(--accent-deep);
  position: relative;
  overflow: hidden;
}
.pull-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(196,181,253,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(196,181,253,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.pull-band p {
  max-width: 1000px; margin: 0 auto;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
  text-wrap: balance;
  position: relative;
}
.pull-band em { font-style: normal; color: #c4b5fd; background: linear-gradient(180deg, transparent 60%, rgba(196,181,253,.22) 60%); padding: 0 4px; }

/* WHY NOW */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why-card { padding: 32px; position: relative; }
.why-num {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent-2);
  letter-spacing: 0.1em;
}
.section--ink .why-num { color: #c4b5fd; }
.why-card h3 { font-size: 22px; font-weight: 700; margin: 12px 0 10px; letter-spacing: -0.01em; }
.why-card p { font-size: 14px; color: var(--muted); }

/* BEFORE AFTER */
.ba-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.ba-card { padding: 32px; }
.ba-card.before { background: var(--accent-tint); border-color: var(--line-2); }
.ba-card.after { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #fff; border-color: transparent; }
.ba-card.after h3, .ba-card.after .ba-label { color: #fff; }
.ba-card.after .ba-bar { background: rgba(255,255,255,.18); }
.ba-card.after .ba-fill { background: #fff; }
.ba-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.ba-card .ba-sub { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.ba-card.after .ba-sub { color: rgba(255,255,255,.8); }
.ba-row { margin-bottom: 18px; }
.ba-label { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; color: var(--ink-2); font-weight: 500; }
.ba-bar { height: 8px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.ba-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width 1.2s cubic-bezier(.2,.7,.3,1); }

/* SERVICE */
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.service-desc h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 14px 0 18px; font-weight: 700; line-height: 1.1; }
.service-desc p { font-size: 16px; color: var(--ink-2); }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.feat {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
  font-size: 13px; font-weight: 500;
}
.feat svg { color: var(--accent); flex-shrink: 0; }
.store-badges { display: flex; gap: 10px; margin-top: 16px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  background: var(--ink); color: var(--bg);
  font-size: 11px; font-weight: 600;
}
.store-badge .lbl { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .lbl small { font-size: 9px; opacity: .7; font-weight: 400; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-card { padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.price-card.featured {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 24px 60px -20px color-mix(in oklab, var(--accent) 60%, transparent);
  transform: scale(1.02);
}
.price-card.featured .price-name { color: #c4b5fd; }
.price-card.featured .price-desc { color: rgba(255,255,255,.78); }
.price-card.featured .price-amount { color: #fff; }
.price-card.featured .price-amount .cur,
.price-card.featured .price-amount .per { color: rgba(255,255,255,.7); }
.price-card.featured .price-list li { color: rgba(255,255,255,.92); }
.price-card.featured .price-list li::before { color: #fff; }
.price-card.featured .btn-primary { background: #fff; color: var(--accent); }
.price-tag {
  position: absolute; top: -10px; right: 24px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  background: var(--accent); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase;
}
.price-name { font-size: 14px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.price-amount { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.price-amount .cur { font-size: 18px; vertical-align: top; color: var(--muted); margin-right: 4px; }
.price-amount .per { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.price-desc { font-size: 14px; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.price-list li { font-size: 13px; display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.price-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.price-note { text-align: center; margin-top: 28px; font-size: 13px; color: var(--muted); }

/* PROCESS */
.process-list { max-width: 760px; margin: 0 auto; position: relative; }
.process-list::before {
  content: ""; position: absolute; left: 23px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(to bottom, var(--accent), color-mix(in oklab, var(--accent-2) 30%, transparent));
}
.process-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 16px 0; align-items: flex-start; position: relative; }
.process-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-mono); font-size: 14px;
  position: relative; z-index: 1;
  box-shadow: 0 6px 16px -4px color-mix(in oklab, var(--accent) 50%, transparent);
}
.process-body h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.process-body p { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; color: var(--accent); transition: transform .2s; font-weight: 300;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; color: var(--ink-2); font-size: 14px; }

/* FINAL CTA */
.final-cta {
  position: relative;
  padding: clamp(48px, 7vw, 96px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent) 0%, #6d28d9 50%, var(--accent-2) 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.12) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta h2 { color: #fff; font-size: clamp(32px, 4.5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; max-width: 18ch; margin: 0 auto 18px; position: relative; }
.final-cta p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 56ch; margin: 0 auto 32px; position: relative; }
.final-cta .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.final-cta .btn-primary { background: #fff; color: var(--accent); }
.final-cta .btn-primary:hover { background: #f4f1fb; }
.final-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.final-cta .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px clamp(20px, 5vw, 64px) 32px;
  background: var(--surface);
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 32ch; }
.footer-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--ink-2); transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--maxw); margin: 40px auto 0;
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.footer-bottom .links { display: flex; gap: 18px; }

/* TESTIMONIALS / REVIEWS */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.review-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.review-stars { color: var(--accent); font-size: 16px; letter-spacing: 1px; }
.review-source {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 20px;
}
.review-source--ios { background: rgba(0,122,255,.1); color: #007AFF; }
.review-source--android { background: rgba(52,168,83,.1); color: #34A853; }
.review-text { font-size: 14px; line-height: 1.6; color: var(--ink-2); flex: 1; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.review-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.review-role { font-size: 12px; color: var(--muted); }
.reviews-rating-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 16px;
  padding: 8px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.reviews-rating-badge .review-stars { font-size: 15px; }
.reviews-rating-text { font-size: 14px; font-weight: 600; color: var(--ink); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid, .thesis-grid, .service-grid { grid-template-columns: minmax(0, 1fr); }
  .args-grid, .why-grid, .pricing-grid, .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 1fr)); }
  .showcase-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .showcase-cell--desktop {
    grid-column: 1 / -1;
    order: -1;
    filter: none;
    transform: none !important;
  }
  .showcase-cell:first-child,
  .showcase-cell:last-child {
    transform: none;
    opacity: 1;
  }
}
@media (max-width: 760px) {
  .args-grid, .why-grid, .pricing-grid, .ba-wrap, .feat-grid, .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand, .footer-col { text-align: center; }
  .footer-brand p { max-width: none; }
  .footer-col ul { align-items: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom .links { justify-content: center; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .hero-kpis { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .price-card.featured { transform: none; }
}
