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

:root {
  --navy: #1a0a2e;
  --teal: #7C3AED;
  --teal-light: #A855F7;
  --teal-dark: #5B21B6;
  --accent: #C084FC;
  --white: #ffffff;
  --off-white: #f8f5ff;
  --grey: #6b7280;
  --light-grey: #e5e7eb;
  --text: #1f2937;
  --section-pad: 90px 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.nav-logo {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover { color: var(--teal-light); }

.nav-links a.active { color: var(--teal-light); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background .2s !important;
}

.nav-cta:hover { background: var(--teal-light) !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2d1052 60%, #3b0764 100%);
  padding: 120px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,.18) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}

.page-hero-label {
  display: inline-block;
  background: rgba(168,85,247,.15);
  color: var(--teal-light);
  border: 1px solid rgba(168,85,247,.35);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin: 0 auto;
}

/* ── HERO ── */
#home {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #2d1052 60%, #3b0764 100%);
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

#home::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,.18) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}

#home::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,.12) 0%, transparent 70%);
  bottom: -80px; left: 10%;
  pointer-events: none;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(168,85,247,.15);
  color: var(--teal-light);
  border: 1px solid rgba(168,85,247,.35);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-inner h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-inner h1 em {
  font-style: normal;
  color: var(--teal-light);
}

.hero-inner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 580px;
  margin: 0 auto 20px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 36px 0;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
}

.hero-stat span {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  display: block;
}

.hero-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,.15);
  align-self: center;
}

.btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--teal-light); color: var(--teal-light); transform: translateY(-1px); }

/* ── SECTIONS ── */
section { padding: var(--section-pad); }

.section-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto 56px;
}

.center { text-align: center; }

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

/* ── SERVICES ── */
#services { background: var(--off-white); }

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

.pillar-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  border-top: 4px solid var(--teal);
  transition: transform .2s, box-shadow .2s;
}

.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }

.pillar-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-icon svg { width: 26px; height: 26px; fill: var(--white); }
.pillar-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.pillar-card p { font-size: .93rem; color: var(--grey); line-height: 1.65; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #3b0764 100%);
  padding: 72px 24px;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 32px; font-size: 1rem; }
.cta-banner .btn-group { justify-content: center; }

/* ── EXPERT SERVICES ── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid var(--light-grey);
  border-radius: 12px;
  padding: 28px;
  transition: border-color .2s, box-shadow .2s;
}

.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(124,58,237,.1);
}

.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--grey); line-height: 1.65; }

.service-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--light-grey);
  margin-bottom: 12px;
  display: block;
}

/* ── STATS ── */
#stats { background: var(--navy); padding: 72px 24px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item { text-align: center; }

.stat-item strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item span { font-size: .88rem; color: rgba(255,255,255,.6); }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--off-white); }

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

.testimonial-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-mark {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--teal-light);
  font-family: Georgia, serif;
  margin-top: -8px;
}

.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-author strong { display: block; font-size: .9rem; font-weight: 700; color: var(--navy); }
.testimonial-author span { font-size: .82rem; color: var(--grey); }

.stars { display: flex; gap: 3px; }
.stars span { color: var(--accent); font-size: 1rem; }

/* ── FAQ ── */
#faq { background: var(--white); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item { border: 1px solid var(--light-grey); border-radius: 10px; overflow: hidden; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: .98rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .15s;
}

.faq-question:hover { background: var(--off-white); }

.faq-question .chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform .25s;
  color: var(--teal);
}

.faq-item.open .chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  padding: 0 24px;
}

.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { font-size: .92rem; color: var(--grey); line-height: 1.7; }

/* ── BOTTOM SERVICES ── */
#bottom-services { background: var(--off-white); }

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

.bottom-service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  border-left: 4px solid var(--teal);
}

.bottom-service-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.bottom-service-card p { font-size: .88rem; color: var(--grey); line-height: 1.65; }

/* ── CONTACT ── */
#contact { background: var(--white); }

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

.contact-info h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; }

.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }

.contact-detail-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 20px; height: 20px; fill: var(--white); }
.contact-detail-text strong { display: block; font-size: .88rem; color: var(--grey); font-weight: 600; }
.contact-detail-text span { font-size: .95rem; color: var(--navy); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--navy); }

.form-group input,
.form-group textarea {
  border: 1.5px solid var(--light-grey);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: .93rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color .2s;
  background: var(--white);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--teal); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
  font-family: inherit;
}

.form-submit:hover { background: var(--teal-light); transform: translateY(-1px); }

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), #3b0764);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img span {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-light);
  border: 1px solid rgba(168,85,247,.4);
  padding: 6px 14px;
  border-radius: 20px;
}

.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.blog-card-meta { font-size: .8rem; color: var(--grey); }

.blog-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.4; }

.blog-card-body p { font-size: .88rem; color: var(--grey); line-height: 1.6; flex: 1; }

.blog-card-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 8px;
}

/* ── FOOTER ── */
footer { background: var(--navy); padding: 48px 24px 28px; }

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}

.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  max-width: 280px;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-links h4 {
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}

.footer-links a:hover { color: var(--teal-light); }

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

.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pillars, .service-cards, .testimonial-grid, .bottom-service-grid, .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy);
    padding: 20px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .pillars, .service-cards, .testimonial-grid, .bottom-service-grid, .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-divider { display: none; }
}
