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

/* ============================================
   DESIGN SYSTEM: PURE WHITE & BLACK MINIMALIST
   ============================================ */
:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Brand Orange (Logo exact match) */
  --brand: #f57802;
  --brand-hover: #d96a02;
  --brand-light: #fff7ed;
  --brand-light-border: #fed7aa;

  /* Neutrals (Pure White, Zinc Grays, Black) - Defaults to Light Mode */
  --bg-primary: #ffffff;
  --bg-secondary: #fbfbfb;
  
  --text-primary: #000000;
  --text-secondary: #27272a;
  --text-muted: #52525b;
  --text-dim: #71717a;

  --border-light: #e4e4e7;
  --border-medium: #cbd5e1;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.02);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-round: 9999px;
  
  --transition: all 0.15s ease;
}

/* Dark Theme Variables Overrides */
[data-theme="dark"] {
  --bg-primary: #09090b;         /* Zinc-950 background */
  --bg-secondary: #121214;       /* Zinc-900 surface */
  
  --text-primary: #ffffff;       /* Pure white contrast */
  --text-secondary: #e4e4e7;     /* Zinc-200 */
  --text-muted: #a1a1aa;         /* Zinc-400 */
  --text-dim: #71717a;           /* Zinc-500 */

  --border-light: #27272a;       /* Zinc-800 border */
  --border-medium: #3f3f46;      /* Zinc-700 border */
  
  --brand-light: rgba(245, 120, 2, 0.1);
  --brand-light-border: rgba(245, 120, 2, 0.2);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Logo dynamic inversion (inverts black text, keeps orange hue) */
[data-theme="dark"] #logo-img,
[data-theme="dark"] .footer-brand img {
  filter: invert(1) hue-rotate(180deg) brightness(1.2);
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-light);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

/* Theme icons toggle based on active theme */
.sun-icon {
  display: none;
}
.moon-icon {
  display: block;
}

[data-theme="dark"] .sun-icon {
  display: block;
}
[data-theme="dark"] .moon-icon {
  display: none;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-primary);
}

/* Smooth global transitions for theme toggling */
html, body, section, header, footer, .service-card, .offer-card, .faq-item, .contact-form-card, .hero-contact-strip, .theme-toggle-btn, .btn, h1, h2, h3, h4, h5, p, span, svg, img {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-primary);
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.active {
  color: var(--brand);
  font-weight: 700;
}

.nav-cta {
  padding: 8px 16px;
  background: var(--brand);
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--brand-hover);
}

/* Mobile */
.mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .mobile-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    gap: 24px;
    transform: translateX(-100%);
    transition: transform 0.2s ease-out;
    border-top: 1px solid var(--border-light);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .mobile-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-btn.open span:nth-child(2) { opacity: 0; }
  .mobile-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================
   LEFT-ALIGNED SPLIT-SCREEN HERO SECTION
   ============================================ */
.hero {
  background-color: var(--bg-primary);
  padding: 80px 0 120px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(var(--border-light) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Background Blur Graphic - Premium Ambient Glow and Grid for all page headers */
section:first-of-type {
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(var(--border-light) 1px, transparent 1px);
  background-size: 24px 24px;
}

section:first-of-type > .container {
  position: relative;
  z-index: 1;
}

section:first-of-type::after {
  content: '';
  position: absolute;
  top: 5%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245, 120, 2, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 620px;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--brand-light);
  border: 1px solid var(--brand-light-border);
  border-radius: var(--radius-round);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--brand);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Hero Contact Bar (Integrated Pill display) */
.hero-contact-strip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 10px 24px;
  border-radius: var(--radius-round);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.hero-contact-strip:hover {
  border-color: var(--border-medium);
  background: var(--bg-primary);
}

.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.hero-contact-item:hover {
  color: var(--brand);
}

.hero-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  stroke-width: 2.2;
}

.hero-contact-separator {
  width: 1px;
  height: 16px;
  background: var(--border-light);
}

@media (max-width: 640px) {
  .hero-contact-strip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: var(--radius-md);
    padding: 16px;
    width: 100%;
  }
  .hero-contact-item {
    font-size: 0.92rem;
  }
  .hero-contact-separator {
    display: none;
  }
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Dashboard visual styles */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-visual-wrapper {
  position: relative;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 24px 64px rgba(245, 120, 2, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  max-width: 440px;
}

.hero-visual-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 120, 2, 0.25) 0%, transparent 70%);
  z-index: -1;
  opacity: 0.8;
  filter: blur(20px);
}

.hero-visual-wrapper img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 992px) {
  .hero {
    padding: 80px 0;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    justify-content: flex-start;
  }
  .hero-visual-wrapper {
    max-width: 100%;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-hover);
}

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

.btn-outline:hover {
  border-color: var(--text-primary);
  background: var(--bg-secondary);
}

/* ============================================
   PROMOTIONAL INTRO: TRADES LAUNCH OFFER
   ============================================ */
.offer-section {
  background-color: var(--bg-secondary);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.offer-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: left;
  transition: var(--transition);
}

.offer-card:hover {
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(245, 120, 2, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.offer-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.offer-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.offer-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .offer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================
   SECTION HEADING TEMPLATE
   ============================================ */
.section-header {
  max-width: 720px;
  margin: 0 0 56px;
  text-align: left;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background-color: var(--bg-primary);
}

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

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(245, 120, 2, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: var(--radius-round);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================
   CONTACT & HQ SECTION
   ============================================ */
.contact-section {
  background-color: var(--bg-secondary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.contact-detail h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Form Card */
.contact-form-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-card {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================
   FOOTER (PURE WHITE & MINIMALIST)
   ============================================ */
.footer {
  background: var(--bg-primary);
  padding: 80px 0 32px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.footer-brand .logo img {
  height: 44px;
  width: auto;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 20px;
  max-width: 320px;
}

.footer-brand-contacts {
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-brand-contacts a {
  color: var(--brand);
  font-weight: 600;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============================================
   TEAM PAGE STYLES
   ============================================ */
.team-section {
  background-color: var(--bg-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 48px;
}

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

.team-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.team-card:hover {
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(245, 120, 2, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.team-avatar {
  width: 56px;
  height: 56px;
  background: var(--brand-light);
  color: var(--brand);
  border: 1px solid var(--brand-light-border);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.team-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.team-contact-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.team-contact-link:hover {
  color: var(--brand);
}

.team-contact-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */
.faq-section {
  background-color: var(--bg-secondary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(245, 120, 2, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateX(4px);
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-question-icon {
  color: var(--brand);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 24px;
}

/* ============================================
   TRADES LIST & CHECKMARK FIX
   ============================================ */
.trades-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trades-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
}

.check svg {
  width: 12px;
  height: 12px;
  display: block;
}


/* ============================================
   FLOATING INTEGRATED SAAS DASHBOARD COMPONENT
   ============================================ */
.hero-visual-dashboard {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  position: relative;
  text-align: left;
}

.dashboard-header {
  height: 40px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
}
.window-dots span:nth-child(1) { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.dashboard-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 12px;
}

.dashboard-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Metric Rows */
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dashboard-metric-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.dashboard-metric-card label {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-metric-card .value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-metric-card .trend {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
}

.dashboard-metric-card .trend.green {
  color: #16a34a;
}

/* Chart Box */
.dashboard-chart-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.dashboard-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dashboard-chart-header h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.chart-legend {
  display: flex;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.legend-item span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

/* SVG Chart paths */
.chart-path-savings {
  stroke: var(--brand);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-path-fees {
  stroke: var(--text-dim);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4 4;
}

/* Grid lines inside chart */
.chart-grid-line {
  stroke: var(--border-light);
  stroke-width: 1;
}

/* Crew status */
.dashboard-crew-list {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.dashboard-crew-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.dashboard-crew-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dashboard-crew-item:first-child {
  padding-top: 0;
}

.crew-name-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crew-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-round);
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
}

.crew-info-text h5 {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.78rem;
}

.crew-info-text p {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.crew-status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-round);
}

/* ============================================
   THEME TRANSITION VIEW API
   ============================================ */
.no-transitions * {
  transition: none !important;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 2;
  /* Adds the translucid orange leading edge to the wave */
  filter: drop-shadow(0 0 40px rgba(245, 120, 2, 0.6));
}
