/* ═══ RESET & VARIABLES ═══ */
:root {
  --bg: #060a13;
  --bg-card: #0d1321;
  --bg-card-hover: #131b2e;
  --surface: #1a2238;
  --border: rgba(0,255,255,0.08);
  --text: #e2e8f0;
  --text-muted: #8892a4;
  --accent: #00e5ff;
  --accent2: #7c3aed;
  --gradient: linear-gradient(135deg, #00e5ff, #7c3aed);
  --gradient2: linear-gradient(135deg, #00e5ff 0%, #06b6d4 50%, #7c3aed 100%);
  --font: 'Inter', -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
}

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

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

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--gradient2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--gradient);
  color: #000; font-weight: 700; font-size: 15px;
  border-radius: 12px; border: none; cursor: pointer;
  transition: all 0.3s; box-shadow: 0 4px 24px rgba(0,229,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,229,255,0.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text); font-weight: 600; font-size: 15px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer; transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { color: var(--text-muted); font-weight: 500; transition: color 0.3s; }
.btn-ghost:hover { color: var(--accent); }
.lang-switch { border: 1px solid rgba(255,255,255,0.15); padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; letter-spacing: 1px; }
.lang-switch:hover { border-color: var(--accent); }
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ═══ NAVBAR ═══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(6,10,19,0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.navbar.scrolled { background: rgba(6,10,19,0.95); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; }
.logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient);
  color: #000; font-weight: 900; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.3;
}
.hero-glow-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; left: -100px; }
.hero-glow-2 { width: 500px; height: 500px; background: var(--accent2); bottom: -200px; right: -100px; }
.hero-inner { position: relative; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--accent);
  margin-bottom: 32px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -2px; margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 640px; margin: 0 auto 40px; line-height: 1.8;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 80px; }

/* ═══ ENVELOPE ANIMATION ═══ */
.hero-visual { display: flex; justify-content: center; }
.envelope-container {
  position: relative; width: 200px; height: 200px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

.envelope {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 120px; height: 80px;
}
.envelope-body {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a2238, #0d1321);
  border: 2px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0,229,255,0.3), inset 0 0 20px rgba(0,229,255,0.05);
}
.envelope-flap {
  position: absolute; top: -1px; left: -1px; right: -1px;
  height: 45px;
  background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(124,58,237,0.15));
  border: 2px solid var(--accent);
  border-bottom: none;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  border-radius: 8px 8px 0 0;
}
.envelope-letter {
  position: absolute; top: -20px; left: 15px; right: 15px;
  height: 60px; padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  animation: letter-peek 4s ease-in-out infinite;
}
@keyframes letter-peek { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.letter-line { height: 3px; background: rgba(0,229,255,0.3); border-radius: 2px; margin-bottom: 6px; }
.letter-line.short { width: 60%; }

.orbit-ring {
  position: absolute; top: 50%; left: 50%;
  border: 1px solid rgba(0,229,255,0.1);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.ring-1 { width: 160px; height: 160px; animation: spin 20s linear infinite; }
.ring-2 { width: 200px; height: 200px; animation: spin 30s linear infinite reverse; }
@keyframes spin { to{transform:translate(-50%,-50%) rotate(360deg)} }

.particle {
  position: absolute; width: 4px; height: 4px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: twinkle 3s ease-in-out infinite;
}
.p1{top:10%;left:20%;animation-delay:0s} .p2{top:80%;left:70%;animation-delay:0.5s}
.p3{top:30%;right:10%;animation-delay:1s} .p4{bottom:20%;left:30%;animation-delay:1.5s}
.p5{top:50%;right:20%;animation-delay:2s;background:var(--accent2)} .p6{top:15%;right:30%;animation-delay:2.5s;background:var(--accent2)}
@keyframes twinkle { 0%,100%{opacity:0.3;transform:scale(1)} 50%{opacity:1;transform:scale(1.5)} }

/* ═══ STATS BAR ═══ */
.stats-bar {
  padding: 60px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 16px; }
.stat-icon { color: var(--accent); opacity: 0.8; }
.stat-number { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.stat-number::after { content: attr(data-suffix); }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 50px; background: var(--border); }

/* ═══ FEATURES ═══ */
.features { padding: 120px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.4s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,229,255,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(0,229,255,0.05);
}
.feature-icon-wrap {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 24px;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* ═══ HOW IT WORKS ═══ */
.how-it-works { padding: 120px 0; background: var(--bg-card); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step-card { position: relative; padding: 32px 24px; text-align: center; }
.step-number {
  font-size: 4rem; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; opacity: 0.3;
  line-height: 1; margin-bottom: 20px;
}
.step-line {
  position: absolute; top: 40px; right: -16px;
  width: 32px; height: 2px;
  background: var(--border);
}
.step-card:last-child .step-line { display: none; }
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ═══ INFRASTRUCTURE ═══ */
.infrastructure { padding: 120px 0; }
.infra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.infra-content .section-title { text-align: left; }
.infra-content .section-desc { margin: 0 0 32px; }
.infra-list { display: flex; flex-direction: column; gap: 16px; }
.infra-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }

.terminal {
  background: #0a0e17;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.terminal-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }
.terminal-title { margin-left: auto; font-size: 12px; color: var(--text-muted); }
.terminal-body { padding: 20px; font-family: 'JetBrains Mono', monospace; font-size: 13px; min-height: 280px; }
.term-line { margin-bottom: 6px; opacity: 0; animation: term-appear 0.3s forwards; }
.term-line:nth-child(1) { animation-delay: 0s; }
.term-prompt { color: var(--accent); }
.term-cmd { color: #e2e8f0; }
.term-success { color: #27ca40; }
.term-warn { color: #ffbd2e; }
.term-info { color: #8892a4; }
.term-value { color: var(--accent); }
@keyframes term-appear { to { opacity: 1; } }

/* ═══ PRICING ═══ */
.pricing { padding: 120px 0; background: var(--bg-card); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.pricing-card {
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
  position: relative;
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(0,229,255,0.1);
  transform: scale(1.05);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient);
  color: #000; font-size: 12px; font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase; letter-spacing: 1px;
}
.pricing-name { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.pricing-price { font-size: 3rem; font-weight: 900; margin-bottom: 8px; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.pricing-features { margin-bottom: 32px; }
.pricing-features li {
  padding: 8px 0; font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ═══ CTA ═══ */
.cta-section { padding: 120px 0; }
.cta-inner {
  text-align: center; padding: 80px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,229,255,0.15), transparent 70%);
}
.cta-inner h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; position: relative; }
.cta-inner p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; position: relative; }

/* ═══ FOOTER ═══ */
.footer { padding: 80px 0 0; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text); }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); padding: 4px 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding: 24px 0; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-line { display: none; }
  .infra-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.popular { transform: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: flex; }
  .hero-title { font-size: 2.5rem; letter-spacing: -1px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { flex-direction: column; gap: 24px; }
  .stat-divider { width: 50px; height: 1px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: center; }
}
