:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface2: #f4f4f5;
  --border: rgba(0, 0, 0, 0.08);
  --text: #111111;
  --dim: #52525b;
  --dimmer: #a1a1aa;
  --purple: #7c3aed;
  --purple-light: #6d28d9;
  --purple-dim: rgba(124, 58, 237, 0.08);
  --green: #059669;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", monospace;
  --radius: 16px;
  --max: 1100px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(124, 58, 237, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand:hover { text-decoration: none; }

.brand-junti {
  font-weight: 900;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--text);
}

.brand-sep {
  width: 1px;
  height: 18px;
  background: var(--border);
}

.brand-tesos {
  font-size: 12px;
  color: var(--dimmer);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--dim);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  background: var(--purple);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.nav-cta:hover {
  background: #6d28d9;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--text);
  cursor: pointer;
}

/* HERO */
.hero {
  padding: 140px 0 80px;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(124, 58, 237, 0.25);
  background: var(--purple-dim);
  padding: 5px 10px;
  border-radius: 6px;
}

.chip-live {
  color: var(--green);
  border-color: rgba(5, 150, 105, 0.3);
  background: rgba(5, 150, 105, 0.08);
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 span { color: var(--purple); }

.hero-lead {
  color: var(--dim);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-lead strong { color: var(--text); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: #fff;
  padding: 15px 28px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none !important;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #6d28d9;
  text-decoration: none !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--dim);
  padding: 15px 24px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: rgba(124, 58, 237, 0.3);
  color: var(--purple);
  text-decoration: none !important;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
}

.stat-label {
  font-size: 12px;
  color: var(--dimmer);
  margin-top: 2px;
}

/* PREVIEW CARDS */
.preview-stack { display: flex; flex-direction: column; gap: 10px; }

.preview-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.preview-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: var(--shadow-md);
}

.preview-emoji {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.preview-body { flex: 1; min-width: 0; }

.preview-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-meta {
  font-size: 12px;
  color: var(--dimmer);
  margin-top: 3px;
}

.preview-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}

.preview-blur {
  opacity: 0.55;
  position: relative;
}

.lock-banner {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--dim);
  box-shadow: var(--shadow-sm);
}

/* SECTIONS */
section { padding: 80px 0; }

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dimmer);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}

.section-sub {
  color: var(--dim);
  font-size: 17px;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.feature-card:hover { box-shadow: var(--shadow-md); }

.feature-icon { font-size: 28px; margin-bottom: 16px; }

.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.65;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.step {
  background: var(--surface);
  padding: 28px 22px;
}

.step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--purple);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.step p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
}

/* TESOS SERVICES */
.tesos-section {
  background: linear-gradient(180deg, #f5f3ff 0%, #fafafa 50%, #fafafa 100%);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 18px;
}

.service-card a {
  font-size: 13px;
  font-weight: 700;
}

/* FAQ */
.faq-list { max-width: 720px; }

.faq-item {
  border-bottom: 0.5px solid var(--border);
  padding: 22px 0;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.65;
}

/* CTA */
.cta-box {
  text-align: center;
  background: var(--surface);
  border: 0.5px solid rgba(124, 58, 237, 0.2);
  border-radius: 20px;
  padding: 56px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.06), transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  color: var(--text);
}

.cta-box p {
  color: var(--dim);
  margin-bottom: 28px;
  position: relative;
}

.cta-box .hero-actions {
  justify-content: center;
  margin-bottom: 0;
  position: relative;
}

/* FOOTER */
.site-footer {
  padding: 48px 0 32px;
  border-top: 0.5px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text);
}

.footer-desc {
  color: var(--dimmer);
  font-size: 13px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: var(--dim);
  font-size: 13px;
  text-decoration: none;
}

.footer-col a:hover { color: var(--purple); }

.footer-bottom {
  padding-top: 24px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--dimmer);
}

/* MOBILE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .preview-stack { order: -1; }
  .features-grid,
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 24px 24px;
    border-bottom: 0.5px solid var(--border);
    gap: 16px;
    box-shadow: var(--shadow-sm);
  }
  .nav-toggle { display: block; }
  .hero { padding: 110px 0 60px; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
}
