/* =====================================================
   QUANTUM DEVELOPMENT LIMITED — STYLESHEET
   ===================================================== */

/* ----- RESET & BASE ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo:        #6366f1;
  --indigo-dark:   #4f46e5;
  --indigo-light:  #818cf8;
  --cyan:          #06b6d4;
  --slate-900:     #0f172a;
  --slate-800:     #1e293b;
  --slate-700:     #334155;
  --slate-600:     #475569;
  --slate-400:     #94a3b8;
  --slate-200:     #e2e8f0;
  --slate-100:     #f1f5f9;
  --white:         #ffffff;
  --gradient:      linear-gradient(135deg, var(--indigo) 0%, var(--cyan) 100%);
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.08);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.14);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.section { padding: 96px 0; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-body {
  font-size: 1.0625rem;
  color: var(--slate-600);
  max-width: 560px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--slate-600);
  max-width: 580px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

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

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 13px 28px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(99,102,241,.35);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(99,102,241,.45); }

.btn-ghost {
  background: transparent;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-200);
}
.btn-ghost:hover { border-color: var(--indigo-light); color: var(--indigo); background: rgba(99,102,241,.04); }

.btn-white {
  background: var(--white);
  color: var(--indigo-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { box-shadow: var(--shadow-lg); }

.btn-full { width: 100%; }

/* ----- NAVIGATION ----- */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  color: var(--slate-900);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text strong { color: var(--indigo); }

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

.nav-links a {
  font-size: .9375rem;
  color: var(--slate-600);
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--indigo); }

.nav-cta {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 7px;
  font-weight: 600 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--slate-200);
  gap: 4px;
}
.mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
  padding: 10px 0;
}
.mobile-cta {
  margin-top: 8px;
  background: var(--gradient);
  color: var(--white) !important;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

/* ----- HERO ----- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background: var(--slate-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-glow-1 {
  width: 520px; height: 520px;
  background: rgba(99,102,241,.2);
  top: -120px; right: -80px;
}
.hero-glow-2 {
  width: 380px; height: 380px;
  background: rgba(6,182,212,.12);
  bottom: -80px; left: 5%;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  color: var(--indigo-light);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--slate-400);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.08);
  width: 100%;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.stat-label {
  font-size: .8125rem;
  color: var(--slate-400);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
}

/* ----- ABOUT ----- */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-dots {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--indigo-light) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: .25;
  pointer-events: none;
}

.about-card {
  background: var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--slate-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.about-card-main { margin-right: 32px; }
.about-card-secondary { margin-left: 32px; }

.about-icon-wrap {
  width: 48px; height: 48px;
  margin-bottom: 14px;
}

.about-card-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--slate-900);
  margin-bottom: 6px;
}
.about-card-value { font-size: .9375rem; color: var(--slate-600); }

.about-pillars {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-pillars li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9375rem;
  color: var(--slate-700);
  font-weight: 500;
}
.pillar-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

/* ----- SERVICES ----- */
.services { background: var(--slate-100); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--slate-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
}

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.service-desc {
  font-size: .9375rem;
  color: var(--slate-600);
  margin-bottom: 18px;
  line-height: 1.65;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-list li {
  font-size: .875rem;
  color: var(--slate-600);
  padding-left: 14px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--indigo);
}

.service-card-cta {
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: none;
}
.service-card-cta .service-title { color: var(--white); }
.service-card-cta .service-desc { color: rgba(255,255,255,.8); }
.service-card-cta .btn-primary {
  background: var(--white);
  color: var(--indigo-dark);
  box-shadow: none;
  margin-top: auto;
}
.service-card-cta .btn-primary:hover { box-shadow: 0 6px 20px rgba(0,0,0,.15); }

/* ----- WHY US ----- */
.why-us { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.why-card:hover { border-color: var(--indigo-light); box-shadow: 0 4px 20px rgba(99,102,241,.1); }

.why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.why-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}
.why-card p {
  font-size: .9375rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ----- CTA BAND ----- */
.cta-band {
  background: var(--gradient);
  padding: 72px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-band-text p {
  color: rgba(255,255,255,.8);
  font-size: 1.0625rem;
}

/* ----- CONTACT ----- */
.contact { background: var(--slate-100); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9375rem;
  color: var(--slate-700);
}

.contact-icon {
  width: 20px; height: 20px;
  color: var(--indigo);
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  position: relative;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate-700);
}

input, select, textarea {
  font-family: 'Inter', sans-serif;
  font-size: .9375rem;
  color: var(--slate-900);
  background: var(--slate-100);
  border: 1.5px solid var(--slate-200);
  border-radius: 8px;
  padding: 11px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
  resize: vertical;
}
input::placeholder, textarea::placeholder { color: var(--slate-400); }
input:focus, select:focus, textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
  background: var(--white);
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #065f46;
  font-size: .9375rem;
  font-weight: 500;
}
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-success.visible { display: flex; }

/* ----- FOOTER ----- */
.footer {
  background: var(--slate-900);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  font-size: .9375rem;
  color: var(--slate-400);
  max-width: 280px;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a, .footer-col li {
  font-size: .9375rem;
  color: #94a3b8;
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom span {
  font-size: .875rem;
  color: var(--slate-600);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
  .services-grid,
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid { gap: 48px; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }

  .hero { padding: 80px 0 72px; }
  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .about-card-main { margin-right: 0; }
  .about-card-secondary { margin-left: 0; }

  .services-grid,
  .why-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .cta-band-inner { flex-direction: column; text-align: center; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-links { grid-template-columns: 1fr; }
}
