/* ============================================================
   STRATOS DIGITAL — Main Stylesheet
   Brand: Dark-mode-first | Electric Purple / Cyan / Mint
   Fonts: Orbitron (display) | Outfit (body) | Share Tech Mono (data)
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --purple: #6C5CE7;
  --cyan: #00D2FF;
  --mint: #00F5A0;
  --bg-deep: #0A0A12;
  --bg-card: #12121E;
  --bg-hover: #1A1A2E;
  --text-primary: #E8E8F0;
  --text-muted: #7878A0;
  --border-subtle: rgba(255,255,255,0.04);
  --border-accent: rgba(0,210,255,0.15);
  --grad-brand: linear-gradient(135deg, #6C5CE7, #00D2FF, #00F5A0);
  --grad-text: linear-gradient(90deg, #00D2FF, #A8E8FF, #E8E8F0, #B8FFE0, #00F5A0, #00D2FF);
  --grad-cta: linear-gradient(135deg, #6C5CE7, #00D2FF);
  --grad-glow: radial-gradient(ellipse, rgba(108,92,231,0.08) 0%, transparent 50%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --nav-height: 120px;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--mint); }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: 4px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); letter-spacing: 3px; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1rem; font-weight: 500; letter-spacing: 4px; color: var(--text-muted); }

.font-mono { font-family: 'Share Tech Mono', monospace; }
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-cyan { color: var(--cyan); }
.text-mint { color: var(--mint); }
.text-purple { color: var(--purple); }
.text-muted { color: var(--text-muted); }

/* --- Layout --- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 60px 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 48px; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10,10,18,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(10,10,18,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { height: 80px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--grad-cta);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  background: var(--grad-cta);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,92,231,0.35);
  color: #fff;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--grad-cta);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,92,231,0.35);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--border-accent);
}
.btn-outline:hover {
  background: rgba(0,210,255,0.06);
  border-color: var(--cyan);
  transform: translateY(-2px);
  color: var(--cyan);
}
.btn-mint {
  font-weight: 700;
  background: linear-gradient(135deg, #00D2FF, #00F5A0);
  color: #fff;
}
.btn-mint:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,245,160,0.3);
  color: #fff;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.card-highlight {
  border-color: var(--purple);
  position: relative;
}
.card-highlight::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  background: var(--grad-brand);
  z-index: -1;
  opacity: 0.15;
}

/* --- Section Headers --- */
.section-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { margin-bottom: 20px; }
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.9;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero background effects */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(108,92,231,0.08);
  top: 10%;
  right: -10%;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(0,210,255,0.05);
  bottom: 10%;
  left: -5%;
}

/* --- Background Grid --- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  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;
}

/* --- Stat counters --- */
.stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-value {
  font-family: 'Share Tech Mono', monospace;
  font-size: 2.4rem;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- Pricing Table --- */
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  justify-content: center;
}
.pricing-toggle span {
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pricing-toggle span.active { color: var(--cyan); }
.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--bg-hover);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: background var(--transition);
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  transition: transform var(--transition);
}
.toggle-switch.annual::after { transform: translateX(22px); }
.toggle-switch.annual { background: rgba(0,210,255,0.15); }

.pricing-card .price {
  font-family: 'Share Tech Mono', monospace;
  font-size: 2.8rem;
  color: var(--text-primary);
  line-height: 1;
}
.pricing-card .price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 4px;
}
.pricing-card .price-setup {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.feature-list { margin: 24px 0; }
.feature-list li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.feature-list li:last-child { border-bottom: none; }
.feature-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0,245,160,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
.feature-check svg { width: 10px; height: 10px; }

/* --- Separator --- */
.separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
  margin: 0;
  border: none;
}

/* --- Tag / Badge --- */
.tag {
  display: inline-block;
  font-family: 'Orbitron', monospace;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid;
}
.tag-cyan { color: var(--cyan); border-color: rgba(0,210,255,0.25); background: rgba(0,210,255,0.06); }
.tag-mint { color: var(--mint); border-color: rgba(0,245,160,0.25); background: rgba(0,245,160,0.06); }
.tag-purple { color: var(--purple); border-color: rgba(108,92,231,0.25); background: rgba(108,92,231,0.06); }

/* --- Footer --- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 320px;
}
.footer-heading {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-parent {
  font-family: 'Orbitron', monospace;
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(120,120,160,0.5);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.cookie-banner a { color: var(--cyan); }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-accept { background: var(--grad-cta); color: #fff; }
.cookie-decline { background: var(--bg-hover); color: var(--text-muted); border: 1px solid var(--border-subtle); }

/* --- Chat Widget Trigger --- */
.chat-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-cta);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(108,92,231,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.chat-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(108,92,231,0.5);
}
.chat-trigger svg { width: 24px; height: 24px; fill: #fff; }

/* --- Page Header (interior pages) --- */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--grad-glow);
  pointer-events: none;
}
.breadcrumb {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--cyan); }

/* --- FAQ Accordion --- */
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--cyan); }
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Contact Form --- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,210,255,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); opacity: 0.5; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10,10,18,0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-toggle { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + 40px); padding-bottom: 60px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .stats { gap: 24px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-banner { flex-direction: column; text-align: center; }
  .pricing-card .price { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .card { padding: 24px; }
  h1 { font-size: 1.6rem; }
  .btn { padding: 12px 24px; font-size: 0.65rem; }
}
