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

:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --border: #e8e3db;
  --text: #1c1917;
  --muted: #78716c;
  --accent: #7c3aed;
  --accent-light: #f5f3ff;
  --accent-dark: #6d28d9;
  --radius: 14px;
  --shadow: 0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  letter-spacing: -0.01em;
}

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #1c1917 0%, #292524 50%, #3b2070 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  font-family: 'DM Serif Display', Georgia, serif;
  background: linear-gradient(90deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo-icon {
  color: #a78bfa;
  -webkit-text-fill-color: #a78bfa;
  flex-shrink: 0;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active {
  color: #fff;
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  transition: background .15s, transform .1s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-sm  { padding: 8px 16px; font-size: .875rem; }
.btn-lg  { padding: 14px 28px; font-size: 1.05rem; }

/* Hero */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(124,58,237,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.accent { color: var(--accent); }
.hero-sub {
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Section titles */
.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: 48px;
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.08);
}
.card-icon {
  margin-bottom: 12px;
  color: var(--accent);
  display: block;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

/* Levels */
.levels {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.card-level {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.level-badge {
  display: inline-block;
  font-weight: 700;
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.feature-list li {
  font-size: .9rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* CTA */
.cta {
  background: var(--accent);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.cta p {
  margin-bottom: 32px;
  opacity: .85;
  font-size: 1.05rem;
}
.cta .btn-primary {
  background: #fff;
  color: var(--accent);
}
.cta .btn-primary:hover {
  background: #f5f3ff;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
  color: var(--muted);
}
.footer a {
  color: var(--accent);
  text-decoration: none;
}
.footer a:hover { text-decoration: underline; }

/* Service levels */
.service-levels {
  padding: 80px 0;
}
.service-tier {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.tier-accent { color: var(--accent); }
.service-name {
  font-size: 1.25rem;
  font-weight: 400;
  font-family: 'DM Serif Display', Georgia, serif;
  margin: 4px 0 8px;
}
.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.price-period {
  font-size: .9rem;
  font-weight: 400;
  color: var(--muted);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-light);
}
.btn-full {
  display: block;
  text-align: center;
  margin-top: 20px;
  padding: 12px;
}

.hero-mock {
  margin: 56px auto 0;
  max-width: 680px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 40px rgba(124,58,237,.2), 0 1px 4px rgba(0,0,0,.3);
  overflow: hidden;
}

/* Carousel */
.carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.carousel-slide {
  flex: 0 0 100%;
  display: block;
  width: 100%;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: rgba(124,58,237,.5); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .features, .levels, .cta { padding: 56px 0; }
  .footer .container { flex-direction: column; gap: 8px; }
  .hero-mock { display: none; }
  .nav-links { display: none; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0,0,0,.6);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
  line-height: 1;
}
.lightbox-close:hover { opacity: 1; }
.carousel-slide { cursor: zoom-in; }
