:root {
  --purple: #6D12D3;
  --purple-light: #9333EA;
  --pink: #C77DFF;
  --navy: #14102B;
  --navy-2: #1D1638;
  --ink: #201A38;
  --muted: #6b6478;
  --bg: #ffffff;
  --bg-alt: #F7F2FC;
  --border: #ece4f7;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; color: var(--ink); }

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 16, 43, 0.96);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  transition: transform 0.35s ease;
}

.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.06); }

.logo-text-light { font-weight: 400; opacity: 0.85; margin-left: 4px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: #e7defa;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.main-nav a:hover { color: #fff; }

.nav-cta {
  background: var(--purple);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--purple-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple) 0%, var(--navy) 100%);
  color: #fff;
  padding: 130px 0 150px;
  text-align: center;
}

.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.deco-dot {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0.14;
  animation: float 7s ease-in-out infinite;
}

.deco-dot-1 { width: 90px; height: 90px; top: 12%; left: 8%; animation-delay: 0s; }
.deco-dot-2 { width: 46px; height: 46px; top: 62%; left: 15%; opacity: 0.2; animation-delay: 1.2s; }
.deco-dot-3 { width: 130px; height: 130px; top: 20%; right: 6%; opacity: 0.1; animation-delay: 2.1s; }

.deco-swoosh {
  position: absolute;
  width: 340px;
  height: 90px;
  right: -60px;
  bottom: 8%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12));
  transform: rotate(-18deg);
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(8px); }
}

.hero-cut {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: #e4cffb;
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 .hl {
  font-style: italic;
  background: linear-gradient(90deg, #ffffff, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: #f2e9fb;
  max-width: 620px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: #fff;
  color: var(--purple);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow { transform: translateX(4px); }

/* Services */
.services { padding: 96px 0; background: var(--bg); }

.services h2, .philosophy h2, .about h2, .contact h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}

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

.service-card {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(109, 18, 211, 0.14);
  border-color: transparent;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

/* Philosophy */
.philosophy {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  padding: 100px 0;
  text-align: center;
}

.philosophy-deco {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,18,211,0.08), transparent 70%);
  top: -220px;
  right: -160px;
}

.philosophy-inner { position: relative; max-width: 720px; margin: 0 auto; }

.quote-mark {
  display: block;
  font-size: 72px;
  line-height: 1;
  color: var(--purple);
  opacity: 0.35;
  font-family: Georgia, serif;
  margin-bottom: -12px;
}

.philosophy p {
  font-size: 20px;
  color: var(--ink);
}

/* About */
.about { padding: 100px 0; text-align: center; }

.about-inner { max-width: 760px; margin: 0 auto; }

.about-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.about p { font-size: 18px; }

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  padding: 100px 0;
}

.contact-deco { position: absolute; inset: 0; pointer-events: none; }

.deco-dot-4 {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.08;
  top: 8%;
  left: 6%;
}

.deco-dot-5 {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--pink);
  opacity: 0.1;
  bottom: 6%;
  right: 8%;
}

.contact-inner { position: relative; max-width: 640px; margin: 0 auto; text-align: center; }

.contact-sub { color: var(--muted); margin-bottom: 40px; }

.contact-form { text-align: left; }

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field { flex: 1; }
.form-field-full { flex: 1 1 100%; }

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--purple);
  outline-offset: 1px;
}

.form-field input,
.form-field textarea {
  transition: border-color 0.15s ease;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: var(--purple-light);
}

.contact-form .btn { width: 100%; }

.contact-thanks {
  text-align: center;
  font-weight: 600;
  color: var(--purple);
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cabfe0;
  padding: 28px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-tagline { opacity: 0.75; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.service-grid .reveal:nth-child(1) { transition-delay: 0s; }
.service-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.service-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.service-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .service-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; gap: 20px; }
  .hero { padding: 90px 0 70px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
