/* ==============================================
   WESTLINE TRADING — Design System v1.0
   Built: 2026-08-02
   Palette: Deep Teal & Gold | Light Mode
   ============================================== */

:root {
  /* === Backgrounds === */
  --bg-primary:      #FFFFFF;
  --bg-secondary:    #F2F8F8;
  --bg-tertiary:     #E7F2F2;
  --bg-dark:         #082424;
  --bg-dark-alt:     #0D2E2E;

  /* === Brand: Teal === */
  --teal:            #0D7E80;
  --teal-bright:     #13A4A7;
  --teal-deep:       #095E60;
  --teal-pale:       #E4F3F3;
  --teal-glow:       rgba(13, 126, 128, 0.14);

  /* === Brand: Gold === */
  --gold:            #C8941A;
  --gold-bright:     #E5A81E;
  --gold-pale:       #FDF5E4;
  --gold-glow:       rgba(200, 148, 26, 0.18);

  /* === Text === */
  --text-primary:    #0D1E2C;
  --text-secondary:  #4A6070;
  --text-muted:      #7A93A4;
  --text-inverse:    #FFFFFF;

  /* === Borders === */
  --border:          rgba(13, 126, 128, 0.15);
  --border-strong:   rgba(13, 126, 128, 0.30);
  --border-gold:     rgba(200, 148, 26, 0.25);
  --border-subtle:   rgba(13, 30, 44, 0.08);

  /* === Typography === */
  --font-display:    'Plus Jakarta Sans', sans-serif;
  --font-body:       'DM Sans', sans-serif;

  /* === Type Scale === */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;
  --text-7xl:   4.5rem;

  /* === Font Weights === */
  --fw-regular:    400;
  --fw-medium:     500;
  --fw-semibold:   600;
  --fw-bold:       700;
  --fw-extrabold:  800;

  /* === Spacing === */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;
  --sp-32:  8rem;

  /* === Border Radius === */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-2xl:  24px;
  --r-3xl:  32px;
  --r-full: 9999px;

  /* === Shadows === */
  --sh-sm:   0 1px 3px rgba(8, 36, 36, 0.08), 0 1px 2px rgba(8, 36, 36, 0.04);
  --sh-md:   0 4px 16px rgba(8, 36, 36, 0.10), 0 2px 4px rgba(8, 36, 36, 0.06);
  --sh-lg:   0 8px 32px rgba(8, 36, 36, 0.12), 0 4px 8px rgba(8, 36, 36, 0.06);
  --sh-xl:   0 16px 48px rgba(8, 36, 36, 0.14), 0 8px 16px rgba(8, 36, 36, 0.08);
  --sh-teal: 0 6px 24px rgba(13, 126, 128, 0.28);
  --sh-gold: 0 6px 24px rgba(200, 148, 26, 0.30);

  /* === Transitions === */
  --t-fast:  150ms ease;
  --t-base:  250ms ease;
  --t-slow:  400ms ease;

  /* === Layout === */
  --container-max: 1180px;
  --container-pad: clamp(1.25rem, 4vw, 2rem);
}

/* ==============================================
   BASE RESET
   ============================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg-primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  margin: 0 0 var(--sp-4);
  color: var(--text-primary);
}

p { margin: 0 0 var(--sp-4); color: var(--text-secondary); line-height: 1.75; }
a { color: var(--teal); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--teal-bright); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { cursor: pointer; }

/* ==============================================
   LAYOUT UTILITIES
   ============================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section         { padding: var(--sp-24) 0; }
.section--alt    { background: var(--bg-secondary); }
.section--dark   { background: var(--bg-dark); }
.section--teal   { background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-10); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center  { text-align: center; }

/* Section header */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--fw-extrabold);
  line-height: 1.12;
  margin-bottom: var(--sp-4);
}

.section-title--inverse { color: var(--text-inverse); }

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.75;
  margin: 0;
}
.section-subtitle--inverse { color: rgba(255,255,255,0.72); }

.section-header        { margin-bottom: var(--sp-16); }
.section-header--center {
  text-align: center;
}
.section-header--center .section-subtitle { margin: 0 auto; }

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  line-height: 1;
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--r-full);
  border: 2px solid transparent;
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--text-inverse);
  box-shadow: var(--sh-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(200, 148, 26, 0.45);
  color: var(--text-inverse);
  filter: brightness(1.07);
}

.btn-teal {
  background: var(--teal);
  color: var(--text-inverse);
  box-shadow: var(--sh-teal);
}
.btn-teal:hover {
  background: var(--teal-bright);
  transform: translateY(-2px);
  color: var(--text-inverse);
  box-shadow: 0 10px 32px rgba(13, 126, 128, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-inverse);
  border-color: rgba(255,255,255,0.38);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--text-inverse);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--text-inverse);
}

.btn-lg { font-size: var(--text-lg); padding: var(--sp-5) var(--sp-10); }

/* ==============================================
   NAVIGATION
   ============================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: var(--sp-5) 0;
  transition: background var(--t-slow), box-shadow var(--t-slow), padding var(--t-slow);
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border-subtle), var(--sh-sm);
  padding: var(--sp-3) 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

/* Wordmark */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  gap: 2px;
}
.nav-logo-word {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: var(--fw-extrabold);
  letter-spacing: 0.06em;
  color: var(--teal);
  transition: color var(--t-fast);
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-logo:hover .nav-logo-word { color: var(--teal-bright); }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: var(--r-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.nav-link:hover,
.nav-link.active { color: var(--teal); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  padding: var(--sp-2) var(--sp-6);
  background: var(--gold);
  color: white;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: all var(--t-base);
  box-shadow: 0 2px 10px rgba(200, 148, 26, 0.28);
}
.nav-cta:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(200, 148, 26, 0.42);
  color: white;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border: none;
  background: transparent;
  z-index: 1001;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: var(--r-full);
  transition: all var(--t-base);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--sp-8) var(--sp-8);
  gap: var(--sp-6);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}
.nav-mobile .nav-cta {
  font-size: var(--text-lg);
  padding: var(--sp-4) var(--sp-10);
  margin-top: var(--sp-4);
}

/* ==============================================
   SCROLL PROGRESS BAR
   ============================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 100%);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: -100px; left: var(--sp-4);
  background: var(--teal);
  color: white;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-md);
  font-weight: var(--fw-semibold);
  z-index: 10000;
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* ==============================================
   HERO — HOMEPAGE
   ============================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(148deg, var(--bg-dark) 0%, #0C3232 45%, var(--teal-deep) 100%);
  padding: calc(var(--sp-32) + var(--sp-8)) 0 var(--sp-20);
}

/* Radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 80%;
  height: 140%;
  background: radial-gradient(ellipse at 60% 40%, rgba(13,126,128,0.22) 0%, transparent 65%);
  pointer-events: none;
}

/* Bottom fade to white */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 130px;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
  pointer-events: none;
}

/* Decorative circles */
.hero-orb {
  position: absolute;
  top: 12%;
  right: 3%;
  width: 520px;
  height: 520px;
  pointer-events: none;
}
.hero-orb::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(13, 126, 128, 0.18);
  border-radius: 50%;
}
.hero-orb::after {
  content: '';
  position: absolute;
  inset: 60px;
  border: 1px solid rgba(200, 148, 26, 0.14);
  border-radius: 50%;
}
.hero-orb-inner {
  position: absolute;
  inset: 140px;
  background: radial-gradient(ellipse at center, rgba(200, 148, 26, 0.10) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  background: rgba(200, 148, 26, 0.14);
  border: 1px solid rgba(200, 148, 26, 0.28);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-5);
  margin-bottom: var(--sp-6);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-bright);
  border-radius: 50%;
  animation: pulse-dot 2.2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.75); }
}
.hero-badge-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--gold-bright);
  letter-spacing: 0.06em;
}

/* Headline */
.hero h1 {
  font-size: clamp(var(--text-4xl), 6.5vw, var(--text-7xl));
  font-weight: var(--fw-extrabold);
  line-height: 1.04;
  color: var(--text-inverse);
  margin-bottom: var(--sp-6);
}
.hero h1 .gold { color: var(--gold-bright); }

.hero-sub {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: var(--sp-10);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}
.hero-scroll span {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  font-weight: var(--fw-medium);
}
.hero-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(200, 148, 26, 0.5);
  border-bottom: 2px solid rgba(200, 148, 26, 0.5);
  transform: rotate(45deg);
  animation: scroll-bounce 2.2s ease infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50%       { transform: rotate(45deg) translateY(7px); opacity: 1; }
}

/* ==============================================
   PAGE HERO (inner pages)
   ============================================== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--teal-deep) 100%);
  padding: calc(var(--sp-32) + var(--sp-8)) 0 var(--sp-20);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
}
.page-hero--alt::after {
  background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 100%);
}
.page-hero-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: var(--sp-3);
}
.page-hero h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  color: var(--text-inverse);
  margin-bottom: var(--sp-4);
  text-wrap: balance;
}
.page-hero-sub {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* ==============================================
   FEATURE CARDS
   ============================================== */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp-10);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--border-strong); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-pale);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
  font-size: 1.6rem;
  transition: background var(--t-base);
}
.card:hover .card-icon { background: var(--teal-glow); }
.card h3 { font-size: var(--text-xl); font-weight: var(--fw-bold); margin-bottom: var(--sp-3); }
.card p  { font-size: var(--text-base); color: var(--text-secondary); line-height: 1.75; margin: 0; }

/* ==============================================
   TRUST PILLARS
   ============================================== */
.trust-card {
  text-align: center;
  padding: var(--sp-10) var(--sp-6);
  border-radius: var(--r-2xl);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  transition: all var(--t-base);
}
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--border-strong); }

.trust-icon {
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, var(--teal-pale), var(--gold-pale));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  font-size: 1.75rem;
}
.trust-card h3 { font-size: var(--text-lg); margin-bottom: var(--sp-2); }
.trust-card p  { font-size: var(--text-sm); color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ==============================================
   STATS BAR
   ============================================== */
.stats-bar {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  padding: var(--sp-12) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  text-align: center;
}
.stat-item {
  position: relative;
  padding: var(--sp-4);
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: rgba(255,255,255,0.14);
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--fw-extrabold);
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.72);
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
}

/* ==============================================
   PROCESS STEPS
   ============================================== */
.steps-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  position: relative;
}
.steps-wrap::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + var(--sp-6));
  right: calc(16.67% + var(--sp-6));
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: 0.25;
}
.step { text-align: center; }
.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-extrabold);
  color: white;
  margin: 0 auto var(--sp-6);
  box-shadow: var(--sh-teal);
  position: relative;
  z-index: 1;
}
.step h3 { font-size: var(--text-xl); margin-bottom: var(--sp-3); }
.step p  { font-size: var(--text-base); color: var(--text-secondary); max-width: 240px; margin: 0 auto; }

/* ==============================================
   CTA SECTION
   ============================================== */
.cta-section {
  padding: var(--sp-24) 0;
  background: linear-gradient(140deg, var(--bg-dark) 0%, var(--teal-deep) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(200,148,26,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  color: var(--text-inverse);
  margin-bottom: var(--sp-4);
}
.cta-section .lead {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.68);
  max-width: 480px;
  margin: 0 auto var(--sp-10);
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* ==============================================
   CONTACT FORM
   ============================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-12);
  align-items: start;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-5);
  background: var(--bg-secondary);
  border-radius: var(--r-xl);
  margin-bottom: var(--sp-4);
  transition: all var(--t-base);
}
.contact-info-card:hover { box-shadow: var(--sh-sm); background: white; }

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--teal-pale), var(--gold-pale));
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-info-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: var(--sp-1);
}
.contact-info-value {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}

.form-wrap {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--r-3xl);
  padding: var(--sp-12);
  box-shadow: var(--sh-xl);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.form-group:last-child { margin-bottom: 0; }

.form-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}
.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  width: 100%;
  outline: none;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px var(--teal-glow);
}
.form-textarea { min-height: 160px; resize: vertical; }
.form-submit   { width: 100%; justify-content: center; font-size: var(--text-lg); padding: var(--sp-5); }

.form-notice {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--sp-4);
  margin-bottom: 0;
}

/* ==============================================
   COMPANY INFO BAR
   ============================================== */
.company-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-5) 0;
}
.company-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  align-items: center;
  justify-content: center;
}
.company-bar-item {
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.company-bar-item strong { color: var(--text-secondary); font-weight: var(--fw-semibold); }
.company-bar-sep {
  color: var(--border-strong);
  font-size: var(--text-lg);
}

/* ==============================================
   ABOUT PAGE
   ============================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.value-card {
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--r-2xl);
  border-left: 4px solid var(--teal);
  background: var(--bg-secondary);
  transition: all var(--t-base);
}
.value-card:nth-child(2n) { border-left-color: var(--gold); }
.value-card:hover { background: var(--bg-primary); box-shadow: var(--sh-md); transform: translateX(4px); }
.value-card h3 { font-size: var(--text-lg); margin-bottom: var(--sp-2); }
.value-card p  { font-size: var(--text-sm); color: var(--text-muted); margin: 0; }

.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:last-child { border-bottom: none; }
.company-table td { padding: var(--sp-4) var(--sp-6); font-size: var(--text-base); }
.company-table td:first-child {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--teal);
  width: 35%;
}
.company-table td:last-child { color: var(--text-secondary); }

/* ==============================================
   LEGAL PAGES
   ============================================== */
.draft-notice {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  background: rgba(245, 166, 35, 0.10);
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: #8A6200;
  margin-bottom: var(--sp-10);
}

.legal-body {
  max-width: 780px;
  margin: 0 auto;
}
.legal-body h2 {
  font-size: var(--text-2xl);
  color: var(--teal);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--teal-pale);
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 {
  font-size: var(--text-lg);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}
.legal-body p  { color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--sp-4); }
.legal-body ul {
  list-style: disc;
  padding-left: var(--sp-8);
  margin-bottom: var(--sp-4);
}
.legal-body ul li {
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
  line-height: 1.7;
}
.ph {
  font-family: monospace;
  font-size: 0.88em;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-sm);
  padding: 1px 6px;
  color: #7A5500;
}

/* Legal nav strip */
.legal-nav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-4) 0;
}
.legal-nav-inner {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
  align-items: center;
}
.legal-nav-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  font-family: var(--font-display);
}
.legal-nav a {
  font-size: var(--text-sm);
  color: var(--teal);
  font-weight: var(--fw-medium);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: all var(--t-fast);
}
.legal-nav a:hover,
.legal-nav a.active {
  border-color: var(--teal);
  background: var(--teal-pale);
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.65);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.footer-logo .nav-logo-word { color: rgba(255,255,255,0.88); font-size: 1.5rem; }
.footer-logo .nav-logo-sub  { color: var(--gold-bright); }
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
  margin-top: var(--sp-4);
  line-height: 1.75;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--gold-bright); }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--sp-8);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
  line-height: 1.75;
}
.footer-legal { display: flex; gap: var(--sp-6); flex-wrap: wrap; }
.footer-legal a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.38);
  transition: color var(--t-fast);
}
.footer-legal a:hover { color: var(--gold-bright); }

/* ==============================================
   SCROLL ANIMATIONS
   ============================================== */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.anim.in { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: 0.10s; }
.anim-d2 { transition-delay: 0.20s; }
.anim-d3 { transition-delay: 0.30s; }
.anim-d4 { transition-delay: 0.40s; }

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; gap: var(--sp-8); }
}

@media (max-width: 768px) {
  :root {
    --sp-24: 4rem;
    --sp-20: 3.5rem;
    --sp-16: 3rem;
  }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-orb { width: 280px; height: 280px; top: 4%; right: -8%; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: var(--sp-6); }
  .steps-wrap { grid-template-columns: 1fr; gap: var(--sp-8); }
  .steps-wrap::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: var(--sp-8); }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .company-bar-inner { flex-direction: column; text-align: center; }
  .company-bar-sep { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ==============================================
   PRODUCT COMPONENTS v2.0 — Digital Products
   Added: 2026-08-03
   ============================================== */

.product-feature {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--sp-16);
  align-items: center;
  background: var(--bg-secondary);
  border-radius: var(--r-3xl);
  border: 1px solid var(--border);
  overflow: hidden;
}
.product-feature-img {
  background: var(--bg-tertiary);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: stretch;
}
.product-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-feature-body { padding: var(--sp-10) var(--sp-10) var(--sp-10) 0; }

@media (min-width: 901px) {
  .product-feature--alt { direction: rtl; }
  .product-feature--alt .product-feature-img { direction: ltr; }
  .product-feature--alt .product-feature-body { direction: ltr; padding: var(--sp-10) 0 var(--sp-10) var(--sp-10); }
}
.product-feature-body h3 {
  font-size: clamp(var(--text-2xl), 2.5vw, var(--text-3xl));
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin: var(--sp-3) 0 var(--sp-4);
  line-height: 1.2;
  text-wrap: balance;
}

@media (max-width: 900px) {
  .product-feature {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    direction: ltr !important;
  }
  .product-feature-img {
    min-height: 280px !important;
    height: 320px !important;
  }
  .product-feature-img img {
    object-fit: cover !important;
    object-position: center top !important;
  }
  .product-feature-body {
    padding: var(--sp-6) !important;
    direction: ltr !important;
    text-align: left !important;
  }
}

.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.product-card:hover { box-shadow: 0 16px 48px rgba(13,126,128,0.14); transform: translateY(-4px); }
.product-card-img {
  background: linear-gradient(135deg, rgba(13,74,71,0.06) 0%, rgba(201,147,10,0.06) 100%);
  overflow: hidden;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}
.product-card-img img {
  width: auto;
  max-width: 100%;
  max-height: 250px;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body { padding: var(--sp-6); flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 {
  font-size: var(--text-xl);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin: var(--sp-2) 0 var(--sp-3);
  line-height: 1.3;
}
.product-card-body p { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.7; flex: 1; }

.product-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--teal-pale);
  color: var(--teal-deep);
}
.product-badge--flagship { background: var(--gold-pale); color: var(--gold); border: 1px solid var(--border-gold); }

.product-includes { list-style: none; padding: 0; margin: var(--sp-5) 0; }
.product-includes li {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  font-size: var(--text-sm); color: var(--text-secondary);
  padding: 3px 0; line-height: 1.5;
}
.product-includes li::before { content: '✓'; color: var(--teal); font-weight: var(--fw-bold); flex-shrink: 0; }
.product-includes--sm li { font-size: var(--text-xs); }

.product-price-row {
  display: flex; align-items: center; gap: var(--sp-4);
  margin-top: auto; padding-top: var(--sp-4);
  border-top: 1px solid var(--border-subtle);
}
.product-price { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--fw-bold); color: var(--teal-deep); }
.product-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
  overflow-wrap: break-word;
}

@media (max-width: 600px) {
  .product-feature-body {
    padding: var(--sp-4) !important;
  }
  .product-desc {
    font-size: var(--text-sm);
    line-height: 1.6;
  }
  .product-price-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-3);
  }
  .product-price-row .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* --- Mobile Legal Summary Grid --- */
.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

@media (max-width: 768px) {
  .legal-summary-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .legal-nav-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: var(--sp-2);
    -webkit-overflow-scrolling: touch;
  }
  .legal-nav-inner a { flex-shrink: 0; }
  .legal-body { padding: 0 var(--sp-2); }
  .legal-body h2 { font-size: var(--text-xl); }
  .legal-body ul { padding-left: var(--sp-5); }
}

@media (max-width: 640px) {
  .company-table tr { display: flex; flex-direction: column; padding: var(--sp-3) 0; }
  .company-table td { padding: var(--sp-1) var(--sp-4); width: 100% !important; }
  .company-table td:first-child { color: var(--teal); font-weight: var(--fw-bold); margin-bottom: 2px; }
}


