/* DigitalKshetram — storefront theme */

:root {
  --bg: #0b0c0f;
  --bg-2: #101217;
  --card: #15171d;
  --card-2: #191c23;
  --field: #12141a;
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9ecf1;
  --muted: #98a0ad;
  --accent: #ef4b4f;
  --accent-2: #ff7276;
  --accent-soft: rgba(239, 75, 79, 0.14);
  --gold: #f0b35a;
  --ok: #3ecf8e;
  --warn: #f2b53c;
  --err: #ff5d5d;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(239, 75, 79, 0.35); color: #fff; }

a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }

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

h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
h2 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.18; }
h3 { font-size: 17px; }

p { margin: 0 0 14px; }
img { max-width: 100%; display: block; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }

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

.skip-link {
  position: absolute; left: -999px; top: 10px; z-index: 100;
  padding: 10px 16px; background: var(--accent); color: #fff; border-radius: 8px;
}
.skip-link:focus { left: 16px; color: #fff; }

.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.truncate { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 12, 15, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.brand-text { color: var(--text); }
.brand-text span { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 26px; margin-right: auto; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.15s ease; }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a.is-active { position: relative; }
.nav a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -23px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav-mobile-actions { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.link-quiet { color: var(--muted); font-size: 14px; font-weight: 500; }
.link-quiet:hover { color: var(--text); }

.avatar {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-2); font-size: 11px; font-weight: 700;
}

.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--card); padding: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 1.6px; margin: 3.2px auto; background: var(--text); border-radius: 2px; transition: 0.2s ease; }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 9px; border: 1px solid transparent;
  font: 600 14px/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff; box-shadow: 0 6px 18px rgba(239, 75, 79, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { color: #fff; background: linear-gradient(180deg, #ff8488, #f65458); box-shadow: 0 8px 22px rgba(239, 75, 79, 0.36); }

.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--border-strong); color: #fff; }

.btn-soft { background: var(--accent-soft); color: var(--accent-2); border-color: rgba(239, 75, 79, 0.28); }
.btn-soft:hover { background: rgba(239, 75, 79, 0.22); color: #ffd2d3; }

.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }

.btn-danger { background: rgba(255, 93, 93, 0.12); border-color: rgba(255, 93, 93, 0.35); color: #ffb3b4; }
.btn-danger:hover { background: rgba(255, 93, 93, 0.2); color: #fff; }

.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; border-radius: 11px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.btn-xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
.btn-block { display: flex; width: 100%; }

/* ------------------------------------------------------------------ atoms */

.eyebrow {
  display: inline-block; color: var(--muted); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 9px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: 12.5px; font-weight: 500;
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.15); }

.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.07); color: var(--muted); border: 1px solid var(--border);
}
.badge-kind { position: absolute; top: 12px; left: 12px; background: rgba(10, 11, 14, 0.72); backdrop-filter: blur(6px); color: #dfe3ea; }
.badge-hot { background: rgba(240, 179, 90, 0.14); color: var(--gold); border-color: rgba(240, 179, 90, 0.3); }
.badge-ok { background: rgba(62, 207, 142, 0.12); color: var(--ok); border-color: rgba(62, 207, 142, 0.3); }
.badge-warn { background: rgba(242, 181, 60, 0.12); color: var(--warn); border-color: rgba(242, 181, 60, 0.3); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px;
  border-radius: 6px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  color: var(--muted); font-size: 12px;
}

.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 26px rgba(0, 0, 0, 0.18);
}

.link-arrow { color: var(--accent-2); font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { color: #fff; }

.dot-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.16); }

/* ------------------------------------------------------------------- hero */

.hero { position: relative; padding: 76px 0 92px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 720px; pointer-events: none;
  background:
    radial-gradient(560px 340px at 22% 18%, rgba(239, 75, 79, 0.20), transparent 65%),
    radial-gradient(520px 320px at 78% 8%, rgba(240, 179, 90, 0.12), transparent 68%);
  filter: blur(10px);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 16px; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.03em; }
.hero-sub { color: var(--muted); font-size: 16.5px; line-height: 1.65; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0 0 30px; color: var(--muted); font-size: 13.5px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7276' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.hero-stats { display: flex; gap: 34px; margin: 0; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-stats dt { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.hero-stats dd { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }

.hero-visual { position: relative; }
.visual-frame {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border-strong); background: #0e1014;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1.6deg);
}
.frame-bar {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  background: #171a20; border-bottom: 1px solid var(--border);
}
.frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: #2b2f38; }
.frame-bar span:first-child { background: #3a2326; }
.frame-bar em { margin-left: 8px; color: var(--muted); font: 500 11px/1 var(--font-body); font-style: normal; }
.visual-frame img { width: 100%; height: auto; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 11px;
  background: rgba(20, 22, 28, 0.9); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 12.5px; }
.float-card small { color: var(--muted); font-size: 11px; }
.float-card svg { width: 18px; height: 18px; color: var(--accent-2); }
.float-licence { left: -26px; bottom: 44px; }
.float-import { right: -14px; top: 34px; animation-delay: -2.4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------------------------------------------------------------- sections */

.section { padding: 84px 0; }
.section-tight { padding: 44px 0 72px; }
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 70%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.section-head h2 { margin-top: 8px; }
.section-sub { color: var(--muted); margin-top: 10px; max-width: 620px; }

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

/* ----------------------------------------------------------- product card */

.product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.product-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }

.card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: #0e1014; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .card-media img { transform: scale(1.03); }
.card-media-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 15% 10%, rgba(239, 75, 79, 0.22), transparent 60%),
    radial-gradient(100% 100% at 90% 90%, rgba(240, 179, 90, 0.12), transparent 55%),
    #12141a;
}
.fallback-mark { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: rgba(255, 255, 255, 0.14); letter-spacing: -0.04em; }
.fallback-mark.big { font-size: 84px; }
.fallback-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px; opacity: 0.5;
}

.card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-title { font-size: 17px; line-height: 1.3; }
.card-title a:hover { color: #fff; }
.card-text { color: var(--muted); font-size: 13.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }

.price { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.price-free { color: var(--ok); }

/* -------------------------------------------------------------- home blocks */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 34px 0 0; counter-reset: step; }
.step { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, var(--card-2), var(--card)); }
.step-num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px;
  border-radius: 8px; background: var(--accent-soft); color: var(--accent-2);
  font: 700 13px/1 var(--font-display);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

.pricing-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pricing-copy h2 { margin: 10px 0 14px; }
.pricing-copy p { color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 14px; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7276' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
}

.price-card {
  position: relative; padding: 30px; border-radius: 18px;
  background: linear-gradient(180deg, #1c1f26, #14161c);
  border: 1px solid rgba(239, 75, 79, 0.28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 60px rgba(239, 75, 79, 0.08);
}
.price-badge {
  position: absolute; top: -11px; left: 24px; height: 22px; padding: 0 10px; border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff;
  font: 700 11px/22px var(--font-body); letter-spacing: 0.03em;
}
.price-card h3 { font-size: 18px; }
.price-big { font-family: var(--font-display); font-size: 42px; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 4px; }
.price-big span { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.plan-features { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; }
.plan-features li { color: var(--muted); font-size: 14px; padding-left: 22px; position: relative; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.plan-features strong { color: var(--text); }
.price-note { color: var(--muted); font-size: 12px; text-align: center; margin: 12px 0 0; }

.faq { display: grid; gap: 10px; }
.faq details, .pricing-faq details {
  border: 1px solid var(--border); border-radius: 11px; background: rgba(255, 255, 255, 0.02);
  padding: 0 18px; transition: border-color 0.15s ease, background 0.15s ease;
}
.faq details[open], .pricing-faq details[open] { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.035); }
.faq summary, .pricing-faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 14.5px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker, .pricing-faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .pricing-faq summary::after { content: '+'; color: var(--muted); font-size: 18px; font-weight: 400; }
.faq details[open] summary::after, .pricing-faq details[open] summary::after { content: '−'; }
.faq p, .pricing-faq p { color: var(--muted); font-size: 14px; margin: 0 0 16px; max-width: 720px; }
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.pricing-faq { margin-top: 22px; display: grid; gap: 10px; }

.cta-band {
  padding: 62px 0;
  background:
    radial-gradient(500px 220px at 20% 20%, rgba(239, 75, 79, 0.18), transparent 70%),
    linear-gradient(180deg, #13151a, #0d0e12);
  border-top: 1px solid var(--border);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { color: var(--muted); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* -------------------------------------------------------------- page heads */

.page-head { padding: 52px 0 26px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent); }
.page-head-tight { padding-bottom: 8px; border-bottom: 0; background: none; }
.page-head h1 { margin: 8px 0 8px; }
.page-head .section-sub { margin-top: 0; }

.catalog-tools { display: flex; gap: 10px; margin: 24px 0 18px; }
.search-box { position: relative; flex: 1; max-width: 440px; }
.search-box svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.search-box input {
  width: 100%; height: 40px; padding: 0 14px 0 38px; border-radius: 9px;
  background: var(--field); border: 1px solid var(--border); color: var(--text); font: inherit;
}
.search-box input:focus { outline: none; border-color: rgba(239, 75, 79, 0.5); box-shadow: 0 0 0 3px var(--accent-soft); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 500;
  transition: 0.15s ease;
}
.chip-filter span { color: var(--muted); font-size: 11.5px; opacity: 0.8; }
.chip-filter:hover { border-color: var(--border-strong); color: var(--text); }
.chip-filter.is-active { background: var(--accent-soft); border-color: rgba(239, 75, 79, 0.35); color: var(--accent-2); }
.chip-filter.is-active span { color: var(--accent-2); }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 34px; }
.pager-link { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.pager-link:hover { border-color: var(--border-strong); color: var(--text); }
.pager-link.is-active { background: var(--accent-soft); border-color: rgba(239, 75, 79, 0.35); color: var(--accent-2); }

.empty-state { padding: 44px 32px; text-align: center; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 18px; }

/* ------------------------------------------------------------ product page */

.breadcrumb { display: flex; gap: 8px; align-items: center; padding-top: 22px; color: var(--muted); font-size: 12.5px; }
.breadcrumb a:hover { color: var(--text); }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr); gap: 34px; align-items: start; }
.product-main { min-width: 0; }
.product-media { overflow: hidden; margin-bottom: 24px; }
.product-media img { width: 100%; }
.product-media-fallback { aspect-ratio: 16 / 9; display: grid; place-items: center; background: radial-gradient(120% 120% at 20% 10%, rgba(239, 75, 79, 0.2), transparent 60%), #12141a; }
.product-intro h1 { margin: 8px 0 10px; font-size: clamp(26px, 3vw, 36px); }
.product-tagline { color: var(--muted); font-size: 16px; margin-bottom: 14px; }

.prose { margin-top: 28px; color: #c6ccd6; font-size: 15px; }
.prose p { margin-bottom: 16px; }

.info-panel { margin-top: 24px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, 0.022); }
.info-panel h3 { margin-bottom: 8px; }
.info-panel p { color: var(--muted); font-size: 14px; }
.info-panel .check-list { margin-bottom: 0; }

.product-side { position: sticky; top: 88px; }
.buy-card { padding: 24px; }
.buy-price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.buy-price .price { font-size: 28px; }
.buy-price small { color: var(--muted); font-size: 12.5px; }
.buy-card form { margin: 0 0 8px; }
.buy-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; text-align: center; }
.buy-note a { color: var(--accent-2); }

.buy-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: rgba(62, 207, 142, 0.08); border: 1px solid rgba(62, 207, 142, 0.22); color: #b7efd5; font-size: 12.5px; }
.buy-status a { color: #d8fff0; text-decoration: underline; margin-left: auto; }

.buy-meta { display: grid; gap: 10px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--border); }
.buy-meta div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.buy-meta dt { color: var(--muted); }
.buy-meta dd { margin: 0; font-weight: 500; }

.trust-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.trust-note svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.trust-note a { color: var(--accent-2); }

/* ------------------------------------------------------------------ pricing */

.pricing-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.pricing-grid .plan-card { flex: 1 1 340px; max-width: 520px; }
.plan-card { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, var(--card-2), var(--card)); }
.plan-card.is-primary { border-color: rgba(239, 75, 79, 0.32); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(239, 75, 79, 0.07); }
.plan-card h2 { font-size: 19px; }
.plan-for { color: var(--muted); font-size: 13px; margin: 6px 0 4px; min-height: 38px; }
.plan-permonth { color: var(--muted); font-size: 12px; margin: -2px 0 0; }

.compare { margin-top: 26px; padding: 26px; }
.compare h2 { font-size: 20px; margin-bottom: 16px; }
.compare table, .data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare th, .compare td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); }
.compare th { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); }
.compare .no { color: var(--muted); }
.current-plan { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 14px; border-radius: 9px; background: rgba(62, 207, 142, 0.07); border: 1px solid rgba(62, 207, 142, 0.2); color: #c7f3e0; font-size: 13px; }

/* --------------------------------------------------------------------- auth */

.auth-wrap { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: 56px 20px 80px; }
.auth-card { width: min(430px, 100%); padding: 32px; }
.auth-card h1 { font-size: 26px; margin: 6px 0 6px; }
.auth-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.auth-switch { text-align: center; color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.auth-switch a { color: var(--accent-2); font-weight: 600; }
.auth-hint { text-align: center; color: var(--muted); font-size: 11.5px; margin: 10px 0 0; }

.form { display: grid; gap: 8px; }
.form label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.form input[type="text"], .form input[type="email"], .form input[type="password"],
.form input[type="number"], .form input[type="search"], .form select, .form textarea {
  width: 100%; height: 42px; padding: 0 13px; border-radius: 9px;
  background: var(--field); border: 1px solid var(--border); color: var(--text); font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form textarea { height: auto; padding: 11px 13px; line-height: 1.55; resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: rgba(239, 75, 79, 0.5); box-shadow: 0 0 0 3px var(--accent-soft); background: #15171e;
}
.form input[type="file"] { width: 100%; padding: 10px; border: 1px dashed var(--border-strong); border-radius: 9px; background: rgba(255, 255, 255, 0.02); color: var(--muted); font-size: 12.5px; }
.form .btn { margin-top: 8px; }
.field-hint { color: var(--muted); font-size: 11.5px; margin: 2px 0 4px; }
.form-error { padding: 10px 12px; margin-bottom: 12px; border-radius: 8px; background: rgba(255, 93, 93, 0.1); border: 1px solid rgba(255, 93, 93, 0.28); color: #ffc3c4; font-size: 13px; }
.form .form-error { margin-bottom: 4px; }

.password-field { position: relative; }
.password-field input { padding-right: 62px !important; }
.peek { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 28px; padding: 0 9px; border-radius: 6px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: var(--muted); font: 600 11px/1 var(--font-body); cursor: pointer; }
.peek:hover { color: var(--text); }

/* ------------------------------------------------------------------ account */

.account-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.account-head h1 { margin-bottom: 4px; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr); gap: 22px; align-items: start; }
.account-main { display: grid; gap: 20px; }
.account-side { display: grid; gap: 20px; position: sticky; top: 88px; }

.licence-card { padding: 26px; border-color: var(--border-strong); }
.licence-card.ok { border-color: rgba(62, 207, 142, 0.25); }
.licence-card.warn { border-color: rgba(242, 181, 60, 0.3); }
.licence-card.err { border-color: rgba(255, 93, 93, 0.3); }
.licence-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.licence-head h2 { margin-top: 4px; font-size: 20px; }

.status-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.status-ok { background: rgba(62, 207, 142, 0.13); color: var(--ok); }
.status-warn { background: rgba(242, 181, 60, 0.13); color: var(--warn); }
.status-err { background: rgba(255, 93, 93, 0.13); color: #ff8f90; }
.status-idle { background: rgba(255, 255, 255, 0.06); color: var(--muted); }

.licence-stats { display: flex; gap: 30px; margin: 20px 0 14px; }
.licence-stats strong { display: block; font-family: var(--font-display); font-size: 22px; }
.licence-stats span { color: var(--muted); font-size: 12px; }

.progress { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width 0.4s ease; }

.key-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: rgba(0, 0, 0, 0.28); border: 1px dashed var(--border-strong); }
.key-row code { display: block; margin-top: 4px; font-size: 15px; letter-spacing: 0.06em; color: #fff; }
.key-note { color: var(--muted); font-size: 11.5px; margin: 10px 0 0; }
.licence-empty { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.licence-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.card-head h2 { font-size: 16px; }
.account-main > .card:not(.licence-card) { overflow: hidden; }
.account-main > .card > .muted { padding: 0 20px 20px; }

.download-list { list-style: none; margin: 0; padding: 6px 8px 10px; }
.download-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; border-radius: 9px; }
.download-list li:hover { background: rgba(255, 255, 255, 0.03); }
.download-list strong { display: block; font-size: 13.5px; }

.table-wrap { overflow-x: auto; padding: 6px 10px 12px; }
.data-table th, .data-table td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.data-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.data-table tbody tr:last-child td { border-bottom: 0; }

.help-card { padding: 22px; }
.help-card h3 { margin-bottom: 10px; }
.mini-steps { margin: 0 0 14px; padding-left: 18px; color: var(--muted); font-size: 13px; display: grid; gap: 8px; }
.mini-steps code { color: var(--text); }

/* ---------------------------------------------------------------- checkout */

.pay-wrap { min-height: calc(100vh - 260px); display: grid; place-items: center; padding: 60px 20px 90px; }
.pay-card { width: min(460px, 100%); padding: 30px; }
.pay-card h1 { font-size: 24px; margin: 6px 0 4px; }
.pay-summary { display: grid; gap: 10px; margin: 20px 0 22px; padding: 16px; border-radius: 10px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); }
.pay-summary div { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; }
.pay-summary span { color: var(--muted); }
.pay-note { color: var(--muted); font-size: 12px; margin-top: 12px; text-align: center; }
.pay-back { display: block; margin-top: 18px; text-align: center; color: var(--muted); font-size: 12.5px; }
.pay-back:hover { color: var(--text); }

/* ------------------------------------------------------------------ flashes */

.flash-stack { margin-top: 16px; display: grid; gap: 8px; }
.flash { padding: 11px 14px; border-radius: 9px; font-size: 13px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); }
.flash-success { background: rgba(62, 207, 142, 0.09); border-color: rgba(62, 207, 142, 0.25); color: #c9f5e3; }
.flash-error { background: rgba(255, 93, 93, 0.09); border-color: rgba(255, 93, 93, 0.25); color: #ffc6c7; }
.flash-info { background: rgba(239, 75, 79, 0.08); border-color: rgba(239, 75, 79, 0.22); color: #ffd2d3; }

.notice { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: 13px; border: 1px solid var(--border); }
.notice-warn { background: rgba(242, 181, 60, 0.07); border-color: rgba(242, 181, 60, 0.25); color: #f6d79a; }
.notice code { color: #fff; }

/* -------------------------------------------------------------------- 404 */

.notfound { padding: 110px 0 130px; text-align: center; }
.notfound-code { font-family: var(--font-display); font-size: 84px; font-weight: 700; color: rgba(255, 255, 255, 0.08); letter-spacing: -0.05em; }
.notfound h1 { margin: 8px 0 10px; }
.notfound .hero-actions { justify-content: center; }

/* ----------------------------------------------------------------- footer */

.site-footer { border-top: 1px solid var(--border); background: #0a0b0e; padding: 54px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 34px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-tagline { color: var(--muted); font-size: 13px; max-width: 280px; }
.footer-telugu { color: rgba(240, 179, 90, 0.75); font-size: 12.5px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h3 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.footer-col a { color: #c3c9d3; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }

/* ------------------------------------------------------------------ admin */

.admin-tag { margin-left: 6px; padding: 2px 7px; border-radius: 5px; background: var(--accent-soft); color: var(--accent-2); font: 700 10px/1.6 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }
.admin-nav { display: flex; gap: 20px; margin-right: auto; flex-wrap: wrap; }
.admin-nav a { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.admin-nav a.is-active, .admin-nav a:hover { color: var(--text); }
.admin-main { padding: 34px 0 70px; min-height: 70vh; }
.admin-shell { display: grid; gap: 22px; }
.admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.admin-head h1 { margin: 4px 0 6px; font-size: 27px; }
.admin-actions { display: flex; gap: 10px; }
.back-link { color: var(--muted); font-size: 12.5px; }
.admin-actions .btn, .admin-head > .btn { align-self: flex-start; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-card { padding: 18px; border-radius: 12px; border: 1px solid var(--border); background: linear-gradient(180deg, var(--card-2), var(--card)); }
.stat-card span { display: block; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-card strong { display: block; margin: 6px 0 2px; font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; }
.stat-card small { color: var(--muted); font-size: 11.5px; }

.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.admin-grid-plans { grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.4fr); }
.admin-grid .card { overflow: hidden; }
.admin-grid .card > .form { padding: 18px 20px 20px; }
.admin-grid .card > .muted { padding: 0 20px 18px; }

.admin-list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; }
.admin-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; }
.admin-list li:hover { background: rgba(255, 255, 255, 0.03); }
.admin-list strong { display: block; font-size: 13.5px; }
.admin-list-actions { display: flex; align-items: center; gap: 8px; }

.thumb { width: 42px; height: 30px; border-radius: 5px; object-fit: cover; border: 1px solid var(--border); }
.thumb-fallback { display: inline-grid; place-items: center; background: var(--card-2); color: var(--muted); font-weight: 700; font-size: 13px; }
.thumb-cell { width: 52px; }

.admin-form { padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid > div { display: grid; gap: 6px; align-content: start; }
.form-span { grid-column: 1 / -1; }
.check-row { display: flex; gap: 22px; flex-wrap: wrap; margin: 18px 0 4px; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; cursor: pointer; }
.check input { width: 15px; height: 15px; accent-color: var(--accent); }
.form-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.admin-form .form-actions { margin-top: 22px; }
.form .form-actions .btn { margin-top: 0; }
.current-file { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.current-file .thumb { width: 64px; height: 44px; }

.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-color: rgba(255, 93, 93, 0.2); }
.danger-zone h3 { font-size: 14px; margin-bottom: 2px; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 640px; }
  .visual-frame { transform: none; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .pricing-split, .faq-wrap { grid-template-columns: 1fr; gap: 26px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-side { position: static; }
  .account-grid { grid-template-columns: 1fr; }
  .account-side { position: static; grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid, .admin-grid-plans { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 24px 20px;
    background: #0c0d11; border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 4px; font-size: 15px; }
  .nav a.is-active::after { display: none; }
  .nav-mobile-actions { display: flex; gap: 10px; margin-top: 8px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-actions { display: none; }
  .header-inner { gap: 12px; }
  .hero { padding: 48px 0 60px; }
  .float-licence { left: 4px; bottom: 12px; }
  .float-import { right: 4px; top: 12px; }
  .section { padding: 60px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .admin-nav { order: 3; width: 100%; gap: 14px; padding-bottom: 10px; }
  .admin-header .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .account-side { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .danger-zone { flex-direction: column; align-items: flex-start; }
  .product-side { position: static; }
  .auth-card { padding: 24px; }
  .hero-points { gap: 10px 16px; }
  .licence-stats { flex-wrap: wrap; gap: 18px 26px; }
  .key-row { flex-direction: column; align-items: flex-start; }
  .nav { top: 68px; }
}

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