
/* === RESET === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #050810;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === BG === */
.bg-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 80%);
}
.bg-glow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(129, 140, 248, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  animation: bgPulse 12s ease-in-out infinite alternate;
}
@keyframes bgPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}
.particle {
  position: fixed; width: 2px; height: 2px; background: #38bdf8;
  border-radius: 50%; pointer-events: none; z-index: -1;
  box-shadow: 0 0 8px #38bdf8; animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}

/* === HEADER === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 8, 16, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
  transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(5, 8, 16, 0.92);
  border-bottom-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: inherit; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #a855f7 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #050810; font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  transition: all 0.3s ease; position: relative; overflow: hidden;
  flex-shrink: 0;
}
.logo-mark::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.6s ease;
}
.logo:hover .logo-mark::before { transform: translateX(100%); }
.logo:hover .logo-mark { box-shadow: 0 0 30px rgba(56, 189, 248, 0.6); transform: rotate(5deg) scale(1.05); }
.logo-text {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-actions { display: flex; gap: 0.6rem; align-items: center; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem; border-radius: 9999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-ghost { color: #cbd5e1; border-color: rgba(148, 163, 184, 0.2); background: rgba(30, 41, 59, 0.4); }
.btn-ghost:hover { color: #38bdf8; border-color: rgba(56, 189, 248, 0.4); background: rgba(56, 189, 248, 0.08); transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white; box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.6s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6); }
.btn-large { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* === HERO === */
.hero {
  min-height: 100vh; padding: 8rem 1.5rem 4rem;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative;
}
.hero-content { max-width: 880px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 9999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #38bdf8; font-size: 0.85rem; font-weight: 500;
  margin-bottom: 1.75rem; animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: dotPulse 2s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 50%, #38bdf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero h1 .gradient { background: linear-gradient(135deg, #38bdf8, #818cf8, #a855f7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.3rem); color: #94a3b8; max-width: 640px; margin: 0 auto 2.5rem; line-height: 1.5; }
.hero-cta { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; justify-content: center; margin-top: 3.5rem; flex-wrap: wrap; }
.stat { text-align: center; min-width: 100px; }
.stat .num { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; background: linear-gradient(135deg, #38bdf8, #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat .label { font-size: 0.8rem; color: #64748b; margin-top: 0.25rem; }

/* === SECTIONS === */
.section { padding: 5rem 1.5rem; position: relative; }
.container { max-width: 1140px; margin: 0 auto; }
.section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; text-align: center; margin-bottom: 1rem; letter-spacing: -0.02em; background: linear-gradient(135deg, #f1f5f9, #cbd5e1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { text-align: center; color: #94a3b8; font-size: clamp(0.95rem, 1.5vw, 1.1rem); max-width: 640px; margin: 0 auto 3rem; }

/* === FEATURES === */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.feature {
  background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(56, 189, 248, 0.1);
  padding: 1.75rem; border-radius: 1rem;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  opacity: 0; transition: opacity 0.3s ease;
}
.feature:hover { border-color: rgba(56, 189, 248, 0.3); background: rgba(15, 23, 42, 0.6); transform: translateY(-4px); box-shadow: 0 10px 40px rgba(56, 189, 248, 0.1); }
.feature:hover::before { opacity: 1; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.15)); border: 1px solid rgba(56, 189, 248, 0.2); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.feature h3 { color: #f1f5f9; font-size: 1.1rem; margin-bottom: 0.4rem; }
.feature p { color: #94a3b8; font-size: 0.92rem; }

/* === PRICING (mobile-optimized) === */
.pricing { background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.5), transparent); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem; max-width: 1100px; margin: 0 auto;
  align-items: stretch;
}
.plan {
  background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(56, 189, 248, 0.15);
  padding: 2rem 1.75rem; border-radius: 1.25rem;
  text-align: center; position: relative; transition: all 0.3s ease;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
}
.plan:hover { border-color: rgba(56, 189, 248, 0.3); transform: translateY(-4px); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); }
.plan.featured {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.15);
}
.plan.featured::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 1.25rem; padding: 1px;
  background: linear-gradient(135deg, #38bdf8, #818cf8, #a855f7);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.plan .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  color: #050810; padding: 0.35rem 1rem; border-radius: 9999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
  white-space: nowrap;
}
.plan h3 { color: #38bdf8; font-size: 1.5rem; margin-bottom: 0.4rem; font-weight: 700; }
.plan .tagline { font-size: 0.85rem; color: #64748b; margin-bottom: 1.25rem; }
.plan .price {
  font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; margin: 1rem 0 0.5rem;
  line-height: 1;
  background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.plan .price .currency { font-size: 0.55em; vertical-align: top; margin-right: 0.1em; opacity: 0.9; }
.plan .price .period { font-size: 0.95rem; opacity: 0.5; font-weight: 400; margin-left: 0.25rem; display: inline-block; }
.plan .traffic {
  font-size: 0.88rem; color: #94a3b8; margin-bottom: 1.25rem;
  padding: 0.55rem 0.75rem; border-radius: 0.5rem;
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.08);
}
.plan ul { list-style: none; margin: 0 0 1.5rem; padding: 0; text-align: left; flex: 1; }
.plan ul li { padding: 0.5rem 0; color: #cbd5e1; font-size: 0.92rem; padding-left: 1.6rem; position: relative; line-height: 1.45; }
.plan ul li::before { content: "\2713"; position: absolute; left: 0; color: #38bdf8; font-weight: 700; }
.plan .btn { width: 100%; justify-content: center; }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(56, 189, 248, 0.1); border-radius: 0.75rem; margin-bottom: 0.75rem; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: rgba(56, 189, 248, 0.2); }
.faq-q { padding: 1.1rem 1.4rem; cursor: pointer; font-weight: 600; color: #f1f5f9; display: flex; justify-content: space-between; align-items: center; gap: 1rem; user-select: none; font-size: 0.95rem; }
.faq-q .arrow { color: #38bdf8; transition: transform 0.3s ease; font-size: 1.2rem; flex-shrink: 0; }
.faq-item.open .faq-q .arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 1.4rem; color: #94a3b8; font-size: 0.92rem; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 1.4rem 1.1rem; }

/* === CTA === */
.cta-section { text-align: center; padding: 5rem 1.5rem; background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.05)); }
.cta-section h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; background: linear-gradient(135deg, #f1f5f9, #38bdf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-section p { color: #94a3b8; margin-bottom: 2rem; font-size: 1.05rem; }

/* === FOOTER === */
footer { padding: 2rem 1.5rem; text-align: center; border-top: 1px solid rgba(56, 189, 248, 0.1); color: #64748b; font-size: 0.88rem; }
footer a { color: #38bdf8; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-inner { padding: 0.85rem 1rem; gap: 0.5rem; }
  .btn { padding: 0.55rem 0.95rem; font-size: 0.88rem; }
  .btn-large { padding: 0.9rem 1.6rem; font-size: 0.98rem; }
  .logo { font-size: 1.1rem; gap: 0.45rem; }
  .logo-mark { width: 32px; height: 32px; font-size: 1rem; border-radius: 8px; }
  .hero { padding: 6.5rem 1rem 3rem; min-height: auto; }
  .hero-badge { font-size: 0.75rem; padding: 0.35rem 0.85rem; margin-bottom: 1.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 0.6rem; max-width: 320px; margin: 0 auto; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 1.5rem; margin-top: 2.5rem; }
  .stat { min-width: 80px; }
  .section { padding: 3.5rem 1rem; }
  .section-subtitle { margin-bottom: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { padding: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1rem; max-width: 420px; }
  .plan { padding: 1.75rem 1.5rem; }
  .plan.featured { order: -1; }
  .faq-q { font-size: 0.88rem; padding: 1rem 1.2rem; }
  .faq-a { font-size: 0.88rem; padding: 0 1.2rem; }
  .faq-item.open .faq-a { padding: 0 1.2rem 1rem; }
  .cta-section { padding: 3.5rem 1rem; }
}

@media (max-width: 380px) {
  .header-inner { padding: 0.7rem 0.85rem; }
  .logo-text { display: none; }
  .btn-ghost { padding: 0.5rem 0.75rem; font-size: 0.82rem; }
  .btn-primary { padding: 0.5rem 0.85rem; font-size: 0.82rem; }
  .hero { padding: 5.5rem 0.85rem 3rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .section { padding: 3rem 0.85rem; }
  .plan { padding: 1.5rem 1.15rem; }
  .plan h3 { font-size: 1.3rem; }
  .plan .price { font-size: 1.85rem; }
  .plan ul li { font-size: 0.88rem; }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050810; }
::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.3); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(56, 189, 248, 0.5); }

/* === ANIMATIONS === */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
