/* ========================================
   ELITEDGE — Design System v2
   Logo: #263647 (Deep Steel Navy)
   Palette: Steel Navy · Slate · Teal · Smoke White
   ======================================== */

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

:root {
  /* ── Brand Core ── */
  --brand:         #263647;   /* logo exact */
  --brand-mid:     #344D62;   /* lighter navy */
  --brand-light:   #4A6580;   /* medium slate */
  --brand-muted:   #6B8499;   /* muted slate */

  /* ── Accent: Teal (contrast + CTA) ── */
  --accent:        #1A7F6E;   /* deep teal */
  --accent-light:  #22A08B;   /* medium teal */
  --accent-pale:   #D4EDE9;   /* teal tint */

  /* ── Neutral Scale ── */
  --white:         #FFFFFF;
  --smoke:         #F5F7F9;   /* near-white with cool tint */
  --grey-50:       #EEF1F4;
  --grey-100:      #DDE3EA;
  --grey-300:      #A8B6C2;
  --grey-500:      #6B7F8F;
  --grey-700:      #3D5062;
  --ink:           #1C2B38;   /* near-black text */

  /* ── Semantic Surface Colors ── */
  --surface-1:     #FFFFFF;
  --surface-2:     #F5F7F9;
  --surface-3:     #EEF1F4;
  --surface-dark:  #263647;

  /* ── Gradients ── */
  --grad-hero:     linear-gradient(145deg, #ffffff 0%, #ffffff 50%, #fafdfe 100%);
  --grad-brand:    linear-gradient(135deg, #263647 0%, #344D62 100%);
  --grad-accent:   linear-gradient(135deg, #1A7F6E 0%, #22A08B 100%);
  --grad-warm:     linear-gradient(145deg, #F0F4F7 0%, #E6EEF3 100%);
  --grad-section:  linear-gradient(180deg, #F5F7F9 0%, #EEF1F4 100%);

  /* ── Shadows ── */
  --shadow-xs:     0 1px 4px rgba(38,54,71,0.06);
  --shadow-sm:     0 2px 10px rgba(38,54,71,0.08);
  --shadow-md:     0 8px 28px rgba(38,54,71,0.10);
  --shadow-lg:     0 16px 48px rgba(38,54,71,0.13);

  /* ── Shape ── */
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  /* ── Typography ── */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ─────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--grey-700); line-height: 1.75; }
.lead { font-size: 1.12rem; line-height: 1.8; color: var(--grey-700); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-accent {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--grad-accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(26,127,110,0.30);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,127,110,0.42);
  color: var(--white);
}

/* Keep old class names working */
.btn-gold { display: inline-block; padding: 0.85rem 2.2rem; background: var(--grad-accent); color: var(--white); font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.03em; border-radius: 50px; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 4px 16px rgba(26,127,110,0.30); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,127,110,0.42); color: var(--white); }

.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 50px;
  border: 2px solid var(--brand);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-outline:hover { background: var(--brand); color: var(--white); transform: translateY(-2px); }

.btn-outline-white {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.35s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--grey-100), var(--shadow-xs);
  padding: 0.6rem 0;
}
.navbar-brand img { height: 36px; }
.nav-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand) !important;
  padding: 0.4rem 0.9rem !important;
  border-radius: 6px;
  transition: all 0.18s ease;
}
.nav-link:hover, .nav-link.active { background: var(--grey-50); color: var(--brand) !important; }
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }
.nav-item.current .nav-link { background: var(--grey-50); }

/* ─────────────────────────────────────────
   LAYOUT UTILS
───────────────────────────────────────── */
.section-pad    { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--accent-light);
}

/* ─────────────────────────────────────────
   CARDS
───────────────────────────────────────── */
/* Main glass/surface card */
.glass-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--grey-300);
}

/* ─────────────────────────────────────────
   ICON BADGES
───────────────────────────────────────── */
.icon-badge {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.icon-badge-1  { background: #E0EAF2; }   /* steel tint */
.icon-badge-2  { background: var(--accent-pale); }  /* teal tint */
.icon-badge-3  { background: #E8EDF2; }   /* light slate */
.icon-badge-4  { background: #DDE8EE; }   /* blue-grey */
.icon-badge-5  { background: #E4EDE9; }   /* sage tint */
.icon-badge-6  { background: #EAF0F5; }   /* frost */

/* Legacy aliases */
.icon-badge-lavender { background: #E0EAF2; }
.icon-badge-mint     { background: var(--accent-pale); }
.icon-badge-peach    { background: #E8EDF2; }
.icon-badge-blue     { background: #DDE8EE; }
.icon-badge-sage     { background: #E4EDE9; }
.icon-badge-gold     { background: #EAF0F5; }

/* ─────────────────────────────────────────
   PRICING TABLES
───────────────────────────────────────── */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-table thead th {
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.1rem;
}
.pricing-table tbody tr { background: var(--white); transition: background 0.15s ease; }
.pricing-table tbody tr:nth-child(even) { background: var(--smoke); }
.pricing-table tbody tr:hover { background: var(--accent-pale); }
.pricing-table tbody td {
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: var(--grey-700);
  border-bottom: 1px solid var(--grey-50);
}
.pricing-table tbody td:first-child { font-weight: 600; color: var(--brand); }
.price-tag { color: var(--accent); font-weight: 700; }

/* ─────────────────────────────────────────
   TESTIMONIAL
───────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--accent-light);
  transition: transform 0.2s ease;
}
.testimonial-card:hover { transform: translateY(-4px); }
.stars { color: var(--accent-light); font-size: 0.95rem; letter-spacing: 2px; }
.testimonial-text { font-style: italic; color: var(--grey-700); margin: 0.9rem 0; font-size: 0.93rem; }
.testimonial-author { font-weight: 700; color: var(--brand); font-size: 0.88rem; }
.testimonial-role   { font-size: 0.78rem; color: var(--grey-500); }

/* ─────────────────────────────────────────
   TRUST BADGE
───────────────────────────────────────── */
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 50px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand);
  box-shadow: var(--shadow-xs);
}
.trust-badge-icon { font-size: 0.9rem; }

/* ─────────────────────────────────────────
   VALUE PILL
───────────────────────────────────────── */
.value-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.863);
  padding: 70px 0 30px;
}
footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
footer p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.18s ease;
}

footer a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.18s ease;
}
footer a:hover { color: var(--white); }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 2rem 0 1.5rem; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.10);
  border-radius: 8px;
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.88rem;
  margin-right: 0.4rem;
  transition: all 0.18s ease;
}
.social-link:hover { background: var(--accent); color: var(--white) !important; transform: translateY(-2px); }

/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.10s; }
.fade-up-delay-2 { transition-delay: 0.20s; }
.fade-up-delay-3 { transition-delay: 0.30s; }
.fade-up-delay-4 { transition-delay: 0.40s; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 75% 20%, rgba(26,127,110,0.07) 0%, transparent 55%),
    radial-gradient(circle at 15% 70%, rgba(38,54,71,0.05) 0%, transparent 50%);
}
/* Geometric accent shapes */
.hero-geo {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.35;
}
.hero-geo-1 {
  width: 420px; height: 420px;
  background: var(--grey-100);
  top: -120px; right: -80px;
}
.hero-geo-2 {
  width: 220px; height: 220px;
  background: var(--accent-pale);
  bottom: 60px; right: 260px;
}
.hero-geo-3 {
  width: 160px; height: 160px;
  background: var(--grey-50);
  top: 35%; left: -40px;
}

/* ─────────────────────────────────────────
   STAT BAR
───────────────────────────────────────── */
.stat-bar {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-100);
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.75rem;
  color: var(--grey-500);
  margin-top: 0.2rem;
}

/* ─────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 50px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* ─────────────────────────────────────────
   ONBOARDING STEP CARDS
───────────────────────────────────────── */
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-100);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--grey-50);
  position: absolute;
  top: 1rem; right: 1.5rem;
  user-select: none;
}
.step-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.connector { display: flex; justify-content: center; padding: 0.3rem 0; }
.connector-line {
  width: 2px; height: 36px;
  background: linear-gradient(to bottom, var(--grey-100), var(--accent-pale));
}

/* ─────────────────────────────────────────
   TEAM CARDS
───────────────────────────────────────── */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-100);
  transition: transform 0.2s ease;
}
.team-card:hover { transform: translateY(-4px); }
.team-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--grad-hero);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  border: 2px solid var(--grey-100);
}
.team-card h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.team-card .role { font-size: 0.78rem; color: var(--accent); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.8rem; }
.team-card p { font-size: 0.83rem; color: var(--grey-500); }

/* ─────────────────────────────────────────
   CASE STUDY
───────────────────────────────────────── */
.case-tag {
  display: inline-block;
  background: var(--grey-50);
  color: var(--brand);
  border-radius: 4px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0.2rem;
  border: 1px solid var(--grey-100);
}
.result-highlight {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--accent-pale);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  margin: 0.4rem 0;
}
.result-highlight .result-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
  font-size: 1.05rem;
}
.result-highlight .result-text { font-size: 0.78rem; color: var(--grey-700); }

/* ─────────────────────────────────────────
   CONTACT FORM
───────────────────────────────────────── */
.contact-form .form-control,
.contact-form .form-select {
  border: 1.5px solid var(--grey-100);
  border-radius: var(--radius-md);
  padding: 0.82rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--brand);
  background: var(--white);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(26,127,110,0.10);
  outline: none;
}
.contact-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 0.4rem;
}
.form-success {
  display: none;
  background: var(--accent-pale);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  color: var(--brand);
}

/* ─────────────────────────────────────────
   VALUE CARD
───────────────────────────────────────── */
.value-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: transform 0.2s ease;
}
.value-card:hover { transform: translateY(-3px); }

/* ─────────────────────────────────────────
   BG UTILITIES
───────────────────────────────────────── */
.bg-hero-grad   { background: var(--grad-hero); }
.bg-warm-grad   { background: var(--grad-warm); }
.bg-soft-grey   { background: var(--smoke); }
.bg-navy        { background: var(--brand); }
.bg-white       { background: var(--white); }

/* Stripe divider between sections */
.section-divider {
  height: 1px;
  background: var(--grey-100);
  margin: 0;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 991px) {
  .stat-bar { gap: 1.5rem; }
}
@media (max-width: 767px) {
  .section-pad    { padding: 60px 0; }
  .hero-section   { padding-top: 100px; padding-bottom: 40px; }
  .page-hero      { padding: 130px 0 60px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .stat-bar { gap: 1rem; }
}

/* ─────────────────────────────────────────
   CODE PROTECTION — Disable text selection
───────────────────────────────────────── */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Allow selection in form inputs only */
input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
