/* ==========================================================================
   ShreeWin App — Deep Royal Navy, Indigo, Gold & Purple Theme
   Matches the Authentic ShreeWin Brand & Mobile UI Color Palette
   ========================================================================== */

:root {
  /* Text & Ink */
  --ink: #f8fafc;
  --ink-soft: #cbd5e1;
  --muted: #94a3b8;

  /* Theme Backgrounds: Deep Midnight Navy & Indigo */
  --paper: #0c102a;
  --paper-2: #13183d;
  --surface: #181f4d;
  --surface-elevated: #202964;

  /* Primary & Secondary Brand Accents */
  --accent-gold: #ffb703;
  --accent-gold-hover: #ffc32b;
  --accent-gold-dark: #fb8500;
  
  --accent-purple: #6366f1;
  --accent-purple-hover: #7c3aed;
  --accent-purple-soft: rgba(99, 102, 241, 0.15);

  --accent-cyan: #38bdf8;
  --accent-cyan-hover: #00e5ff;

  --accent: #ffb703;
  --accent-soft: rgba(255, 183, 3, 0.15);

  /* Lines & Borders */
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(99, 102, 241, 0.4);
  --line-gold: rgba(255, 183, 3, 0.4);

  --danger: #ef4444;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 0 24px rgba(255, 183, 3, 0.35);
  --shadow-purple: 0 0 24px rgba(99, 102, 241, 0.35);

  --radius: 18px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --max: 1180px;
  --header-h: 76px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.22), transparent 38%),
    radial-gradient(circle at 85% 0%, rgba(255, 183, 3, 0.16), transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.08), transparent 50%),
    linear-gradient(180deg, #090c22 0%, var(--paper) 35%, #07091a 100%);
  min-height: 100vh;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  max-width: 100%;
  flex-shrink: 0;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

a:hover {
  color: #ffe066;
}

ul, ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.45rem;
}

p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.container.narrow {
  width: min(760px, calc(100% - 2rem));
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(12, 16, 42, 0.94);
  border-bottom: 1px solid var(--line-strong);
  padding-top: env(safe-area-inset-top);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand img.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.brand img.brand-icon-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.45);
  transition: transform 220ms ease;
  flex-shrink: 0;
}

.brand:hover img.brand-icon-img {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(99, 102, 241, 0.7);
}

.brand-text strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.1;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms ease, opacity 180ms ease, top 220ms ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.primary-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.4rem 0.2rem;
  font-size: 0.96rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a.active,
.primary-nav a[aria-current="page"] {
  color: var(--accent-gold);
}

.primary-nav .nav-cta {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.6rem 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.primary-nav .nav-cta-primary {
  background: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
  color: #0c102a !important;
  box-shadow: 0 0 18px rgba(255, 183, 3, 0.45);
}

.primary-nav .nav-cta-primary:hover {
  background: linear-gradient(135deg, #FFC32B 0%, #FF9500 100%);
  box-shadow: 0 0 26px rgba(255, 183, 3, 0.7);
  transform: translateY(-1px);
}

.primary-nav .nav-login {
  color: var(--accent-gold) !important;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  padding: 0.42rem 1.05rem !important;
  font-weight: 700;
  background: rgba(255, 183, 3, 0.12);
  transition: all 180ms ease;
}

.primary-nav .nav-login:hover,
.primary-nav .nav-login.active {
  background: var(--accent-gold);
  color: #0c102a !important;
  box-shadow: 0 0 18px rgba(255, 183, 3, 0.55);
}

.primary-nav .nav-register {
  color: #ffffff !important;
  border: 1px solid rgba(99, 102, 241, 0.6);
  border-radius: 999px;
  padding: 0.42rem 1.05rem !important;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(124, 58, 237, 0.95));
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.45);
  transition: all 180ms ease;
}

.primary-nav .nav-register:hover,
.primary-nav .nav-register.active {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  box-shadow: 0 0 22px rgba(99, 102, 241, 0.75);
  transform: translateY(-1px);
}

/* ==========================================================================
   Top Disclaimer Banner
   ========================================================================== */
.disclaimer {
  background: #111638;
  border-bottom: 1px solid rgba(99, 102, 241, 0.3);
  padding: 1.1rem 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.disclaimer p {
  margin-bottom: 0.4rem;
  line-height: 1.55;
}

.disclaimer p:last-child {
  margin-bottom: 0;
}

.disclaimer strong {
  color: #fff;
}

/* ==========================================================================
   Hero Section & Device Stage
   ========================================================================== */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-copy {
  max-width: 900px;
}

.hero-copy h1 {
  margin-bottom: 1rem;
}

.hero-copy .lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms ease;
  border: 1px solid transparent;
  line-height: 1.2;
}

/* Log In Button (Gold) */
.button-login, .button-gold {
  background: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
  color: #0c102a !important;
  box-shadow: 0 4px 20px rgba(255, 183, 3, 0.4);
  font-weight: 800;
}

.button-login:hover, .button-gold:hover {
  background: linear-gradient(135deg, #FFC32B 0%, #FF9500 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 183, 3, 0.6);
}

/* Register Button (Royal Purple) */
.button-register, .button-purple, .button-primary {
  background: linear-gradient(135deg, #6366F1 0%, #7C3AED 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
  font-weight: 800;
}

.button-register:hover, .button-purple:hover, .button-primary:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.65);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink) !important;
}

.button-secondary:hover {
  background: var(--surface-elevated);
  border-color: var(--accent-gold);
  color: var(--accent-gold) !important;
  transform: translateY(-2px);
}

/* Device Stage Mockups */
.device-stage {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.device-frame {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.device-frame-web {
  border: 1px solid rgba(99, 102, 241, 0.45);
  box-shadow: var(--shadow), 0 0 35px rgba(99, 102, 241, 0.25);
}

.device-chrome {
  background: #090c24;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.device-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a3356;
  display: inline-block;
}

.device-chrome span:nth-child(1) { background: #ff5f56; }
.device-chrome span:nth-child(2) { background: #ffbd2e; }
.device-chrome span:nth-child(3) { background: #27c93f; }

.device-chrome small {
  margin-left: auto;
  font-family: monospace;
  color: var(--muted);
  font-size: 0.78rem;
}

.device-frame figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: #080a1c;
  text-align: center;
  border-top: 1px solid var(--line);
}

.device-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.device-frame-phone {
  max-width: 480px;
  border-radius: 28px;
  border: 2px solid rgba(99, 102, 241, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.2);
  overflow: hidden;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.shot-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.shot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.25);
}

.shot-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.shot-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
  text-align: center;
}

/* ==========================================================================
   Cards, Grids & Prose Layouts
   ========================================================================== */
.card {
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 20px rgba(255, 183, 3, 0.2);
}

.responsive-points, .feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-strip {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: grid;
  gap: 1.8rem;
}

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

.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.media-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.media-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #080a1c;
}

.media-card .card-body {
  padding: 1.6rem;
  flex-grow: 1;
}

.prose {
  font-size: 1.05rem;
  line-height: 1.8;
}

.prose p {
  margin-bottom: 1.2rem;
}

.prose ol {
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.6rem;
}

/* Screenshot Gallery */
.subhead {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  margin: 2.5rem 0 1rem;
}

.shot-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.shot-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.shot-card {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.shot-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}

.shot-card img {
  width: 100%;
  background: #080a1c;
}

.shot-card figcaption {
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: #0e1230;
  line-height: 1.45;
}

.shot-card figcaption strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

/* FAQ Details Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.faq-item {
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
}

.faq-item summary {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  color: #fff;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent-gold);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 0.8rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Call to Action Band */
.cta-band {
  background: linear-gradient(135deg, #181f4d 0%, #0e1230 100%);
  border: 1px solid rgba(255, 183, 3, 0.4);
  border-radius: var(--radius);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(255, 183, 3, 0.2);
}

.cta-band h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.cta-band p {
  max-width: 650px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   Footer Matching User Reference Image
   ========================================================================== */
.site-footer {
  background: #070a1a;
  border-top: 1px solid var(--line-strong);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer-links-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.footer-tg-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-cyan) !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.footer-tg-link:hover {
  color: #00e5ff !important;
  text-decoration: underline;
}

.footer-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #25D366 !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.footer-wa-link:hover {
  color: #4ade80 !important;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 420px;
}

.footer-grid h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 1.2rem;
  font-weight: 800;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.65rem;
}

.footer-grid a {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.footer-grid a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Separate Floating Social Badges (Telegram & WhatsApp)
   ========================================================================== */
.floating-social-stack {
  position: fixed !important;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  pointer-events: none;
}

.floating-channel-badge {
  pointer-events: auto;
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  width: 260px;
  height: 58px;
  box-sizing: border-box;
  padding: 0.5rem 2.2rem 0.5rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #1b2254 0%, #0d1230 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.floating-channel-badge:hover {
  transform: translateY(-2px);
}

.floating-channel-badge.tg-float {
  border: 1px solid rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3), 0 8px 24px rgba(0, 0, 0, 0.45);
}

.floating-channel-badge.wa-float {
  border: 1px solid rgba(37, 211, 102, 0.85);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.3), 0 8px 24px rgba(0, 0, 0, 0.45);
}

.channel-float-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  color: #fff !important;
  text-decoration: none !important;
}

.channel-float-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.channel-float-icon.tg-icon {
  background: radial-gradient(circle at 35% 30%, #7dd3fc 0%, #0284c7 50%, #0369a1 100%);
}

.channel-float-icon.wa-icon {
  background: radial-gradient(circle at 35% 30%, #4ade80 0%, #25D366 50%, #15803d 100%);
}

.channel-float-icon svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  fill: #ffffff;
  display: block;
}

.channel-float-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.channel-float-kicker {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 2px;
}

.tg-float .channel-float-kicker {
  color: #38bdf8;
}

.wa-float .channel-float-kicker {
  color: #4ade80;
}

.channel-float-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  white-space: nowrap;
}

.channel-float-close {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.channel-float-close:hover {
  color: #fff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .shot-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(var(--header-h) + 0.35rem);
    background: #13183d;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    gap: 0.6rem;
    z-index: 100;
  }

  .primary-nav.is-open a {
    font-size: 1.05rem;
    padding: 0.4rem 0;
  }

  .responsive-points {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .card-grid.cols-2, .card-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .device-phones {
    grid-template-columns: 1fr;
  }

  .shot-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   Table of Contents & Rich Content Guide Styles
   ========================================================================== */
.toc-box {
  background: linear-gradient(180deg, #161c46 0%, #0e1333 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 2rem 2.4rem;
  margin: 3rem 0;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.toc-title {
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin: 0;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-grid li {
  margin: 0;
}

.toc-grid a {
  display: inline-block;
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 0.3rem 0;
  transition: color 180ms ease, transform 180ms ease;
}

.toc-grid a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.step-flow {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1.8rem 0;
}

.step-card {
  display: flex;
  gap: 1.2rem;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  align-items: flex-start;
}

.step-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
  color: #0c102a;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.step-content h3 {
  margin-bottom: 0.4rem;
  color: #fff;
  font-size: 1.15rem;
}

.step-content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.logic-badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.logic-badge {
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.logic-badge.green {
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid #00C853;
}

.logic-badge.violet {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid #8B5CF6;
}

.logic-badge.red {
  background: rgba(229, 57, 53, 0.15);
  border: 1px solid #E53935;
}

.logic-badge h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.comparison-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
}

.comparison-table, .specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background: var(--paper-2);
}

.comparison-table th, .comparison-table td,
.specs-table th, .specs-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th, .specs-table th {
  background: #0d1230;
  color: var(--accent-gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--accent-gold);
}

.comparison-table tr:hover td, .specs-table tr:hover td {
  background: rgba(99, 102, 241, 0.08);
}

.specs-table td strong {
  color: #fff;
  font-weight: 600;
}

.invite-code-pill {
  display: inline-block;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid rgba(255, 183, 3, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-family: monospace;
  font-weight: 800;
  color: #ffb703;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

.event-box {
  background: radial-gradient(circle at top left, rgba(255, 183, 3, 0.2), transparent 45%),
              linear-gradient(135deg, #1f275e 0%, #101538 100%);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 2.5rem 0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 183, 3, 0.3);
}

/* ==========================================================================
   Trending Search Keywords & Intent Hub
   ========================================================================== */
.keyword-hub {
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 50%),
              linear-gradient(135deg, #12163a 0%, #0a0d24 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 3rem 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.keyword-hub-header {
  text-align: center;
  margin-bottom: 2rem;
}

.keyword-hub-header h2 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.keyword-hub-header p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 650px;
  margin: 0 auto;
}

.keyword-cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.keyword-cluster-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.4rem;
  transition: transform 200ms ease, border-color 200ms ease;
}

.keyword-cluster-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 183, 3, 0.45);
}

.keyword-cluster-card h3 {
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.keyword-tag {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
  font-size: 0.82rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease;
}

.keyword-tag:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

@media (max-width: 768px) {
  .toc-grid {
    grid-template-columns: 1fr;
  }
  .logic-badge-grid {
    grid-template-columns: 1fr;
  }
  .keyword-hub {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Google-Style "People Also Search For" Component
   ========================================================================== */
.people-also-search-box {
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 60%),
              linear-gradient(135deg, #13173d 0%, #0c0f2b 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin: 2.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.people-search-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.people-search-header h3 {
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.people-search-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.1rem;
}

@media (max-width: 640px) {
  .people-search-grid {
    grid-template-columns: 1fr;
  }
  .people-also-search-box {
    padding: 1.2rem;
  }
}

.people-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e2230;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.8rem 1.15rem;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 180ms ease;
  line-height: 1.35;
  overflow: hidden;
}

.people-search-item span {
  color: #e2e8f0;
  transition: color 180ms ease;
}

.people-search-item:hover {
  background: #272d42;
  border-color: rgba(255, 183, 3, 0.65);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.people-search-item:hover span {
  color: #fff;
}

.people-search-item strong {
  font-weight: 700;
  color: var(--accent-gold);
}

.people-search-icon,
svg.people-search-icon {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  min-height: 17px !important;
  max-height: 17px !important;
  fill: #94a3b8;
  color: #94a3b8;
  flex-shrink: 0;
  margin-left: 0.75rem;
  display: inline-block;
  vertical-align: middle;
  transition: fill 180ms ease, color 180ms ease, transform 180ms ease;
}

.people-search-item:hover .people-search-icon,
.people-search-item:hover svg.people-search-icon {
  fill: var(--accent-gold);
  color: var(--accent-gold);
  transform: scale(1.18);
}


