/* ============================================================
   VENTURA AUTO SHOP — Global Stylesheet & Design System
   ============================================================ */

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

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: 
    var(--bg-micro-grid),
    var(--bg-depth-radial);
  background-size: 40px 40px, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY SYSTEM ── */
.font-display,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--metal-silver);
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-heading);
  font-weight: 700;
}

h1, .text-hero {
  font-size: var(--text-hero);
  letter-spacing: var(--letter-spacing-hero);
  font-weight: 800;
}

.text-h1 {
  font-size: var(--text-h1);
  letter-spacing: var(--letter-spacing-h1);
  font-weight: 800;
}

h2, .text-h2 {
  font-size: var(--text-h2);
  font-weight: 700;
}

h3, .text-h3 {
  font-size: var(--text-h3);
  font-weight: 700;
}

h4, .text-h4 {
  font-size: var(--text-h4);
  font-weight: 600;
}

p {
  color: var(--text-secondary);
}

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

/* ── UTILITY & LAYOUT ── */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 5vw;
}

.section {
  padding: var(--section-padding);
  position: relative;
  background-image: var(--bg-micro-grid);
  background-size: 48px 48px;
}

.section-sm { padding: var(--section-padding-sm); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-uppercase);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--metal-silver);
  border-radius: 2px;
}

.section-title {
  font-size: var(--text-h1);
  font-weight: 800;
  letter-spacing: var(--letter-spacing-h1);
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-sub {
  font-size: var(--text-body);
  color: var(--text-secondary);
  max-width: 580px;
  font-weight: 400;
  line-height: 1.7;
}

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ── DESIGN SYSTEM BASE COMPONENTS ── */

/* 3. Glassmorphism Recipe Base with Perceptible Frosted Depth */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--glass-highlight) 0%, transparent 80%);
}

/* 4. Metallic Service Card Treatment */
.metallic-card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

/* Brushed metal top-edge gradient line */
.metallic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--metal-silver) 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.85;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 2;
}

.metallic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px var(--accent-glow);
  border-color: rgba(143, 163, 173, 0.35);
}

.metallic-card .card-number,
.metallic-card .card-icon {
  color: var(--metal-silver);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--metal-silver) 0%, #a2a7ae 100%);
  color: #0a0a0c;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d8dcde 0%, var(--metal-silver) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-accent {
  background: var(--accent);
  color: #0a0a0c;
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-outline {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--metal-silver);
  color: var(--metal-silver);
  transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
  border-color: var(--metal-silver);
  color: var(--metal-silver);
  background: rgba(255, 255, 255, 0.04);
}

.btn-white {
  background: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--metal-silver);
}

.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  height: 76px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
}

.nav.scrolled {
  background: rgba(10, 10, 12, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav-inner {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
}

.logo-mark svg { width: 22px; height: 22px; fill: var(--metal-silver); position: relative; z-index: 1; }

.logo-text { line-height: 1.1; }
.logo-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.logo-text strong span { color: var(--accent); }

.logo-text small {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

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

.nav-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--glass-bg);
}

/* Nav Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 4px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover > a::after { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-secondary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--glass-border);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 300;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary) !important;
  background: transparent !important;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm);
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: all var(--transition-fast) !important;
}

.dropdown-menu a:hover {
  background: var(--glass-bg) !important;
  color: var(--text-primary) !important;
}

.dropdown-menu a svg { width: 15px; height: 15px; fill: var(--accent); flex-shrink: 0; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: all var(--transition-fast);
}

.nav-phone:hover {
  border-color: var(--metal-silver);
  color: var(--metal-silver);
}

.nav-phone svg { width: 14px; height: 14px; fill: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: var(--bg-secondary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 199;
  padding: 24px 5vw 32px;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: color var(--transition-fast);
}

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

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 18px 5vw;
  background-image: var(--bg-micro-grid);
}

.trust-bar-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-item svg { width: 17px; height: 17px; fill: var(--accent); flex-shrink: 0; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: 76px;
  background: var(--bg-primary);
  background-image: var(--bg-micro-grid), var(--bg-depth-radial);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(143, 163, 173, 0.08) 0%, transparent 60%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 64px 5vw 72px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.page-hero-inner .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--metal-silver); }
.breadcrumb span { color: var(--metal-dark); }

.page-hero-inner h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: var(--letter-spacing-hero);
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.page-hero-inner h1 .accent { color: var(--accent); }

.page-hero-inner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  font-weight: 400;
}

/* ── FOOTER ── */
footer {
  background: var(--bg-secondary);
  background-image: var(--bg-micro-grid);
  border-top: 1px solid var(--glass-border);
  padding: 72px 0 0;
}

.footer-grid {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 5vw 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-brand-desc {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 18px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-btn:hover { background: var(--accent); border-color: var(--accent); }
.social-btn svg { width: 16px; height: 16px; fill: var(--text-secondary); }
.social-btn:hover svg { fill: #0a0a0c; }

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-uppercase);
  color: var(--metal-silver);
  margin-bottom: 20px;
}

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

.footer-col ul a {
  text-decoration: none;
  font-size: var(--text-small);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a:hover { color: var(--text-primary); }
.footer-col ul a::before { content: '→'; font-size: 0.75rem; color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item svg { width: 16px; height: 16px; fill: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: var(--text-small); color: var(--text-secondary); line-height: 1.55; }
.footer-contact-item a { color: var(--text-secondary); text-decoration: none; transition: color var(--transition-fast); }
.footer-contact-item a:hover { color: var(--text-primary); }

.footer-hours { margin-top: 20px; }
.footer-hours h6 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-uppercase);
  color: var(--metal-silver);
  margin-bottom: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-small);
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--glass-border);
}

.hours-row .open { color: var(--metal-silver); font-weight: 600; }

.footer-bottom {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 24px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: var(--text-small); color: var(--text-muted); }
.footer-bottom a { color: var(--text-secondary); text-decoration: none; }
.footer-bottom a:hover { color: var(--text-primary); }

/* ── CARDS & PANELS ── */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.card:hover {
  border-color: rgba(143, 163, 173, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px var(--accent-glow);
}

/* ── FORMS & INPUT BOXES ── */
.book-card {
  background: rgba(20, 20, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  position: relative;
}

.book-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--metal-silver) 0%, var(--accent) 50%, transparent 100%);
  z-index: 2;
}

.book-card-header {
  background: rgba(12, 12, 16, 0.95);
  padding: 26px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.book-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--metal-silver);
  margin-bottom: 4px;
}

.book-card-header p {
  font-size: var(--text-small);
  color: var(--text-secondary);
}

.book-card-body {
  padding: 32px;
}

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

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--metal-silver);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 10, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23c8cccf' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), inset 0 2px 4px rgba(0, 0, 0, 0.4);
  background: rgba(14, 14, 18, 0.95);
}

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

.btn-book {
  width: 100%;
  background: linear-gradient(135deg, var(--metal-silver) 0%, #a2a7ae 100%);
  color: #0a0a0c;
  padding: 16px;
  border-radius: var(--radius-md);
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: var(--letter-spacing-uppercase);
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.btn-book:hover {
  background: linear-gradient(135deg, #d8dcde 0%, var(--metal-silver) 100%);
  box-shadow: 0 8px 24px var(--accent-glow);
  transform: translateY(-2px);
}

.book-note {
  text-align: center;
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-top: 14px;
}

.book-note strong {
  color: var(--metal-silver);
}

/* ── REVIEWS & RATING STARS ── */
.stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: var(--metal-silver);
  flex-shrink: 0;
}

/* ── REVIEWS GRID ALIGNMENT FIX ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  align-items: start; /* Prevents vertical stretching distortion */
}

/* ── PHASE 3: FULL-WIDTH HERO ANIMATION & TRUST/CTA SECTION ── */
.hero-full {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
  padding-top: 76px;
}

.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Scrim overlay positioned behind text zone only */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(10, 10, 12, 0.92) 0%, rgba(10, 10, 12, 0.7) 45%, transparent 85%);
  pointer-events: none;
}

.hero-text-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 80px 5vw;
}

.hero-text-zone {
  max-width: 680px;
}

.hero-text-zone h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: var(--letter-spacing-hero);
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero-text-zone .hero-single-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  max-width: 620px;
}

/* ── WORD-BY-WORD BLUR-TO-FOCUS CASCADING REVEAL ── */
.hero-text-zone .word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.05);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, filter, transform;
  margin-right: 0.24em;
}

.hero-text-zone .word.accent-word {
  color: var(--accent);
  font-style: normal;
}

.hero-text-zone .word.silver-word {
  color: var(--metal-silver);
}

.hero-text-zone.text-cascade-active .word {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* ── GLOBAL CTA SECTION ── */
.cta-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--section-padding);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(143, 163, 173, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.cta-section h2,
.cta-inner .section-title {
  font-size: var(--text-h1);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-h1);
  color: var(--text-primary);
  margin-bottom: 16px;
  text-align: center;
}
.cta-section h2 em,
.cta-inner .section-title em {
  color: var(--accent);
  font-style: normal;
}
.cta-section p,
.cta-inner p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 36px;
  font-weight: 400;
  text-align: center;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

/* ── PHASE 4: TRUST STATS DASHBOARD READOUT & STANDALONE CTA ── */
.trust-cta-section {
  background: var(--bg-secondary);
  background-image: var(--bg-micro-grid), var(--bg-depth-radial);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 56px 5vw;
  position: relative;
  z-index: 5;
}

.trust-cta-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* ZONE A: DASHBOARD READOUT WITH VERTICAL DIVIDERS */
.trust-dashboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(14, 14, 18, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 48px rgba(0, 0, 0, 0.5);
}

.stat-readout {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.readout-divider {
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.15) 70%, transparent);
  flex-shrink: 0;
}

.stat-readout .num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--metal-silver);
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat-readout .num sup {
  color: var(--accent);
  font-size: 1.5rem;
  margin-left: 2px;
}

.stat-readout .lbl {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ZONE B: STANDALONE DISTINCT CTA CARD */
.cta-action-card {
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.cta-action-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--metal-silver) 0%, var(--accent) 50%, transparent 100%);
}

.cta-action-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--text-primary);
  margin-bottom: 6px;
}

.cta-action-text p {
  font-size: var(--text-small);
  color: var(--text-secondary);
}

.cta-action-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Dominant Primary Button with Shine Sweep */
.btn-primary-dominant {
  background: linear-gradient(135deg, #e4e7eb 0%, var(--metal-silver) 100%);
  color: #0a0a0c;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.btn-primary-dominant::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 50%; height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: rotate(25deg);
  transition: all 0.6s ease;
}

.btn-primary-dominant:hover::after {
  left: 130%;
}

.btn-primary-dominant:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--accent-glow);
  background: linear-gradient(135deg, #ffffff 0%, var(--metal-silver) 100%);
}

.btn-secondary-subdued {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-secondary-subdued:hover {
  color: var(--text-primary);
  border-color: var(--metal-silver);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 960px) {
  .cta-action-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 32px;
  }
  .cta-action-btns {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .trust-dashboard {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
  }
  .readout-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.15) 70%, transparent);
  }
  .stat-readout {
    padding: 0;
  }
  .stat-readout .num {
    font-size: 2.5rem;
  }
  .cta-action-btns {
    flex-direction: column;
    gap: 12px;
  }
  .cta-action-btns a {
    width: 100%;
    justify-content: center;
  }
}

/* ── ASSEMBLY ANIMATION PLAYER COMPONENT (Hero Anchor) ── */
.assembly-player-card {
  background: rgba(20, 20, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.assembly-player-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--metal-silver) 0%, var(--accent) 50%, transparent 100%);
  z-index: 3;
}

.assembly-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(10, 10, 12, 0.6);
  border-bottom: 1px solid var(--glass-border);
}

.assembly-player-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: var(--letter-spacing-uppercase);
  text-transform: uppercase;
  color: var(--metal-silver);
}

.assembly-player-title .hud-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: blink 2s infinite;
}

.assembly-player-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 50% 50%, rgba(143, 163, 173, 0.08) 0%, rgba(10, 10, 12, 0.95) 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.assembly-player-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.assembly-player-footer {
  padding: 14px 20px;
  background: rgba(10, 10, 12, 0.6);
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.assembly-telemetry {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.assembly-telemetry span strong {
  color: var(--text-primary);
  font-family: var(--font-heading);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: var(--section-padding-sm); }
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
