/* ========== Base ========== */
:root {
  --bg: #0a0f1e;
  --bg-alt: #0d1428;
  --surface: #111a33;
  --surface-2: #16203d;
  --border: rgba(139, 162, 255, 0.14);
  --text: #e8ecf8;
  --muted: #9aa6c4;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --gradient: linear-gradient(120deg, #3b82f6, #8b5cf6);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(2, 6, 23, 0.55);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: "Sora", sans-serif; line-height: 1.15; }

img { max-width: 100%; display: block; }

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

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

.pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59, 130, 246, 0.08);
  margin-bottom: 18px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(139, 162, 255, 0.08); transform: translateY(-2px); }

.btn-small { padding: 10px 20px; font-size: 0.88rem; }
.btn-full { width: 100%; }

/* ========== Nav ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.brand-name .amp { color: var(--violet); }
.brand-sub { font-weight: 400; color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}
.hero-glow-1 { width: 480px; height: 480px; background: var(--blue); top: -160px; left: -120px; }
.hero-glow-2 { width: 420px; height: 420px; background: var(--violet); bottom: -180px; right: -100px; }
.hero-glow-3 { width: 500px; height: 500px; background: var(--violet); top: -200px; right: -150px; opacity: 0.2; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }

.stat { display: flex; flex-direction: column; }
.stat-num, .stat-plus {
  font-family: "Sora", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  display: inline;
}
.stat-num { color: var(--text); }
.stat-plus { color: var(--blue); }
.stat > .stat-num { display: inline-block; }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

/* Hero visual mockup */
.hero-visual { position: relative; min-height: 380px; }

.mock-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mock-main {
  padding: 24px;
  position: relative;
  z-index: 1;
}

.mock-header { display: flex; gap: 6px; margin-bottom: 20px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }

.mock-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.mock-label { color: var(--muted); }
.mock-value.up { color: #34d399; font-weight: 600; }

.mock-bar {
  height: 8px;
  background: rgba(139, 162, 255, 0.1);
  border-radius: 99px;
  margin-bottom: 20px;
  overflow: hidden;
}
.mock-bar-fill {
  height: 100%;
  width: var(--w);
  background: var(--gradient);
  border-radius: 99px;
  animation: fillIn 1.4s ease both;
}
@keyframes fillIn { from { width: 0; } }

.mock-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  z-index: 2;
  animation: floatY 5s ease-in-out infinite;
}
.mock-float strong { display: block; font-size: 0.9rem; }
.mock-float span { font-size: 0.78rem; color: var(--muted); }
.mock-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 10px;
  font-size: 1.1rem;
}
.mock-callback { top: -28px; right: -8px; }
.mock-social { bottom: -24px; left: -16px; animation-delay: 2.5s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== Trust bar ========== */
.trustbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg-alt);
  text-align: center;
}
.trustbar p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.75;
}

/* ========== Sections ========== */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--muted); }

/* ========== Services ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: var(--shadow);
}

.service-card.featured {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1)), linear-gradient(160deg, var(--surface), var(--surface-2));
}

.service-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 20px;
}

.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 16px; }

.service-card ul { list-style: none; }
.service-card li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ========== Process ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step-num {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 12px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 0.9rem; }

/* ========== Why / Results ========== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.why-copy > p { color: var(--muted); margin-bottom: 24px; }

.checklist { list-style: none; margin-bottom: 32px; }
.checklist li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 14px;
  font-weight: 500;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 6px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.metric-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.metric-num {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
}
.metric-card p { color: var(--muted); font-size: 0.88rem; }

/* ========== Pricing ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: rgba(139, 92, 246, 0.55);
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12)), linear-gradient(160deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; min-height: 2.7em; }

.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.price-num {
  font-family: "Sora", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-term { color: var(--muted); font-size: 0.95rem; font-weight: 500; }

.price-features { list-style: none; margin-bottom: 28px; flex: 1; }
.price-features li {
  font-size: 0.92rem;
  padding-left: 24px;
  position: relative;
  margin-bottom: 11px;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 36px;
}
.pricing-note a { color: var(--blue); text-decoration: none; font-weight: 600; }
.pricing-note a:hover { text-decoration: underline; }

/* ========== Testimonials ========== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.stars { color: #fbbf24; letter-spacing: 3px; margin-bottom: 16px; }

.testimonial blockquote {
  font-size: 0.97rem;
  color: var(--text);
  margin-bottom: 24px;
  flex: 1;
}

.testimonial figcaption strong { display: block; font-size: 0.95rem; }
.testimonial figcaption span { font-size: 0.82rem; color: var(--muted); }

/* ========== Contact ========== */
.contact { overflow: hidden; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
  position: relative;
}

.contact-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.contact-copy p { color: var(--muted); margin-bottom: 32px; }

.contact-points { display: flex; flex-direction: column; gap: 14px; }
.contact-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.contact-point span { font-size: 1.1rem; }

.contact-form {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--blue); }

.form-note { margin-top: 14px; font-size: 0.88rem; color: #34d399; text-align: center; min-height: 1.2em; }

/* ========== Footer ========== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer .brand-logo { width: 36px; height: 36px; }
.footer .brand-name { font-size: 1rem; }

.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-links a:hover { color: var(--text); }

.footer-copy { font-size: 0.82rem; color: var(--muted); }

/* ========== Reveal animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mock-callback { right: 0; }
  .mock-social { left: 0; }
  .section { padding: 64px 0; }
}
