/*
 * iCore Unlock — Main Stylesheet
 * Design: Deep space dark + Indigo/Violet accent system
 */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-2: #18181f;
  --surface-3: #20202e;
  --accent: #2563eb;
  --accent-alt: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.25);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.08);
  --warning-border: rgba(245, 158, 11, 0.25);
  --success: #10b981;

  --text: #f9fafb;
  --text-muted: #9ca3af;
  --text-subtle: #6b7280;

  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(37, 99, 235, 0.3);

  --gradient: linear-gradient(135deg, var(--accent), var(--accent-alt));
  --gradient-text: linear-gradient(135deg, #93c5fd, #60a5fa);
  --gradient-hero:
    radial-gradient(ellipse 90% 70% at 75% 5%, rgba(37, 99, 235, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 15% 95%, rgba(29, 78, 216, 0.12) 0%, transparent 65%);

  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.08);

  --nav-h: 72px;
  --max-w: 1200px;
  --section-pad: 96px;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.7);
  --shadow-accent: 0 4px 24px rgba(37, 99, 235, 0.35);

  --t: 0.18s ease;
  --t-slow: 0.35s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.72; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: var(--section-pad) 0; }

.section-alt { background: var(--surface); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 580px; margin: 0 auto; font-size: 1.08rem; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.22);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--border-accent);
  color: #93c5fd;
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.84rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(10, 10, 15, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-slow), box-shadow var(--t-slow);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.96);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-logo img {
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--t);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.1);
}

.nav-links .nav-download {
  background: var(--gradient);
  color: #fff !important;
  padding: 8px 18px;
  margin-left: 10px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.4);
}

.nav-links .nav-download:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  background: var(--gradient) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO — FULL VIEWPORT
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2.5s infinite;
  flex-shrink: 0;
}

.hero-content h1 { margin-bottom: 24px; }

.hero-content > p {
  font-size: 1.13rem;
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg { color: var(--accent); flex-shrink: 0; }
.hero-meta-item span { font-size: 0.83rem; color: var(--text-muted); }

/* Hero visual / image placeholder */
.hero-visual {
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  display: block;
}

.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 300px;
  border: 1.5px dashed rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(29, 78, 216, 0.04) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

.img-placeholder-icon { color: rgba(37, 99, 235, 0.35); }

.img-placeholder-label {
  font-size: 0.75rem;
  color: rgba(37, 99, 235, 0.45);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-float-card {
  position: absolute;
  bottom: -18px;
  left: -28px;
  background: rgba(18, 18, 26, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(16px);
  min-width: 210px;
}

.hero-float-card-dot {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.hero-float-card-text { font-size: 0.82rem; }
.hero-float-card-text strong { display: block; color: var(--text); font-size: 0.88rem; margin-bottom: 1px; }
.hero-float-card-text span { color: var(--text-subtle); }

/* ============================================
   PAGE HERO (smaller — for inner pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 72px;
  overflow: hidden;
  background: var(--bg);
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.5;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 20px; }
.page-hero p { font-size: 1.08rem; max-width: 580px; margin: 0 auto; }

/* ============================================
   SERVICE CARDS (Homepage grid)
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--t-slow);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--t);
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
  transition: all var(--t);
}

.service-card:hover .service-icon {
  background: rgba(37, 99, 235, 0.18);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.25);
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; margin-bottom: 28px; line-height: 1.7; }

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--t);
}

.service-card-link:hover { gap: 10px; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps-connector {
  position: absolute;
  top: 27px;
  left: calc(100% / 6 + 8px);
  right: calc(100% / 6 + 8px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), transparent);
  pointer-events: none;
}

.step { text-align: center; }

.step-number {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
}

.step h3 { margin-bottom: 12px; }
.step p { font-size: 0.9rem; }

/* ============================================
   DISCLAIMER BANNER
   ============================================ */
.disclaimer-section { padding: 0; }

.disclaimer-wrap {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 96px;
}

.disclaimer-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--warning);
}

.disclaimer-content h4 {
  color: var(--warning);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.disclaimer-content p {
  color: rgba(245, 158, 11, 0.75);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq-item.open { border-color: var(--border-accent); }

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color var(--t);
  background: none;
}

.faq-question:hover { color: #93c5fd; }
.faq-item.open .faq-question { color: #93c5fd; }

.faq-icon {
  width: 26px;
  height: 26px;
  background: var(--surface-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t), background var(--t);
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
}

.faq-answer-inner p { font-size: 0.9rem; }

/* ============================================
   COMPATIBILITY TABLE
   ============================================ */
.compat-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}

.compat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compat-table th {
  background: var(--surface-3);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.compat-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.compat-table tr:last-child td { border-bottom: none; }
.compat-table tr:hover td { background: var(--glass-bg); }
.compat-table td:first-child { color: var(--text); font-weight: 500; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.badge-blue {
  background: rgba(37, 99, 235, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.22);
}

/* ============================================
   PROCESS STEPS (service pages)
   ============================================ */
.process-list {
  display: flex;
  flex-direction: column;
  max-width: 700px;
  margin: 0 auto;
}

.process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.process-item:last-child { border-bottom: none; }

.process-num {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.process-content h4 { margin-bottom: 8px; font-size: 1rem; }
.process-content p { font-size: 0.9rem; }

/* ============================================
   PRICING PLACEHOLDER
   ============================================ */
.pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}

.pricing-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  margin: 8px 0;
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-price sub { font-size: 1rem; font-weight: 400; color: var(--text-muted); vertical-align: super; }

.pricing-note { font-size: 0.84rem; margin-bottom: 32px; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-feature svg { color: var(--success); flex-shrink: 0; }

/* ============================================
   DOWNLOAD PAGE
   ============================================ */
.download-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}

.download-card-icon {
  width: 68px;
  height: 68px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.download-card h2 { font-size: 1.6rem; margin-bottom: 10px; }
.download-card p { font-size: 0.9rem; margin-bottom: 0; }

.download-meta {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.download-meta-item { font-size: 0.82rem; color: var(--text-subtle); }
.download-meta-item strong { color: var(--text-muted); display: block; }

.sysreq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.sysreq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px;
}

.sysreq-item h4 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 8px;
}

.sysreq-item p { font-size: 0.88rem; margin: 0; }

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.install-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.install-step-num {
  width: 28px;
  height: 28px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
}

.install-step-content h4 { font-size: 0.92rem; margin-bottom: 4px; }
.install-step-content p { font-size: 0.85rem; margin: 0; }

/* ============================================
   SUPPORT PAGE
   ============================================ */
.support-form-wrap {
  max-width: 660px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-group label .optional {
  color: var(--text-subtle);
  font-weight: 400;
  font-size: 0.78rem;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.94rem;
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-control::placeholder { color: var(--text-subtle); }

textarea.form-control { resize: vertical; min-height: 130px; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.support-info-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.support-info-card h3 { margin-bottom: 10px; }
.support-info-card p { font-size: 0.9rem; }

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal-content p { margin-bottom: 16px; font-size: 0.94rem; }
.legal-content ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.legal-content ul li { color: var(--text-muted); padding: 4px 0; font-size: 0.94rem; }
.legal-content .last-updated { font-size: 0.84rem; color: var(--text-subtle); margin-bottom: 40px; border-top: none !important; padding-top: 0 !important; }

.legal-alert {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-alert p { color: rgba(245, 158, 11, 0.85); margin: 0; font-size: 0.9rem; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { padding: var(--section-pad) 0; }

.cta-inner {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
}

.cta-inner > * { position: relative; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p { max-width: 480px; margin: 0 auto 36px; }

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-on-scroll.visible { opacity: 1; transform: none; }
.animate-on-scroll[data-delay="1"] { transition-delay: 0.08s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.16s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.24s; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 250px;
  line-height: 1.72;
}

.footer-disclaimer-snippet {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: rgba(245, 158, 11, 0.72);
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-subtle);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t);
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: var(--text-subtle); transition: color var(--t); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-content { animation: fadeInUp 0.65s ease both; }
.hero-visual { animation: fadeInUp 0.65s 0.18s ease both; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-inner { gap: 40px; }
  .download-card { grid-template-columns: 1fr; }
  .download-card-action { text-align: left; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform var(--t-slow);
    z-index: 999;
  }

  .nav-links.open { transform: none; }

  .nav-links a {
    padding: 13px 16px;
    font-size: 0.94rem;
    border-radius: var(--radius-sm);
  }

  .nav-links .nav-download {
    margin-left: 0;
    text-align: center;
    margin-top: 8px;
  }

  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps-connector { display: none; }

  .services-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .support-form-wrap, .pricing-card, .download-card, .cta-inner { padding: 32px 24px; }

  .form-row { grid-template-columns: 1fr; }

  .sysreq-grid { grid-template-columns: 1fr; }

  .disclaimer-wrap { flex-direction: column; gap: 14px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-meta { flex-wrap: wrap; gap: 16px; }

  .cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   UTILITY: Two-column content grid (service pages)
   ============================================ */
.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.support-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: flex-start;
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .content-grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-grid-2 .img-placeholder {
    display: none;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-cta { flex-direction: column; align-items: flex-start; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .legal-content { padding: 48px 0 72px; }
}
