/* ── ServioCS · Global Styles ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #52B043;
  --pink:   #D81B60;
  --dark:   #0f0f0f;
  --mid:    #1a1a1a;
  --card:   #1e1e1e;
  --border: rgba(255,255,255,0.07);
  --text:   #f1f5f9;
  --muted:  #94a3b8;
  --radius: 20px;
  --grad:   linear-gradient(135deg, #52B043, #3a8a2e);
  --promo-banner-height: 0px;
  --site-header-height: 74px;
  --site-header-offset: calc(var(--promo-banner-height) + var(--site-header-height));
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-offset) + 18px);
}

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--site-header-offset);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ── Promo Banner ── */
#promo-banner {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: linear-gradient(90deg, #d97706, #f59e0b, #d97706);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  color: #000;
  text-align: center;
  padding: 10px 48px;
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.02em;
  border-bottom: 2px solid rgba(0,0,0,0.15);
}
#promo-banner.active { display: block; }
#promo-banner .promo-code {
  display: inline-block;
  background: rgba(0,0,0,0.15);
  border: 1.5px dashed rgba(0,0,0,0.3);
  border-radius: 6px;
  padding: 2px 10px;
  font-family: monospace;
  font-size: 14px;
  letter-spacing: 0.15em;
  margin: 0 6px;
  cursor: pointer;
}
#promo-banner .promo-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 18px; color: rgba(0,0,0,0.5); line-height: 1;
  padding: 4px;
}
#promo-banner .promo-close:hover { color: #000; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

a { color: inherit; text-decoration: none; }

/* ── Typography ── */
.label {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--orange);
}
.headline {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900; font-style: italic;
  line-height: 1; letter-spacing: -0.03em;
}
.subhead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted); font-weight: 500; line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 50px;
  font-weight: 900; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.15em; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(82,176,67,0.35); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--orange); box-shadow: 0 8px 30px rgba(82,176,67,0.15); }

/* ── Sections ── */
section { padding: 120px 48px; max-width: 1200px; margin: 0 auto; }
.section-full { max-width: 100%; padding-left: 0; padding-right: 0; }

/* ── Hero ── */
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding-top: 40px; position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(82,176,67,0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  border: 1px solid rgba(82,176,67,0.3);
  background: rgba(82,176,67,0.08);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--orange); margin-bottom: 32px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }
.hero h1 { margin-bottom: 24px; }
.hero h1 span { color: var(--orange); }
.hero .subhead { max-width: 600px; margin: 0 auto 48px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.3em; color: var(--muted);
}
.hero-scroll .arrow { animation: bounce 2s infinite; }

/* ── Feature Grid ── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 64px;
}
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: rgba(82,176,67,0.4); transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(82,176,67,0.1); display: flex; align-items: center;
  justify-content: center; font-size: 26px; margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px; font-weight: 900; font-style: italic;
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── Pricing ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 64px; align-items: start;
}
.pricing-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  position: relative; transition: transform 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--orange);
  background: linear-gradient(160deg, rgba(82,176,67,0.08), var(--card));
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; padding: 4px 18px;
  border-radius: 50px; font-size: 9px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.2em; white-space: nowrap;
}
.pricing-plan { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted); margin-bottom: 12px; }
.pricing-price { font-size: 52px; font-weight: 900; font-style: italic; letter-spacing: -0.04em; line-height: 1; }
.pricing-price sup { font-size: 22px; vertical-align: super; }
.pricing-price sub { font-size: 14px; color: var(--muted); font-style: normal; font-weight: 600; }
.pricing-desc { font-size: 13px; color: var(--muted); margin: 12px 0 28px; }
.pricing-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.pricing-features li::before { content: '✓'; color: var(--orange); font-weight: 900; font-size: 14px; flex-shrink: 0; }

/* ── Social Proof ── */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 64px; }
.testimonial-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.testimonial-text { font-size: 15px; line-height: 1.8; color: var(--text); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center;
  justify-content: center; font-weight: 900; font-size: 16px; color: #fff;
}
.testimonial-name { font-weight: 900; font-size: 13px; }
.testimonial-role { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(82,176,67,0.15), rgba(216,27,96,0.15));
  border: 1px solid rgba(82,176,67,0.2);
  border-radius: 32px; padding: 80px 60px; text-align: center;
  margin: 0 48px 120px;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner .subhead { margin: 0 auto 40px; max-width: 500px; }

/* ── Animations ── */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.5s; }

/* ── Signup Page ── */
.signup-page {
  min-height: 100vh; display: flex; align-items: stretch;
}
.signup-left {
  flex: 1; background: linear-gradient(160deg, rgba(82,176,67,0.12), rgba(216,27,96,0.08));
  border-right: 1px solid var(--border);
  padding: 80px 60px; display: flex; flex-direction: column; justify-content: center;
}
.signup-right {
  flex: 1; padding: 80px 60px; display: flex;
  flex-direction: column; justify-content: center; max-width: 560px;
}
.signup-steps { display: flex; flex-direction: column; gap: 28px; margin-top: 48px; }
.signup-step { display: flex; align-items: flex-start; gap: 16px; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; color: #fff; flex-shrink: 0;
}
.step-text h4 { font-size: 14px; font-weight: 900; margin-bottom: 4px; }
.step-text p { font-size: 13px; color: var(--muted); }

/* ── Form ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 10px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--muted); margin-bottom: 8px;
}
.form-group input, .form-group select {
  width: 100%; padding: 16px 20px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; color: var(--text); font-size: 14px; font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(82,176,67,0.12);
}
.form-group input::placeholder { color: #475569; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.plan-card {
  border: 2px solid var(--border); border-radius: 14px; padding: 20px 16px;
  cursor: pointer; transition: border-color 0.2s, background 0.2s; text-align: center;
}
.plan-card:hover { border-color: rgba(82,176,67,0.4); }
.plan-card.selected { border-color: var(--orange); background: rgba(82,176,67,0.08); }
.plan-card .plan-name { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.plan-card .plan-price { font-size: 22px; font-weight: 900; font-style: italic; margin: 6px 0 2px; }
.plan-card .plan-sub { font-size: 10px; color: var(--muted); }

.progress-bar { display: flex; gap: 8px; margin-bottom: 40px; }
.progress-step {
  flex: 1; height: 4px; border-radius: 2px;
  background: var(--border); transition: background 0.3s;
}
.progress-step.active { background: var(--orange); }
.progress-step.done { background: var(--pink); }

.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeUp 0.4s ease both; }

.success-screen {
  text-align: center; padding: 40px 0;
  display: none; flex-direction: column; align-items: center; gap: 20px;
}
.success-screen.active { display: flex; animation: fadeUp 0.5s ease both; }
.success-icon {
  width: 80px; height: 80px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}

/* ── Platform Cards (homepage) ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 64px;
  align-items: start;
}
.platform-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, transform 0.3s;
  min-height: 480px;
}
.platform-card:hover { transform: translateY(-4px); }
.platform-card--active { border-color: rgba(82,176,67,0.25); }
.platform-card--active:hover { border-color: rgba(82,176,67,0.5); }
.platform-card--pink { border-color: rgba(216,27,96,0.15); }
.platform-card--pink:hover { border-color: rgba(216,27,96,0.4); }
.platform-card--soon { opacity: 0.7; cursor: default; }
.platform-card--soon:hover { transform: none; }
.platform-card-header { display: flex; align-items: center; gap: 14px; }
.platform-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(82,176,67,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.platform-label {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.3em;
}
.platform-name {
  font-size: 20px; font-weight: 900; font-style: italic;
  letter-spacing: -0.02em; line-height: 1.2;
}
.platform-desc {
  font-size: 14px; color: var(--muted); line-height: 1.7;
}
.platform-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.platform-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
}
.platform-features li::before {
  content: '✓'; color: var(--orange);
  font-weight: 900; font-size: 13px; flex-shrink: 0;
}
.platform-soon-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 11px; color: var(--muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  margin-top: auto;
}

/* ── Coming Soon Badge ── */
.badge-coming-soon {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 9px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--muted);
}

/* ── Hero nodes (abstract decoration) ── */
.hero-nodes {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.node {
  position: absolute; border-radius: 50%;
  background: var(--orange); opacity: 0.18;
}
.node-1 { width: 10px; height: 10px; top: 20%; left: 15%; }
.node-2 { width: 7px;  height: 7px;  top: 15%; right: 15%; }
.node-3 { width: 12px; height: 12px; bottom: 30%; left: 8%; }
.node-4 { width: 8px;  height: 8px;  bottom: 25%; right: 12%; }
.node-5 { width: 6px;  height: 6px;  top: 40%; right: 25%; }
.node-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

/* ── Tap highlight suppression ── */
a, button, [role="button"], .plan-card, .platform-card, .feature-card, .pricing-card {
  -webkit-tap-highlight-color: transparent;
}

/* ── Responsive: tablet ── */
@media (max-width: 1024px) {
  section { padding: 100px 36px; }
  .cta-banner { margin: 0 36px 100px; padding: 72px 48px; }
}

/* ── Responsive: tablet + mobile ── */
@media (max-width: 768px) {
  section { padding: 80px 24px; }
  .cta-banner { margin: 0 24px 80px; padding: 60px 32px; }
  .signup-page { flex-direction: column; }
  .signup-left { padding: 60px 32px; }
  .signup-right { padding: 40px 32px; max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .plan-cards { grid-template-columns: 1fr; }
  .bundle-grid { grid-template-columns: 1fr !important; }
  .bundle-plus { display: none !important; }
  .platform-card { min-height: unset; }
}

/* ── Responsive: small phones ── */
@media (max-width: 480px) {
  section { padding: 60px 16px; }
  .cta-banner { margin: 0 12px 60px; padding: 40px 20px; }
  .signup-left { padding: 40px 20px; }
  .signup-right { padding: 32px 20px; }
  .headline { font-size: clamp(2.2rem, 8vw, 3rem); }
  .btn { padding: 14px 24px; font-size: 12px; }
  .feature-card { padding: 28px 20px; }
  .pricing-card { padding: 28px 20px; }
  .platform-card { padding: 28px 20px; }
}
