/* =========================================================
   DESIGNS HOSTING THEME
   File: assets/css/site.css
   Notes:
   - Organized by: Tokens > Base > Layout > Components > Sections > Responsive
   - Keep changes inside the matching section for easy future edits
========================================================= */


/* =========================================================
   1) TOKENS
========================================================= */
:root{
  --bg:#050816;

  --card:rgba(255,255,255,.04);
  --card2:rgba(255,255,255,.06);

  --stroke:rgba(255,255,255,.10);
  --stroke2:rgba(255,255,255,.14);

  --text:#eaf2ff;
  --muted:rgba(234,242,255,.72);

  --blue:#4bd2ff;
  --blue2:#3aa2ff;
  --gold:#f6d44a;
  --ok:#4cffb6;

  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --r:18px;
}


/* =========================================================
   2) BASE / RESET
========================================================= */
*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 450px at 70% -10%, rgba(75,210,255,.18), transparent 55%),
    radial-gradient(700px 420px at 20% 0%, rgba(58,162,255,.14), transparent 55%),
    radial-gradient(900px 600px at 80% 110%, rgba(246,212,74,.06), transparent 60%),
    var(--bg);
}

a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto}
code{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

.small{font-size:13px}
.muted{color:var(--muted)}


/* =========================================================
   3) LAYOUT HELPERS
========================================================= */
.container{
  width:100%;
  max-width:1160px;
  margin:0 auto;
  padding:0 18px;
}

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

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

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


/* =========================================================
   4) GLOBAL COMPONENTS
========================================================= */

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:900;
  letter-spacing:.2px;
  cursor:pointer;
  user-select:none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
}
.btn:active{transform: translateY(1px)}

.btn-primary{
  background: linear-gradient(135deg, rgba(75,210,255,.95), rgba(58,162,255,.95));
  color:#061224;
  border-color: rgba(255,255,255,.15);
  box-shadow: 0 14px 40px rgba(58,162,255,.18);
}
.btn-outline{
  background: rgba(255,255,255,.03);
  border-color: var(--stroke);
  color: var(--text);
}
.btn-ghost{
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

/* Cards */
.card{
  border-radius: var(--r);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  padding:16px;
}
.card.soft{ background: rgba(255,255,255,.02); }

/* Pills / badges */
.pill{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight:850;
  font-size:13px;
}

.badge{
  padding:8px 10px;
  border-radius:999px;
  background: rgba(246,212,74,.10);
  border: 1px solid rgba(246,212,74,.22);
  color: rgba(246,212,74,.95);
  font-weight:1000;
  font-size:12px;
}


/* =========================================================
   5) HEADER / NAV
========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(5,8,22,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

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

.brand{display:flex; align-items:center; gap:10px; font-weight:1000}
.brand-mark{
  width:34px; height:34px; border-radius:12px;
  background:
    radial-gradient(12px 12px at 30% 30%, rgba(255,255,255,.38), transparent 60%),
    linear-gradient(135deg, rgba(75,210,255,.95), rgba(58,162,255,.85));
  box-shadow: 0 16px 40px rgba(58,162,255,.18);
  border:1px solid rgba(255,255,255,.14);
}
.brand-name{letter-spacing:.3px}

.nav{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.nav a{color:var(--muted); font-weight:800}
.nav a:hover{color:var(--text)}
.nav-divider{width:1px; height:24px; background:rgba(255,255,255,.10)}

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}
.nav-toggle span{
  display:block;
  height:2px;
  margin:6px 10px;
  background:rgba(234,242,255,.9);
  border-radius:10px;
}


/* =========================================================
   6) SECTION BACKDROPS (page rhythm)
========================================================= */
.section,
.hero,
.stats,
.plans,
.faq-section,
.promo-webstudio{
  position: relative;
  padding: 56px 0;
}

/* tighter join between hero and stats */
.hero{ padding-bottom: 34px; overflow:hidden; }
.stats{ padding-top: 22px; }

.section::before,
.stats::before,
.plans::before,
.faq-section::before,
.promo-webstudio::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
}

.section::after,
.stats::after,
.plans::after,
.faq-section::after,
.promo-webstudio::after{
  content:"";
  position:absolute;
  left:0; right:0; top:0; bottom:0;
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(75,210,255,.06), transparent 55%),
    radial-gradient(900px 240px at 80% 0%, rgba(246,212,74,.05), transparent 55%);
  pointer-events:none;
  z-index:0;
}

.section > .container,
.hero > .container,
.stats > .container,
.plans > .container,
.faq-section > .container,
.promo-webstudio > .container{
  position:relative;
  z-index:1;
}


/* =========================================================
   7) NOTIFICATION BAR
========================================================= */
.notice-bar{
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}
.notice-inner{ padding: 10px 0; }
.notice-text{
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.notice-link{
  color: rgba(75,210,255,.95);
  font-weight: 950;
}
.notice-link:hover{ color: rgba(234,242,255,.92); }


/* =========================================================
   8) HERO
========================================================= */
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:center;
}

.hero-left{ position:relative; z-index:2; }
.hero-right{ position:relative; z-index:1; min-height: 360px; }

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight:900;
}
.kdot{
  width:10px; height:10px; border-radius:99px;
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(76,255,182,.09);
}

.hero-title{
  margin:14px 0 10px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height:1.05;
  letter-spacing:-.6px;
}

.hero-subtitle{
  margin:0;
  color: rgba(234,242,255,.82);
  font-weight: 750;
  line-height: 1.7;
  max-width: 58ch;
}

.hero-points{
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap:8px;
  color: var(--muted);
  font-weight: 800;
}
.hero-points li{
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.check{
  width:20px;
  height:20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(76,255,182,.10);
  border: 1px solid rgba(76,255,182,.18);
  color: rgba(76,255,182,.95);
  font-weight: 1000;
  flex: 0 0 auto;
  margin-top: 1px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

/* manual payments pills */
.hero-payments{
  margin-top: 14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.pay-pill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}

/* hero right card */
.hero-illustration{
  border-radius: var(--r);
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
  padding:16px; /* pairs with .card but makes it consistent even without it */
}
.illus-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.illus-title{ font-weight:1000; }
.illus-body{ padding-top:12px; }

.mini-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mini-row:last-child{border-bottom:none}
.mini-label{color:var(--muted); font-weight:850}
.mini-value{font-weight:1000}
.mini-value.ok{color:rgba(76,255,182,.95)}
.mini-value.warn{color:rgba(246,212,74,.95)}

/* decorative glow */
.hero-glow{
  position:absolute;
  inset:auto -40px -40px auto;
  width: 420px;
  height: 420px;
  background:
    radial-gradient(circle at 30% 30%, rgba(75,210,255,.25), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(58,162,255,.18), transparent 55%),
    radial-gradient(circle at 60% 20%, rgba(246,212,74,.10), transparent 65%);
  filter: blur(6px);
  opacity: .9;
  pointer-events:none;
}


/* =========================================================
   9) SECTION TITLES (shared)
========================================================= */
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.section-title h2{
  margin:0;
  font-size: 22px;
  letter-spacing:-.2px;
}
.section-title p{
  margin:0;
  color:var(--muted);
  font-weight:750;
}


/* =========================================================
   10) STATS
========================================================= */
.stats-grid{ gap:16px; }

.stat{
  padding:18px;
  border-radius: var(--r);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.stat-k{font-size:.9rem;color:var(--muted)}
.stat-v{font-size:1.6rem;font-weight:800;margin-top:6px}
.stat-s{font-size:.9rem;color:var(--muted);margin-top:6px}


/* =========================================================
   11) PLANS
========================================================= */
.plan{
  position:relative;
  padding:18px;
  border-radius: var(--r);
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  overflow:hidden;
}
.plan.featured{
  border-color: rgba(75,210,255,.28);
  box-shadow: 0 18px 55px rgba(58,162,255,.18);
}
.plan h3{margin:0; font-size:18px; font-weight:1000}

.price{
  font-size:34px;
  font-weight:1100;
  letter-spacing:-.8px;
  margin-top:10px;
}
.price span{
  font-size:14px;
  color:var(--muted);
  font-weight:800;
}

.plan ul{
  margin:12px 0 0;
  padding-left:18px;
  color:var(--muted);
  font-weight:750;
  line-height:1.7;
}
.plan .plan-actions{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap}

.corner{
  position:absolute;
  top:14px; right:14px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(75,210,255,.25);
  background: rgba(75,210,255,.08);
  color: rgba(75,210,255,.95);
  font-weight:1000;
  font-size:12px;
}


/* =========================================================
   12) FAQ
========================================================= */
.faq{
  border-radius: var(--r);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.faq details{
  border-bottom:1px solid rgba(255,255,255,.06);
  padding:14px 16px;
}
.faq details:last-child{border-bottom:none}

.faq summary{
  cursor:pointer;
  font-weight:950;
  list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq p{
  margin:10px 0 0;
  color:var(--muted);
  font-weight:750;
  line-height:1.6;
}


/* =========================================================
   13) FOOTER
========================================================= */
.footer{
  padding:28px 0 34px;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 24px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap:14px;
}
.footer a{color:var(--muted); font-weight:800}
.footer a:hover{color:var(--text)}


/* =========================================================
   14) RESPONSIVE
========================================================= */
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr; gap:14px}
  .footer-grid{grid-template-columns: 1fr}

  .grid-4{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }

  .hero-right{ min-height: unset; }
  .hero-glow{ display:none; }

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .nav{
    position:fixed;
    top:72px;
    left:0; right:0;
    padding:14px 18px 18px;
    background: rgba(5,8,22,.92);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-130%);
    transition: transform .18s ease;
    display:grid;
    gap:10px;
  }
  .nav.is-open{transform: translateY(0)}
  .nav-divider{display:none}
}

@media (max-width: 900px){
  .section,
  .hero,
  .stats,
  .plans,
  .faq-section,
  .promo-webstudio{ padding: 40px 0; }

  .hero{ padding-bottom: 26px; }
  .stats{ padding-top: 16px; }
}

/* PATCH: section backdrops should match current section markup (IDs) */
#plans,
#faq,
#promo-webstudio{
  position: relative;
}

/* divider line */
#plans::before,
#faq::before,
#promo-webstudio::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
}

/* soft panel */
#plans::after,
#faq::after,
#promo-webstudio::after{
  content:"";
  position:absolute;
  left:0; right:0; top:0; bottom:0;
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(75,210,255,.06), transparent 55%),
    radial-gradient(900px 240px at 80% 0%, rgba(246,212,74,.05), transparent 55%);
  pointer-events:none;
  z-index:0;
}

/* keep content above */
#plans > .container,
#faq > .container,
#promo-webstudio > .container{
  position: relative;
  z-index: 1;
}

/* PATCH: plans cards consistent height + actions pinned to bottom */
#plans .grid-3{ align-items: stretch; }
#plans .plan{
  display:flex;
  flex-direction:column;
  min-height: 100%;
}
#plans .plan ul{ margin-bottom: 0; }
#plans .plan-actions{
  margin-top:auto;
}
#plans .plan-actions .btn{ width:100%; }
#plans .plan.featured .plan-actions{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}

/* PATCH: FAQ polish */
#faq .faq details{ transition: background .12s ease; }
#faq .faq details:hover{ background: rgba(255,255,255,.02); }
#faq .faq summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
#faq .faq summary::after{
  content:"+";
  font-weight:1000;
  color: rgba(234,242,255,.65);
}
#faq .faq details[open] summary::after{ content:"–"; }

/* PATCH: section backdrops for current section IDs */
#webstudio{ position: relative; }

#webstudio::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
}

#webstudio::after{
  content:"";
  position:absolute;
  left:0; right:0; top:0; bottom:0;
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(75,210,255,.06), transparent 55%),
    radial-gradient(900px 240px at 80% 0%, rgba(246,212,74,.05), transparent 55%);
  pointer-events:none;
  z-index:0;
}

#webstudio > .container{
  position: relative;
  z-index: 1;
}

/* PATCH: mobile nav usability */
@media (max-width: 980px){
  .nav{
    max-height: calc(100vh - 72px);
    overflow:auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav a{ padding:10px 10px; border-radius:12px; }
  .nav a:hover{ background: rgba(255,255,255,.04); }
}
/* PATCH: hero actions stack nicer on small screens */
@media (max-width: 520px){
  .hero-actions{ display:grid; gap:10px; }
  .hero-actions .btn{ width:100%; }
  .hero-payments{ gap:8px; }
}
/* PATCH: webstudio nested grid spacing */
@media (max-width: 980px){
  #webstudio .grid-2{ gap:14px; }
}

#notification-bar {
  background: linear-gradient(90deg, #0b1220, #101a30);
  border-bottom: 1px solid var(--stroke);
  font-size: 0.95rem;
}

#notification-bar .container {
  padding: 10px 16px;
  text-align: center;
}

#notification-bar p {
  margin: 0;
  color: var(--muted);
}

#notification-bar a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

#notification-bar a:hover {
  text-decoration: underline;
}
