/* ===== Product Hero ===== */
.product-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  padding-bottom: 60px;
}

.product-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-hero-info {
  position: relative;
  z-index: 1;
}

.product-hero-info h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.product-hero-info p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.product-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* Phone mockup */
.product-hero-image {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  border-radius: 36px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 80px rgba(99, 102, 241, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Feature Grid (6 columns) ===== */
.calc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.calc-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.calc-feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.calc-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.calc-feature-card:hover::after {
  opacity: 1;
}

.calc-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  margin-bottom: 16px;
}

.calc-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calc-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ===== Scenarios ===== */
.scenarios {
  background: var(--bg-secondary);
}

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

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  transition: all var(--transition);
}

.scenario-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.scenario-number {
  font-size: 42px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.5;
}

.scenario-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.scenario-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Download ===== */
.download {
  background: var(--bg-secondary);
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 60px;
}

.download-info h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.download-info p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-qr .qr-card {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
}

.download-qr .qr-card #qrWrapper {
  display: inline-block;
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  line-height: 0;
}

.download-qr .qr-card #qrWrapper img,
.download-qr .qr-card #qrWrapper canvas {
  display: block;
}

.download-qr .qr-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .product-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .product-hero-info {
    order: 1;
  }

  .product-hero-image {
    order: 0;
  }

  .product-hero-actions {
    justify-content: center;
  }

  .phone-mockup {
    width: 220px;
  }

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

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

  .download-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 36px 24px;
    text-align: center;
  }

  .download-buttons {
    justify-content: center;
  }

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