@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --dark:    #1C1A22;
  --mid:     #494558;
  --lavender:#B9B1CC;
  --light:   #EAE4FB;
  --white:   #FFFFFF;
  --accent:  #7B6FA0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: var(--dark);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.35); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo .monogram {
  width: 42px; height: 42px;
  background: var(--light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--dark);
  letter-spacing: -1px;
  flex-shrink: 0;
}
.nav-logo .wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo .wordmark strong {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--white);
  text-transform: uppercase;
}
.nav-logo .wordmark span {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--lavender);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--lavender);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after { content: '▾'; font-size: 10px; opacity: 0.7; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border: 1px solid rgba(185,177,204,0.15);
  border-radius: 10px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  list-style: none;
  flex-direction: column;
  gap: 0;
}
.nav-dropdown:hover .dropdown-menu { display: flex; }
.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--lavender);
  white-space: nowrap;
}
.dropdown-menu li a:hover { background: rgba(255,255,255,0.06); color: var(--white); }

.nav-cta {
  background: var(--light) !important;
  color: var(--dark) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--lavender) !important; color: var(--dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--lavender);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── PAGE HERO (non-home) ── */
.page-hero {
  background: var(--dark);
  padding: 140px 5% 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 70% 50%, rgba(123,111,160,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 1120px; margin: 0 auto; }
.page-hero-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 20px;
  padding: 5px 14px;
  border: 1px solid rgba(185,177,204,0.3);
  border-radius: 100px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; color: var(--lavender); }
.page-hero p {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(185,177,204,0.75);
  max-width: 580px;
  line-height: 1.75;
}
.page-hero .breadcrumb {
  font-size: 12px;
  color: rgba(185,177,204,0.4);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px;
}
.page-hero .breadcrumb a { color: rgba(185,177,204,0.4); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--lavender); }
.page-hero .breadcrumb span { opacity: 0.4; }

/* ── SECTION COMMONS ── */
section { scroll-margin-top: 72px; }
.section-inner { max-width: 1120px; margin: 0 auto; padding: 0 5%; }
.section-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; line-height: 1.15;
  color: var(--dark); margin-bottom: 20px;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 16px; color: var(--mid);
  max-width: 600px; line-height: 1.75;
}
.section-sub.light { color: rgba(185,177,204,0.75); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--light); color: var(--dark);
  padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  text-decoration: none; letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
}
.btn-primary:hover { background: var(--lavender); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(185,177,204,0.4); color: var(--lavender);
  padding: 13px 28px; border-radius: 8px;
  font-weight: 500; font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  font-family: 'Inter', sans-serif;
}
.btn-ghost:hover { border-color: var(--lavender); color: var(--white); transform: translateY(-1px); }

.btn-dark {
  display: inline-block;
  background: var(--dark); color: var(--white);
  padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
}
.btn-dark:hover { background: var(--mid); transform: translateY(-1px); }

/* ── CARD BASE ── */
.card {
  border: 1px solid rgba(185,177,204,0.35);
  border-radius: 16px; padding: 32px;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 40px rgba(73,69,88,0.1); transform: translateY(-2px); }

.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(185,177,204,0.15);
  border-radius: 16px; padding: 32px;
  transition: background 0.2s, border-color 0.2s;
}
.card-dark:hover { background: rgba(255,255,255,0.07); border-color: rgba(185,177,204,0.3); }

/* ── ICON BOX ── */
.icon-box {
  width: 52px; height: 52px;
  background: var(--light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.icon-box-dark {
  width: 44px; height: 44px;
  background: rgba(185,177,204,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* ── USE CASE LIST ── */
.use-case-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.use-case-list li {
  font-size: 14px; color: var(--mid);
  padding-left: 18px; position: relative; line-height: 1.55;
}
.use-case-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); opacity: 0.7; }
.use-case-list.light li { color: rgba(185,177,204,0.75); }
.use-case-list.light li::before { color: var(--lavender); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid rgba(185,177,204,0.25); margin: 60px 0; }
.divider-dark { border: none; border-top: 1px solid rgba(185,177,204,0.1); margin: 48px 0; }

/* ── FOOTER ── */
footer {
  background: #0F0E14;
  padding: 48px 5% 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(185,177,204,0.1);
  margin-bottom: 28px;
}
.footer-logo-wrap { display: flex; flex-direction: column; gap: 16px; }
.footer-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.footer-logo .monogram {
  width: 36px; height: 36px;
  background: rgba(185,177,204,0.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700; color: var(--lavender);
}
.footer-logo .name {
  font-family: 'Playfair Display', serif;
  font-size: 13px; letter-spacing: 1px;
  color: rgba(185,177,204,0.7); text-transform: uppercase;
}
.footer-tagline {
  font-size: 13px; color: rgba(185,177,204,0.4); line-height: 1.6; max-width: 260px;
}
.footer-col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(185,177,204,0.5);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(185,177,204,0.45);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--lavender); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(185,177,204,0.3); }
.footer-location { font-size: 12px; color: rgba(185,177,204,0.3); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--dark); padding: 12px 5%; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(185,177,204,0.08); }
  .nav-links a { display: block; padding: 13px 0; }
  .dropdown-menu { position: static; transform: none; box-shadow: none; border: none; padding: 4px 0 4px 16px; background: transparent; }
  .nav-dropdown > a::after { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
