/* =========================================================
   Sparkseed — AI-Powered Digital Marketing
   ========================================================= */

:root {
  --bg: #0b1020;
  --bg-2: #0f1530;
  --surface: #121a38;
  --surface-2: #172144;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef1ff;
  --muted: #a8b0d3;
  --brand: #f5b400;
  --brand-2: #ffd24d;
  --navy: #1f2a3c;
  --accent: #7b8cff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, #1a2550 0%, transparent 60%),
              radial-gradient(1000px 700px at 110% 10%, #2a1c4a 0%, transparent 55%),
              var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 12px; color: var(--muted); }
.lead { font-size: 1.125rem; color: #c8cef0; max-width: 560px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 6px 12px;
  border: 1px solid rgba(245, 180, 0, 0.3);
  border-radius: 999px;
  background: rgba(245, 180, 0, 0.08);
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(90deg, #f5b400 0%, #ffd24d 50%, #7b8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, #f5b400 0%, #ffd24d 100%);
  color: #1f2a3c;
  box-shadow: 0 10px 30px rgba(245, 180, 0, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(245, 180, 0, 0.35); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 16, 32, 0.6);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled {
  background: rgba(11, 16, 32, 0.85);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand-accent { color: var(--brand); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.95rem;
  color: #c8cef0;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--brand); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 40%, transparent 75%);
  pointer-events: none;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  pointer-events: none;
}
.blob-1 { width: 520px; height: 520px; background: #f5b400; top: -120px; left: -140px; opacity: 0.25; }
.blob-2 { width: 480px; height: 480px; background: #7b8cff; bottom: -160px; right: -120px; opacity: 0.28; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand);
  line-height: 1;
}
.stat span { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-wrap img {
  width: 78%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 60px rgba(245, 180, 0, 0.3));
  animation: floaty 6s ease-in-out infinite;
}
.logo-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(245, 180, 0, 0.4);
  animation: spin 30s linear infinite;
}
.logo-ring.ring-2 {
  inset: -5%;
  border-color: rgba(123, 140, 255, 0.35);
  animation-duration: 45s;
  animation-direction: reverse;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Trusted ---------- */
.trusted {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.trusted p {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.trusted-row {
  display: flex;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
}
.trusted-row span { font-size: 1rem; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.process-grid  { grid-template-columns: repeat(4, 1fr); }
.work-grid     { grid-template-columns: repeat(3, 1fr); }
.ai-grid       { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%),
              rgba(245, 180, 0, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 180, 0, 0.35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.card:hover::before { opacity: 1; }

.service-card .card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 180, 0, 0.2), rgba(245, 180, 0, 0.05));
  border: 1px solid rgba(245, 180, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--brand);
  margin-bottom: 18px;
  font-weight: 700;
}
.service-card ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.service-card li::before {
  content: "✦";
  color: var(--brand);
  position: absolute;
  left: 0;
  top: 0;
}

/* ---------- AI Section ---------- */
.ai-section {
  background: linear-gradient(180deg, transparent, rgba(123, 140, 255, 0.05), transparent);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  margin-top: 8px;
  background: radial-gradient(circle, var(--brand) 0%, rgba(245, 180, 0, 0.3) 60%, transparent 70%);
  box-shadow: 0 0 20px rgba(245, 180, 0, 0.5);
  flex-shrink: 0;
}
.feature h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: var(--text);
}
.feature p { margin: 0; font-size: 0.95rem; }

.ai-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  position: relative;
  width: 360px;
  height: 360px;
  max-width: 100%;
}
.orb-core {
  position: absolute;
  inset: 38%;
  background: linear-gradient(135deg, #f5b400, #ffd24d);
  color: #1f2a3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 0 60px rgba(245, 180, 0, 0.6);
  z-index: 2;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  animation: spin 25s linear infinite;
}
.orb-ring.r1 { inset: 20%; border-color: rgba(245, 180, 0, 0.3); }
.orb-ring.r2 { inset: 8%; border-color: rgba(123, 140, 255, 0.3); animation-duration: 40s; animation-direction: reverse; }
.orb-ring.r3 { inset: -6%; border-color: rgba(255, 255, 255, 0.08); animation-duration: 55s; }

.chip {
  position: absolute;
  padding: 8px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.chip.c1 { top: 4%;   left: 30%; }
.chip.c2 { top: 20%;  right: 0%; }
.chip.c3 { bottom: 20%; right: -6%; }
.chip.c4 { bottom: 0%; left: 40%; }
.chip.c5 { bottom: 22%; left: -6%; }
.chip.c6 { top: 22%;  left: -2%; }

/* ---------- Process ---------- */
.step {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(245, 180, 0, 0.35); }
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 12px;
}

/* ---------- Work ---------- */
.work-card .tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(123, 140, 255, 0.15);
  color: #b4beff;
  border: 1px solid rgba(123, 140, 255, 0.3);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.work-card h3 { color: var(--brand-2); }

/* ---------- About Highlights ---------- */
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.highlight {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(245, 180, 0, 0.04);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.highlight:hover { border-color: rgba(245, 180, 0, 0.35); transform: translateY(-3px); }
.highlight strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brand);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.highlight span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonial-section { padding: 80px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial {
  margin: 0;
  text-align: left;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(245, 180, 0, 0.05), rgba(123, 140, 255, 0.05));
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial:hover { transform: translateY(-4px); border-color: rgba(245, 180, 0, 0.3); }
.testimonial p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 16px;
}
.testimonial footer { color: var(--muted); font-size: 0.9rem; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 56px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(245, 180, 0, 0.25), transparent 70%);
  top: -160px; right: -160px;
  pointer-events: none;
}
.contact-info {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info li { color: var(--muted); font-size: 0.95rem; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #c8cef0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(11, 16, 32, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(11, 16, 32, 0.8);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(200, 206, 240, 0.4); }
.form-status {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--brand);
  min-height: 20px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 28px;
  border-top: 1px solid var(--border);
  background: rgba(11, 16, 32, 0.6);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 0.9rem; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-cols h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 14px;
}
.footer-cols a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
.footer-cols a:hover { color: var(--brand); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 140px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .logo-wrap { width: 320px; height: 320px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid  { grid-template-columns: repeat(2, 1fr); }
  .work-grid     { grid-template-columns: 1fr; }
  .ai-grid       { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-card  { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 80px 0; }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: 74px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    background: rgba(15, 21, 48, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .footer-cols   { grid-template-columns: 1fr 1fr; }
  .hero-stats    { gap: 24px; }
  .stat strong   { font-size: 1.6rem; }
  h1 { font-size: 2.2rem; }
}
