@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
  --bg-color: #050505;
  --card-bg: #0c0c0c;
  --text-main: #ffffff;
  --text-dim: #a1a1aa;
  --accent: #00f2fe;
  --border: #1f1f23;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
body { background: var(--bg-color); color: var(--text-main); line-height: 1.8; }

/* ── HEADER ── */
header {
  padding: 0.3rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-color);
}
.slogan-img { height: 145px; width: auto; max-width: 460px; object-fit: contain; }

nav { display: flex; align-items: center; }
nav a { color: var(--text-dim); text-decoration: none; margin-left: 2rem; font-size: 0.9rem; transition: color 0.3s; }
nav a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-main); transition: 0.3s; border-radius: 2px; }

/* ── SECTIONS ── */
section { padding: 8rem 10%; }
h1 { font-size: 4rem; margin-bottom: 2rem; line-height: 1.1; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; color: var(--accent); }
h3 { margin-bottom: 1rem; font-size: 1.3rem; }
h4 { margin-bottom: 0.75rem; font-size: 1.1rem; }

/* ── GRID & CARDS ── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.card { background: var(--card-bg); border: 1px solid var(--border); padding: 3rem; border-radius: 4px; }
.card img { width: 100%; height: 250px; object-fit: cover; border-radius: 4px; margin-bottom: 1.5rem; border: 1px solid var(--border); }

/* ── BUTTON ── */
.btn {
  display: inline-block; padding: 1.2rem 3rem; background: var(--accent); color: #000;
  text-decoration: none; font-weight: 800; margin-top: 1rem; border: none; cursor: pointer;
  font-size: 0.9rem; letter-spacing: 0.02em; transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; }

/* ── FORMS ── */
label { display: block; margin-bottom: 0.4rem; color: var(--text-dim); font-size: 0.85rem; }
input, textarea {
  width: 100%; padding: 1rem; margin-bottom: 1.2rem;
  background: #111; border: 1px solid var(--border); color: #fff;
  border-radius: 4px; font-size: 1rem; font-family: 'Inter', sans-serif;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }

/* ── FOOTER ── */
footer { padding: 4rem 10%; border-top: 1px solid var(--border); text-align: center; color: var(--text-dim); }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; margin-top: 2rem; }
.pricing-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 4px; padding: 3rem; position: relative; }
.pricing-card.featured { border-color: var(--accent); }
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -1px; right: 2rem;
  background: var(--accent); color: #000;
  font-size: 0.7rem; font-weight: 800; padding: 0.3rem 0.8rem; letter-spacing: 0.1em;
}
.price { font-size: 3.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin: 1.5rem 0 0.5rem; }
.price span { font-size: 1rem; color: var(--text-dim); font-weight: 400; }
.price-desc { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.feature-list { list-style: none; margin-bottom: 2.5rem; }
.feature-list li { color: var(--text-dim); font-size: 0.9rem; padding: 0.5rem 0; border-bottom: 1px solid #111; }
.feature-list li::before { content: '✓ '; color: var(--accent); font-weight: 800; }
.plan-title { font-size: 1.4rem; font-weight: 700; color: var(--text-main); }

/* ══════════════════════════════════════════
   MOBILE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  header { padding: 1rem 5%; flex-wrap: wrap; gap: 0.5rem; }
  .slogan-img { height: 80px; max-width: 240px; }

  .nav-toggle { display: flex; }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
  }
  nav.open { display: flex; }
  nav a { margin-left: 0; padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--border); font-size: 1rem; }

  section { padding: 4rem 5%; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }

  .grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .card { padding: 1.75rem; }

  .btn { padding: 1rem 2rem; width: 100%; text-align: center; display: block; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 2rem; }
  .price { font-size: 2.8rem; }

  footer { padding: 2.5rem 5%; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .slogan-img { height: 65px; max-width: 190px; }
}

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */

/* Fade-up reveal — applied by JS on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.54s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance — instant on load */
.hero-animate {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-animate-delay {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.hero-animate-delay2 {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Card hover lift */
.card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s,
              box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 242, 254, 0.08);
}

/* Button pulse on hover */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover::after {
  transform: translateX(0);
}

/* Nav link animated underline */
nav a {
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Accent glow pulse on h2 */
h2 {
  position: relative;
}

/* Pricing card featured glow */
.pricing-card.featured {
  animation: featuredPulse 3s ease-in-out infinite;
}
@keyframes featuredPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
  50%       { box-shadow: 0 0 30px 4px rgba(0, 242, 254, 0.1); }
}

/* Page load fade in */
body {
  animation: bodyFade 0.4s ease both;
}
@keyframes bodyFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Cursor glow dot (desktop only) */
#cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,242,254,0.055) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease;
  z-index: 0;
  display: none;
}
@media (hover: hover) {
  #cursor-glow { display: block; }
}