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

:root {
  --bg-primary: #050A0F;
  --bg-secondary: #0D1520;
  --bg-card: #111D2B;
  --accent: #06B6D4;
  --accent-light: #22D3EE;
  --accent-glow: rgba(6, 182, 212, 0.15);
  --accent-glow-strong: rgba(6, 182, 212, 0.25);
  --text-primary: #F0F9FF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(6, 182, 212, 0.2);
  --border-card: rgba(255,255,255,0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.35; }
p { color: var(--text-secondary); }

.accent { color: var(--accent); }
.accent-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

/* ===== CONTAINER ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px 28px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #050A0F;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(6,182,212,0.4);
  color: #050A0F;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.nav-links a:hover { color: var(--text-primary); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switcher {
  display: flex;
  gap: 6px;
}
.lang-switcher a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  transition: all var(--transition);
}
.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--accent);
  background: var(--accent-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(5, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-card);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-card);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 8px; }
.mobile-menu .lang-switcher { padding-top: 8px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(ellipse at center, rgba(6,182,212,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.hero-badge::before { content: '●'; font-size: 0.6rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

.hero h1 { margin-bottom: 20px; }
.hero p { font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-card);
}
.stat-item { }
.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-stack {
  position: relative;
  width: 360px;
  height: 360px;
}
.hero-glow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 0 60px var(--accent-glow), 0 20px 60px rgba(0,0,0,0.4);
  position: absolute;
  width: 100%;
}
.hero-glow-card .card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.hero-glow-card h3 { color: var(--text-primary); margin-bottom: 8px; }
.hero-glow-card p { font-size: 0.9rem; }

.floating-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.floating-badge.top-right { top: -20px; right: -20px; }
.floating-badge.bottom-left { bottom: -20px; left: -20px; }

/* ===== SECTIONS ===== */
section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ===== FEATURES ===== */
.features { background: var(--bg-secondary); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(6,182,212,0.1);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  display: block;
}
.feature-card h3 { color: var(--text-primary); margin-bottom: 10px; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #050A0F;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-number {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pricing-name { font-size: 1.35rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.pricing-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-card);
}
.price-currency { font-size: 1.5rem; font-weight: 700; color: var(--accent); padding-top: 6px; }
.price-amount { font-size: 3.5rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; font-style: italic; }

/* ===== FAQ ===== */
.faq { background: var(--bg-secondary); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-primary);
}
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { font-size: 1.05rem; margin-bottom: 36px; }
.cta-section .btn { font-size: 1rem; padding: 16px 40px; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(6,182,212,0.08);
}
.blog-card-img {
  height: 180px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border-card);
}
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 1rem; color: var(--text-primary); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 0.88rem; margin-bottom: 16px; }
.coming-soon-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 4px 10px;
}

/* ===== BLOG PAGE ===== */
.blog-page-header {
  padding: 120px 0 60px;
  text-align: center;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  transition: color var(--transition);
}
.back-link:hover { color: var(--accent); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; max-width: 240px; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-col ul li a:hover { color: var(--accent); }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}
.social-link svg { width: 18px; height: 18px; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { text-decoration: underline; }

/* ===== SUPPORT / LEGAL PAGES ===== */
.legal-page { padding: 120px 0 80px; }
.legal-page h1 { margin-bottom: 12px; }
.legal-meta { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 48px; }
.legal-content h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.legal-content p { margin-bottom: 14px; font-size: 0.95rem; }
.legal-content ul { padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.legal-content ul li { font-size: 0.95rem; color: var(--text-secondary); }

/* ===== ARTICLE PAGE ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-top: 100px;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-secondary); }
.breadcrumb-sep { color: var(--text-muted); }

.article-page { padding-bottom: 96px; }
.article-header { margin-bottom: 48px; }
.article-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}
.article-header h1 { margin-bottom: 20px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-card);
}
.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-body {
  max-width: 760px;
}
.article-body h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 48px 0 16px;
  padding-top: 16px;
}
.article-body h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 32px 0 12px;
}
.article-body p {
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary);
}
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul li {
  padding-left: 24px;
  position: relative;
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.article-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.article-body ol { list-style: decimal; }
.article-body ol li {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 4px;
}
.article-body strong { color: var(--text-primary); font-weight: 600; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body a:hover { color: var(--accent-light); }

.article-callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 32px 0;
}
.article-callout p { margin: 0; color: var(--text-secondary); }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.9rem;
}
.comparison-table th {
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-card);
  color: var(--text-secondary);
  vertical-align: top;
}
.comparison-table tr:hover td { background: var(--bg-card); }
.comparison-table .check { color: var(--accent); font-weight: 700; }

.article-source {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-card);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-source a { color: var(--accent); }

.article-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 48px;
  text-align: center;
  box-shadow: 0 0 40px var(--accent-glow);
}
.article-cta h3 { color: var(--text-primary); margin-bottom: 12px; }
.article-cta p { margin-bottom: 24px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-right .lang-switcher { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 60px 0; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 24px; }
  .hero-visual { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .blog-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .hero-stats { gap: 16px; }
}
