/* ==========================================================================
   Samsung Galaxy S23 Ultra - Premium Canvas Scroll Experience
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-tertiary: rgba(255, 255, 255, 0.4);
  --accent: #ffffff;
  --accent-blue: #00d4ff;
  --accent-purple: #a855f7;
  --gradient: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --glow: 0 0 30px rgba(168, 85, 247, 0.3);
}

/* --------------------------------------------------------------------------
   Base & Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "San Francisco",
    "Segoe UI", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Text Shadow for all text elements */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
li,
strong {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   Loading Screen
   -------------------------------------------------------------------------- */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s var(--transition-smooth),
    visibility 0.8s var(--transition-smooth);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-blue);
  border-right-color: var(--accent-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 2rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-bar {
  width: 280px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 auto 0.75rem;
  overflow: hidden;
  border-radius: 10px;
}

.loading-progress {
  height: 100%;
  background: var(--gradient);
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: var(--glow);
}

.loading-percent {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
}

.loading-text {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* --------------------------------------------------------------------------
   Progress Indicators
   -------------------------------------------------------------------------- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1000;
}

.scroll-progress-fill {
  height: 100%;
  background: var(--gradient);
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: var(--glow);
}

.scroll-percentage {
  position: fixed;
  top: 2rem;
  right: 2rem;
  font-family: "Inter", monospace;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  z-index: 100;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Main Scroll Container
   -------------------------------------------------------------------------- */
.scroll-container {
  height: 500vh;
  position: relative;
  background: var(--bg-primary);
}

/* --------------------------------------------------------------------------
   Canvas Section
   -------------------------------------------------------------------------- */
.canvas-section {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.main-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: var(--bg-primary);
}

/* --------------------------------------------------------------------------
   Text Overlays - Base
   -------------------------------------------------------------------------- */
.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--transition-smooth);
  z-index: 10;
}

.text-overlay.active {
  opacity: 1;
}

.overlay-content {
  max-width: 900px;
  width: 100%;
}

.overlay-content.text-left {
  margin-right: auto;
  margin-left: 8%;
}

.overlay-content.text-right {
  margin-left: auto;
  margin-right: 8%;
}

.overlay-content.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Hero Overlay
   -------------------------------------------------------------------------- */
.hero-overlay .overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--accent-blue);
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.05);
  animation: fadeInUp 0.8s var(--transition-smooth) 0.2s backwards;
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s var(--transition-smooth) 0.4s backwards;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.02em;
  animation: fadeInUp 0.8s var(--transition-smooth) 0.6s backwards;
}

.hero-quick-specs {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 500;
  animation: fadeInUp 0.8s var(--transition-smooth) 0.8s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Spec Tags & Headings
   -------------------------------------------------------------------------- */
.spec-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(168, 85, 247, 0.08);
  border-radius: 100px;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.overlay-heading {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.overlay-description {
  font-size: clamp(1rem, 2.2vw, 1.375rem);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Spec Grid
   -------------------------------------------------------------------------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.spec-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.spec-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.spec-label {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Camera Specs List
   -------------------------------------------------------------------------- */
.camera-specs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.camera-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.camera-spec-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-8px);
}

.camera-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.camera-spec-item div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.camera-spec-item strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.camera-spec-item span {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   Performance Bars
   -------------------------------------------------------------------------- */
.performance-bars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.perf-bar-item {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.perf-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.perf-value {
  color: var(--accent-blue);
  font-weight: 700;
}

.perf-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.perf-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 10px;
  transition: width 1s var(--transition-smooth);
  box-shadow: var(--glow);
}

/* --------------------------------------------------------------------------
   Tech Specs Grid
   -------------------------------------------------------------------------- */
.tech-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.tech-spec {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all var(--transition-fast);
}

.tech-spec:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.tech-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tech-spec strong {
  font-size: 1.125rem;
  color: var(--text-primary);
}

.tech-spec span {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   Display Specs
   -------------------------------------------------------------------------- */
.display-specs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.display-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all var(--transition-fast);
}

.display-spec-row:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
}

.display-metric {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.display-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   S Pen Features
   -------------------------------------------------------------------------- */
.spen-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.spen-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all var(--transition-fast);
}

.spen-feature:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.spen-stat {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.spen-feature span {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Charging Timeline
   -------------------------------------------------------------------------- */
.charging-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.charge-step {
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  gap: 1rem;
}

.charge-time {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.charge-bar {
  height: 12px;
  background: var(--gradient);
  border-radius: 10px;
  box-shadow: var(--glow);
  transition: width 1s var(--transition-smooth);
}

.charge-percent {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
}

/* --------------------------------------------------------------------------
   Final Overlay
   -------------------------------------------------------------------------- */
.final-overlay .overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.final-heading {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
}

.final-description {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 1.25rem 3rem;
  background: var(--gradient);
  color: var(--bg-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 100px;
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
  box-shadow: var(--glow);
  margin-top: 1rem;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.5);
  color: var(--bg-primary);
}

.cta-button.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
  }
  50% {
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.6);
  }
}

/* --------------------------------------------------------------------------
   Scroll Indicator
   -------------------------------------------------------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 5;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.scroll-indicator.hidden {
  opacity: 0;
}

.scroll-mouse {
  width: 28px;
  height: 45px;
  border: 2px solid var(--text-tertiary);
  border-radius: 15px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(10px);
  }
}

.scroll-indicator p {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  padding: 6rem 2rem;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

.cta-content-wrapper {
  padding: 4rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(20px);
}

.cta-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--accent-blue);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-benefits li {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-benefits li:last-child {
  border-bottom: none;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-block {
  width: 100%;
  padding: 1.25rem 2rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--gradient);
  border: none;
  color: var(--bg-primary);
  box-shadow: var(--glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.5);
  color: var(--bg-primary);
}

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.cta-note {
  text-align: center;
  margin-top: 1rem;
}

.cta-note small {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gradient);
  color: var(--bg-primary);
  transform: translateY(-4px);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0;
}

.footer-author {
  font-family: "Dancing Script", cursive;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
}

.footer-author:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.2);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .scroll-container {
    height: 400vh;
  }

  .scroll-percentage {
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .overlay-content.text-left,
  .overlay-content.text-right {
    margin-left: 5%;
    margin-right: 5%;
  }

  .spec-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tech-specs-grid {
    grid-template-columns: 1fr;
  }

  .spen-features {
    grid-template-columns: 1fr;
  }

  .cta-content-wrapper {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .scroll-container {
    height: 350vh;
  }

  .text-overlay {
    padding: 1.5rem;
  }

  .overlay-content.text-left,
  .overlay-content.text-right {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-quick-specs {
    flex-direction: column;
    gap: 0.5rem;
  }

  .overlay-heading {
    font-size: 2rem;
  }

  .spec-grid {
    gap: 0.75rem;
  }

  .camera-specs-list {
    gap: 0.75rem;
  }

  .camera-spec-item:hover {
    transform: translateX(0);
  }

  .display-spec-row:hover {
    transform: translateX(0);
  }

  .performance-bars {
    gap: 1rem;
  }

  .scroll-indicator {
    bottom: 2rem;
    scale: 0.9;
  }

  .cta-content-wrapper {
    padding: 2rem 1.5rem;
  }

  .cta-benefits li {
    font-size: 0.9375rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .overlay-heading {
    font-size: 1.75rem;
  }

  .final-heading {
    font-size: 2rem;
  }

  .spec-item {
    padding: 1rem;
  }

  .spec-value {
    font-size: 2rem;
  }

  .camera-spec-item {
    padding: 1rem;
  }

  .perf-bar-item {
    padding: 1rem;
  }

  .spen-feature {
    padding: 1.5rem 1rem;
  }

  .spen-stat {
    font-size: 2rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .cta-content-wrapper {
    padding: 1.5rem;
  }

  .scroll-percentage {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
  }
}

/* --------------------------------------------------------------------------
   Accessibility & Performance
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 4px;
}

@media (prefers-contrast: high) {
  :root {
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);
  }
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.hidden {
  display: none !important;
}

.invisible {
  opacity: 0;
  pointer-events: none;
}

.no-scroll {
  overflow: hidden;
}
