/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: #1a0a2e;
  background: #faf5ff;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ─── CONTAINER ─── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── SECTION ─── */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9333ea;
  background: linear-gradient(135deg, #f3e8ff, #fef3c7);
  border: 1px solid #e9d5ff;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1a0a2e;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: #581c87;
  opacity: 0.75;
  line-height: 1.7;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 100px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(147, 51, 234, 0.3); }
.btn-primary {
  background: linear-gradient(135deg, #9333ea, #7e22ce);
  color: #fff;
  box-shadow: 0 4px 16px rgba(147, 51, 234, 0.35);
}
.btn-primary:hover { background: linear-gradient(135deg, #a855f7, #9333ea); box-shadow: 0 12px 32px rgba(147, 51, 234, 0.45); }
.btn-secondary {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 245, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(147, 51, 234, 0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(250, 245, 255, 0.97);
  box-shadow: 0 4px 24px rgba(147, 51, 234, 0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-text { font-size: 1.25rem; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu a {
  font-weight: 700;
  font-size: 0.95rem;
  color: #581c87;
  position: relative;
  transition: color 0.2s;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #9333ea, #fbbf24);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-menu a:hover { color: #9333ea; }
.nav-menu a:hover::after { width: 100%; }
.nav-cta-btn {
  background: linear-gradient(135deg, #9333ea, #7e22ce) !important;
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta-btn::after { display: none !important; }
.nav-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle-bar {
  width: 24px;
  height: 2.5px;
  background: #581c87;
  border-radius: 4px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 245, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu a { font-size: 1.1rem; }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3b0764 0%, #6b21a8 25%, #9333ea 50%, #d97706 75%, #fbbf24 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fef3c7;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.hero-highlight {
  background: linear-gradient(135deg, #fbbf24, #fde68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fbbf24;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── SERVICES ─── */
.services { background: #faf5ff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  border: 1px solid rgba(147, 51, 234, 0.08);
  box-shadow: 0 4px 24px rgba(147, 51, 234, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(147, 51, 234, 0.15);
}
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f3e8ff, #fef3c7);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a0a2e;
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.95rem;
  color: #581c87;
  opacity: 0.75;
  line-height: 1.7;
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
  background: linear-gradient(180deg, #f3e8ff 0%, #faf5ff 100%);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.step {
  background: #fff;
  border-radius: 24px;
  padding: 36px 28px;
  border: 1px solid rgba(147, 51, 234, 0.08);
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.06);
  position: relative;
  transition: transform 0.3s ease;
}
.step:hover { transform: translateY(-4px); }
.step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #e9d5ff, #fde68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a0a2e;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.95rem;
  color: #581c87;
  opacity: 0.75;
  line-height: 1.7;
}
.step-arrow { display: none; }
@media (min-width: 1024px) {
  .step-arrow { display: flex; align-items: center; justify-content: center; color: #d8b4fe; }
  .step:not(:last-child) { padding-right: 48px; }
}

/* ─── ABOUT ─── */
.about { background: #faf5ff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.about-images {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}
.about-img-main {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(147, 51, 234, 0.2);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -16px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(147, 51, 234, 0.25);
  border: 4px solid #faf5ff;
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  top: -16px;
  left: -16px;
  background: linear-gradient(135deg, #9333ea, #7e22ce);
  color: #fff;
  padding: 16px 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.4);
  text-align: center;
  line-height: 1.4;
  max-width: 160px;
}
.about-content { text-align: center; }
.about-text {
  font-size: 1.05rem;
  color: #581c87;
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a0a2e;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-content { text-align: left; }
  .about-features { margin-left: 0; }
  .about-images { margin: 0; }
}

/* ─── GALLERY ─── */
.gallery { background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: auto;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59, 7, 100, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

/* ─── CTA ─── */
.cta { background: #faf5ff; padding: 80px 0; }
.cta-card {
  position: relative;
  background: linear-gradient(135deg, #3b0764, #6b21a8, #9333ea);
  border-radius: 32px;
  padding: 72px 48px;
  overflow: hidden;
  text-align: center;
}
.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ─── CONTACT ─── */
.contact { background: #f3e8ff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.contact-info { }
.contact-desc {
  font-size: 1.05rem;
  color: #581c87;
  opacity: 0.8;
  margin-bottom: 32px;
  line-height: 1.7;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.1);
}
.contact-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9333ea;
  margin-bottom: 4px;
}
.contact-item p { font-size: 1rem; color: #1a0a2e; font-weight: 700; }
.contact-item a {
  transition: color 0.2s;
}
.contact-item a:hover { color: #9333ea; }
.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.12);
}
.contact-map a { display: block; position: relative; }
.contact-map img { width: 100%; height: 220px; object-fit: cover; }
.map-link {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,0.95);
  color: #9333ea;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background 0.2s;
}
.map-link:hover { background: #fff; }

/* Form */
.contact-form-wrap {
  background: #fff;
  border-radius: 28px;
  padding: 40px 32px;
  box-shadow: 0 8px 32px rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.08);
}
.form-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a0a2e;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  color: #581c87;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e9d5ff;
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: #1a0a2e;
  background: #faf5ff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #9333ea;
  box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1);
  background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #c084fc; }
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 16px 20px;
  background: #f3e8ff;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #581c87;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── FOOTER ─── */
.footer {
  background: #1a0a2e;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-desc { font-size: 0.95rem; line-height: 1.7; max-width: 300px; }
.footer-links strong,
.footer-contact strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c084fc;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fbbf24; }
.footer-contact p { font-size: 0.95rem; margin-bottom: 8px; }
.footer-contact a { transition: color 0.2s; }
.footer-contact a:hover { color: #fbbf24; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ─── REVEAL ANIMATIONS ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
