@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Exact Shopify-Editions Palette:
   #3D52A0 - Deep Royal Indigo (Primary Text, Headings, Primary CTA)
   #7091E6 - Vibrant Cobalt Blue (Secondary Accents, Highlights, Active Links)
   #8697C4 - Slate Periwinkle (Subtitles, Subtle Borders, Secondary Text)
   #ADBBDA - Light Ice Blue (Card Fills, Pill Badges, Soft Hover States)
   #EDE8F5 - Soft Lavender Backdrop (Main Canvas Background)
*/

:root {
  --bg: #EDE8F5;
  --bg-card: #ffffff;
  --bg-card-alt: rgba(173, 187, 218, 0.35);
  --bg-nav: rgba(237, 232, 245, 0.95);
  
  --text-main: #1d2745;
  --text-muted: #576899;
  --line: rgba(134, 151, 196, 0.35);
  --line-bold: #8697C4;
  
  --indigo: #3D52A0;
  --cobalt: #7091E6;
  --slate: #8697C4;
  --ice-blue: #ADBBDA;
  --lavender: #EDE8F5;
  
  --shadow-sm: 0 4px 16px rgba(61, 82, 160, 0.06);
  --shadow-md: 0 12px 36px rgba(61, 82, 160, 0.1);
  --shadow-lg: 0 24px 60px rgba(61, 82, 160, 0.14);
  --radius: 20px;
  --radius-lg: 28px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(173, 187, 218, 0.5), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(112, 145, 230, 0.2), transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(61, 82, 160, 0.1), transparent 50%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  margin: 0;
  color: var(--indigo);
  letter-spacing: -0.04em;
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img, video {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

/* Header & Navigation (Shopify Editions Minimalist Style) */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 23px;
  color: var(--indigo);
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--indigo);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(61, 82, 160, 0.3);
}

.logo span {
  color: var(--cobalt);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--indigo);
}

.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  border-radius: 14px;
  padding: 13px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary, .nav-cta {
  background: var(--indigo);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(61, 82, 160, 0.3);
}

.btn-primary:hover, .nav-cta:hover {
  background: var(--cobalt);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(112, 145, 230, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--indigo);
  border: 1px solid var(--line-bold);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--ice-blue);
  border-color: var(--indigo);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--indigo);
  font-size: 26px;
  cursor: pointer;
}

/* Hero Section (FOUNDATIONS Banner Style) */
.hero {
  padding: 90px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--slate);
  background: rgba(173, 187, 218, 0.35);
  border-radius: 999px;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--indigo);
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--cobalt);
}

.lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Video Player Component (Clean White Frame) */
.video-hero-wrapper {
  position: relative;
  border-radius: 24px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

.video-hero-wrapper:hover {
  transform: scale(1.01);
}

.video-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  pointer-events: none;
}

/* Cards & Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section.alt {
  background: rgba(173, 187, 218, 0.25);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 740px;
  margin-bottom: 50px;
}

.section-head h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  margin: 14px 0 16px;
  color: var(--indigo);
}

.section-head p {
  color: var(--text-muted);
  font-size: 18px;
}

.kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--cobalt);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: var(--cobalt);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
  color: var(--indigo);
}

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

.icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--lavender);
  border: 1px solid var(--ice-blue);
  display: grid;
  place-items: center;
  color: var(--indigo);
  font-weight: 800;
  font-size: 18px;
}

.feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--line-bold);
  border-radius: 28px;
  padding: 40px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.feature-box .big {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--indigo);
  margin: 16px 0 12px;
}

.checks {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
}

.check b {
  color: var(--cobalt);
  font-size: 18px;
}

.check span {
  color: var(--text-muted);
}

/* Call To Action Banner */
.cta {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--indigo), var(--cobalt));
  border-radius: 32px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.cta-box h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin: 0 0 12px;
  color: #ffffff;
}

.cta-box p {
  margin: 0;
  color: var(--lavender);
  font-size: 17px;
  max-width: 620px;
}

/* Image Card Showcase */
.page-image-hero {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: #ffffff;
}

/* Footer (Shopify Editions Dark Indigo Footer) */
.footer {
  background: var(--indigo);
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
  color: var(--lavender);
}

.footer h4 {
  margin: 0 0 18px;
  font-size: 16px;
  color: #ffffff;
}

.footer a {
  color: var(--ice-blue);
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.footer a:hover {
  color: #ffffff;
}

.footer p {
  color: var(--slate);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--slate);
}

/* Page Hero Header for Secondary Pages */
.page-hero {
  padding: 80px 0 60px;
  background: rgba(173, 187, 218, 0.25);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(38px, 4.8vw, 58px);
  max-width: 850px;
  color: var(--indigo);
}

.breadcrumb {
  font-size: 14px;
  color: var(--cobalt);
  margin-bottom: 16px;
  font-weight: 600;
}

.prose {
  max-width: 900px;
}

.prose h2 {
  font-size: 32px;
  margin-top: 48px;
  color: var(--indigo);
}

.prose h3 {
  font-size: 22px;
  margin-top: 32px;
  color: var(--indigo);
}

.prose p, .prose li {
  color: var(--text-muted);
  font-size: 16px;
}

.prose li {
  margin: 8px 0;
}

.form-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

label {
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
}

input, select, textarea {
  font: inherit;
  width: 100%;
  border: 1px solid var(--line-bold);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  background: #ffffff;
  color: var(--text-main);
  transition: all 0.25s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(61, 82, 160, 0.15);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ice-blue);
  color: var(--indigo);
  font-size: 12px;
  font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-grid, .feature, .form-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
}
