/* ========================================
   iPhone Tribute — Premium CSS
   Dark/Light mode, animations, responsive
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Light mode palette */
  --bg-primary: #f5f5f7;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e8e8ed;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: rgba(0,0,0,0.08);
  --card-bg: rgba(255,255,255,0.8);
  --nav-bg: rgba(245,245,247,0.85);
  --hero-overlay: rgba(0,0,0,0.28);
  --section-divider: rgba(0,0,0,0.06);
  --glass-bg: rgba(255,255,255,0.6);
  --glass-border: rgba(255,255,255,0.8);
  --shimmer: rgba(255,255,255,0.05);

  /* Typography */
  --font-display: -apple-system, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  --font-text: -apple-system, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-max: 1200px;
  --nav-height: 60px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-primary: #000000;
  --bg-secondary: #1c1c1e;
  --bg-tertiary: #2c2c2e;
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --accent: #2997ff;
  --accent-hover: #409cff;
  --border: rgba(255,255,255,0.1);
  --card-bg: rgba(28,28,30,0.8);
  --nav-bg: rgba(0,0,0,0.85);
  --hero-overlay: rgba(0,0,0,0.45);
  --section-divider: rgba(255,255,255,0.06);
  --glass-bg: rgba(28,28,30,0.6);
  --glass-border: rgba(255,255,255,0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}

.btn:hover::after {
  background: rgba(255,255,255,0.1);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0,113,227,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.02);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-primary);
  transform: scale(1.02);
}

.btn-white {
  background: #ffffff;
  color: #1d1d1f;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.7);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
  transform: scale(1.02);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-med), border-color var(--transition-med);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 22px;
  height: 22px;
  fill: var(--text-primary);
  transition: fill var(--transition-med);
}

.nav-logo-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  letter-spacing: -0.01em;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  color: var(--text-secondary);
}

.theme-toggle:hover {
  background: var(--border);
  transform: scale(1.08);
  color: var(--text-primary);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: opacity var(--transition-fast);
}

.icon-sun { display: none; }
.icon-moon { display: block; }

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

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-primary);
}

.nav-mobile-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  max-width: 860px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 980px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #ffffff;
  margin-bottom: 28px;
}

.hero-title span {
  display: block;
}

.hero-title .accent-word {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-body {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 44px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2.2s ease-in-out infinite;
  text-decoration: none;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Slideshow dots */
.hero-dots {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: 0;
}

.hero-dot.active {
  width: 24px;
  border-radius: 3px;
  background: rgba(255,255,255,0.85);
}

/* ---------- Stats / Numbers Bar ---------- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--section-divider);
  border-bottom: 1px solid var(--section-divider);
  padding: 48px 0;
  transition: background var(--transition-med);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--section-divider);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

/* ---------- Feature Spotlight ---------- */
.spotlight {
  background: var(--bg-primary);
  overflow: hidden;
}

.spotlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
}

.spotlight-row.reverse {
  direction: rtl;
}

.spotlight-row.reverse > * {
  direction: ltr;
}

.spotlight-image {
  position: relative;
  overflow: hidden;
  min-height: 460px;
}

.spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.spotlight-row:hover .spotlight-image img {
  transform: scale(1.04);
}

.spotlight-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  background: var(--bg-secondary);
  transition: background var(--transition-med);
}

.spotlight-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-tertiary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background var(--transition-med);
}

.spotlight-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.spotlight-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.spotlight-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 420px;
}

/* ---------- Gallery Section ---------- */
.gallery {
  background: var(--bg-primary);
  padding: 100px 0;
}

.gallery-header {
  text-align: center;
  margin-bottom: 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  background: var(--bg-tertiary);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 260px;
}

.gallery-item.large img {
  min-height: 536px;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-med);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Second gallery row */
.gallery-grid-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.gallery-grid-2 .gallery-item img {
  min-height: 220px;
}

/* ---------- Features Grid Section ---------- */
.features {
  background: var(--bg-secondary);
  padding: 100px 0;
  transition: background var(--transition-med);
}

.features-header {
  text-align: center;
  margin-bottom: 72px;
}

.features-header .section-subtitle {
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 40px 36px;
  transition: all var(--transition-med);
  border: 1px solid var(--section-divider);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

[data-theme="dark"] .feature-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.feature-card:hover .feature-card-icon {
  transform: scale(1.1) rotate(-3deg);
}

.feature-card-icon svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.feature-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Feature card accent colors */
.fc-blue .feature-card-icon { background: linear-gradient(135deg, #0071e3, #34aadc); }
.fc-purple .feature-card-icon { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.fc-green .feature-card-icon { background: linear-gradient(135deg, #16a34a, #4ade80); }
.fc-orange .feature-card-icon { background: linear-gradient(135deg, #ea580c, #fb923c); }
.fc-pink .feature-card-icon { background: linear-gradient(135deg, #db2777, #f472b6); }
.fc-teal .feature-card-icon { background: linear-gradient(135deg, #0d9488, #34d399); }

/* ---------- Timeline / Evolution Section ---------- */
.evolution {
  background: var(--bg-primary);
  padding: 100px 0;
  overflow: hidden;
}

.evolution-header {
  text-align: center;
  margin-bottom: 80px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-bottom: 64px;
  align-items: center;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  padding: 32px 40px 32px 0;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  padding: 32px 0 32px 40px;
  text-align: left;
  grid-column: 3;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-spacer {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-content:first-child {
  grid-column: 1;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--accent);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.timeline-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ---------- Immersive Callout ---------- */
.callout {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.callout-bg {
  position: absolute;
  inset: 0;
}

.callout-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45);
}

.callout-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
  max-width: 700px;
}

.callout-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
}

.callout-body {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 40px;
}

.callout-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Specs Section ---------- */
.specs {
  background: var(--bg-secondary);
  padding: 100px 0;
  transition: background var(--transition-med);
}

.specs-header {
  text-align: center;
  margin-bottom: 64px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 80px;
  max-width: 860px;
  margin: 0 auto;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--section-divider);
}

.spec-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.spec-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.spec-detail {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ---------- Testimonial / Quote Section ---------- */
.quote-section {
  background: var(--bg-primary);
  padding: 100px 0;
  text-align: center;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--text-primary);
  max-width: 820px;
  margin: 0 auto 28px;
  position: relative;
}

.quote-text::before {
  content: '"';
  position: absolute;
  top: -0.4em;
  left: -0.3em;
  font-size: 5em;
  color: var(--accent);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-author {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Final CTA Band ---------- */
.cta-band {
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 100px 0;
  text-align: center;
  transition: background var(--transition-med), color var(--transition-med);
}

.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-band-body {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.65;
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.cta-band .btn-inverted {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.cta-band .btn-inverted:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.cta-band .btn-outline-inv {
  background: transparent;
  color: var(--bg-primary);
  border: 1.5px solid rgba(255,255,255,0.3);
}

[data-theme="dark"] .cta-band .btn-outline-inv {
  border-color: rgba(0,0,0,0.3);
  color: var(--bg-primary);
}

.cta-band .btn-outline-inv:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--bg-primary);
  transform: scale(1.02);
}

[data-theme="dark"] .cta-band .btn-outline-inv:hover {
  background: rgba(0,0,0,0.08);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--section-divider);
  padding: 60px 0 40px;
  transition: background var(--transition-med);
}

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

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand-logo svg {
  width: 22px;
  height: 22px;
  fill: var(--text-primary);
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-tertiary);
  max-width: 240px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.footer-col-links a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  letter-spacing: -0.01em;
}

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

.footer-bottom {
  border-top: 1px solid var(--section-divider);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: -0.01em;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 12px;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.92);
  transition: transform var(--transition-med);
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  font-size: 32px;
  line-height: 1;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: #ffffff;
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 2000;
  width: 0%;
  transition: width 0.1s linear;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .spotlight-body {
    padding: 60px 48px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

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

  .nav-links {
    display: none;
  }

  .nav-mobile-btn {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.mobile-open a {
    font-size: 15px;
  }

  .spotlight-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .spotlight-row.reverse {
    direction: ltr;
  }

  .spotlight-image {
    min-height: 320px;
  }

  .spotlight-body {
    padding: 48px 32px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item.large img {
    min-height: 280px;
  }

  .gallery-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stats-grid .stat-item:nth-child(odd)::before {
    display: none;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .timeline-content {
    padding: 0;
    text-align: left;
  }

  .timeline-item:nth-child(even) .timeline-content {
    padding: 0;
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-item:nth-child(even) .timeline-spacer {
    grid-column: 1;
  }

  .timeline-dot {
    margin: 0;
  }

  .specs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
  }

  .gallery-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Scrollbar Styling ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

/* ---------- Selection Styling ---------- */
::selection {
  background: var(--accent);
  color: #ffffff;
}

/* ---------- Focus styles ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Print ---------- */
@media print {
  .nav, .hero-scroll, .lightbox, .scroll-progress { display: none; }
}
