@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

:root {
  --bg: rgba(7, 26, 31, 1);
  --fg: rgba(242, 242, 242, 1);
  --card-bg: rgba(13, 47, 51, 0.6);
  --card-border: rgba(0, 224, 198, 0.15);
  --primary: rgba(0, 224, 198, 1);
  --accent: rgba(0, 255, 200, 1);
  --muted: rgba(255, 255, 255, 0.6);
  --border: rgba(0, 224, 198, 0.12);
  --secondary-bg: rgba(13, 47, 51, 0.4);
  --gradient-accent: linear-gradient(135deg, rgba(0, 224, 198, 1), rgba(0, 255, 200, 1));
  --shadow-glow: 0 0 30px rgba(0, 224, 198, 0.2);
  --shadow-glow-strong: 0 0 60px rgba(0, 224, 198, 0.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; }

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

/* ===== HEADER ===== */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 26, 31, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 224, 198, 0.1);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 16px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo-link { display: flex; align-items: center; gap: 8px; }
.logo-icon {
  width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--gradient-accent);
}
.logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.125rem; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a {
  padding: 8px 12px; border-radius: 8px; font-size: 0.875rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.6); transition: color 0.2s;
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: inline-block; }
.mobile-toggle {
  display: none; background: none; border: none; color: var(--fg); padding: 8px; cursor: pointer;
}
.mobile-nav {
  display: none; flex-direction: column; gap: 4px; padding: 16px;
  background: rgba(7, 26, 31, 0.95); border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px; border-radius: 8px; font-size: 0.875rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.6); transition: all 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--primary); background: rgba(13, 47, 51, 0.6); }

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: block; }
  .header-cta-desktop { display: none !important; }
}
@media (min-width: 1025px) {
  .mobile-toggle { display: none; }
}

/* ===== BUTTONS ===== */
.glow-btn {
  background: var(--gradient-accent);
  color: rgba(7, 26, 31, 1); font-weight: 700; padding: 14px 32px; border-radius: 50px;
  font-size: 1rem; transition: all 0.3s; box-shadow: 0 0 20px rgba(0, 224, 198, 0.3);
  display: inline-block; cursor: pointer; border: none; font-family: 'Space Grotesk', sans-serif;
}
.glow-btn:hover { box-shadow: var(--shadow-glow-strong); transform: translateY(-2px) scale(1.02); }
.glow-btn.sm { padding: 8px 20px; font-size: 0.875rem; }

.glow-btn-outline {
  background: transparent; color: var(--primary); font-weight: 600; padding: 14px 32px;
  border-radius: 50px; font-size: 1rem; transition: all 0.3s;
  border: 1.5px solid rgba(0, 224, 198, 0.5); display: inline-block; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
}
.glow-btn-outline:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); background: rgba(0, 224, 198, 0.08); }

/* ===== LAYOUT ===== */
.main-content { padding-top: 64px; position: relative; z-index: 10; }
.section-container { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.section-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700;
  color: rgba(255, 255, 255, 0.95); margin-bottom: 1.5rem; line-height: 1.2;
}
.section-subtitle { font-size: 1.125rem; color: rgba(255, 255, 255, 0.6); line-height: 1.8; max-width: 700px; }

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

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 16px; transition: all 0.3s;
}
.glass-card:hover { border-color: rgba(0, 224, 198, 0.3); box-shadow: var(--shadow-glow); transform: translateY(-4px); }

/* ===== SEO CONTENT ===== */
.seo-content { color: rgba(255, 255, 255, 0.75); line-height: 1.9; font-size: 1.05rem; }
.seo-content p { margin-bottom: 1.25rem; }
.seo-content b, .seo-content strong { color: rgba(0, 224, 198, 0.9); font-weight: 600; }
.seo-content h2 { font-size: 2rem; font-weight: 700; color: rgba(255, 255, 255, 0.95); margin-top: 3rem; margin-bottom: 1.25rem; }
.seo-content h3 { font-size: 1.5rem; font-weight: 600; color: rgba(255, 255, 255, 0.9); margin-top: 2rem; margin-bottom: 1rem; }
.seo-content ul, .seo-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.seo-content li { margin-bottom: 0.5rem; position: relative; }
.seo-content ul li::before { content: '▸'; color: rgba(0, 224, 198, 0.8); position: absolute; left: -1.25rem; }

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  overflow: hidden; border-radius: 12px; border: 1px solid rgba(0, 224, 198, 0.15);
}
.comparison-table th {
  background: rgba(0, 224, 198, 0.1); padding: 16px 20px; text-align: left;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--primary);
  font-size: 0.95rem; border-bottom: 1px solid rgba(0, 224, 198, 0.15);
}
.comparison-table td {
  padding: 14px 20px; border-bottom: 1px solid rgba(0, 224, 198, 0.08);
  color: rgba(255, 255, 255, 0.8); font-size: 0.95rem;
}
.comparison-table tr:hover td { background: rgba(0, 224, 198, 0.04); }
.comparison-table .highlight { color: var(--primary); font-weight: 600; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid rgba(0, 224, 198, 0.12); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden; transition: all 0.3s;
}
.faq-item:hover { border-color: rgba(0, 224, 198, 0.25); }
.faq-question {
  padding: 20px 24px; background: rgba(13, 47, 51, 0.4); cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: rgba(255, 255, 255, 0.9);
  display: flex; justify-content: space-between; align-items: center; user-select: none;
}
.faq-question svg { transition: transform 0.3s; flex-shrink: 0; }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.4s;
  color: rgba(255, 255, 255, 0.7); line-height: 1.8;
}
.faq-answer.open { padding: 0 24px 20px; max-height: 500px; }

/* ===== STEP NUMBER ===== */
.step-number {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-accent);
  color: rgba(7, 26, 31, 1); font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 1.25rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ===== CALCULATOR ===== */
.calc-input {
  background: rgba(13, 47, 51, 0.6); border: 1px solid rgba(0, 224, 198, 0.2);
  border-radius: 10px; padding: 12px 16px; color: rgba(255, 255, 255, 0.9);
  font-size: 1rem; width: 100%; outline: none; transition: border-color 0.3s;
}
.calc-input:focus { border-color: rgba(0, 224, 198, 0.5); box-shadow: 0 0 15px rgba(0, 224, 198, 0.1); }

/* ===== CTA BLOCK ===== */
.cta-block { margin-top: 64px; margin-bottom: 64px; }
.cta-block-inner {
  background: var(--card-bg); border: 1px solid var(--card-border);
  backdrop-filter: blur(16px); border-radius: 16px; padding: 40px 56px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-block-inner .cta-bg {
  position: absolute; inset: 0; opacity: 0.2;
  background: radial-gradient(ellipse at center, rgba(0, 224, 198, 0.15), transparent 70%);
}
.cta-block-inner .cta-content { position: relative; z-index: 1; }
.cta-block-inner h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.75rem; font-weight: 700; color: rgba(255, 255, 255, 0.95); margin-bottom: 16px; }
.cta-block-inner p { color: rgba(255, 255, 255, 0.6); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ===== GRID HELPERS ===== */
.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-col { display: flex; flex-direction: column; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.items-start { align-items: flex-start; }
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.mt-16 { margin-top: 64px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.my-8 { margin-top: 32px; margin-bottom: 32px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.overflow-x-auto { overflow-x: auto; }

.step-row { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 24px; }
.step-row h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 700; color: rgba(255, 255, 255, 0.95); margin-bottom: 8px; }
.step-row p { color: rgba(255, 255, 255, 0.6); line-height: 1.6; }

.stat-card { text-align: center; }
.stat-card .stat-value { font-size: 1.75rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.stat-card .stat-label { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); margin-top: 4px; }

.advantage-card .adv-icon { font-size: 1.75rem; margin-bottom: 16px; }
.advantage-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 700; color: rgba(255, 255, 255, 0.95); margin-bottom: 12px; }
.advantage-card p { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; line-height: 1.6; }

.calc-result { padding: 16px; border-radius: 8px; background: rgba(0, 224, 198, 0.06); margin-bottom: 16px; }
.calc-result .label { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 4px; }
.calc-result .value { font-size: 1.5rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }

/* ===== PARTICLE CANVAS ===== */
#particle-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute; filter: blur(60px); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 16px; max-width: 56rem; margin: 0 auto; }
.hero h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 24px; }
.hero .hero-sub { font-size: 1.125rem; color: rgba(255, 255, 255, 0.6); max-width: 40rem; margin: 0 auto 40px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.hero-logo {
  width: 80px; height: 80px; margin: 0 auto 32px;
  animation: float 6s ease-in-out infinite;
}
.hero-logo-inner {
  width: 100%; height: 100%; background: var(--gradient-accent); opacity: 0.9;
  animation: morph 8s ease-in-out infinite;
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== FOOTER ===== */
#site-footer {
  position: relative; z-index: 10; border-top: 1px solid var(--border);
  background: rgba(7, 26, 31, 0.9);
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 64px 16px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-col a.glow-btn { color: rgba(7, 26, 31, 1); display: inline-block; }
.footer-col a.glow-btn:hover { color: rgba(7, 26, 31, 1); }
.footer-col p { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; line-height: 1.6; }
.footer-bottom {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { color: rgba(255, 255, 255, 0.4); font-size: 0.75rem; }

/* ===== ANIMATIONS ===== */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes morph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 224, 198, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 224, 198, 0.5); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-morph { animation: morph 8s ease-in-out infinite; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section-container { padding: 48px 16px; }
  .section-title { font-size: 1.75rem; }
  .hero h1 { font-size: 1.75rem; }
  .seo-content h2 { font-size: 1.5rem; }
  .seo-content h3 { font-size: 1.25rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-block-inner { padding: 32px 20px; }
  .cta-block-inner h3 { font-size: 1.375rem; }
  .stat-card .stat-value { font-size: 1.5rem; }
}
@media (min-width: 769px) {
  .hero h1 { font-size: 3.5rem; }
}
@media (min-width: 1025px) {
  .hero h1 { font-size: 4rem; }
}
