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

:root {
  --grad: linear-gradient(135deg, #a855f7, #ec4899, #f97316);
  --grad-alt: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  --bg: #080810;
  --surface: #0f0f1a;
  --surface2: #16162a;
  --border: rgba(255, 255, 255, 0.07);
  --text: #f0f0f8;
  --muted: #9090b0;
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* GRADIENT TEXT */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* BLOBS */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
}
.blob-1 { width: 500px; height: 500px; background: #a855f7; top: -100px; left: -100px; }
.blob-2 { width: 400px; height: 400px; background: #ec4899; top: 100px; right: -80px; }
.blob-3 { width: 350px; height: 350px; background: #f97316; bottom: -80px; left: 30%; }
.blob-4 { width: 600px; height: 600px; background: #6366f1; top: -100px; right: -150px; opacity: 0.2; }

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
}
.nav.scrolled {
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}
.logo-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 9px 22px;
  border: 1px solid var(--border);
  border-radius: 99px;
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 16px;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 20px;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* SERVICES */
.services {
  padding: 120px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  font-size: 18px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: var(--radius);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 60px rgba(168, 85, 247, 0.1);
}
.card:hover::before {
  opacity: 0.03;
}
.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  padding: 12px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 14px;
  color: #a855f7;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* WHY */
.why {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 20px;
  line-height: 1.1;
}
.why-text > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}
.check {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s;
}
.stat-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-num.large {
  font-size: 52px;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 12px;
}
.stat-svg {
  width: auto;
  height: 34px;
  display: block;
}

/* CONTACT */
.contact {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: center;
}
.contact-sub {
  color: var(--muted);
  font-size: 17px;
  margin: 16px 0 48px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text);
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(168, 85, 247, 0.5);
}
.contact-alt {
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}
.contact-alt a {
  color: #a855f7;
  text-decoration: none;
}
.contact-alt a:hover {
  text-decoration: underline;
}

/* SUCCESS MESSAGE */
.form-success {
  text-align: center;
  padding: 40px;
  background: var(--surface);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius);
}
.form-success h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  margin-bottom: 8px;
}
.form-success p {
  color: var(--muted);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--surface);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.footer-copy {
  font-size: 13px;
  color: var(--muted);
}
.footer-email {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.footer-email:hover {
  color: var(--text);
}

/* RESPONSIVE — tablet */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* RESPONSIVE — mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Nav */
  .logo-name {
    display: none;
  }
  .nav-cta {
    padding: 8px 18px;
    font-size: 13px;
  }

  /* Hero */
  .hero {
    padding: 100px 0 64px;
  }
  .hero-sub br {
    display: none;
  }

  /* Sections */
  .services {
    padding: 80px 0;
  }
  .why {
    padding: 72px 0;
  }
  .contact {
    padding: 80px 0;
  }
  .section-header {
    margin-bottom: 48px;
  }

  /* Cards — 2 columns on tablet */
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why stats — 2x2 */
  .why-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

/* RESPONSIVE — small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero-title {
    letter-spacing: -0.02em;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Cards — single column on small mobile */
  .cards {
    grid-template-columns: 1fr;
  }

  /* Stats — keep 2 columns */
  .why-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card {
    padding: 20px 16px;
    min-height: 110px;
  }
  .stat-num {
    font-size: 28px;
  }
  .stat-num.large {
    font-size: 40px;
  }

  /* Contact */
  .contact-inner {
    text-align: left;
  }
  .section-header {
    text-align: left;
  }
}

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