/* ============================================
   PLURALINK — design tokens
   Dark base + brand gradient (roxo → rosa),
   acentos vindos do logo (ciano, verde, laranja)
   ============================================ */
:root{
  --bg:            #0a0a12;
  --bg-soft:       #0e0e18;
  --surface:       #14121f;
  --surface-2:     #1a1728;
  --border:        #262238;
  --border-hover:  #37304f;

  --text:          #f5f4f8;
  --text-dim:      #a8a4bd;
  --text-faint:    #6d6884;

  --brand-purple:  #7c3aed;
  --brand-pink:    #ec4899;
  --brand-cyan:    #22d3ee;
  --brand-green:   #34d399;
  --brand-orange:  #fb923c;
  --brand-blue:    #3b82f6;

  --grad-cta:      linear-gradient(135deg, #7c3aed 0%, #d946ef 55%, #ec4899 100%);
  --grad-text:     linear-gradient(135deg, #22d3ee 0%, #7c3aed 45%, #ec4899 100%);
  --grad-ring:     conic-gradient(from 180deg, #22d3ee, #3b82f6, #34d399, #fb923c, #ec4899, #7c3aed, #22d3ee);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-glow: 0 0 0 1px rgba(124,58,237,.15), 0 20px 60px -20px rgba(124,58,237,.45);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ min-height:100%; }
body{
  margin:0;
  background:
    radial-gradient(1100px 550px at 12% -10%, var(--gradient-one,rgba(124,58,237,.28)), transparent 60%),
    radial-gradient(900px 500px at 90% 8%, var(--gradient-two,rgba(236,72,153,.16)), transparent 55%),
    var(--bg);
  color:var(--text);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font:inherit; cursor:pointer; }
::selection{ background:rgba(124,58,237,.35); }

h1,h2,h3,h4{
  font-family:'Sora', 'Inter', sans-serif;
  margin:0;
  letter-spacing:-0.02em;
  color:var(--text);
}

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

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brand-pink);
}
.eyebrow::before{
  content:'';
  width:6px; height:6px; border-radius:50%;
  background:var(--grad-cta);
}

/* Focus visibility */
a:focus-visible,button:focus-visible,input:focus-visible{
  outline:2px solid var(--brand-cyan);
  outline-offset:3px;
  border-radius:6px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- Motion ---------- */
@keyframes fadeUp{
  from{ opacity:0; transform:translateY(22px); }
  to{ opacity:1; transform:translateY(0); }
}
@keyframes floatY{
  0%,100%{ transform:rotate(-2deg) translateY(0); }
  50%{ transform:rotate(-2deg) translateY(-12px); }
}
@keyframes pulseGlow{
  0%,100%{ opacity:.35; transform:scale(1); }
  50%{ opacity:.5; transform:scale(1.06); }
}
@keyframes gradientShift{
  0%,100%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
}
@keyframes badgePulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(217,70,239,.5); }
  50%{ box-shadow:0 0 0 7px rgba(217,70,239,0); }
}

.reveal{ opacity:0; transform:translateY(28px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.features-grid .reveal:nth-child(2){ transition-delay:.08s; }
.features-grid .reveal:nth-child(3){ transition-delay:.16s; }
.features-grid .reveal:nth-child(4){ transition-delay:.24s; }
.pricing-grid .reveal:nth-child(2){ transition-delay:.12s; }
.testi-grid .reveal:nth-child(2){ transition-delay:.1s; }
.testi-grid .reveal:nth-child(3){ transition-delay:.2s; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 22px;
  border-radius:var(--radius-pill);
  font-weight:600;
  font-size:.95rem;
  border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--grad-cta);
  color:#fff;
  box-shadow:0 8px 24px -8px rgba(217,70,239,.6);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 30px -8px rgba(217,70,239,.75); }
.btn-ghost{
  background:transparent;
  color:var(--text);
  border-color:var(--border);
}
.btn-ghost:hover{ border-color:var(--border-hover); background:rgba(255,255,255,.03); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 16px; font-size:.85rem; }

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(10,10,18,.72);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  transition:box-shadow .25s ease, background-color .25s ease;
}
.nav.scrolled{
  background:rgba(10,10,18,.9);
  box-shadow:0 12px 30px -18px rgba(0,0,0,.6);
}
.nav .container{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.nav-brand{ display:flex; align-items:center; gap:10px; font-family:'Sora',sans-serif; font-weight:700; font-size:1.1rem; }
.nav-brand img{ height:28px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:32px; }
.nav-links a{ position:relative; font-size:.92rem; color:var(--text-dim); transition:color .15s ease; }
.nav-links a:hover{ color:var(--text); }
.nav-links a::after{
  content:''; position:absolute; left:0; right:100%; bottom:-6px; height:2px;
  background:var(--grad-cta); border-radius:2px;
  transition:right .25s ease;
}
.nav-links a:hover::after{ right:0; }
.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none;
  background:transparent; border:1px solid var(--border); border-radius:8px;
  width:40px; height:40px; align-items:center; justify-content:center; color:var(--text);
}
.nav-toggle svg{ width:20px; height:20px; }

.nav-mobile{
  display:none;
  flex-direction:column;
  gap:2px;
  border-top:1px solid var(--border);
  background:var(--bg-soft);
}
.nav-mobile a{
  padding:14px 24px;
  font-size:.95rem;
  color:var(--text-dim);
  border-bottom:1px solid var(--border);
}
.nav-mobile .nav-mobile-actions{ display:flex; flex-direction:column; gap:10px; padding:16px 24px; }
.nav-mobile.open{ display:flex; }

/* ---------- Hero ---------- */
.hero{ padding:88px 0 60px; }
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}
.hero h1{
  font-size:clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight:700;
  line-height:1.08;
  margin-bottom:20px;
}
.hero h1 .grad{
  background:var(--grad-text);
  background-size:200% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:gradientShift 6s ease-in-out infinite;
}
.hero p.lead{
  font-size:1.08rem;
  color:var(--text-dim);
  max-width:46ch;
  margin-bottom:32px;
}
.hero-form{
  display:flex;
  gap:10px;
  background:var(--surface);
  border:1px solid var(--border);
  padding:8px;
  border-radius:var(--radius-pill);
  max-width:520px;
}
.hero-form input{
  flex:1;
  background:transparent;
  border:none;
  outline:none;
  color:var(--text);
  padding:10px 14px;
  font-size:.95rem;
}
.hero-form input::placeholder{ color:var(--text-faint); }
.hero-form .btn{ flex-shrink:0; }
.hero-social{
  display:flex; align-items:center; gap:12px;
  margin-top:22px;
  font-size:.85rem;
  color:var(--text-faint);
}
.hero-grid > div:first-child > *{ opacity:0; animation:fadeUp .7s ease both; }
.hero-grid > div:first-child > *:nth-child(1){ animation-delay:.05s; }
.hero-grid > div:first-child > *:nth-child(2){ animation-delay:.15s; }
.hero-grid > div:first-child > *:nth-child(3){ animation-delay:.25s; }
.hero-grid > div:first-child > *:nth-child(4){ animation-delay:.35s; }
.hero-grid > div:first-child > *:nth-child(5){ animation-delay:.45s; }
.avatar-stack{ display:flex; }
.avatar-stack span{
  width:28px; height:28px; border-radius:50%;
  border:2px solid var(--bg);
  margin-left:-8px;
  background:var(--grad-cta);
}
.avatar-stack span:first-child{ margin-left:0; }

/* ---------- Phone mockup (signature element) ---------- */
.phone-wrap{ display:flex; justify-content:center; position:relative; opacity:0; animation:fadeUp .8s ease .3s both; }
.phone-glow{
  position:absolute; inset:-40px;
  background:var(--grad-ring);
  filter:blur(90px);
  opacity:.35;
  z-index:0;
  border-radius:50%;
  animation:pulseGlow 5s ease-in-out infinite;
}
.phone{
  position:relative; z-index:1;
  width:270px;
  border-radius:36px;
  padding:14px;
  background:linear-gradient(160deg,#1c1830,#0c0a16);
  border:1px solid var(--border-hover);
  box-shadow:var(--shadow-glow);
  animation:floatY 6s ease-in-out infinite;
}
.phone-screen{
  background:var(--bg-soft);
  border-radius:24px;
  padding:24px 18px 18px;
  text-align:center;
}
.phone-avatar{
  width:56px; height:56px; border-radius:50%;
  margin:0 auto 10px;
  background:var(--grad-cta);
  display:flex; align-items:center; justify-content:center;
  font-family:'Sora',sans-serif; font-weight:700; color:#fff;
}
.phone-screen h4{ font-size:.95rem; margin-bottom:2px; }
.phone-screen .handle{ font-size:.78rem; color:var(--text-faint); margin-bottom:18px; }
.phone-link{
  padding:12px 14px;
  border-radius:12px;
  font-size:.82rem; font-weight:600;
  color:#fff;
  margin-bottom:10px;
  text-align:left;
  display:flex; align-items:center; justify-content:space-between;
}
.phone-link:nth-child(1){ background:linear-gradient(90deg,#7c3aed,#a855f7); }
.phone-stats{
  display:flex; justify-content:space-between;
  margin-top:16px; padding-top:14px;
  border-top:1px solid var(--border);
}
.phone-stats div{ text-align:center; flex:1; }
.phone-stats strong{ display:block; font-size:.95rem; }
.phone-stats span{ font-size:.68rem; color:var(--text-faint); }

/* ---------- Section shell ---------- */
.section{ padding:88px 0; }
.section-head{ text-align:center; max-width:620px; margin:0 auto 52px; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.3rem); margin:14px 0 12px; }
.section-head p{ color:var(--text-dim); font-size:1.02rem; }

/* ---------- Feature cards ---------- */
.features-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}
.feature-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:26px;
  transition:border-color .2s ease, transform .2s ease;
}
.feature-card:hover{ border-color:var(--border-hover); transform:translateY(-3px); }
.feature-icon{
  width:42px; height:42px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
  font-size:1.1rem;
  transition:transform .25s ease;
}
.feature-card:hover .feature-icon{ transform:scale(1.1) rotate(-4deg); }
.feature-card h3{ font-size:1.02rem; margin-bottom:8px; }
.feature-card p{ font-size:.88rem; color:var(--text-dim); line-height:1.55; }
.feature-tags{ display:flex; gap:8px; margin-top:16px; flex-wrap:wrap; }
.feature-tags span{
  font-size:.72rem; padding:4px 10px; border-radius:var(--radius-pill);
  border:1px solid var(--border); color:var(--text-faint);
}
.feature-dots{ display:flex; gap:8px; margin-top:16px; }
.feature-dots span{ width:16px; height:16px; border-radius:50%; }

/* ---------- Pricing ---------- */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,340px));
  gap:24px;
  justify-content:center;
}
.price-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px;
  position:relative;
  transition:transform .25s ease, border-color .25s ease;
}
.price-card:hover{ transform:translateY(-4px); border-color:var(--border-hover); }
.price-card.featured{
  border-color:var(--brand-purple);
  box-shadow:var(--shadow-glow);
  background:linear-gradient(180deg, rgba(124,58,237,.09), var(--surface) 40%);
}
.price-card.featured:hover{ border-color:var(--brand-purple); }
.price-badge{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--grad-cta); color:#fff;
  font-size:.72rem; font-weight:700;
  padding:5px 16px; border-radius:var(--radius-pill);
  animation:badgePulse 2.4s ease-in-out infinite;
}
.price-card h3{ font-size:1.15rem; margin-bottom:4px; }
.price-card .muted{ font-size:.85rem; color:var(--text-dim); margin-bottom:18px; }
.price-amount{ display:flex; align-items:baseline; gap:6px; margin-bottom:22px; }
.price-amount strong{ font-family:'Sora',sans-serif; font-size:2.4rem; }
.price-amount span{ color:var(--text-faint); font-size:.9rem; }
.price-list{ display:flex; flex-direction:column; gap:12px; margin-bottom:26px; }
.price-list li{ display:flex; gap:10px; align-items:flex-start; font-size:.9rem; color:var(--text-dim); }
.price-list li svg{ flex-shrink:0; width:16px; height:16px; margin-top:3px; }
.price-list.pro svg{ color:var(--brand-pink); }
.price-list.free svg{ color:var(--brand-green); }

/* ---------- Testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.testi-card{
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:26px;
  transition:transform .25s ease, border-color .25s ease;
}
.testi-card:hover{ transform:translateY(-3px); border-color:var(--border-hover); }
.stars{ color:var(--brand-orange); font-size:.85rem; letter-spacing:2px; margin-bottom:14px; }
.testi-card p{ font-size:.92rem; color:var(--text-dim); line-height:1.6; margin-bottom:20px; }
.testi-author{ display:flex; align-items:center; gap:10px; padding-top:16px; border-top:1px solid var(--border); }
.testi-avatar{ width:38px; height:38px; border-radius:50%; background:var(--grad-cta); flex-shrink:0; }
.testi-author strong{ display:block; font-size:.88rem; }
.testi-author span{ font-size:.78rem; color:var(--text-faint); }

/* ---------- CTA band ---------- */
.cta-band{
  text-align:center;
  padding:80px 24px;
  border-radius:var(--radius-lg);
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(124,58,237,.35), transparent 70%),
    var(--surface-2);
  border:1px solid var(--border);
}
.cta-band h2{ font-size:clamp(1.6rem,3vw,2.1rem); margin-bottom:12px; }
.cta-band p{ color:var(--text-dim); margin-bottom:30px; }
.cta-band .hero-form{ margin:0 auto; }
.cta-fine{ margin-top:16px; font-size:.8rem; color:var(--text-faint); }

/* ---------- Footer ---------- */
.footer{ padding:64px 0 32px; border-top:1px solid var(--border); margin-top:40px; }
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:32px;
  margin-bottom:48px;
}
.footer-brand img{ height:24px; margin-bottom:12px; }
.footer-brand p{ font-size:.85rem; color:var(--text-faint); max-width:26ch; margin-bottom:16px; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:34px; height:34px; border-radius:50%;
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-dim);
  transition:border-color .15s ease, color .15s ease;
}
.footer-social a:hover{ border-color:var(--border-hover); color:var(--text); }
.footer-col h5{ font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-faint); margin-bottom:16px; }
.footer-col a{ display:block; font-size:.88rem; color:var(--text-dim); padding:6px 0; }
.footer-col a:hover{ color:var(--text); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:24px; border-top:1px solid var(--border);
  font-size:.8rem; color:var(--text-faint); flex-wrap:wrap; gap:12px;
}

/* ---------- Cookie banner ---------- */
.cookie-bar{
  position:fixed; left:20px; right:20px; bottom:20px; z-index:80;
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-md); padding:18px 20px;
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
  box-shadow:0 20px 50px -20px rgba(0,0,0,.6);
  max-width:640px; margin-inline:auto;
  opacity:0; animation:fadeUp .5s ease .8s both;
}
.cookie-bar p{ font-size:.82rem; color:var(--text-dim); flex:1; min-width:200px; }
.cookie-bar .actions{ display:flex; gap:10px; }
.cookie-bar.hidden{ display:none; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; }
  .phone-wrap{ order:-1; margin-bottom:16px; }
  .phone{ transform:none; width:230px; animation:none; }
  .features-grid{ grid-template-columns:repeat(2,1fr); }
  .testi-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:760px){
  .nav-links{ display:none; }
  .nav-actions .btn-ghost{ display:none; }
  .nav-toggle{ display:flex; }
  .hero{ padding:48px 0 40px; }
  .section{ padding:60px 0; }
  .features-grid{ grid-template-columns:1fr; }
  .pricing-grid{ grid-template-columns:1fr; }
  .hero-form{ flex-direction:column; border-radius:var(--radius-md); }
  .hero-form .btn{ width:100%; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:28px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}
@media (max-width:480px){
  .footer-grid{ grid-template-columns:1fr; }
}
