* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.nav-links button {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-links button:hover {
  color: var(--primary);
  background: var(--light);
}

.nav-links button.active {
  color: var(--primary);
  background: #eef2ff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  padding: 0.25rem 0.5rem;
}

/* Sections */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  color: var(--white);
  text-align: center;
  padding: 6rem 2rem 5rem;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.hero-glow-1 {
  width: 420px;
  height: 420px;
  background: #6366f1;
  top: -140px;
  left: -100px;
}

.hero-glow-2 {
  width: 380px;
  height: 380px;
  background: #8b5cf6;
  bottom: -140px;
  right: -80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #a5b4fc;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.hero-highlight {
  display: block;
  background: linear-gradient(90deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 2rem;
  position: relative;
}

.hero-buttons {
  position: relative;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
  position: relative;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tech strip */
.tech-strip {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  overflow: hidden;
}

.tech-strip-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.tech-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.tech-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: marquee 30s linear infinite;
}

.tech-item {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.cta-band h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: #ddd6fe;
  margin-bottom: 1.5rem;
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-light:hover {
  background: #eef2ff;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  margin-left: 0.75rem;
}

.btn-outline:hover {
  border-color: var(--white);
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.service-card {
  padding: 0;
  overflow: hidden;
}

.card-img-wrap {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: var(--light);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-icon-overlay {
  position: absolute;
  bottom: 10px;
  left: 14px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.2s;
  background: var(--white);
}

.price-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.price-card.featured {
  border: 2px solid var(--primary);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
}

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
}

.price span {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 400;
}

.price-card ul {
  list-style: none;
  margin: 1.25rem 0;
  text-align: left;
}

.price-card ul li {
  padding: 0.4rem 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.price-card ul li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: 700;
}

/* Contact form */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #cbd5e1;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer .logo {
  color: var(--primary);
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-contact li {
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 1.25rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    margin-bottom: 2rem;
    font-size: 0.95rem;
  }

  /* Navbar -> hamburger */
  .navbar {
    padding: 0.75rem 1.25rem;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links button {
    width: 100%;
    text-align: left;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
  }

  /* Hero */
  .hero {
    padding: 4rem 1.25rem 3rem;
  }

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 0.6rem;
    text-align: center;
  }

  .hero-buttons .btn-outline {
    margin-left: auto;
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    margin-top: 2.5rem;
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card-img-wrap {
    height: 150px;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .price {
    font-size: 2rem;
  }

  .price-card .btn {
    width: 100%;
    text-align: center;
  }

  /* Contact */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    text-align: center;
  }

  /* CTA band */
  .cta-band {
    padding: 3rem 1.25rem;
  }

  .cta-band h2 {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.25rem 2rem;
    gap: 2rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.65rem;
  }

  .hero-stat-value {
    font-size: 1.3rem;
  }

  .price {
    font-size: 1.8rem;
  }
}
