/* ===========================
   PURPLE FOX CAPITAL — STYLES
   =========================== */

:root {
  --purple-deep:    #2D1760;
  --purple-mid:     #4A1E9E;
  --purple-bright:  #6B2FD4;
  --purple-light:   #E8E0F8;
  --gold:           #C9A84C;
  --cream:          #F5F3EF;
  --white:          #FFFFFF;
  --dark:           #0F0A1E;
  --text:           #1A1033;
  --text-muted:     #6B6580;
  --border:         rgba(45, 23, 96, 0.12);

  --font-serif:     'Cormorant Garamond', Georgia, serif;
  --font-sans:      'Inter', system-ui, sans-serif;

  --max-width:      1160px;
  --section-pad:    100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p  { line-height: 1.75; color: var(--text-muted); }

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 1rem;
}
.section-tag.center { text-align: center; }
.center { text-align: center; }

/* ---- LAYOUT ---- */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad) 2rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--purple-mid);
  color: var(--white);
}
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(74,30,158,0.3); }
.btn-ghost {
  background: transparent;
  color: var(--purple-mid);
  border: 1.5px solid var(--purple-mid);
}
.btn-ghost:hover { background: var(--purple-light); }
.btn.full { width: 100%; text-align: center; padding: 1rem; font-size: 0.9rem; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--purple-deep);
  line-height: 1.3;
}
.nav-capital {
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--purple-bright);
  font-size: 0.65rem;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple-deep); }
.nav-links .nav-cta {
  background: var(--purple-mid);
  color: var(--white);
  padding: 0.55rem 1.25rem;
  border-radius: 3px;
  font-size: 0.8rem;
}
.nav-links .nav-cta:hover { background: var(--purple-deep); color: var(--white); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(107,47,212,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(45,23,96,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-left: max(2rem, calc(50vw - 580px));
}
.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-bright);
  border: 1px solid rgba(107,47,212,0.3);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  background: rgba(107,47,212,0.05);
}
.hero-title {
  color: var(--purple-deep);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- STATS ---- */
.stats {
  background: var(--purple-deep);
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  padding: 1rem 3rem;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
}

/* ---- ABOUT ---- */
.about { background: var(--white); }
.about .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-text h2 { color: var(--purple-deep); margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.25rem; font-size: 1rem; }
.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-image img {
  max-width: 100%;
  width: 380px;
  filter: drop-shadow(0 20px 60px rgba(45,23,96,0.1));
}

/* ---- APPROACH ---- */
.approach { background: var(--cream); }
.approach h2 { color: var(--purple-deep); margin-bottom: 4rem; }
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.pillar {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.pillar:hover {
  box-shadow: 0 12px 40px rgba(45,23,96,0.1);
  transform: translateY(-3px);
}
.pillar-icon {
  font-size: 1.4rem;
  color: var(--purple-bright);
  margin-bottom: 1rem;
}
.pillar h3 {
  color: var(--purple-deep);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.pillar p { font-size: 0.9rem; line-height: 1.7; }

/* ---- SERVICES ---- */
.services { background: var(--white); }
.services h2 { color: var(--purple-deep); margin-bottom: 3rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  border-top: 3px solid var(--purple-bright);
  padding: 2rem 1.5rem;
  background: var(--cream);
  border-radius: 0 0 4px 4px;
}
.service-card h3 {
  color: var(--purple-deep);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-sans);
  font-weight: 600;
}
.service-card ul { list-style: none; }
.service-card li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.service-card li:last-child { border-bottom: none; }

/* ---- CONTACT ---- */
.contact { background: var(--cream); }
.contact-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3.5rem;
  box-shadow: 0 20px 60px rgba(45,23,96,0.06);
}
.contact-box h2 { color: var(--purple-deep); margin-bottom: 1rem; }
.contact-sub { font-size: 0.95rem; margin-bottom: 1.25rem; }
.contact-email {
  color: var(--purple-bright);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(107,47,212,0.3);
  transition: border-color 0.2s;
}
.contact-email:hover { border-color: var(--purple-bright); }

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.footer-logo img { height: 48px; width: auto; filter: brightness(0) invert(1) opacity(0.9); }
.footer-wordmark {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.2rem;
}
.footer-legal {
  max-width: 500px;
}
.footer-legal p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .pillars, .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .about .section-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-image { display: none; }
  .stat-divider { display: none; }
  .stats-inner { gap: 2rem; }
  .pillars, .services-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .contact-box { padding: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-inner { margin-left: 0; }
}
