/* ===========================
   CSS VARIABLES & RESET
=========================== */
:root {
  --bg:          #0d0618;
  --bg-2:        #130a22;
  --bg-card:     #1a0f2e;
  --border:      rgba(160, 100, 255, 0.15);
  --border-mid:  rgba(160, 100, 255, 0.30);

  --purple-deep: #2a0d5e;
  --purple-mid:  #5b21b6;
  --purple-vivid:#8b5cf6;
  --purple-light:#c4b5fd;
  --purple-pale: #ede9fe;

  --accent:      #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.35);

  --cream:       #f5f0eb;
  --muted:       rgba(196, 181, 253, 0.55);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
}

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

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

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===========================
   UTILITY
=========================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 7rem 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-vivid);
  border: 1px solid var(--border-mid);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-primary {
  background: var(--purple-vivid);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--purple-light);
  color: var(--bg);
  box-shadow: 0 0 40px rgba(139,92,246,0.55);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--border-mid);
  color: var(--purple-light);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(139,92,246,0.1);
}

.btn.full { width: 100%; text-align: center; }
.btn.mt { margin-top: 1.5rem; }

/* ===========================
   HEADER
=========================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.3rem 0;
  background: rgba(13, 6, 24, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

/* LOGO */
.logo {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}
.logo-cls   { color: var(--purple-light); }
.logo-money { color: var(--cream); }
.logo-y     { color: var(--purple-vivid); font-size: 1.8rem; }
.logo-tag {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-left: 0.4rem;
  align-self: center;
}

/* NAV */
.nav {
  display: flex;
  gap: 2.5rem;
}
.nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { width: 100%; }

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(160,100,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160,100,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 4rem;
  max-width: 760px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--purple-vivid);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--purple-vivid);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 1.8rem;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.8rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* DECO RINGS */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.deco-ring--1 {
  width: 600px; height: 600px;
  right: -200px; top: 50%;
  transform: translateY(-50%);
  border-color: rgba(139,92,246,0.12);
  animation: spin 40s linear infinite;
}
.deco-ring--2 {
  width: 900px; height: 900px;
  right: -400px; top: 50%;
  transform: translateY(-50%);
  border-color: rgba(139,92,246,0.07);
  animation: spin 65s linear infinite reverse;
}
.deco-ring--3 {
  width: 1200px; height: 1200px;
  right: -600px; top: 50%;
  transform: translateY(-50%);
  border-color: rgba(139,92,246,0.04);
  animation: spin 90s linear infinite;
}
@keyframes spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

/* ===========================
   ABOUT
=========================== */
.about { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-label {
  padding-top: 0.6rem;
  position: sticky;
  top: 100px;
}

.about-body p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pillar-icon {
  font-size: 1.5rem;
  color: var(--purple-vivid);
  margin-bottom: 0.5rem;
}
.pillar strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
}
.pillar p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 !important;
}

/* ===========================
   SERVICES
=========================== */
.services { background: var(--bg); }

.section-header {
  margin-bottom: 4rem;
}
.section-header .section-label { display: block; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--purple-vivid);
  transition: width 0.5s ease;
}
.service-card:hover { background: #200c3a; }
.service-card:hover::before { width: 100%; }

.card-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--border-mid);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.service-card:hover .card-num { color: rgba(139,92,246,0.4); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.8rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===========================
   FAQ
=========================== */
.faq { background: var(--bg-2); }

.faq-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: start;
}

.faq-left p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cream);
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent); }

.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--purple-vivid);
  transition: var(--transition);
}
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--purple-vivid);
  color: #fff;
  border-color: var(--purple-vivid);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-a.open {
  max-height: 300px;
  padding-bottom: 1.2rem;
}
.faq-a p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ===========================
   CONTACT
=========================== */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ci-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-vivid);
}
.contact-item a, .contact-item span {
  font-size: 0.95rem;
  color: var(--cream);
  line-height: 1.5;
}
.contact-item a:hover { color: var(--accent); }

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.8rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b5cf6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-vivid);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(196,181,253,0.3);
}
.form-group select option { background: var(--bg-card); color: var(--cream); }

.form-success {
  display: none;
  font-size: 0.85rem;
  color: var(--purple-light);
  text-align: center;
  padding: 0.6rem;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  background: rgba(139,92,246,0.1);
}
.form-success.show { display: block; }

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-label { position: static; }
  .faq-layout { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: rgba(13, 6, 24, 0.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .burger { display: flex; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-pillars { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .deco-ring--1 { width: 300px; height: 300px; right: -100px; }
  .deco-ring--2 { width: 500px; height: 500px; right: -200px; }
  .deco-ring--3 { display: none; }

  .section { padding: 5rem 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .hero-cta { flex-direction: column; }
  .btn { text-align: center; }
}
