/* CURSOR_VISUAL_TEST – 2025-11-25 */

/* core.css - SEAREI Marketing Site Design System */
/* Modern, B2B "Apple-ish" aesthetic - Mobile-first, no frameworks */

/* ============================================
   RESET & BASE
   ============================================ */

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

:root {
  /* Concrete & Ink Theme Variables */
  --sea-bg-main: #ffffff;
  --sea-bg-base: #ffffff;
  --sea-bg-alt: #f5f5f7;
  --sea-bg-warm: #faf8f5;
  --sea-text-main: #1d1d1f;
  --sea-text-muted: #86868b;
  --sea-text-subtle: #6e6e73;
  --sea-border-subtle: #e5e5e7;
  --sea-border-strong: #d2d2d7;
  --sea-accent-main: #1d1d1f;
  --sea-accent-hover: #000000;
  
  /* Legacy Colors (for backward compatibility) */
  --color-bg: var(--sea-bg-base);
  --color-bg-alt: var(--sea-bg-alt);
  --color-text: var(--sea-text-main);
  --color-text-secondary: var(--sea-text-muted);
  --color-text-tertiary: var(--sea-text-subtle);
  --color-border: var(--sea-border-strong);
  --color-border-light: var(--sea-border-subtle);
  
  /* Brand Colors */
  --color-primary: #0071e3;
  --color-primary-hover: #0077ed;
  --color-primary-light: #e6f2ff;
  --color-accent: #34c759;
  --color-error: #ff3b30;
  
  /* Typography */
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-sans: var(--font-main);
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */
  
  /* Border radius tokens */
  --radius-full: 999px;
  
  /* Typography Scale */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.75rem;   /* 60px */
  
  /* Line Height Tokens */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;
  
  /* Layout */
  --container-max: 1200px;
  --container-padding: var(--space-lg);
  --border-radius: 12px;
  --border-radius-lg: 18px;
  --border-radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-slow-smooth: 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slider: 0.15s ease-out;
  
  /* Shadows */
  --shadow-hero: 0 24px 60px rgba(15, 23, 42, 0.15);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}

a:focus-visible {
  outline: 2px solid var(--sea-accent-main);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 2;
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
  background: var(--sea-bg-main);
}

@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 48px 0;
  }
}

/* Ensure all sections use consistent container alignment */
.section > .container,
.section-alt > .container,
.section--warm > .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-alt {
  background: radial-gradient(circle at top, #f7f7fb 0%, #f4f4f8 55%, #ffffff 100%);
  position: relative;
  z-index: 2;
  /* Padding inherited from .section */
}

/* Section background variations for depth */
.section--warm {
  background: radial-gradient(circle at top left, #faf3ec 0%, #f7f2ec 55%, #fdfbfa 100%);
  /* Padding inherited from .section */
}

/* Global section headings – kill random top margins and standardize rhythm */
.section .section-eyebrow,
.section .eyebrow,
.section .kicker {
  margin-top: 0;
  margin-bottom: 8px;
}

.section h2,
.section .section-title {
  margin-top: 0;          /* remove browser default */
  margin-bottom: 16px;    /* same for all sections */
}

.section .section-subtitle,
.section .section-lead {
  margin-top: 0;
  margin-bottom: 32px;    /* space between text block and cards/content */
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.section-kicker {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-tertiary);
  margin-top: 0;
  margin-bottom: 8px;
  position: relative;
  z-index: 3;
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-top: 0;
  margin-bottom: 32px;
}


/* ============================================
   TRUST STRIP
   ============================================ */

/* ============================================
   Social-proof + testimonial rail
   ============================================ */

/* .social-proof - no extra padding, inherits from .section */

.social-proof-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 768px) {
  .social-proof-header {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }
}

.social-proof-copy {
  text-align: left;
}

@media (max-width: 767px) {
  .social-proof-copy {
    text-align: center;
  }
}

.social-proof-copy .eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin: 0;
}

.social-proof-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin: var(--space-sm) 0 var(--space-md);
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .social-proof-title {
    font-size: var(--text-4xl);
  }
}

.social-proof-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.social-proof-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin: 0;
}

.social-proof-rating {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}

.social-proof-rating-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.social-proof-logos {
  margin-top: var(--space-xl);
  text-align: center;
}

.social-proof-logos-eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-sm);
  margin-top: 0;
}

.social-proof-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .social-proof-logos {
    text-align: right;
  }
  
  .social-proof-logos-grid {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .social-proof-logos-grid {
    justify-content: center;
  }
}

.social-proof-logo-item {
  flex: 0 0 auto;
}

.social-proof-logo {
  height: 28px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(70%) opacity(0.7);
  transition: filter var(--transition-base), transform var(--transition-base), opacity var(--transition-base);
  display: block;
}

@media (min-width: 768px) {
  .social-proof-logo:hover {
    filter: grayscale(40%) opacity(0.9);
    transform: translateY(-1px);
  }
}

@media (max-width: 767px) {
  .social-proof-logo {
    max-width: 130px;
    height: 24px;
  }
}

/* Testimonial Rail */
.testimonial-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
  gap: var(--space-lg);
  justify-content: center;
  justify-items: center;
  align-items: start;
  padding: var(--space-2xl) var(--container-padding);
  margin: 0 auto;
  max-width: var(--container-max);
  width: 100%;
}

/* Fallback to flex for horizontal scroll on smaller screens */
@media (max-width: 1023px) {
  .testimonial-rail {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
  }
  
  .testimonial-rail::-webkit-scrollbar {
    display: none;
  }
  
  /* Add equal spacing on both sides to center cards when scrolling */
  .testimonial-rail::before,
  .testimonial-rail::after {
    content: '';
    flex: 1 1 0;
    min-width: var(--container-padding);
  }
}

.testimonial-rail::-webkit-scrollbar {
  display: none;
}

.testimonial-rail .testimonial-card {
  flex: 0 0 auto;
  width: 100%;
  max-width: 400px;
  min-width: 300px;
  scroll-snap-align: center;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-base);
  margin: 0 auto;
}

.testimonial-rail .testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .testimonial-rail {
    grid-template-columns: repeat(2, minmax(300px, 400px));
  }
  
  .testimonial-rail .testimonial-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (min-width: 1024px) {
  .testimonial-rail {
    grid-template-columns: repeat(3, minmax(300px, 400px));
  }
  
  .testimonial-rail .testimonial-card {
    width: 100%;
    max-width: 400px;
  }
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--color-text);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  opacity: 0.8;
}

.testimonial-nav:hover {
  opacity: 1;
  box-shadow: var(--shadow-lg);
  background-color: var(--color-bg);
}

.testimonial-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.testimonial-nav-prev {
  left: var(--space-md);
}

.testimonial-nav-next {
  right: var(--space-md);
}

@media (max-width: 767px) {
  .testimonial-nav {
    display: none;
  }
}

.testimonial-rail .testimonial-quote {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  font-style: italic;
  margin: 0 0 var(--space-lg);
}

.testimonial-rail .testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin: 0;
}

.testimonial-rail .testimonial-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-rail .testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  font-weight: 400;
}

/* Legacy testimonials section cleanup */
.testimonials-section {
  background-color: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: 0;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: var(--space-2xl);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: 24px;
  box-shadow:
    0 14px 40px rgba(15, 23, 42, 0.08),
    0 4px 10px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-base);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow:
      0 20px 50px rgba(15, 23, 42, 0.12),
      0 6px 15px rgba(15, 23, 42, 0.06);
    border-color: var(--color-border);
  }
}

.testimonial-card-muted {
  opacity: 0.85;
}

.testimonial-quote {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  font-weight: 400;
}

/* Legacy support - keep for backward compatibility */
.testimonial-author {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
  margin: 0;
}

/* ============================================
   NAVIGATION
   ============================================ */

.searei-nav {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none; /* Light, not heavy - only subtle border */
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: var(--color-text);
}

.nav-brand:focus-visible {
  outline: 2px solid var(--sea-accent-main);
  outline-offset: 2px;
  border-radius: 2px;
}

.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.nav-title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.nav-tagline {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:focus-visible {
  outline: 2px solid var(--sea-accent-main);
  outline-offset: 2px;
  border-radius: 2px;
}

.nav-link.active {
  color: var(--color-text); /* Darker text for active link */
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 1px;
}

.nav-link-signin {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  margin-left: var(--space-md);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    gap: var(--space-md);
  }
  
  .nav-link {
    font-size: var(--text-xs);
  }
  
  .nav-tagline {
    display: none;
  }
  
  .nav-brand {
    gap: var(--space-sm);
  }
  
  .nav-logo {
    width: 32px;
    height: 32px;
  }
  
  .nav-title {
    font-size: var(--text-lg);
  }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  border-top: 1px solid var(--color-border-light);
  background: var(--color-bg);
  margin-top: var(--space-4xl);
  position: relative;
  z-index: 1000;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
  max-width: 360px;
}

.footer-logo-mark {
  width: 140px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.footer-brand-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.footer-brand-tagline {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column-title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.footer-column a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-text);
}

.footer-column a:focus-visible {
  outline: 2px solid var(--sea-accent-main);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-meta {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-logo-mark {
    width: 120px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: flex-start;
    gap: var(--space-lg);
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg);
  border-color: var(--color-text-tertiary);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
}

.btn:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sea-accent-main);
  outline-offset: 2px;
}

.btn-primary:focus-visible {
  outline-color: white;
  outline-offset: 3px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  background: transparent;
  position: relative;
  z-index: 2;
  /* Padding inherited from .section */
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
  z-index: 10;
  max-width: 580px; /* Prevent text column from stretching too wide */
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.hero-cta-row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.meta-label {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-value {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.hero-visual {
  position: relative;
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero-slider {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 24px 80px rgba(15, 23, 42, 0.16),
    0 8px 24px rgba(15, 23, 42, 0.10);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  transition: box-shadow var(--transition-base);
}

.hero-slider:hover {
  box-shadow:
    0 28px 90px rgba(15, 23, 42, 0.18),
    0 10px 28px rgba(15, 23, 42, 0.12);
}

.hero-slider-inner {
  position: relative;
  height: 360px;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  border-radius: inherit;
  overflow: hidden;
}

.hero-slider-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

.hero-slider-before {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.18s ease-out;
}

.hero-slider-handle {
  position: absolute;
  inset: 0;
  width: 1px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.hero-slider-knob {
  position: absolute;
  top: 65%;
  left: 50%;
  width: 4px;
  height: 60px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4), 0 0 6px rgba(255, 255, 255, 0.2);
  pointer-events: auto;
  cursor: grab;
  transition: transform var(--transition-slider), box-shadow var(--transition-slider), background var(--transition-slider);
}

.hero-slider-knob::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.7);
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) rotate(-45deg);
}

.hero-slider-knob::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) rotate(45deg);
}

.hero-slider-knob:hover {
  cursor: grab;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.45), 0 0 7px rgba(255, 255, 255, 0.25);
  transform: translateX(-50%) scaleY(1.05);
}

.hero-slider-knob:active {
  cursor: grabbing;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.5), 0 0 8px rgba(255, 255, 255, 0.3);
  transform: translateX(-50%) scaleY(1.1);
}


.hero-slider-label {
  position: absolute;
  bottom: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.65);
  color: var(--color-bg);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.hero-slider-label-left {
  left: var(--space-md);
  bottom: var(--space-md);
}

.hero-slider-label-right {
  right: var(--space-md);
  bottom: var(--space-md);
}

.hero-slider-caption {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-align: center;
}

@media (max-width: 968px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-meta {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .hero-slider {
    border-radius: 18px;
  }
  
  .hero-slider-inner {
    height: 280px;
    border-radius: 18px;
  }
}

@media (max-width: 640px) {
  .hero-slider-inner {
    height: 240px;
  }
  
  .hero-slider-label {
    font-size: 10px;
    padding: var(--space-xs) var(--space-sm);
    bottom: var(--space-sm);
  }
  
  .hero-slider-label-left {
    left: var(--space-sm);
  }
  
  .hero-slider-label-right {
    right: var(--space-sm);
  }
}

/* ============================================
   CARDS & GRIDS
   ============================================ */

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

  /* Make ALL proof-grids match */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
}

.proof-card {
  padding: var(--space-xl);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  z-index: 2;
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border);
}

.proof-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.proof-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: 0;          /* let the subtitle spacing control the gap */
  margin-bottom: 0;
}

.persona-card {
  padding: var(--space-2xl);
  background-color: var(--color-bg);
  position: relative;
  z-index: 2;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
}

.persona-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.persona-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.persona-list {
  list-style: none;
  padding: 0;
}

.persona-list li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-xl);
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.persona-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================
   CTA SECTION
   ============================================ */

.section-cta {
  background: var(--color-primary);
  color: white;
  text-align: center;
}

.section-cta .section-kicker,
.section-cta .section-title,
.section-cta .section-subtitle {
  color: white;
}

.section-cta .section-subtitle {
  opacity: 0.9;
}

.section-cta-credibility {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--space-sm);
  margin-bottom: 0;
  line-height: var(--leading-normal);
}

.section-cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.section-cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.section-cta .btn-primary {
  background-color: white;
  color: var(--color-primary);
}

.section-cta .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.95);
}

.section-cta .btn-outline {
  border-color: white;
  color: white;
}

.section-cta .btn-outline:hover {
  background-color: white;
  color: var(--color-primary);
}

/* ============================================
   PRICING PAGE
   ============================================ */

.pricing-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

/* Responsive: 2 columns on tablet, 1 on mobile */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  padding: var(--space-xl);
  background-color: var(--color-bg);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--sea-border-strong);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.12);
  /* Remove scale transform to avoid layout shift */
}

/* Secondary pricing cards (smaller, less prominent) */
.pricing-card-secondary {
  padding: var(--space-lg);
  max-width: 100%;
}

.pricing-card-secondary .pricing-name {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.pricing-card-secondary .pricing-description {
  font-size: var(--text-xs);
  margin-bottom: var(--space-md);
}

.pricing-card-secondary .pricing-price {
  font-size: var(--text-2xl);
}

.pricing-card-secondary .pricing-features {
  margin-bottom: var(--space-lg);
  font-size: var(--text-xs);
}

.pricing-card-secondary .pricing-features li {
  padding: var(--space-xs) 0;
  padding-left: var(--space-lg);
}

.pricing-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.pricing-read-more {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: var(--text-sm);
  text-decoration: underline;
  cursor: pointer;
  padding: var(--space-xs) 0;
  text-align: center;
}

.pricing-read-more:hover {
  color: var(--color-primary-dark);
}

/* Popover */
.pricing-popover {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.pricing-popover.is-open {
  display: flex;
}

.pricing-popover__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.pricing-popover__content {
  position: relative;
  z-index: 1001;
  background: white;
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: var(--space-xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.pricing-popover__content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--sea-text-main);
}

.pricing-popover__content ul {
  list-style: disc;
  margin-left: var(--space-lg);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.pricing-popover__content li {
  margin-bottom: var(--space-xs);
  color: var(--sea-text-secondary);
}

.pricing-popover__content p {
  margin-bottom: var(--space-md);
  color: var(--sea-text-secondary);
}

.pricing-popover__content .btn {
  margin-top: var(--space-md);
}

.pricing-popover__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: var(--text-2xl);
  color: var(--sea-text-secondary);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  border-radius: var(--border-radius-sm);
  transition: background-color var(--transition-fast);
}

.pricing-popover__close:hover {
  color: var(--sea-text-main);
  background-color: var(--sea-bg-alt);
}

@media (max-width: 768px) {
  .pricing-popover {
    padding: var(--space-md);
  }
  
  .pricing-popover__content {
    max-width: 100%;
    padding: var(--space-lg);
  }
}

.pricing-card-header {
  margin-bottom: var(--space-xl);
}

.pricing-tier {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.pricing-card.featured .pricing-tier {
  color: var(--color-primary);
}

.pricing-name {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.pricing-description {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.pricing-price {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-xl);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-xl);
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

.pricing-cta {
  width: 100%;
}

.calculator {
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  margin-top: var(--space-4xl);
}

.calculator-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.calculator-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.calculator-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.calculator-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.calculator-input {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  transition: border-color var(--transition-fast);
}

.calculator-input:focus,
.calculator-input:focus-visible {
  outline: none;
  border-color: var(--color-primary);
}

.calculator-total {
  text-align: center;
  padding: var(--space-2xl);
  background-color: var(--color-bg);
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--color-primary);
}

.calculator-total-label {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-sm);
}

.calculator-total-amount {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-primary);
}

.pricing-reassurance {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.calculator-summary {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background-color: var(--color-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border-light);
}

.calculator-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.calculator-summary-item:last-of-type {
  margin-bottom: 0;
}

.calculator-summary-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
}

.calculator-summary-value {
  font-size: var(--text-base);
  color: var(--color-text);
  font-weight: 600;
}

.calculator-summary-includes {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.calculator-summary-includes .calculator-summary-label {
  display: block;
  margin-bottom: var(--space-sm);
}

.calculator-summary-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.calculator-summary-features li {
  padding: var(--space-xs) 0;
  padding-left: var(--space-xl);
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.calculator-summary-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

.calculator-actions {
  margin-top: var(--space-2xl);
  text-align: center;
}

.calculator-actions .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .calculator-actions .btn {
    width: auto;
    min-width: 280px;
  }
}

.calculator-reassurance {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-md);
  margin-bottom: 0;
  line-height: var(--leading-relaxed);
}

.pricing-cta-helper {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-top: var(--space-sm);
  margin-bottom: 0;
  line-height: var(--leading-normal);
  text-align: center;
}

.calculator-quote-panel {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background-color: var(--color-bg);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border-light);
}

.calculator-quote-header {
  margin-bottom: var(--space-lg);
}

.calculator-quote-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.calculator-quote-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.calculator-quote-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
}

.calculator-quote-info-label {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.calculator-quote-info-value {
  color: var(--color-text);
  font-weight: 600;
}

.calculator-quote-line-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.quote-line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
}

.quote-line-label {
  color: var(--color-text-secondary);
}

.quote-line-price {
  color: var(--color-text);
  font-weight: 500;
}

.calculator-quote-totals {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.calculator-quote-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-base);
}

.calculator-quote-total-row-final {
  font-size: var(--text-lg);
  font-weight: 600;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-light);
  margin-top: var(--space-xs);
}

.calculator-quote-total-label {
  color: var(--color-text);
}

.calculator-quote-total-value {
  color: var(--color-primary);
  font-weight: 600;
}

.faq-section {
  margin-top: var(--space-4xl);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-xl) 0;
}

.faq-question {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.faq-question::after {
  content: '+';
  font-size: var(--text-2xl);
  color: var(--color-text-tertiary);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: var(--space-md);
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */

.portfolio-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-text-secondary);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.filter-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.portfolio-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.portfolio-item:hover {
  transform: scale(1.02);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.portfolio-tags {
  font-size: var(--text-xs);
  opacity: 0.9;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--border-radius-lg);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: var(--text-2xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  margin-bottom: var(--space-4xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-method {
  padding: var(--space-xl);
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius-lg);
}

.contact-method-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.contact-method-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-form {
  padding: var(--space-2xl);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
}

.form-group {
  margin-bottom: var(--space-xl);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-input:focus-visible,
.form-textarea:focus,
.form-textarea:focus-visible,
.form-select:focus,
.form-select:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-xs);
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error .form-input,
.form-group.error .form-textarea,
.form-group.error .form-select {
  border-color: var(--color-error);
}

.form-submit {
  width: 100%;
}

/* Auth Card Styles */
.auth-card {
  max-width: 480px;
  margin: var(--space-4xl) auto;
  padding: var(--space-2xl);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.auth-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--color-text);
}

.auth-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border-light);
}

.auth-tab {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab:hover {
  color: var(--color-text);
}

.auth-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.auth-form-panel {
  display: none;
}

.auth-form-panel.active {
  display: block;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.auth-helper {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-md);
}

.demo-block {
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  background: var(--color-primary);
  color: white;
  position: relative;
}

.demo-block h2 {
  color: #ffffff;
}

.demo-block-title {
  font-size: var(--text-3xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: #ffffff;
}

.demo-block-text {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
  color: rgba(248, 250, 252, 0.92);
}

.demo-block .btn-primary {
  background-color: #ffffff;
  color: #0071e3;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.3);
}


@media (max-width: 968px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-4xl) 0;
}

.legal-content h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-xl);
}

.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border-light);
}

.legal-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-content p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  margin-left: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content strong {
  font-weight: 600;
  color: var(--color-text);
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.sea-flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sea-text-center {
  text-align: center;
}

/* Spacing Utilities */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }

.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }

/* Note Block (for BC/Vancouver info boxes) */
.sea-note-block {
  padding: var(--space-md);
  background-color: var(--sea-bg-warm);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-xl);
}

.sea-note-block p {
  font-size: var(--text-xs);
  color: var(--sea-text-muted);
  margin: 0;
  line-height: 1.6;
}

.sea-note-block strong {
  color: var(--sea-text-main);
  font-weight: 600;
}

.sea-text-muted {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

/* List utilities */
.sea-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sea-list li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-xl);
  position: relative;
  font-size: var(--text-sm);
  color: var(--sea-text-muted);
}

.sea-list li::before {
  content: '•';
  position: absolute;
  left: var(--space-md);
  color: var(--sea-text-subtle);
}

.sea-list.mt-sm {
  margin-top: var(--space-sm);
}

/* ============================================
   BACKGROUND PATH SYSTEM - Architectural Wiring
   ============================================
   
   Current Implementation Summary:
   - Uses SVG paths with gradient tails for fade effect
   - 7 lines total: 2 large (lg), 2 medium (md), 3 small (sm)
   - Lines positioned to align with content grid edges
   - Each line has individual slow drift animation
   - Very low opacity (0.08-0.12) for subtle background presence
   - Warm neutral colors: #d9d3c8 (warm light grey) with subtle clay accent
   - Rounded 90° turns only, no sharp corners
   - Lines sit behind all content (z-index: 0), excluded from header/footer
   ============================================ */

/* Main container - positioned behind content, excluded from header/footer */
.sea-main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

/* Path layer container - holds all background lines */
.sea-path-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Lines are contained within .sea-main, so they don't appear in header/footer */
}

.sea-path-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* SVG scales to fill container height */
  min-height: 100%;
}

/* ============================================
   BASE PATH LINE COMPONENT
   ============================================ */

.sea-path-line {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-miterlimit: 10;
  /* Architectural/engineering style - sharp, technical lines */
}

/* Size tiers - create visual hierarchy - lower opacity for better contrast behind content */
.sea-path-line--lg {
  /* Large structural lines - primary architectural elements */
  stroke-width: 2;
  opacity: 0.18;
  /* Sharp technical drawing style */
  stroke-linecap: square;
  stroke-linejoin: miter;
  /* Seamless loop animation - dash length matches gap for continuous loop */
  stroke-dasharray: 40 40;
}

.sea-path-line--md {
  /* Medium lines - secondary structure */
  stroke-width: 1.5;
  opacity: 0.15;
  stroke-linecap: square;
  stroke-linejoin: miter;
  /* Seamless loop animation */
  stroke-dasharray: 35 35;
}

.sea-path-line--sm {
  /* Small lines - subtle details and accents */
  stroke-width: 1;
  opacity: 0.12;
  stroke-linecap: square;
  stroke-linejoin: miter;
  /* Seamless loop animation */
  stroke-dasharray: 30 30;
}

/* ============================================
   INDIVIDUAL LINE POSITIONING & ANIMATION
   ============================================ */

/* Path group container */
.sea-path-group {
  pointer-events: none;
}

/* Floor plan dimension labels - tiny numbers following lines at END */
.sea-path-label {
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;
  font-size: 1.25px; /* 4x smaller - very tiny numbers (5px / 4 = 1.25px) */
  fill: rgba(217, 211, 200, 0.5);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  font-weight: 500;
}

.sea-path-counter {
  font-size: 1.25px; /* 4x smaller */
  fill: rgba(217, 211, 200, 0.5);
  dominant-baseline: middle;
  text-anchor: end; /* Position at end of path */
  font-weight: 500;
}

/* Line 1: Left vertical dimension line (large) */
.sea-path-1 {
  --snake-duration: 30s;
  animation-delay: 0s;
}

.sea-path-1 .sea-path-line {
  animation: sea-path-flow-lg var(--snake-duration) linear infinite;
}

/* Line 2: Right vertical dimension line (large) */
.sea-path-2 {
  --snake-duration: 32s;
  animation-delay: -5s;
}

.sea-path-2 .sea-path-line {
  animation: sea-path-flow-lg var(--snake-duration) linear infinite;
}

/* Line 3: Horizontal dimension line top (medium) */
.sea-path-3 {
  --snake-duration: 35s;
  animation-delay: -8s;
}

.sea-path-3 .sea-path-line {
  animation: sea-path-flow-md var(--snake-duration) linear infinite;
}

/* Line 4: Horizontal dimension line mid (medium) */
.sea-path-4 {
  --snake-duration: 38s;
  animation-delay: -12s;
}

.sea-path-4 .sea-path-line {
  animation: sea-path-flow-md var(--snake-duration) linear infinite;
}

/* Line 5: Diagonal dimension line (small) */
.sea-path-5 {
  --snake-duration: 40s;
  animation-delay: -3s;
}

.sea-path-5 .sea-path-line {
  animation: sea-path-flow-sm var(--snake-duration) linear infinite;
}

/* Line 6: Horizontal dimension line bottom (medium) */
.sea-path-6 {
  --snake-duration: 42s;
  animation-delay: -10s;
}

.sea-path-6 .sea-path-line {
  animation: sea-path-flow-md var(--snake-duration) linear infinite;
}

/* Line 7: Horizontal then vertical (small) */
.sea-path-7 {
  --snake-duration: 45s;
  animation-delay: -15s;
}

.sea-path-7 .sea-path-line {
  animation: sea-path-flow-sm var(--snake-duration) linear infinite;
}

/* Line 8: Vertical then horizontal (medium) */
.sea-path-8 {
  --snake-duration: 38s;
  animation-delay: -18s;
}

.sea-path-8 .sea-path-line {
  animation: sea-path-flow-md var(--snake-duration) linear infinite;
}

/* Line 9: Horizontal then vertical (small) */
.sea-path-9 {
  --snake-duration: 42s;
  animation-delay: -20s;
}

.sea-path-9 .sea-path-line {
  animation: sea-path-flow-sm var(--snake-duration) linear infinite;
}

/* Line 10: Vertical then horizontal (medium) */
.sea-path-10 {
  --snake-duration: 36s;
  animation-delay: -22s;
}

.sea-path-10 .sea-path-line {
  animation: sea-path-flow-md var(--snake-duration) linear infinite;
}

/* Line 11: Horizontal then vertical (small) */
.sea-path-11 {
  --snake-duration: 44s;
  animation-delay: -25s;
}

.sea-path-11 .sea-path-line {
  animation: sea-path-flow-sm var(--snake-duration) linear infinite;
}

/* Line 12: Vertical then horizontal (small) */
.sea-path-12 {
  --snake-duration: 40s;
  animation-delay: -28s;
}

.sea-path-12 .sea-path-line {
  animation: sea-path-flow-sm var(--snake-duration) linear infinite;
}

/* Lines 13-35: Additional scattered lines */
.sea-path-13, .sea-path-14, .sea-path-15, .sea-path-16, .sea-path-19, .sea-path-20, .sea-path-23, .sea-path-24, .sea-path-27, .sea-path-28, .sea-path-31, .sea-path-32, .sea-path-35 {
  --snake-duration: 38s;
}

.sea-path-13 .sea-path-line, .sea-path-14 .sea-path-line, .sea-path-15 .sea-path-line, .sea-path-16 .sea-path-line, .sea-path-19 .sea-path-line, .sea-path-20 .sea-path-line, .sea-path-23 .sea-path-line, .sea-path-24 .sea-path-line, .sea-path-27 .sea-path-line, .sea-path-28 .sea-path-line, .sea-path-31 .sea-path-line, .sea-path-32 .sea-path-line, .sea-path-35 .sea-path-line {
  animation: sea-path-flow-sm var(--snake-duration) linear infinite;
}

.sea-path-13 { animation-delay: -30s; }
.sea-path-14 { animation-delay: -32s; }
.sea-path-15 { animation-delay: -34s; }
.sea-path-16 { animation-delay: -36s; }
.sea-path-19 { animation-delay: -38s; }
.sea-path-20 { animation-delay: -40s; }
.sea-path-23 { animation-delay: -42s; }
.sea-path-24 { animation-delay: -44s; }
.sea-path-27 { animation-delay: -46s; }
.sea-path-28 { animation-delay: -48s; }
.sea-path-31 { animation-delay: -50s; }
.sea-path-32 { animation-delay: -52s; }
.sea-path-35 { animation-delay: -54s; }

.sea-path-17, .sea-path-18, .sea-path-22, .sea-path-25, .sea-path-30, .sea-path-33 {
  --snake-duration: 36s;
}

.sea-path-17 .sea-path-line, .sea-path-18 .sea-path-line, .sea-path-22 .sea-path-line, .sea-path-25 .sea-path-line, .sea-path-30 .sea-path-line, .sea-path-33 .sea-path-line {
  animation: sea-path-flow-md var(--snake-duration) linear infinite;
}

.sea-path-17 { animation-delay: -35s; }
.sea-path-18 { animation-delay: -37s; }
.sea-path-22 { animation-delay: -39s; }
.sea-path-25 { animation-delay: -41s; }
.sea-path-30 { animation-delay: -43s; }
.sea-path-33 { animation-delay: -45s; }

.sea-path-21, .sea-path-26, .sea-path-29, .sea-path-34 {
  --snake-duration: 42s;
}

.sea-path-21 .sea-path-line, .sea-path-26 .sea-path-line, .sea-path-29 .sea-path-line, .sea-path-34 .sea-path-line {
  animation: sea-path-flow-sm var(--snake-duration) linear infinite;
}

.sea-path-21 { animation-delay: -47s; }
.sea-path-26 { animation-delay: -49s; }
.sea-path-29 { animation-delay: -51s; }
.sea-path-34 { animation-delay: -53s; }

.sea-path-35, .sea-path-36, .sea-path-37, .sea-path-38, .sea-path-39, .sea-path-40 {
  --snake-duration: 38s;
}

.sea-path-35 .sea-path-line, .sea-path-36 .sea-path-line, .sea-path-37 .sea-path-line, .sea-path-38 .sea-path-line, .sea-path-39 .sea-path-line, .sea-path-40 .sea-path-line {
  animation: sea-path-flow-sm var(--snake-duration) linear infinite;
}

.sea-path-35 { animation-delay: -55s; }
.sea-path-36 { animation-delay: -57s; }
.sea-path-37 { animation-delay: -59s; }
.sea-path-38 { animation-delay: -61s; }
.sea-path-39 { animation-delay: -63s; }
.sea-path-40 { animation-delay: -65s; }

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */

/* Seamless continuous loop animations - dash offset matches total pattern for each size */
@keyframes sea-path-flow-lg {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 80; /* dash-length (40) + gap-length (40) = 80 for seamless loop */
  }
}

@keyframes sea-path-flow-md {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 70; /* dash-length (35) + gap-length (35) = 70 for seamless loop */
  }
}

@keyframes sea-path-flow-sm {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 60; /* dash-length (30) + gap-length (30) = 60 for seamless loop */
  }
}

/* ============================================
   LAYERING & EXCLUSION
   ============================================ */

/* Ensure lines are hidden in header/footer */
header,
footer {
  position: relative;
  z-index: 1000;
  background-color: var(--color-bg);
}

/* Ensure content sits above lines (only if not already positioned) */
.section,
.hero-section {
  position: relative;
  z-index: 2;
}

/* Cards and interactive elements should be above lines */
.proof-card,
.persona-card {
  position: relative;
  z-index: 2;
}

/* Buttons and CTAs must be clearly above background */
.btn {
  position: relative;
  z-index: 3;
}

/* ============================================
   RESPONSIVE & ACCESSIBILITY
   ============================================ */

/* Mobile: hide lines on small screens for performance and clarity */
@media (max-width: 968px) {
  .sea-path-layer {
    display: none;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .sea-path-layer {
    display: none;
  }
  
  .sea-path-line {
    animation: none;
  }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 1024px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
  
  .social-proof-header {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .social-proof-title {
    font-size: var(--text-2xl);
  }
  
  .social-proof-logos-grid {
    gap: var(--space-md);
  }
  
  .social-proof-logo {
    height: 22px;
    max-width: 100px;
  }
  
  .social-proof-logos-grid {
    gap: var(--space-md);
  }
  
  .testimonial-rail {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    grid-template-columns: 1fr;
    justify-items: center;
  }
  
  .testimonial-rail .testimonial-card {
    width: 100%;
    max-width: 400px;
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .proof-grid {
    grid-template-columns: 1fr;
  }
  
  /* .pricing-grid responsive rule is defined earlier, near .pricing-grid definition */
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-strip-content {
    padding: 0 var(--space-md);
  }
  
  .trust-strip-text {
    font-size: var(--text-sm);
  }
  
  .platform-logos {
    gap: var(--space-lg);
  }
  
  .platform-logo {
    height: 1.75rem; /* Slightly smaller on mobile */
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-2xl);
  gap: var(--space-lg);
}

.dashboard-loading,
.dashboard-error,
.dashboard-empty {
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  color: var(--sea-text-muted);
}

.dashboard-error {
  color: var(--color-error);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.stat-card {
  background: var(--sea-bg-base);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--sea-text-main);
  margin-bottom: var(--space-sm);
  line-height: var(--leading-tight);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--sea-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dashboard-section {
  margin-bottom: var(--space-3xl);
}

.section-heading {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--sea-text-main);
  margin-bottom: var(--space-xl);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.project-card {
  background: var(--sea-bg-base);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
  gap: var(--space-md);
}

.project-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--sea-text-main);
  flex: 1;
}

.project-status {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.status-pending {
  background: var(--sea-bg-alt);
  color: var(--sea-text-muted);
}

.status-active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.status-completed {
  background: #e6f7e6;
  color: var(--color-accent);
}

.project-description {
  font-size: var(--text-sm);
  color: var(--sea-text-muted);
  margin-bottom: var(--space-md);
  line-height: var(--leading-relaxed);
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--sea-text-muted);
}

.project-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-meta-label {
  font-weight: 500;
  color: var(--sea-text-subtle);
}

.project-meta-value {
  font-weight: 600;
  color: var(--sea-text-main);
}

.project-actions {
  display: flex;
  gap: var(--space-sm);
}

.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
}

/* ============================================
   DASHBOARD KPI STRIP
   ============================================ */

.dashboard-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

/* Responsive: stack KPI cards on mobile */
@media (max-width: 768px) {
  .dashboard-kpi-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .dashboard-kpi-strip {
    grid-template-columns: 1fr;
  }
}

.dashboard-card {
  background: var(--sea-bg-main);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--sea-border-subtle);
}

.dashboard-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--sea-text-main);
  margin-bottom: var(--space-lg);
}

.kpi-card {
  background: var(--sea-bg-base);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.kpi-card__value {
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--sea-text-main);
  margin-bottom: var(--space-sm);
  line-height: var(--leading-tight);
}

.kpi-card__label {
  font-size: var(--text-sm);
  color: var(--sea-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   NEEDS ATTENTION PANEL
   ============================================ */

.needs-attention-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.needs-attention-item {
  background: var(--sea-bg-base);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  cursor: pointer;
  transition: all var(--transition-base);
}

.needs-attention-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.needs-attention-item-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
  gap: var(--space-md);
}

.needs-attention-item-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--sea-text-main);
  flex: 1;
}

.needs-attention-item-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.needs-attention-item-age {
  font-size: var(--text-sm);
  color: var(--sea-text-muted);
}

.needs-attention-empty {
  text-align: center;
  padding: var(--space-xl);
  color: var(--sea-text-muted);
  font-size: var(--text-base);
  background: var(--sea-bg-alt);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius);
}

/* Dashboard Responsive - KPI strip responsive rules are defined earlier, near .dashboard-kpi-strip definition */

@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  
  .dashboard-kpi-strip {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PROJECT DETAILS MODAL
   ============================================ */

.project-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(4px);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-modal-overlay[hidden] {
  display: none;
}

.project-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  pointer-events: none;
}

.project-modal[hidden] {
  display: none;
}

.project-modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 640px;
  width: min(640px, 100% - 32px);
  box-shadow:
    0 24px 80px rgba(15, 23, 42, 0.16),
    0 8px 24px rgba(15, 23, 42, 0.10);
  padding: 24px 24px 20px;
  pointer-events: auto;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.project-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
}

.project-modal__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--sea-text-main);
  margin: 0;
  flex: 1;
}

.project-modal__close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--sea-text-subtle);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.project-modal__close:hover {
  background: var(--sea-bg-alt);
  color: var(--sea-text-main);
}

.project-modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.project-modal__body p {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--sea-text-main);
}

.project-modal__body strong {
  font-weight: 600;
  color: var(--sea-text-main);
  display: inline-block;
  min-width: 80px;
}

.project-modal__body span {
  color: var(--sea-text-secondary);
}

/* ============================================
   MODAL SUMMARY SECTION
   ============================================ */

.project-modal__summary {
  background: var(--sea-bg-alt);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.project-modal__summary-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
  gap: var(--space-md);
}

.project-modal__summary-title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--sea-text-main);
  flex: 1;
  line-height: var(--leading-tight);
}

.project-modal__summary-badge {
  flex-shrink: 0;
}

.project-modal__summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--sea-text-secondary);
}

.project-modal__summary-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.project-modal__summary-meta strong {
  color: var(--sea-text-subtle);
  font-weight: 600;
}

/* ============================================
   MODAL QUICK LINKS
   ============================================ */

.project-modal__quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--sea-border-subtle);
}

.project-modal__quick-links .btn {
  font-size: var(--text-sm);
  padding: var(--space-sm) var(--space-md);
}

/* ============================================
   MODAL CHECKLIST
   ============================================ */

.project-modal__checklist {
  margin-bottom: var(--space-xl);
}

.project-modal__checklist-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--sea-text-main);
  margin-bottom: var(--space-md);
}

.project-modal__checklist-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.project-modal__checklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: var(--text-base);
  color: var(--sea-text-main);
  padding: var(--space-sm);
  border-radius: var(--border-radius);
  transition: background var(--transition-fast);
}

.project-modal__checklist-item:hover {
  background: var(--sea-bg-alt);
}

.project-modal__checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.project-modal__checklist-item span {
  flex: 1;
  user-select: none;
}

/* ============================================
   MODAL COMMUNICATION ASSISTANT
   ============================================ */

.project-modal__communication {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--sea-border-subtle);
}

.project-modal__communication-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--sea-text-main);
  margin-bottom: var(--space-md);
}

.project-modal__communication-summary {
  background: var(--sea-bg-alt);
  border-left: 3px solid var(--sea-primary);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--sea-text-main);
}

.project-modal__communication-actions {
  margin-bottom: var(--space-lg);
}

.project-modal__communication-actions h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--sea-text-main);
  margin-bottom: var(--space-sm);
}

.project-modal__communication-actions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.project-modal__communication-actions-list li {
  font-size: var(--text-sm);
  color: var(--sea-text-secondary);
  padding-left: var(--space-md);
  position: relative;
}

.project-modal__communication-actions-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--sea-primary);
  font-weight: 600;
}

.project-modal__communication-options {
  margin-bottom: var(--space-lg);
}

.project-modal__communication-options h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--sea-text-main);
  margin-bottom: var(--space-md);
}

.project-modal__communication-email-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.project-modal__communication-email-card {
  background: var(--sea-bg-alt);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  transition: border-color var(--transition-fast);
}

.project-modal__communication-email-card:hover {
  border-color: var(--sea-border);
}

.project-modal__communication-email-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
  gap: var(--space-sm);
}

.project-modal__communication-email-header strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--sea-text-main);
  flex: 1;
}

.project-modal__communication-email-subject {
  font-size: var(--text-sm);
  color: var(--sea-text-secondary);
  margin-bottom: var(--space-sm);
  padding: var(--space-xs) 0;
}

.project-modal__communication-email-subject strong {
  color: var(--sea-text-main);
  font-weight: 600;
}

.project-modal__communication-email-body {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--sea-text-main);
  white-space: pre-wrap;
  background: #ffffff;
  padding: var(--space-md);
  border-radius: var(--border-radius);
  border: 1px solid var(--sea-border-subtle);
  max-height: 300px;
  overflow-y: auto;
}

.project-modal__communication-sms {
  margin-top: var(--space-lg);
}

.project-modal__communication-sms h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--sea-text-main);
  margin-bottom: var(--space-sm);
}

.project-modal__communication-sms-box {
  background: var(--sea-bg-alt);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--sea-text-main);
  margin-bottom: var(--space-sm);
  white-space: pre-wrap;
  min-height: 60px;
}

.project-modal__communication-sms button {
  margin-top: var(--space-xs);
}

.btn-xs {
  font-size: var(--text-xs);
  padding: var(--space-xs) var(--space-sm);
  min-height: auto;
}

@media (max-width: 768px) {
  .project-modal-card {
    padding: 20px 24px;
    margin: var(--space-md);
    max-width: calc(100% - 32px);
  }
  
  .project-modal__title {
    font-size: var(--text-xl);
  }
  
  .project-modal__summary {
    padding: var(--space-lg);
  }
  
  .project-modal__summary-main {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .project-modal__summary-meta {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .project-modal__quick-links {
    flex-direction: column;
  }
  
  .project-modal__quick-links .btn {
    width: 100%;
  }
  
  .project-modal__communication-email-body {
    max-height: 200px;
  }
}

/* ============================================
   POLISH UPDATES (2025-11-25)
   ============================================
   
   Changes made to improve visual depth and polish:
   
   1. CLIENT LOGOS (social-proof-logo):
      - Improved sizing: height 26px (desktop), 22px (mobile)
      - Better grayscale/opacity: 65% base, 90% on hover with 50% grayscale
      - Enhanced hover effect with subtle lift
      - Max-width increased to 140px for better logo visibility
      - Responsive gap adjustments for mobile
   
   2. HERO SLIDER (hero-slider, hero-slider-inner):
      - Enhanced box-shadow: multi-layer shadow for depth (20px/60px blur, 8px/24px blur)
      - Increased border-radius to 24px for more modern card feel
      - Added hover state with slightly stronger shadow
      - Added border-radius to inner container for proper image clipping
   
   3. SECTION BACKGROUNDS:
      - .section-alt: Now uses --sea-bg-alt (#f5f5f7) instead of transparent
      - .section--warm: New class using --sea-bg-warm (#faf8f5) for warmer sections
      - .social-proof: Applied section--warm background for reviews/testimonials section
      - Creates subtle visual separation between sections while maintaining clean aesthetic
   
   4. TESTIMONIAL CARDS (testimonial-card):
      - Enhanced box-shadow: multi-layer (4px/12px + 2px/4px) for subtle depth
      - Improved hover shadow: 8px/20px + 4px/8px for better lift effect
      - Maintains existing transform and border-color transitions
   
   All changes maintain:
   - Existing typography and brand colors
   - Mobile responsiveness
   - Clean, minimal aesthetic
   - No breaking changes to layout or functionality
   
   ============================================ */

/* ============================================
   DASHBOARD NAVIGATION & VIEWS
   ============================================ */

.dashboard-nav {
  display: flex;
  gap: var(--space-sm);
  border-bottom: 1px solid var(--sea-border-subtle);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
}

.dashboard-nav__tab {
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--sea-text-secondary);
  cursor: pointer;
  transition: color var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
}

.dashboard-nav__tab:hover {
  color: var(--sea-text-main);
}

.dashboard-nav__tab.active {
  color: var(--sea-text-main);
  border-bottom-color: var(--sea-text-main);
}

.dashboard-view {
  display: none;
}

.dashboard-view.active {
  display: block;
}

/* ============================================
   QUICK ACTIONS
   ============================================ */

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
}

.quick-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  background: var(--sea-bg-alt);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.quick-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quick-action-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.quick-action-label {
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
}

.quick-action-badge {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-xs);
  padding: 2px 6px;
  background: var(--sea-text-secondary);
  color: var(--sea-bg-main);
  border-radius: var(--border-radius);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ============================================
   AT RISK SECTION
   ============================================ */

.at-risk-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.at-risk-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--border-radius);
}

.at-risk-item__main {
  flex: 1;
}

.at-risk-item__address {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.at-risk-item__due {
  font-size: var(--text-sm);
  color: var(--sea-text-secondary);
}

/* ============================================
   LISTING PIPELINE
   ============================================ */

.pipeline-filters {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
}

.pipeline-filter-btn {
  padding: var(--space-sm) var(--space-md);
  background: var(--sea-bg-alt);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--sea-text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.pipeline-filter-btn:hover {
  background: var(--sea-bg-main);
  color: var(--sea-text-main);
}

.pipeline-filter-btn.active {
  background: var(--sea-text-main);
  color: var(--sea-bg-main);
  border-color: var(--sea-text-main);
}

.pipeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.pipeline-card {
  padding: var(--space-lg);
  background: var(--sea-bg-main);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pipeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pipeline-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.pipeline-card__address {
  font-weight: 600;
  font-size: var(--text-base);
}

.pipeline-card__city-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--sea-bg-alt);
  border-radius: var(--border-radius);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.pipeline-card__status {
  margin-bottom: var(--space-sm);
}

.pipeline-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.mini-badge {
  display: inline-block;
  padding: 2px 6px;
  background: var(--sea-bg-alt);
  border-radius: var(--border-radius);
  font-size: var(--text-xs);
  color: var(--sea-text-secondary);
}

.mini-badge.vip {
  background: #fff3cd;
  color: #856404;
}

.pipeline-card__date {
  font-size: var(--text-sm);
  color: var(--sea-text-secondary);
  margin-bottom: var(--space-md);
}

.pipeline-card__action {
  width: 100%;
}

/* ============================================
   LISTING HUB TABS & TIMELINE
   ============================================ */

.listing-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  margin-bottom: var(--space-lg);
  position: relative;
}

.listing-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sea-border-subtle);
  z-index: 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.timeline-step__indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sea-bg-alt);
  border: 2px solid var(--sea-border-subtle);
  margin-bottom: var(--space-xs);
  transition: all var(--transition-base);
}

.timeline-step__indicator.active {
  background: var(--sea-text-main);
  border-color: var(--sea-text-main);
}

.timeline-step__indicator.completed {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.timeline-step__label {
  font-size: var(--text-xs);
  color: var(--sea-text-secondary);
  text-align: center;
}

.listing-hub-tabs {
  display: flex;
  gap: var(--space-sm);
  border-bottom: 1px solid var(--sea-border-subtle);
  margin-bottom: var(--space-lg);
  overflow-x: auto;
}

.listing-hub-tab {
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--sea-text-secondary);
  cursor: pointer;
  transition: color var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
}

.listing-hub-tab:hover {
  color: var(--sea-text-main);
}

.listing-hub-tab.active {
  color: var(--sea-text-main);
  border-bottom-color: var(--sea-text-main);
}

.listing-hub-tab-content {
  display: none;
}

.listing-hub-tab-content.active {
  display: block;
}

.media-assets-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-md);
}

.orders-timeline {
  padding: var(--space-lg);
}

/* ============================================
   VIP CONCIERGE
   ============================================ */

.vip-explainer-card {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl);
  background: var(--sea-bg-main);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius-lg);
}

.vip-explainer-subtitle {
  font-size: var(--text-lg);
  color: var(--sea-text-secondary);
  margin-bottom: var(--space-xl);
}

.vip-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.vip-tier-card {
  padding: var(--space-lg);
  background: var(--sea-bg-alt);
  border: 1px solid var(--sea-border-subtle);
  border-radius: var(--border-radius-lg);
}

.vip-tier-card.featured {
  border-color: var(--sea-text-main);
  background: var(--sea-bg-main);
}

.vip-tier-card h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.vip-tier-price {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--sea-text-main);
  margin-bottom: var(--space-md);
}

.vip-tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vip-tier-features li {
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
  color: var(--sea-text-secondary);
  position: relative;
  padding-left: var(--space-md);
}

.vip-tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

.vip-exclusions {
  padding: var(--space-lg);
  background: var(--sea-bg-alt);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-xl);
}

.vip-exclusions h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.vip-cta {
  text-align: center;
}

.vip-status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--border-radius);
  margin-bottom: var(--space-lg);
}

.vip-badge-icon {
  font-size: 1.25rem;
}

.vip-visits-table {
  margin-top: var(--space-md);
}

.vip-visits-table-content {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
}

.vip-visits-table-content thead {
  background: var(--sea-bg-alt);
  border-bottom: 1px solid var(--sea-border-subtle);
}

.vip-visits-table-content th {
  padding: var(--space-md);
  text-align: left;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--sea-text-main);
}

.vip-visits-table-content td {
  padding: var(--space-md);
  font-size: var(--text-sm);
  color: var(--sea-text-secondary);
  border-bottom: 1px solid var(--sea-border-subtle);
}

.vip-visits-table-content tbody tr:hover {
  background: var(--sea-bg-alt);
}

.vip-section {
  margin-bottom: var(--space-xl);
}

.vip-section h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

/* ============================================
   ACCOUNT VIEW
   ============================================ */

.account-section {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--sea-border-subtle);
}

.account-section:last-child {
  border-bottom: none;
}

.account-section h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

/* Credits Display */
.credits-display {
  padding: var(--space-lg);
}

.credits-main {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.credits-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--sea-text-main);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.credits-label {
  font-size: var(--text-sm);
  color: var(--sea-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.credits-meta {
  display: flex;
  justify-content: space-around;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--sea-border-subtle);
  border-bottom: 1px solid var(--sea-border-subtle);
  margin: var(--space-md) 0;
}

.credits-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-align: center;
}

.credits-meta-label {
  font-size: var(--text-xs);
  color: var(--sea-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.credits-meta-value {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--sea-text-main);
}

.credits-actions {
  text-align: center;
}

.order-history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
}

.order-history-table th,
.order-history-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--sea-border-subtle);
}

.order-history-table th {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sea-text-muted);
}

.order-history-table td {
  font-size: var(--text-sm);
  color: var(--sea-text-main);
}

.account-credits-display {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.credits-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--sea-text-main);
}

.credits-label {
  font-size: var(--text-sm);
  color: var(--sea-text-secondary);
}

.account-vip-status {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.vip-status-active {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--border-radius);
}

.account-orders-list {
  margin-top: var(--space-md);
}

/* ============================================
   RESPONSIVE: DASHBOARD
   ============================================ */

@media (max-width: 768px) {
  .dashboard-nav {
    gap: var(--space-xs);
  }
  
  .dashboard-nav__tab {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
  }
  
  .quick-actions-grid {
    grid-template-columns: 1fr;
  }
  
  .pipeline-list {
    grid-template-columns: 1fr;
  }
  
  .vip-tiers {
    grid-template-columns: 1fr;
  }
  
  .listing-timeline {
    padding: var(--space-md) 0;
  }
  
  .timeline-step__label {
    font-size: 10px;
  }
  
  .listing-hub-tabs {
    gap: var(--space-xs);
  }
  
  .listing-hub-tab {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
  }
}

   All changes maintain:
   - Existing typography and brand colors
   - Mobile responsiveness
   - Clean, minimal aesthetic
   - No breaking changes to layout or functionality
   
   ============================================ */

