/* ==========================================================================
   SegForge — Ultra-Premium Dark Studio Stylesheet (Variant 1)
   Linear & Raycast aesthetic. Ambient CSS background loop. 100% lightweight.
   ========================================================================== */

:root {
  --bg-deep: #050608;
  --bg-surface: rgba(18, 20, 29, 0.72);
  --bg-surface-elevated: rgba(26, 29, 43, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);
  --accent-primary: #6366f1;
  --accent-primary-hover: #4f46e5;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --text-pure: #ffffff;
  --text-headline: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w: 960px;
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-headline);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-deep);
  padding-bottom: 76px;
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Ambient Animated Background Loop (GPU-Accelerated, 0 KB Assets)
   -------------------------------------------------------------------------- */
.bg-ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  opacity: 0.6;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  will-change: transform;
}

.aurora-blob-1 {
  width: 520px;
  height: 520px;
  top: -120px;
  left: 50%;
  margin-left: -260px;
  background: radial-gradient(circle, #6366f1 0%, #4338ca 60%, transparent 80%);
  animation: auroraFloat1 18s ease-in-out infinite alternate;
}

.aurora-blob-2 {
  width: 440px;
  height: 440px;
  top: 180px;
  left: 20%;
  background: radial-gradient(circle, #06b6d4 0%, #0284c7 50%, transparent 80%);
  opacity: 0.18;
  animation: auroraFloat2 22s ease-in-out infinite alternate;
}

.aurora-blob-3 {
  width: 480px;
  height: 480px;
  top: 350px;
  right: 15%;
  background: radial-gradient(circle, #8b5cf6 0%, #6d28d9 50%, transparent 80%);
  opacity: 0.16;
  animation: auroraFloat3 20s ease-in-out infinite alternate;
}

@keyframes auroraFloat1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(60px, 40px, 0) scale(1.12); }
  100% { transform: translate3d(-50px, -20px, 0) scale(0.95); }
}

@keyframes auroraFloat2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-40px, 50px, 0) scale(1.15); }
  100% { transform: translate3d(50px, -30px, 0) scale(0.9); }
}

@keyframes auroraFloat3 {
  0% { transform: translate3d(0, 0, 0) scale(0.95); }
  50% { transform: translate3d(-50px, -40px, 0) scale(1.1); }
  100% { transform: translate3d(40px, 30px, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-blob { animation: none; }
}

/* --------------------------------------------------------------------------
   Top Banner
   -------------------------------------------------------------------------- */
.top-banner {
  background: rgba(15, 17, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  padding: 8px 16px;
  font-size: 12.5px;
  text-align: center;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 10;
}

.badge-launch {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(5, 6, 8, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 90;
  padding: 14px 0;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.logo-badge-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
}

.brand-logo-img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: contain;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.version-tag {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--border-glass);
}

.btn-nav-action {
  background: var(--accent-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  transition: var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
}

.btn-nav-action:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-wrap {
  padding: 52px 0 32px;
  text-align: center;
  position: relative;
}

.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 22px;
}

.pill-status .live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.hero-main-title {
  font-size: clamp(32px, 5.2vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.4px;
  max-width: 820px;
  margin: 0 auto 18px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-text {
  font-size: clamp(15.5px, 2.2vw, 18px);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-lead-text strong {
  color: #ffffff;
  font-weight: 600;
}

/* Pricing Card & High-Intent CTA */
.cta-pricing-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.price-display-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-was {
  font-size: 19px;
  color: var(--text-dim);
  text-decoration: line-through;
  font-weight: 500;
}

.price-now-big {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1.2px;
}

.tag-savings {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.btn-hero-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 44px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.45);
  transition: var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 38px rgba(99, 102, 241, 0.65);
}

.hero-assurance-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.hero-assurance-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-assurance-row svg {
  color: var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   Interactive Studio Showcase Bezel
   -------------------------------------------------------------------------- */
.showcase-bezel {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 16px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(99, 102, 241, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tab-selector-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tab-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--ease-smooth);
}

.tab-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.tab-pill.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.video-screen {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.video-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.showcase-caption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Benefits & Architecture (Cards Grid)
   -------------------------------------------------------------------------- */
.content-block {
  padding: 56px 0;
  position: relative;
}

.block-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}

.block-tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.block-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 26px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--ease-smooth);
}

.glass-card:hover {
  background: var(--bg-surface-elevated);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.card-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  margin-bottom: 18px;
}

.glass-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.glass-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   System Compatibility Specs
   -------------------------------------------------------------------------- */
.specs-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.specs-grid-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.spec-entry {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.spec-entry-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.spec-entry-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
}

.spec-entry-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.spec-entry-val {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   SmartScreen 2-Step Card
   -------------------------------------------------------------------------- */
.smartscreen-banner-glass {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 680px) {
  .smartscreen-banner-glass {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.smartscreen-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.smartscreen-text p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.smartscreen-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.chip-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Guarantee Card
   -------------------------------------------------------------------------- */
.guarantee-glass-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(99, 102, 241, 0.06) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.guarantee-glass-icon {
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.guarantee-glass-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 8px;
}

.guarantee-glass-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-accordion-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-trigger svg {
  transition: transform 0.2s ease;
  color: var(--text-dim);
  flex-shrink: 0;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.faq-row.open .faq-panel {
  max-height: 250px;
  padding-bottom: 16px;
}

.faq-row.open .faq-trigger svg {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 30px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Mobile Sticky Purchase Bar
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .hero-wrap {
    padding: 32px 0 24px;
  }

  .hero-main-title {
    font-size: clamp(26px, 7.2vw, 38px);
    letter-spacing: -0.8px;
    margin-bottom: 14px;
  }

  .hero-lead-text {
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.55;
  }

  .cta-pricing-unit {
    width: 100%;
    margin-bottom: 30px;
  }

  .btn-hero-primary {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    font-size: 16px;
    padding: 15px 24px;
    min-height: 50px;
  }

  .showcase-bezel {
    padding: 10px;
    border-radius: var(--radius-md);
  }

  .tab-selector-bar {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 2px 10px;
    gap: 6px;
    width: 100%;
  }

  .tab-selector-bar::-webkit-scrollbar {
    display: none;
  }

  .tab-pill {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 11.5px;
    padding: 6px 14px;
  }

  .content-block {
    padding: 40px 0;
  }

  .glass-card {
    padding: 20px 18px;
  }

  .specs-card-box {
    padding: 22px 16px;
  }

  .specs-grid-pills {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .spec-entry {
    padding: 10px 12px;
  }

  .spec-entry-val {
    font-size: 13.5px;
  }

  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 18px max(10px, env(safe-area-inset-bottom, 0px));
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
  }

  .mobile-sticky-meta .label {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
  }

  .mobile-sticky-meta .val {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
  }

  .mobile-sticky-cta {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
