/* ============================================
   Home Page CSS - Solar Surge
   ============================================ */

/* --- Home Hero --- */
.home-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: visible;
  background: #0a0a1a;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.home-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

/* Scroll Indicator */
.hero-scroll-hint {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-circle {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroScrollBounce 2.5s ease-in-out infinite;
  cursor: pointer;
  transition: border-color var(--transition);
}

.scroll-circle:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Hero Layout */
.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  min-height: 700px;
  padding-top: 120px;
  padding-bottom: 100px;
}

/* Hero Text */
.home-hero .hero-text {
  max-width: 750px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-subtitle {
  display: block;
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.65);
  font-weight: var(--fw-regular);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.3px;
}

.home-hero .hero-text h1 {
  color: var(--color-white);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 0;
}

/* Hero Bottom Row */
.hero-bottom-row {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  flex-shrink: 0;
  padding-top: var(--space-xl);
}

/* Pill CTA Button */
.hero-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-white);
  color: var(--color-primary);
  padding: 7px 32px 7px 7px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  text-decoration: none;
  transition: all var(--transition);
  flex-shrink: 0;
}

.hero-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  color: var(--color-primary);
}

.pill-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-icon svg {
  width: 26px;
  height: 26px;
}

.pill-label {
  white-space: nowrap;
}

/* Partner Logos */
.hero-partners {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  margin-left: auto;
}

.partner-logo-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: color var(--transition);
}

.partner-logo-text:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* Pagination Dots */
.hero-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--color-white);
  border-color: var(--color-white);
}

.hero-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
}

/* Floating Bottom Badges */
.hero-badges {
  position: absolute;
  bottom: 0;
  right: 24px;
  z-index: 3;
  display: flex;
  gap: var(--space-md);
  transform: translateY(50%);
}

.badge-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.badge-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Google Reviews Badge */
.badge-google {
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.badge-google svg {
  flex-shrink: 0;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  line-height: 1.1;
}

.badge-text span {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  white-space: nowrap;
}

/* Quote CTA Badge */
.badge-cta {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.traffic-dots {
  display: flex;
  gap: 5px;
}

.traffic-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.traffic-dots span:nth-child(1) { background: #ff5f57; }
.traffic-dots span:nth-child(2) { background: #febc2e; }
.traffic-dots span:nth-child(3) { background: #28c840; }

.badge-cta-label {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  white-space: nowrap;
}

.badge-cta svg {
  flex-shrink: 0;
}

/* Hero Responsive */
@media (max-width: 1200px) {
  .hero-partners {
    gap: var(--space-xl);
  }
}

@media (max-width: 1024px) {
  .hero-layout {
    padding-bottom: 120px;
  }

  .hero-bottom-row {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .hero-partners {
    margin-left: 0;
    gap: var(--space-lg);
  }

  .partner-logo-text svg {
    display: none;
  }
}

@media (max-width: 768px) {
  .home-hero {
    height: auto;
    min-height: 100svh;
  }

  .hero-layout {
    height: auto;
    min-height: 100svh;
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .hero-scroll-hint {
    display: none;
  }

  .hero-subtitle {
    font-size: var(--fs-sm);
  }

  .home-hero .hero-text h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    letter-spacing: -1px;
  }

  .hero-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .hero-pill-btn {
    padding: 5px 24px 5px 5px;
    font-size: var(--fs-sm);
  }

  .pill-icon {
    width: 40px;
    height: 40px;
  }

  .hero-partners {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .hero-dots {
    display: none;
  }

  .hero-badges {
    position: relative;
    right: auto;
    bottom: auto;
    transform: none;
    display: flex;
    flex-direction: row;
    gap: var(--space-sm);
    padding: 0 16px;
    margin-top: -120px;
    justify-content: center;
    width: 100%;
    z-index: 3;
  }

  .badge-card {
    padding: 10px 14px;
    gap: var(--space-sm);
    flex: 1;
    justify-content: center;
  }

  .badge-google svg {
    width: 24px;
    height: 24px;
  }

  .badge-text strong {
    font-size: var(--fs-sm);
  }

  .badge-text span {
    font-size: var(--fs-xs);
  }

  .badge-cta-label {
    font-size: var(--fs-sm);
  }

  .badge-cta svg {
    width: 24px;
    height: 24px;
  }

  .traffic-dots span {
    width: 7px;
    height: 7px;
  }
}

@media (max-width: 400px) {
  .home-hero .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-badges {
    flex-direction: column;
  }
}

/* --- 3D Showcase --- */
.home-3d {
  padding: var(--space-4xl) 0 0;
  background: #2196F3;
  overflow: hidden;
}

.home-3d > .container {
  max-width: 1400px;
}

.home-3d-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.home-3d-heading {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  line-height: 1.12;
  letter-spacing: -1px;
}

.home-3d-heading .highlight {
  position: relative;
  display: inline;
}

.home-3d-heading .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background: #4cff91;
  border-radius: 3px;
  z-index: -1;
}

.model-embed {
  width: 100%;
  height: 650px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: transparent;
}

.model-embed model-viewer {
  width: 100%;
  height: 100%;
}

/* Right column */
.home-3d-right {
  padding-top: var(--space-md);
}

.home-3d-right > p {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
  margin-bottom: var(--space-lg);
}

/* Awards */
.awards-section {
  margin-top: var(--space-2xl);
}

.awards-title {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.awards-row {
  display: flex;
  gap: var(--space-md);
}

.award-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  text-align: center;
  transition: background var(--transition);
  min-width: 120px;
}

.award-badge:hover {
  background: rgba(255, 255, 255, 0.18);
}

.award-badge span {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  line-height: 1.3;
}

/* Scrolling Marquee */
.marquee-wrap {
  margin-top: calc(-1 * var(--space-4xl));
  overflow: hidden;
  white-space: nowrap;
  padding: var(--space-lg) 0;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-text {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: var(--fw-extrabold);
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
  letter-spacing: -2px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 3D section responsive */
@media (max-width: 1024px) {
  .home-3d-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .home-3d-right {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .home-3d {
    padding: var(--space-2xl) 0 0;
  }

  .home-3d-heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
    letter-spacing: -0.5px;
  }

  .model-embed {
    height: 300px;
    border-radius: var(--radius-md);
  }

  .marquee-wrap {
    margin-top: calc(-1 * var(--space-xl));
  }

  .marquee-text {
    font-size: clamp(2rem, 12vw, 3.5rem);
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.15);
  }

  .marquee-track {
    gap: 24px;
  }
}

/* Stats mobile */
@media (max-width: 480px) {
  .home-stats {
    padding: var(--space-md) 0;
  }
}

/* --- Stats Section --- */
.home-stats {
  background: #000000;
  padding: var(--space-lg) 0;
}

/* --- Why Solar Preview --- */
.home-why {
  background: #2196F3;
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

/* Top heading */
.why-top {
  text-align: center;
  padding: 0 24px;
  margin-bottom: var(--space-3xl);
}

.why-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-md);
}

.why-top h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.why-underline {
  position: relative;
  display: inline-block;
}

.why-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background: #4cff91;
  border-radius: 3px;
  z-index: -1;
}

/* Browser mockup card */
.browser-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 1100px;
  margin: 0 auto;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

.browser-dots {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.browser-url {
  flex: 1;
  background: #f0f0f0;
  border-radius: 8px;
  padding: 7px 16px;
  text-align: center;
}

.browser-url span {
  font-size: var(--fs-xs);
  color: #999;
}

.browser-icons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Browser body */
.browser-body {
  padding: var(--space-2xl) var(--space-3xl);
}

.browser-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* Left: solar illustration */
.browser-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.solar-illustration svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* Right: content */
.browser-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: #2196F3;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.browser-content h3 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.browser-content > p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

/* Process steps */
.process-steps {
  display: flex;
  gap: var(--space-md);
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  flex: 1;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-card strong {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}

.step-card span {
  font-size: var(--fs-xs);
  color: #28c840;
  font-weight: var(--fw-semibold);
}

/* Why Solar responsive */
@media (max-width: 768px) {
  .home-why {
    padding: var(--space-3xl) 0;
  }

  .why-top {
    margin-bottom: var(--space-2xl);
    padding: 0 16px;
  }

  .why-top h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .why-label {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }

  .browser-card {
    border-radius: 12px;
    margin: 0 -8px;
  }

  .browser-chrome {
    padding: 10px 14px;
    gap: var(--space-sm);
  }

  .browser-dots span {
    width: 8px;
    height: 8px;
  }

  .browser-actions,
  .browser-icons {
    display: none;
  }

  .browser-url {
    padding: 5px 12px;
  }

  .browser-url span {
    font-size: 0.6rem;
  }

  .browser-body {
    padding: var(--space-lg);
  }

  .browser-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .solar-illustration svg {
    max-width: 200px;
  }

  .browser-content h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-md);
  }

  .browser-content > p {
    font-size: var(--fs-xs);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
  }

  .process-steps {
    gap: var(--space-sm);
  }

  .step-card {
    padding: 14px 12px;
    flex: 1;
    min-width: 0;
  }

  .step-card svg {
    width: 24px;
    height: 24px;
  }

  .step-card strong {
    font-size: var(--fs-xs);
  }

  .step-card span {
    font-size: 0.6rem;
  }
}

/* --- Features Showcase (Phone Mockups) --- */
.home-features {
  background: var(--color-white);
  padding: var(--space-4xl) 0;
  text-align: center;
}

/* Dimension lines */
.dimension-lines {
  margin-bottom: var(--space-2xl);
}

.dim-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.dim-line span {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  color: #bbb;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.dim-rule {
  height: 1px;
  background: #e0e0e0;
}

.dim-desktop .dim-rule {
  width: 80%;
  max-width: 900px;
}

.dim-mobile .dim-rule {
  width: 40%;
  max-width: 450px;
}

/* Phones grid */
.phones-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  align-items: flex-start;
}

.phone-item {
  position: relative;
  flex-shrink: 0;
}

/* Phone frame */
.phone-frame {
  width: 220px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: relative;
}

.phone-notch {
  width: 80px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  margin: 6px auto 8px;
}

.phone-screen {
  background: #fdf0f0;
  border-radius: 22px;
  overflow: hidden;
  min-height: 340px;
}

/* Phone header */
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
}

.phone-logo {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.7);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px dashed #ccc;
}

/* Phone visual area */
.phone-visual {
  margin: 0 12px;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.phone-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  padding: 16px 16px 8px;
  line-height: 1.2;
  text-align: left;
}

.phone-btn-wrap {
  padding: 8px 16px 16px;
}

.phone-btn-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 6px 18px;
}

/* Phone rows (dashboard style) */
.phone-rows {
  padding: 8px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.row-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.row-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.row-lines span {
  display: block;
  height: 4px;
  background: #eee;
  border-radius: 2px;
}

.row-lines span:first-child { width: 80%; }
.row-lines span:last-child { width: 55%; }

.row-tag {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  background: #2196F3;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Phone chart */
.phone-chart {
  padding: 12px 16px 20px;
}

.phone-chart svg {
  width: 100%;
  height: auto;
}

/* Floating cards */
.phone-float {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 2;
}

.phone-float span {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}

.phone-float-left {
  bottom: 80px;
  left: -40px;
}

.phone-float-right {
  bottom: 60px;
  right: -50px;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
}

.float-stat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.float-stat strong {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}

.float-stat span {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  font-weight: var(--fw-regular);
}

.float-stat.accent strong {
  color: #28c840;
}

/* Big heading */
.features-heading {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -1px;
}

/* Features responsive */
@media (max-width: 900px) {
  .phones-grid {
    gap: var(--space-xl);
  }

  .phone-frame {
    width: 180px;
  }

  .phone-screen {
    min-height: 280px;
  }

  .phone-float-left { left: -20px; }
  .phone-float-right { right: -20px; }
}

@media (max-width: 768px) {
  .home-features {
    padding: var(--space-3xl) 0;
  }

  .features-heading {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}

@media (max-width: 680px) {
  .phones-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: var(--space-lg);
    padding: 0 var(--space-lg) var(--space-lg);
    margin-bottom: var(--space-2xl);
    justify-content: flex-start;
  }

  .phone-item {
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  .phone-frame {
    width: 200px;
  }

  .phone-screen {
    min-height: 300px;
  }

  .dimension-lines {
    display: none;
  }

  .phone-float {
    display: none;
  }
}

/* --- Testimonials --- */
.home-testimonials {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: var(--color-secondary);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
}

.testimonial-card blockquote {
  font-size: var(--fs-base);
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  color: var(--color-text-light);
  font-size: var(--fs-sm);
}

.testimonial-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  color: var(--color-primary);
}

.testimonial-info span {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
}

@media (max-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

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

  .testimonial-card {
    padding: var(--space-lg);
  }

  .testimonial-card blockquote {
    font-size: var(--fs-sm);
    line-height: 1.6;
    margin-bottom: var(--space-md);
  }

  .testimonial-avatar {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .home-testimonials .section-header h2 {
    font-size: var(--fs-2xl);
  }

  .home-testimonials .section-header p {
    font-size: var(--fs-sm);
  }
}
