/* ==========================================================================
   SOLSITE MARKETING WEBSITE
   Dynamic time-of-day theming with premium feel
   ========================================================================== */

/* CSS Custom Properties - Dynamic theming */
:root {
  /* Base colors */
  --sun-gold: #FFB800;
  --sun-orange: #FF8A00;
  --sun-deep: #FF6B35;
  --sun-glow: rgba(255, 184, 0, 0.3);

  /* Sky colors - will be dynamically updated */
  --sky-top: #1a1a2e;
  --sky-bottom: #2d3a4a;
  --sky-accent: #4a90d9;

  /* UI colors */
  --bg-dark: #0d0d14;
  --bg-card: rgba(30, 30, 46, 0.8);
  --bg-card-solid: #1e1e2e;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --border-subtle: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
}

/* Time-of-day theme variations */
body.theme-dawn {
  --sky-top: #2d3a4a;
  --sky-bottom: #ff9966;
  --sky-accent: #ffcc99;
}

body.theme-morning {
  --sky-top: #4a90d9;
  --sky-bottom: #87ceeb;
  --sky-accent: #ffe4b5;
}

body.theme-noon {
  --sky-top: #2d5a87;
  --sky-bottom: #4a90d9;
  --sky-accent: #87ceeb;
}

body.theme-afternoon {
  --sky-top: #3d6a9e;
  --sky-bottom: #87a8c9;
  --sky-accent: #ffd699;
}

body.theme-golden {
  --sky-top: #4a5568;
  --sky-bottom: #ff8c42;
  --sky-accent: #ffd93d;
}

body.theme-sunset {
  --sky-top: #2c3e50;
  --sky-bottom: #e74c3c;
  --sky-accent: #f39c12;
}

body.theme-dusk {
  --sky-top: #1a1a2e;
  --sky-bottom: #4a3f6b;
  --sky-accent: #9b59b6;
}

body.theme-night {
  --sky-top: #0a0a14;
  --sky-bottom: #1a1a2e;
  --sky-accent: #2d3a4a;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

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

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

/* Dynamic sky gradient background */
.sky-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  z-index: -2;
  transition: background 2s ease;
}

/* Floating sun element */
.floating-sun {
  position: fixed;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
  transition: transform 0.1s ease-out, opacity 0.5s ease;
}

.sun-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #fff 0%, var(--sun-gold) 50%, var(--sun-orange) 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px var(--sun-gold), 0 0 80px var(--sun-glow);
}

.sun-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3s ease-in-out infinite;
}

.sun-corona {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, transparent 30%, rgba(255, 184, 0, 0.1) 50%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 30s linear infinite;
}

.sun-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
}

.sun-rays::before,
.sun-rays::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.3), transparent);
  transform: translate(-50%, -50%);
}

.sun-rays::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

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

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(13, 13, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
}

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

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

.logo-sun {
  width: 32px;
  height: 32px;
  background: radial-gradient(circle, #fff 10%, var(--sun-gold) 40%, var(--sun-orange) 100%);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--sun-glow);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: var(--sun-gold);
  color: var(--bg-dark) !important;
  padding: var(--space-xs) var(--space-md);
  border-radius: 8px;
  font-weight: 600 !important;
}

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

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

.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
}

.hero-content {
  text-align: center;
  max-width: 700px;
  padding: 0 var(--space-lg);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.hero-highlight {
  background: linear-gradient(135deg, var(--sun-gold) 0%, var(--sun-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--sun-gold);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--sun-orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 184, 0, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon {
  display: flex;
  align-items: center;
}

.hero-price {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Interactive Demo */
.hero-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.demo-phone {
  width: 280px;
  background: #1a1a2e;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: #0d0d14;
  border-radius: 20px;
  margin: 0 auto 8px;
}

.demo-screen {
  width: 100%;
  height: 400px;
  background: linear-gradient(180deg, #2d5a87 0%, #87ceeb 50%, #c9e4ca 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.demo-property {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
}

.demo-horizon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0, 0, 0, 0.2);
}

.demo-house {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 60px;
  background: #2d3a4a;
  clip-path: polygon(50% 0%, 100% 40%, 100% 100%, 0% 100%, 0% 40%);
}

.demo-trees {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(180deg, transparent 0%, #3d5a4a 50%, #2d4a3a 100%);
}

.demo-sun {
  position: absolute;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #fff 20%, var(--sun-gold) 50%, var(--sun-orange) 100%);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--sun-gold), 0 0 60px rgba(255, 184, 0, 0.5);
  transition: all 0.15s ease-out;
  /* Position will be set by JS */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.demo-path {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 50%;
  pointer-events: none;
}

.demo-path::before {
  content: '';
  position: absolute;
  top: 70%;
  left: 10%;
  width: 80%;
  height: 60%;
  border: 2px dashed rgba(255, 184, 0, 0.3);
  border-bottom: none;
  border-radius: 50% 50% 0 0;
}

.demo-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.demo-time {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.demo-hours {
  text-align: right;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.demo-hours-value {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.demo-hours-label {
  font-size: 0.7rem;
  opacity: 0.8;
}

.demo-scrubber {
  padding: 16px 8px 8px;
}

.time-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.time-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--sun-gold);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease;
}

.time-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

.time-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--sun-gold);
  border-radius: 50%;
  cursor: grab;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scrubber-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.demo-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.demo-hint::before {
  content: '↔';
  font-size: 1.2rem;
}

/* ==========================================================================
   VALUE PROPOSITION
   ========================================================================== */

.value-prop {
  padding: var(--space-3xl) 0;
  background: rgba(0, 0, 0, 0.3);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: var(--space-xl);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--sun-gold), var(--sun-orange));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--bg-dark);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features {
  padding: var(--space-3xl) 0;
}

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.feature-item.reverse {
  direction: rtl;
}

.feature-item.reverse > * {
  direction: ltr;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.feature-demo {
  width: 300px;
  height: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* AR Demo Animation */
.ar-demo {
  background: linear-gradient(180deg, #2d5a87 0%, #87ceeb 100%);
}

.ar-viewfinder {
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.ar-viewfinder::before,
.ar-viewfinder::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
}

.ar-viewfinder::before {
  width: 20px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ar-viewfinder::after {
  width: 2px;
  height: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ar-sun-indicator {
  position: absolute;
  top: 30%;
  right: 30%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #fff 20%, var(--sun-gold) 60%);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--sun-gold);
  animation: ar-pulse 2s ease-in-out infinite;
}

@keyframes ar-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px var(--sun-gold); }
  50% { transform: scale(1.1); box-shadow: 0 0 50px var(--sun-gold); }
}

.ar-compass {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Time Demo Animation */
.time-demo {
  flex-direction: column;
}

.time-arc {
  width: 200px;
  height: 100px;
  border: 3px solid rgba(255, 184, 0, 0.3);
  border-bottom: none;
  border-radius: 100px 100px 0 0;
  position: relative;
}

.time-sun-travel {
  position: absolute;
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, #fff 20%, var(--sun-gold) 60%);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--sun-gold);
  animation: travel 4s ease-in-out infinite;
  bottom: -12px;
}

@keyframes travel {
  0% { left: -12px; }
  50% { left: calc(100% - 12px); }
  100% { left: -12px; }
}

.time-current {
  margin-top: var(--space-lg);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sun-gold);
}

/* Indoor Demo */
.indoor-demo {
  flex-direction: column;
  background: #1a1a2e;
}

.window-frame {
  width: 120px;
  height: 160px;
  border: 8px solid #3d4a5a;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.window-light {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(255, 184, 0, 0.3));
  animation: light-shift 3s ease-in-out infinite;
}

@keyframes light-shift {
  0%, 100% { height: 60%; opacity: 0.8; }
  50% { height: 80%; opacity: 1; }
}

.indoor-label {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.indoor-hours {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sun-gold);
}

/* Compare Demo */
.compare-demo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
}

.compare-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: var(--space-md);
  text-align: center;
  position: relative;
}

.compare-card.winner {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
}

.compare-name {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.compare-hours {
  font-size: 1.5rem;
  font-weight: 700;
}

.compare-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #22c55e;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

.compare-vs {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.feature-content {
  max-width: 400px;
}

.feature-tag {
  display: inline-block;
  background: rgba(255, 184, 0, 0.2);
  color: var(--sun-gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

.feature-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */

.how-it-works {
  padding: var(--space-3xl) 0;
  background: rgba(0, 0, 0, 0.3);
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.science-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: var(--space-xl);
  position: relative;
}

.science-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 184, 0, 0.2);
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  line-height: 1;
}

.science-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

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

/* ==========================================================================
   SOCIAL PROOF
   ========================================================================== */

.social-proof {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.proof-content {
  max-width: 600px;
  margin: 0 auto;
}

.proof-content h2 {
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: var(--space-lg);
}

.proof-stat {
  margin-bottom: var(--space-lg);
}

.stat-number {
  display: block;
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--sun-gold), var(--sun-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  display: block;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: var(--space-sm);
}

.proof-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials {
  padding: var(--space-3xl) 0;
  background: rgba(0, 0, 0, 0.2);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: var(--space-xl);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-stars {
  color: var(--sun-gold);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.testimonial-quote {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--sun-gold), var(--sun-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bg-dark);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.author-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq {
  padding: var(--space-3xl) 0;
  background: rgba(0, 0, 0, 0.3);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-lg);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: var(--space-xl);
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--sun-gold);
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ==========================================================================
   DOWNLOAD CTA
   ========================================================================== */

.download {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.download-content {
  max-width: 500px;
  margin: 0 auto;
}

.download-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.download-content > p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

.download-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.store-badge {
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.store-svg {
  height: 48px;
  width: auto;
}

.download-price {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-brand .logo-sun {
  width: 24px;
  height: 24px;
}

.footer-brand .logo-text {
  font-size: 1rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

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

@media (max-width: 900px) {
  .feature-item {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .feature-item.reverse {
    direction: ltr;
  }

  .feature-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
  }

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

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
    padding: 0 var(--space-lg);
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .demo-phone {
    width: 260px;
  }

  .demo-screen {
    height: 350px;
  }

  .feature-demo {
    width: 260px;
    height: 260px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
