/* ==========================================================================
   KASREYA — Design System
   Palette : deep ink navy + brand blue + brand orange (from the K logo mark)
   Type    : Space Grotesk (display) / Inter (body) / JetBrains Mono (utility)
   Signature: the "stack" — every plan is domain+hosting+design+seo+care
              blocks stacking into a browser window. Reused across hero,
              cards, process and footer.
   ========================================================================== */

:root{
  --ink:        #FFFFFF;
  --ink-2:      #F4F8FE;
  --ink-3:      #E8F1FE;
  --line:       rgba(11,17,32,0.10);
  --line-soft:  rgba(11,17,32,0.045);
  --text:       #0B1120;
  --muted:      #55607A;
  --muted-2:    #8892A6;
  --gold:       #0F5FE0;
  --gold-soft:  #2F7BFF;
  --teal:       #FD830C;
  --coral:      #FFA83D;
  --green:      #16A34A;
  --green-soft: #22C55E;
  --paper:      #F5F3EC;

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body:    "Inter", "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", monospace;

  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--ink);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input,button{ outline:none; }

:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
  border-radius:4px;
}

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

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.1;
  margin:0;
  letter-spacing:-0.01em;
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.eyebrow::before{
  content:"";
  width:16px; height:1px;
  background:var(--gold);
}

.muted{ color:var(--muted); }

.section{ padding:96px 0; position:relative; }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(28px,4vw,42px); margin-top:14px; }
.section-head p{ margin-top:14px; color:var(--muted); font-size:16.5px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 24px;
  border-radius:999px;
  font-weight:600;
  font-size:14.5px;
  border:1px solid transparent;
  transition:transform .35s var(--ease), background .25s ease, border-color .25s ease, box-shadow .25s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(.97); }
.btn-gold{
  background:var(--gold);
  color:#FFFFFF;
  box-shadow:0 0 0 0 rgba(5,98,237,.5);
}
.btn-gold:hover{ background:var(--gold-soft); box-shadow:0 8px 24px -8px rgba(5,98,237,.55); transform:translateY(-2px); }
.btn-ghost{
  background:transparent;
  border-color:var(--line);
  color:var(--text);
}
.btn-ghost:hover{ border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 18px; font-size:13px; }
.btn .material-symbols-outlined{ font-size:19px; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
#site-header{ position:fixed; inset:0 0 auto 0; z-index:1000; }
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
  padding:16px 24px;
  max-width:var(--container);
  margin-inline:auto;
  border-radius:999px;
  margin-top:14px;
  background:rgba(255,255,255,.65);
  border:1px solid var(--line);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  transition:background .3s ease, padding .3s ease, border-color .3s ease;
}
body.scrolled .navbar{
  background:rgba(255,255,255,.85);
  border-color:var(--line);
}

.logo{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:20px;
  letter-spacing:-.01em;
  flex-shrink:0;
}
.logo-mark{
  width:32px; height:32px;
  border-radius:9px;
  object-fit:contain;
  flex-shrink:0;
  display:block;
}
.logo-full{
  height:34px;
  width:auto;
  object-fit:contain;
  flex-shrink:0;
  display:block;
}
.logo span{ color:var(--gold); }

.nav-links{
  display:flex; align-items:center; gap:6px;
  font-size:14.5px; font-weight:500;
}
.nav-links a{
  padding:9px 15px;
  border-radius:999px;
  color:var(--muted);
  transition:color .2s ease, background .2s ease;
  position:relative;
}
.nav-links a:hover{ color:var(--text); background:var(--line-soft); }
.nav-links a.active{ color:var(--ink); background:var(--gold); }

.nav-actions{ display:flex; align-items:center; gap:4px; }

.icon-btn{
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  color:var(--muted);
  background:transparent;
  border:1px solid transparent;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.icon-btn:hover{ background:var(--line-soft); color:var(--text); border-color:var(--line); }
.icon-btn .material-symbols-outlined{ font-size:22px; }

/* Stacked icon + caption used for Search / Account in the main navbar */
.nav-icon-stack{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:1px; padding:5px 11px 6px;
  border-radius:14px;
  color:var(--muted);
  background:transparent;
  border:1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.nav-icon-stack:hover{ background:var(--line-soft); color:var(--text); border-color:var(--line); }
.nav-icon-stack .material-symbols-outlined{ font-size:21px; line-height:1; }
.nav-icon-caption{
  font-size:10px; font-weight:600; line-height:1.3;
  max-width:74px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  font-family:var(--font-mono); letter-spacing:.01em;
}

/* ==========================================================================
   PRELOADER — full-screen "Kasreya" loading animation, shown on every page
   ========================================================================== */
.preloader{
  position:fixed; inset:0; z-index:9999;
  background:var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition:opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.hide{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader-inner{ display:flex; flex-direction:column; align-items:center; gap:20px; }

.preloader-mark{
  width:56px; height:56px; border-radius:16px;
  object-fit:contain;
  display:block;
  animation:preloader-pulse 1.4s ease-in-out infinite;
}
@keyframes preloader-pulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.08); } }

.preloader-word{
  font-family:var(--font-display); font-weight:700; font-size:30px; letter-spacing:.01em;
  color:var(--text); display:flex;
}
.preloader-word .lt{
  display:inline-block; opacity:0; transform:translateY(10px);
  animation:preloader-letter .5s var(--ease) forwards;
}
@keyframes preloader-letter{ to{ opacity:1; transform:translateY(0); } }

.preloader-caption{
  font-family:var(--font-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted-2);
}

.preloader-bar{ width:160px; height:3px; border-radius:3px; background:var(--line); overflow:hidden; }
.preloader-bar span{
  display:block; width:40%; height:100%; background:var(--gold); border-radius:3px;
  animation:preloader-sweep 1.1s ease-in-out infinite;
}
@keyframes preloader-sweep{
  0%{ transform:translateX(-120%); }
  50%{ transform:translateX(150%); }
  100%{ transform:translateX(-120%); }
}
@media (prefers-reduced-motion: reduce){
  .preloader-mark, .preloader-word .lt, .preloader-bar span{ animation:none; opacity:1; transform:none; }
}

/* search — full-screen modal */
.nav-search{ position:relative; }
body.search-open{ overflow:hidden; }
.search-panel{
  position:fixed; inset:0;
  width:100%; height:100%; max-width:none;
  background:var(--ink);
  border:none; border-radius:0;
  padding:0;
  box-shadow:none;
  z-index:2000;
  display:flex; flex-direction:column;
  opacity:0; visibility:hidden; transform:translateY(-16px);
  transition:opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.search-panel.open{ opacity:1; visibility:visible; transform:translateY(0); }
.search-topbar{
  display:flex; align-items:center; gap:12px;
  padding:18px 24px;
  border-bottom:1px solid var(--line);
  max-width:var(--container); width:100%; margin-inline:auto;
}
.search-back{
  flex-shrink:0;
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  border:1px solid var(--line);
  background:transparent; color:var(--text);
  transition:background .2s ease, border-color .2s ease;
}
.search-back:hover{ background:var(--ink-3); border-color:var(--gold); }
.search-back .material-symbols-outlined{ font-size:22px; }
.search-input-wrap{
  flex:1;
  display:flex; align-items:center; gap:10px;
  padding:12px 16px;
  border-radius:var(--radius-md);
  background:var(--ink-2);
  border:1px solid var(--line);
}
.search-input-wrap input{
  flex:1; background:none; border:none; color:var(--text); font-size:16px;
}
.search-input-wrap input::placeholder{ color:var(--muted-2); }
.search-input-wrap .material-symbols-outlined{ color:var(--muted); font-size:22px; }
.search-results-wrap{
  flex:1; overflow-y:auto;
  padding:20px 24px 60px;
  max-width:var(--container); width:100%; margin-inline:auto;
}
.suggestions{ display:flex; flex-direction:column; gap:4px; }
.suggestions li a{
  display:flex; align-items:center; gap:14px;
  padding:16px 14px; border-radius:12px; font-size:16px; color:var(--muted);
}
.suggestions li a:hover, .suggestions li a.hl{ background:var(--line-soft); color:var(--text); }
.suggestions li a .material-symbols-outlined{ font-size:19px; color:var(--teal); }
.suggestions .no-hit{ padding:16px 14px; font-size:14.5px; color:var(--muted-2); }
.suggestions .tag{ margin-left:auto; font-family:var(--font-mono); font-size:11px; color:var(--muted-2); }

@media (max-width:640px){
  .search-topbar{ padding:14px 16px; }
  .search-results-wrap{ padding:14px 16px 60px; }
}


/* hamburger */
.hamburger{
  display:none;
  width:40px; height:40px;
  border-radius:50%;
  border:1px solid var(--line);
  background:transparent;
  align-items:center; justify-content:center;
  flex-direction:column; gap:4px;
}
.hamburger span{
  width:16px; height:2px; background:var(--text); border-radius:2px;
  transition:transform .3s var(--ease), opacity .2s ease;
}
body.nav-open .hamburger span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2){ opacity:0; }
body.nav-open .hamburger span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

.mobile-drawer{
  position:fixed; inset:0;
  background:rgba(15,23,42,.4);
  backdrop-filter:blur(6px);
  z-index:999;
  opacity:0; visibility:hidden;
  transition:opacity .3s ease, visibility .3s ease;
}
body.nav-open .mobile-drawer{ opacity:1; visibility:visible; }
.mobile-drawer-panel{
  position:absolute; top:0; right:0; bottom:0;
  width:min(340px,86vw);
  background:var(--ink-2);
  border-left:1px solid var(--line);
  padding:0;
  display:flex; flex-direction:column;
  transform:translateX(100%);
  transition:transform .4s var(--ease);
}
body.nav-open .mobile-drawer-panel{ transform:translateX(0); }

.drawer-top{
  flex-shrink:0;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 20px;
  border-bottom:1px solid var(--line);
  background:var(--ink);
}
.drawer-close{
  width:38px; height:38px; border-radius:50%;
  border:1px solid var(--line);
  background:transparent;
  display:flex; align-items:center; justify-content:center;
  color:var(--muted);
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.drawer-close:hover{ background:var(--line-soft); color:var(--text); transform:rotate(90deg); }
.drawer-close .material-symbols-outlined{ font-size:20px; }

.drawer-links{
  flex:1;
  overflow-y:auto;
  padding:10px 14px;
  display:flex; flex-direction:column;
}
.drawer-link{
  display:flex; align-items:center; gap:14px;
  padding:15px 10px;
  border-bottom:1px solid var(--line-soft);
  font-family:var(--font-display);
  font-size:16px; font-weight:500;
  color:var(--text);
  border-radius:10px;
  transition:background .2s ease, color .2s ease, padding-left .2s ease;
}
.drawer-link:hover{ background:var(--line-soft); padding-left:16px; }
.drawer-link.active{ color:var(--gold); }
.drawer-link.active .drawer-link-icon{ color:var(--gold); }
.drawer-link-icon{ font-size:20px; color:var(--muted-2); flex-shrink:0; }
.drawer-link-label{ flex:1; }
.drawer-link-arrow{ font-size:18px; color:var(--muted-2); flex-shrink:0; transition:transform .2s ease; }
.drawer-link:hover .drawer-link-arrow{ transform:translateX(3px); color:var(--gold); }
.drawer-link-muted{ color:var(--muted); }

.drawer-bottom{
  flex-shrink:0;
  padding:18px 20px 26px;
  border-top:1px solid var(--line);
}
.drawer-bottom .btn{ width:100%; }

@media (max-width: 880px){
  .nav-links{ display:none; }
  .hamburger{ display:flex; }
}
@media (max-width: 480px){
  .nav-icon-caption{ display:none; }
  .nav-icon-stack{ padding:8px; }
  .logo-full{ height:26px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  padding:190px 0 100px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; top:-200px; right:-160px;
  width:640px; height:640px;
  background:radial-gradient(circle,rgba(5,98,237,.16),transparent 68%);
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute; bottom:-260px; left:-200px;
  width:560px; height:560px;
  background:radial-gradient(circle,rgba(253,131,12,.12),transparent 68%);
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
  position:relative; z-index:1;
}
.hero h1{
  font-size:clamp(36px,5.2vw,60px);
  margin-top:18px;
}
.hero h1 em{
  font-style:normal;
  color:var(--gold);
  position:relative;
}
.hero p.lead{
  margin-top:22px;
  font-size:18px;
  color:var(--muted);
  max-width:480px;
}
.hero-actions{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:32px; margin-top:52px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-family:var(--font-display); font-size:26px; color:var(--text); }
.hero-stats div span{ font-size:12.5px; color:var(--muted-2); font-family:var(--font-mono); text-transform:uppercase; letter-spacing:.06em; }

/* stack visual — signature element */
.stack-visual{
  position:relative;
  height:530px;
  display:flex; align-items:flex-end; justify-content:center;
}
.hero-plan-wrap{
  display:flex; flex-direction:column; align-items:center; gap:12px;
}
.hero-plan-tabs{
  display:flex; gap:4px;
  background:var(--ink-3);
  border:1px solid var(--line);
  padding:4px;
  border-radius:12px;
}
.hero-plan-tab{
  border:none; background:transparent; cursor:pointer;
  font-family:var(--font-mono); font-weight:600; font-size:11px;
  letter-spacing:.05em; text-transform:uppercase;
  color:var(--muted);
  padding:8px 14px;
  border-radius:9px;
  transition:background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hero-plan-tab:hover{ color:var(--text); }
.hero-plan-tab.active{
  background:var(--green);
  color:#fff;
  font-weight:800;
  transform:scale(1.06);
  box-shadow:0 10px 22px -8px rgba(22,163,74,.55);
}
.browser-frame{
  position:relative;
  width:300px;
  border-radius:16px;
  background:var(--ink-2);
  border:1px solid var(--line);
  box-shadow:0 30px 60px -20px rgba(15,23,42,.14);
  overflow:hidden;
  animation:float 6s ease-in-out infinite;
}
@keyframes float{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-14px);} }
.browser-frame .bar{
  display:flex; gap:6px; padding:12px 14px; border-bottom:1px solid var(--line);
}
.browser-frame .bar span{ width:8px; height:8px; border-radius:50%; background:var(--line); }
.frame-plan-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:13px 18px;
  background:var(--ink);
  border-bottom:1px solid var(--line);
}
.frame-plan-name{ font-family:var(--font-display); font-weight:700; font-size:13.5px; color:var(--text); transition:opacity .25s ease; }
.frame-plan-price{ font-family:var(--font-mono); font-weight:700; font-size:15px; color:var(--gold); transition:opacity .25s ease; }
.frame-plan-price i{ font-style:normal; font-weight:500; font-size:9.5px; letter-spacing:.04em; text-transform:uppercase; color:var(--muted-2); margin-left:4px; }
.stack-block{
  padding:14px 18px;
  border-bottom:1px solid var(--line-soft);
  display:flex; align-items:center; justify-content:space-between;
  font-family:var(--font-mono); font-size:12px; letter-spacing:.05em;
  text-transform:uppercase;
  opacity:0; transform:translateY(16px);
  animation:rise .6s var(--ease) forwards;
}
.stack-block:nth-child(3){ animation-delay:.15s; }
.stack-block:nth-child(4){ animation-delay:.30s; }
.stack-block:nth-child(5){ animation-delay:.45s; color:var(--gold); background:rgba(15,95,224,.06);}
.stack-block:nth-child(6){ animation-delay:.60s; }
.stack-block:nth-child(7){ animation-delay:.75s; }
.stack-block:nth-child(8){ animation-delay:.90s; color:var(--teal); }
@keyframes rise{ to{ opacity:1; transform:translateY(0);} }
.stack-block .material-symbols-outlined{ font-size:16px; color:var(--muted-2); }
.stack-block b{ color:inherit; font-weight:600; }

.orbit-chip{
  position:absolute;
  background:var(--ink-3);
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 14px;
  font-size:12.5px;
  display:flex; align-items:center; gap:8px;
  box-shadow:0 12px 30px -8px rgba(15,23,42,.12);
}
.orbit-chip .material-symbols-outlined{ color:var(--teal); font-size:16px; }
.orbit-chip.c1{ top:6%; left:-8%; animation:drift 5s ease-in-out infinite; }
.orbit-chip.c2{ bottom:14%; right:-10%; animation:drift 5.6s ease-in-out infinite reverse; }
@keyframes drift{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-10px);} }

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .stack-visual{ height:490px; order:-1; }
  .orbit-chip{ display:none; }
}

/* marquee trust bar */
.trust-bar{
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  padding:26px 0;
  overflow:hidden;
}
.marquee{ display:flex; gap:64px; width:max-content; animation:scroll-x 26s linear infinite; }
@keyframes scroll-x{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
.marquee span{
  font-family:var(--font-mono); font-size:13px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted-2); white-space:nowrap;
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-stagger.in > *{ transition-delay:calc(var(--i,0) * 80ms); }

/* ==========================================================================
   CARDS — services
   ========================================================================== */
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.service-card{
  background:var(--ink-2);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:30px 26px;
  transition:transform .4s var(--ease), border-color .3s ease, background .3s ease;
}
.service-card:hover{ transform:translateY(-6px); border-color:rgba(5,98,237,.35); background:var(--ink-3); }
.service-card .ic{
  width:48px; height:48px; border-radius:13px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(5,98,237,.12); color:var(--gold);
  margin-bottom:20px;
}
.service-card h3{ font-size:18.5px; margin-bottom:10px; }
.service-card p{ color:var(--muted); font-size:14.5px; }

/* process */
.process-list{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step; }
.process-item{ position:relative; padding-top:8px; }
.process-item::before{
  counter-increment:step; content:counter(step,decimal-leading-zero);
  font-family:var(--font-mono); font-size:13px; color:var(--gold);
  display:block; margin-bottom:14px;
}
.process-item h4{ font-size:16.5px; margin-bottom:8px; }
.process-item p{ font-size:13.8px; color:var(--muted); }
.process-item:not(:last-child)::after{
  content:""; position:absolute; top:8px; left:calc(100% - 4px); width:calc(100% - 20px);
  height:1px; background:var(--line); display:none;
}
@media(min-width:880px){ .process-item:not(:last-child)::after{ display:block; } }

/* ==========================================================================
   PRICING — package cards (browser-bar chrome + icon feature list)
   ========================================================================== */
.pkg-ico{ width:17px; height:17px; flex-shrink:0; stroke:var(--gold); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; margin-top:1px; }
.pkg-card.featured .pkg-ico{ stroke:var(--text); }

.pkg-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }

.pkg-card{
  background:var(--ink);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  display:flex; flex-direction:column;
  position:relative;
  box-shadow:0 2px 10px rgba(11,17,32,.05);
  transition:transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}
.pkg-card:hover{ transform:translateY(-6px); border-color:var(--gold-soft); box-shadow:0 20px 40px rgba(11,17,32,.10); }
.pkg-card.featured{
  border-color:var(--gold);
  box-shadow:0 0 0 1px var(--gold), 0 24px 48px rgba(5,98,237,.14);
}
.pkg-card.featured:hover{ transform:translateY(-10px); }

.pkg-tag{
  position:absolute; top:14px; right:14px;
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:.06em; text-transform:uppercase;
  color:#fff; background:var(--gold);
  padding:5px 11px; border-radius:20px; font-weight:700; z-index:2;
}

.pkg-browser-bar{
  display:flex; align-items:center; gap:10px;
  padding:12px 14px;
  background:var(--ink-3);
  border-bottom:1px solid var(--line);
}
.pkg-dots{ display:flex; gap:6px; flex-shrink:0; }
.pkg-dots span{ width:9px; height:9px; border-radius:50%; background:rgba(11,17,32,.14); }
.pkg-addr{
  flex:1;
  font-family:var(--font-mono); font-size:11.5px; color:var(--muted);
  background:var(--ink); border:1px solid var(--line); border-radius:7px;
  padding:6px 10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.pkg-addr b{ color:var(--text); font-weight:600; }

.pkg-card-body{ padding:30px 26px 32px; display:flex; flex-direction:column; flex:1; }

.pkg-plan-name{
  font-family:var(--font-display); font-weight:700; font-size:13px;
  letter-spacing:.08em; text-transform:uppercase; color:var(--gold); margin-bottom:10px;
}
.pkg-card.featured .pkg-plan-name{ color:var(--text); }

.pkg-plan-desc{ color:var(--muted); font-size:14px; line-height:1.55; margin-bottom:22px; min-height:44px; }

.pkg-price-row{
  display:flex; align-items:baseline; gap:6px;
  margin-bottom:26px; padding-bottom:26px;
  border-bottom:1px dashed var(--line);
}
.pkg-rs{ font-family:var(--font-display); font-size:22px; color:var(--text); font-weight:700; }
.pkg-price{ font-family:var(--font-display); font-size:40px; font-weight:800; letter-spacing:-0.02em; color:var(--text); }
.pkg-period{ font-size:13px; color:var(--muted-2); }

.pkg-features{ list-style:none; margin:0 0 28px; padding:0; display:flex; flex-direction:column; gap:13px; flex:1; }
.pkg-features li{ display:flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--muted); line-height:1.5; }
.pkg-features li b{ color:var(--text); font-weight:600; }

.pkg-cta{
  display:block; text-align:center;
  font-family:var(--font-body); font-weight:700; font-size:14.5px; letter-spacing:.01em;
  padding:14px 18px; border-radius:10px; text-decoration:none;
  border:1px solid var(--gold); color:var(--gold); background:var(--ink);
  cursor:pointer; transition:background .25s ease, color .25s ease, transform .15s ease;
}
.pkg-cta:hover{ background:var(--ink-3); }
.pkg-cta:active{ transform:scale(.98); }
.pkg-card.featured .pkg-cta{ background:var(--gold); color:#fff; border-color:var(--gold); }
.pkg-card.featured .pkg-cta:hover{ background:var(--gold-soft); }

.pkg-note{ text-align:center; color:var(--muted-2); font-size:12.5px; margin-top:40px; font-family:var(--font-mono); }

@media (max-width:980px){
  .pkg-grid{ gap:16px; }
  .pkg-card-body{ padding:24px 18px 26px; }
  .pkg-plan-desc{ font-size:13px; min-height:auto; margin-bottom:18px; }
  .pkg-price{ font-size:32px; }
  .pkg-rs{ font-size:18px; }
  .pkg-features li{ font-size:12.5px; }
  .pkg-features{ gap:11px; margin-bottom:22px; }
  .pkg-cta{ font-size:12.5px; padding:12px 14px; }
  .pkg-addr{ font-size:10px; }
}
@media (max-width:640px){
  .pkg-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .pkg-card.featured{ transform:none; }
  .pkg-card.featured:hover, .pkg-card:hover{ transform:none; }
  .pkg-browser-bar{ display:none; }
  .pkg-tag{ top:6px; right:6px; font-size:7.5px; padding:2px 6px; letter-spacing:.02em; }
  .pkg-card-body{ padding:16px 9px 14px; }
  .pkg-plan-name{ font-size:9px; margin-bottom:6px; letter-spacing:.05em; }
  .pkg-plan-desc{ display:none; }
  .pkg-price-row{ flex-direction:column; align-items:flex-start; gap:1px; margin-bottom:12px; padding-bottom:12px; }
  .pkg-rs{ font-size:12px; }
  .pkg-price{ font-size:19px; line-height:1.1; }
  .pkg-period{ font-size:8px; }
  .pkg-features{ gap:8px; margin-bottom:14px; }
  .pkg-features li{ font-size:9.5px; line-height:1.35; gap:4px; }
  .pkg-ico{ width:12px; height:12px; }
  .pkg-cta{ padding:9px 4px; font-size:9.5px; border-radius:6px; letter-spacing:0; }
  .pkg-note{ font-size:10px; margin-top:26px; }
}
@media (max-width:380px){
  .pkg-plan-desc{ display:none; }
  .pkg-features li{ font-size:8.8px; }
  .pkg-price{ font-size:17px; }
}

/* ==========================================================================
   TESTIMONIALS / BLOG / MISC CARDS
   ========================================================================== */
.testi-track{ display:flex; gap:22px; overflow-x:auto; padding-bottom:8px; scroll-snap-type:x mandatory; }
.testi-card{
  scroll-snap-align:start;
  min-width:340px;
  background:var(--ink-2); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:28px;
}
.testi-card .stars{ color:var(--gold); font-size:14px; letter-spacing:2px; margin-bottom:14px; }
.testi-card p{ font-size:15px; color:var(--text); }
.testi-who{ display:flex; align-items:center; gap:12px; margin-top:20px; }
.testi-avatar{ width:38px; height:38px; border-radius:50%; background:linear-gradient(145deg,var(--teal),var(--gold)); flex-shrink:0; }
.testi-who strong{ display:block; font-size:14px; }
.testi-who span{ font-size:12.5px; color:var(--muted-2); }

.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card{ background:var(--ink-2); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; transition:transform .35s var(--ease), border-color .3s ease; }
.blog-card:hover{ transform:translateY(-6px); border-color:var(--line); }
.blog-thumb{ height:160px; position:relative; overflow:hidden; }
.blog-thumb .pat{ position:absolute; inset:0; opacity:.9; }
.blog-body{ padding:22px; }
.blog-tag{ font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--gold); }
.blog-body h3{ font-size:17px; margin:12px 0 10px; }
.blog-body p{ font-size:13.8px; color:var(--muted); }
.blog-meta{ margin-top:16px; display:flex; justify-content:space-between; font-size:12px; color:var(--muted-2); font-family:var(--font-mono); }

/* CTA band */
.cta-band{
  border-radius:28px;
  padding:64px 48px;
  background:linear-gradient(120deg,var(--ink-3),var(--ink-2));
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 85% 20%, rgba(5,98,237,.14), transparent 55%);
}
.cta-band > *{ position:relative; z-index:1; }
.cta-band h2{ font-size:clamp(24px,3vw,34px); max-width:460px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer{ border-top:1px solid var(--line-soft); padding:70px 0 30px; margin-top:60px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px; }
.foot-brand p{ margin-top:16px; color:var(--muted); font-size:14px; max-width:280px; }
.foot-col h5{ font-family:var(--font-mono); text-transform:uppercase; font-size:12px; letter-spacing:.1em; color:var(--muted-2); margin-bottom:16px; }
.foot-col ul{ display:flex; flex-direction:column; gap:11px; }
.foot-col a{ font-size:14px; color:var(--muted); transition:color .2s ease; }
.foot-col a:hover{ color:var(--gold); }
.foot-social{ display:flex; gap:10px; margin-top:20px; }
.foot-bottom{
  margin-top:56px; padding-top:24px; border-top:1px solid var(--line-soft);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px 24px;
  font-size:13px; color:var(--muted-2);
}
.foot-legal{ display:flex; flex-wrap:wrap; gap:16px; }
.foot-legal a{ color:var(--muted-2); transition:color .2s ease; }
.foot-legal a:hover{ color:var(--gold); }

/* ==========================================================================
   FORM PAGES (login / signup)
   ========================================================================== */
.auth-wrap{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  padding-top:104px;
}
.auth-side{
  background:var(--ink-2);
  position:relative;
  overflow:hidden;
  display:flex; flex-direction:column; justify-content:space-between;
  padding:60px;
}
.auth-side::before{
  content:""; position:absolute; top:-140px; right:-140px; width:420px; height:420px;
  background:radial-gradient(circle,rgba(5,98,237,.18),transparent 70%);
}
.auth-form-side{
  display:flex; align-items:center; justify-content:center;
  padding:60px 32px;
}
.auth-form{ width:100%; max-width:380px; }
.auth-form h1{ font-size:30px; }
.auth-form p.sub{ color:var(--muted); margin-top:10px; font-size:14.5px; }
.field{ margin-top:22px; }
.field label{ display:block; font-size:13px; color:var(--muted); margin-bottom:8px; font-family:var(--font-mono); }
.field .input-box{
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--line); border-radius:12px; padding:13px 15px;
  background:var(--ink-2); transition:border-color .2s ease;
}
.field .input-box:focus-within{ border-color:var(--gold); }
.field .input-box .material-symbols-outlined{ font-size:19px; color:var(--muted-2); }
.field input{ flex:1; background:none; border:none; color:var(--text); font-size:14.5px; }
.field input::placeholder{ color:var(--muted-2); }
.form-row{ display:flex; justify-content:space-between; align-items:center; margin-top:16px; font-size:13px; }
.form-row a{ color:var(--gold); }
.check-row{ display:flex; align-items:center; gap:8px; color:var(--muted); }
.auth-form .btn{ margin-top:26px; }
.auth-alt{ margin-top:26px; text-align:center; font-size:14px; color:var(--muted); }
.auth-alt a{ color:var(--gold); font-weight:600; }
.divider{ display:flex; align-items:center; gap:14px; margin:26px 0; color:var(--muted-2); font-size:12.5px; }
.divider::before,.divider::after{ content:""; flex:1; height:1px; background:var(--line); }
.social-row{ display:flex; gap:12px; }
.social-row .btn-ghost{ flex:1; }
.auth-badge{ display:inline-flex; align-items:center; gap:8px; }
.auth-quote{ font-family:var(--font-display); font-size:24px; line-height:1.35; max-width:360px; }
.auth-quote span{ color:var(--gold); }
@media(max-width:900px){
  .auth-wrap{ grid-template-columns:1fr; }
  .auth-side{ display:none; }
}

/* page hero (interior pages) */
.page-hero{ padding:180px 0 70px; position:relative; }
.page-hero::before{
  content:""; position:absolute; top:-140px; right:-100px; width:480px; height:480px;
  background:radial-gradient(circle,rgba(5,98,237,.12),transparent 70%);
  pointer-events:none;
}
.page-hero h1{ font-size:clamp(32px,4.6vw,52px); margin-top:16px; max-width:680px; }
.page-hero p{ margin-top:18px; color:var(--muted); font-size:17px; max-width:560px; }
.breadcrumb{ display:flex; align-items:center; gap:6px; font-size:13px; color:var(--muted-2); font-family:var(--font-mono); }
.breadcrumb .material-symbols-outlined{ font-size:15px; }

/* responsive */
@media (max-width:980px){
  .card-grid, .blog-grid{ grid-template-columns:repeat(2,1fr); }
  .process-list{ grid-template-columns:repeat(2,1fr); }
  .foot-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .card-grid, .blog-grid, .process-list{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr; gap:32px; }
  .section{ padding:64px 0; }
  .cta-band{ padding:40px 26px; flex-direction:column; align-items:flex-start; }
  .hero{ padding:160px 0 70px; }
}

/* small feature checklist used on auth side-panels */
.side-feats{ display:flex; flex-direction:column; gap:13px; list-style:none; margin:0; padding:0; }
.side-feats li{ display:flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--muted); }
.side-feats li .material-symbols-outlined{ font-size:18px; color:var(--gold); margin-top:1px; }

/* faq accordion */
.faq-item{ border-bottom:1px solid var(--line-soft); padding:22px 0; }
.faq-q{ display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-family:var(--font-display); font-size:17px; }
.faq-q .material-symbols-outlined{ transition:transform .3s var(--ease); color:var(--gold); }
.faq-item.open .faq-q .material-symbols-outlined{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-item.open .faq-a{ max-height:200px; }
.faq-a p{ padding-top:14px; color:var(--muted); font-size:14.5px; max-width:640px; }

/* back to top */
.to-top{
  position:fixed; bottom:26px; right:26px; z-index:900;
  width:46px; height:46px; border-radius:50%;
  background:var(--gold); color:#FFFFFF;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:all .3s var(--ease);
  border:none;
}
.to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }

/* ==========================================================================
   LEGAL PAGES (terms / privacy / refund / disclaimer)
   ========================================================================== */
.legal-nav{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-bottom:48px;
}
.legal-nav a{
  font-family:var(--font-mono); font-size:12.5px; font-weight:600;
  letter-spacing:.04em; text-transform:uppercase;
  padding:10px 16px; border-radius:10px;
  background:var(--ink-2); border:1px solid var(--line);
  color:var(--muted);
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.legal-nav a:hover{ color:var(--gold); border-color:var(--gold); }
.legal-nav a.active{ background:var(--gold); color:#fff; border-color:var(--gold); }

.legal-body{ max-width:760px; font-size:16px; line-height:1.8; color:var(--text); }
.legal-body .updated{
  display:inline-block; font-family:var(--font-mono); font-size:12.5px;
  color:var(--muted-2); background:var(--ink-2); border:1px solid var(--line);
  padding:6px 12px; border-radius:8px; margin-bottom:28px;
}
.legal-body h2{ font-size:21px; margin:40px 0 14px; padding-bottom:10px; border-bottom:1px solid var(--line); }
.legal-body h2:first-of-type{ margin-top:0; }
.legal-body p{ margin:0 0 14px; color:var(--muted); }
.legal-body strong{ color:var(--text); }
.legal-body ul{ margin:0 0 18px; padding-left:22px; display:flex; flex-direction:column; gap:8px; }
.legal-body li{ color:var(--muted); }
.legal-body a{ color:var(--gold); text-decoration:underline; text-underline-offset:2px; }
.legal-body .callout{
  background:var(--ink-2); border-left:3px solid var(--gold);
  padding:18px 20px; border-radius:0 12px 12px 0; margin:24px 0;
  color:var(--muted); font-size:15px;
}
.legal-body .callout strong{ color:var(--text); }
.legal-body .callout.warn{ border-left-color:var(--teal); }
.legal-body table{ width:100%; border-collapse:collapse; margin:20px 0 24px; font-size:14.5px; }
.legal-body th, .legal-body td{ text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); }
.legal-body th{ font-family:var(--font-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted-2); }
.legal-body td strong{ color:var(--text); }
@media (max-width:640px){
  .legal-nav a{ flex:1 1 calc(50% - 5px); text-align:center; }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner{
  position:fixed;
  left:20px; right:20px; bottom:20px;
  z-index:1200;
  max-width:960px;
  margin-inline:auto;
  background:var(--ink);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 30px 60px -20px rgba(15,23,42,.28);
  padding:22px 24px;
  opacity:0;
  transform:translateY(24px);
  transition:opacity .4s var(--ease), transform .4s var(--ease);
}
.cookie-banner.show{ opacity:1; transform:translateY(0); }
.cookie-inner{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
}
.cookie-icon{
  flex-shrink:0;
  width:44px; height:44px; border-radius:12px;
  background:var(--ink-2); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color:var(--gold); font-size:22px;
}
.cookie-copy{ flex:1 1 320px; min-width:220px; }
.cookie-copy strong{ font-family:var(--font-display); font-size:15px; color:var(--text); }
.cookie-copy p{ margin-top:4px; font-size:13.5px; color:var(--muted); line-height:1.6; }
.cookie-copy a{ color:var(--gold); text-decoration:underline; text-underline-offset:2px; }
.cookie-actions{ display:flex; gap:10px; flex-wrap:wrap; flex-shrink:0; margin-left:auto; }
@media (max-width:560px){
  .cookie-banner{ left:12px; right:12px; bottom:12px; padding:18px; }
  .cookie-actions{ width:100%; }
  .cookie-actions .btn{ flex:1; }
}
