/* ============================================================
   storyStore — CSS Premium Dark
   Paleta: #0D0D0D bg · #7C3AED→#EC4899 grad
   Fontes: Syne (display) · DM Sans (body)
   ============================================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0D0D0D;
  --surface:     #161616;
  --surface2:    #1E1E1E;
  --grad-start:  #7C3AED;
  --grad-end:    #EC4899;
  --text:        #F0F0F0;
  --text-muted:  #888888;
  --border:      rgba(255,255,255,.08);
  --border-hover:rgba(124,58,237,.4);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  .2s ease;

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
strong { font-weight: 600; }

/* ---- Layout container ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Gradient utilities ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn-grad {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-grad:hover { opacity: .88; transform: translateY(-1px); }
.btn-grad:active { transform: translateY(0); opacity: 1; }

.btn-grad.btn-sm { padding: .52rem 1.1rem; font-size: .82rem; }
.btn-grad.btn-lg { padding: .9rem 2rem; font-size: 1rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.28);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline.btn-lg { padding: .9rem 2rem; font-size: 1rem; }

/* ---- Section commons ---- */
.section-dark { padding: 96px 0; background: var(--bg); }
.section-alt  { padding: 96px 0; background: var(--surface); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grad-start);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 50px;
  padding: .3rem .85rem;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
  background: rgba(13,13,13,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.logo-sm { font-size: 1.1rem; }
.logo-story {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-store { color: var(--text); font-weight: 300; }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}
.nav-link {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--text); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: rgba(13,13,13,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-overlay.hidden { display: none; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--text); }
.mobile-nav-cta { margin-top: .5rem; font-size: 1rem; padding: .85rem 2.2rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

/* Background glow */
.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(124,58,237,.18) 0%,
    rgba(236,72,153,.08) 50%,
    transparent 70%);
  pointer-events: none;
}

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

/* Hero text */
.hero-text { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .35rem .9rem;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}
.hero-title em { font-style: normal; }

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-sub strong { color: var(--text); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-hint {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--text-muted);
}
.hero-hint svg { flex-shrink: 0; color: var(--grad-start); }

/* ---- Phone Mockup ---- */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-glow {
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(124,58,237,.22) 0%,
    rgba(236,72,153,.1) 45%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 280px;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 44px;
  background: #0a0a0a;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.4),
    0 40px 80px rgba(0,0,0,.7),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.phone-notch {
  width: 80px;
  height: 10px;
  background: #1a1a1a;
  border-radius: 10px;
  margin: 0 auto 12px;
}

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9/17;
  background: #0a0010;
  position: relative;
}

/* Foto de produto como background da story */
.mock-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity .5s ease;
}

/* Overlay escuro sobre a foto para legibilidade do texto */
.mock-stories::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.35) 0%,
    transparent 30%,
    transparent 50%,
    rgba(0,0,0,.65) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Garante que todo conteúdo do mock-stories fique acima do overlay */
.mock-stories > * { position: relative; z-index: 1; }

/* Stories UI inside mockup */
.mock-stories {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 12px;
}

.mock-bars {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}
.mock-bar {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
  overflow: hidden;
}
.mock-bar-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: auto;
}
.mock-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
}
.mock-store-name {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

.mock-content {
  margin-top: auto;
  padding-bottom: 4px;
  transition: opacity .4s ease;
}
.mock-cat {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.5);
  margin-bottom: 2px;
}
.mock-name {
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.2;
}
.mock-price {
  font-size: .82rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.mock-sizes {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.mock-size-pip {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .6rem;
}
.mock-size-pip.selected {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff;
  border-color: transparent;
}

.mock-actions {
  display: flex;
  gap: 5px;
  align-items: center;
}
.mock-like-btn, .mock-cart-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  cursor: default;
  flex-shrink: 0;
}
.mock-buy-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: .68rem;
  font-weight: 600;
  cursor: default;
}

/* ============================================================
   COMO FUNCIONA
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
}

.step-card {
  text-align: center;
  padding: 2rem 1rem;
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .75rem;
  opacity: .85;
}
.step-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .85rem;
  color: var(--text-muted);
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.step-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Connector line */
.step-connector {
  align-self: center;
  margin-top: -1rem;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(124,58,237,.4) 0,
    rgba(124,58,237,.4) 5px,
    transparent 5px,
    transparent 12px
  );
}

/* ============================================================
   RECURSOS / FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 32px rgba(124,58,237,.1);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--grad-start);
  transition: background var(--transition);
}
.feature-card:hover .feature-icon {
  background: rgba(124,58,237,.2);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.feature-card p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   DEMO
   ============================================================ */
.demo-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}

/* Browser mockup */
.demo-preview { min-width: 0; }

.demo-screen {
  background: #111;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.demo-header-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: #1a1a1a;
}
.demo-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.demo-dot.red    { background: #FF5F57; }
.demo-dot.yellow { background: #FFBD2E; }
.demo-dot.green  { background: #28C840; }
.demo-url {
  font-size: .6rem;
  color: var(--text-muted);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 10px;
  margin-left: 6px;
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-body {
  padding: 10px 10px 8px;
  background: #f5f5f5;
}

/* Header da mini-loja */
.demo-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 6px 8px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.06);
}
.demo-logo {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #5BC8C0, #2A9D95);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.01em;
}
.demo-logo-img {
  height: 22px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}
.demo-header-actions { display: flex; gap: 5px; }
.demo-icon-stories,
.demo-icon-cart {
  width: 20px; height: 20px;
  border-radius: 6px;
  background: rgba(42,157,149,.08);
  border: 1px solid rgba(42,157,149,.18);
  display: flex; align-items: center; justify-content: center;
  color: #2A9D95;
}

/* Product grid — retangular */
.demo-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.demo-product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.demo-prod-img {
  height: 88px;
  position: relative;
  overflow: hidden;
  background: #e8f5f4;
}
.demo-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.demo-prod-tag {
  position: absolute;
  top: 4px; left: 4px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  background: #2A9D95;
  color: #fff;
  font-size: .34rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}
.demo-prod-tag::before {
  content: '★';
  font-size: .32rem;
}
.demo-prod-info {
  padding: 5px 5px 5px;
  background: #fff;
}
.demo-prod-cat {
  font-size: .38rem;
  font-weight: 700;
  color: #2A9D95;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 2px;
}
.demo-prod-name {
  font-size: .5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.demo-prod-price {
  font-size: .5rem;
  color: #e53935;
  font-weight: 700;
  margin-bottom: 3px;
}
.demo-prod-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 4px;
}
.demo-prod-sizes span {
  background: #f0f0f0;
  color: #444;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: .36rem;
  font-weight: 600;
  padding: 1px 4px;
}
.demo-prod-buy {
  display: flex;
  gap: 3px;
  align-items: center;
}
.demo-prod-cart-icon {
  width: 15px; height: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #555;
  flex-shrink: 0;
}
.demo-prod-buy-btn {
  flex: 1;
  background: #25C35A;
  color: #fff;
  font-size: .38rem;
  font-weight: 700;
  border-radius: 4px;
  text-align: center;
  padding: 2px 4px;
  line-height: 1.6;
}

/* ---- Demo phone mockup (Moda Unika teal theme) ---- */
.demo-phone-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}
.demo-phone-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Teal glow instead of purple */
.demo-phone-glow {
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(91,200,192,.22) 0%,
    rgba(42,157,149,.1) 45%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Avatar — teal gradient */
.demo-phone-frame .mock-avatar,
.demo-mock-avatar {
  background: linear-gradient(135deg, #5BC8C0, #2A9D95) !important;
}

/* Price — teal gradient text */
.demo-mock-price {
  background: linear-gradient(135deg, #5BC8C0, #2A9D95) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Selected size pip — teal */
.demo-phone-frame .mock-size-pip.selected {
  background: linear-gradient(135deg, #5BC8C0, #2A9D95);
  color: #fff;
  border-color: transparent;
}

/* Buy button — teal instead of green WhatsApp */
.demo-mock-buy-btn {
  background: linear-gradient(135deg, #2A9D95, #5BC8C0) !important;
}

/* Demo info column */
.demo-info {}
.demo-live-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 600;
  color: #28C840;
  border: 1px solid rgba(40,200,64,.3);
  border-radius: 50px;
  padding: .25rem .7rem;
  margin-bottom: 1rem;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #28C840;
  animation: pulse-live 2s ease infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

.demo-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.demo-info > p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.demo-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.75rem;
}
.demo-features-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
}
.demo-features-list li svg {
  flex-shrink: 0;
  color: var(--grad-start);
}

.demo-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   PLANOS
   ============================================================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.plans-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1060px;
}

.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.plan-featured {
  border-color: rgba(124,58,237,.45);
  box-shadow: 0 0 0 1px rgba(124,58,237,.15), 0 24px 48px rgba(124,58,237,.08);
}
.plan-soon { opacity: .6; }

.plan-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  border-radius: 50px;
  padding: .2rem .7rem;
  align-self: flex-start;
}
.plan-badge-soon {
  background: var(--surface2);
  color: var(--text-muted);
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.plan-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.plan-price {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.plan-price-label {
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.plan-price-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}
.plan-price-sub {
  font-size: .78rem;
  color: var(--text-muted);
}
.plan-price-cents {
  font-size: 1.3rem;
  font-weight: 600;
}
.plan-price-teaser {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-muted);
}
.plan-price-teaser-year {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: .7;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
}
.plan-features li svg { flex-shrink: 0; color: var(--grad-start); }

.plan-features-muted li { color: var(--text-muted); }
.plan-features-muted li svg { color: var(--text-muted); }

.plan-cta {
  width: 100%;
  justify-content: center;
  padding: .85rem;
  font-size: .95rem;
}
.plan-cta-soon {
  opacity: .45;
  cursor: not-allowed;
}
.plan-note {
  text-align: center;
  font-size: .72rem;
  color: var(--text-muted);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 96px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center,
    rgba(124,58,237,.14) 0%,
    rgba(236,72,153,.07) 50%,
    transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cta-inner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-brand p {
  margin-top: .5rem;
  font-size: .82rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-nav a {
  font-size: .85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p {
  font-size: .78rem;
  color: var(--text-muted);
}
.footer-credit a {
  color: var(--text-muted);
  transition: color var(--transition);
  border-bottom: 1px solid transparent;
}
.footer-credit a:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) and (min-width: 901px) {
  .plans-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
  /* Essencial ocupa linha inteira para dar destaque */
  .plans-grid-3 .plan-featured {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .btn-grad.btn-sm { display: none; } /* Hide desktop CTA in header on mobile, mobile nav has it */

  .hero-section { padding: 120px 0 64px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-text { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-hint { justify-content: center; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-mockup { order: -1; }
  .phone-frame { width: 220px; }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .step-connector {
    width: 1px;
    height: 40px;
    background: repeating-linear-gradient(
      180deg,
      rgba(124,58,237,.4) 0,
      rgba(124,58,237,.4) 5px,
      transparent 5px,
      transparent 12px
    );
    margin: 0 auto;
  }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .demo-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }

  .plans-grid { grid-template-columns: 1fr; max-width: 480px; }
  .plans-grid-3 { grid-template-columns: 1fr; max-width: 480px; }

  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .section-dark, .section-alt, .cta-section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-grad.btn-lg, .btn-outline.btn-lg { width: 100%; justify-content: center; }
}
