/* ============================================================
   five7null.com — Page-Specific Styles
   ============================================================ */

/* ── HOME — Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-height) 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  z-index: -2;
  opacity: 0.55;
  pointer-events: none;
}

/* Video yokken gösterilen fotoğraf fallback */
.hero-image-fallback {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

/* Artık kullanılmayan eski hero-image - geriye uyumluluk için bırakıldı */
.hero-image:not(.hero-image-fallback) {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.55;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(5,5,5,0.35), var(--bg));
  z-index: -1;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-subtle);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-subtle), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── HOME — Featured Products ────────────────────────────────── */
.featured-products {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

/* ── HOME — Why section ──────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}

.why-item {
  background: var(--bg);
  padding: 36px 32px;
}

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

.why-item-number {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.why-item-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-item-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── HOME — Usage / Context Section ─────────────────────────── */
.usage-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.usage-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.usage-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-3);
}

.usage-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Show the full tray */
  background: #fff;
}

.usage-img:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.usage-img:not(:first-child) {
  aspect-ratio: 1;
}

/* ── How to Use Video ── */
.how-to-use-video-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
  background: #000;
  position: relative;
}

.how-to-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.text-center { text-align: center; }
.mb-8 { margin-bottom: 4rem; }
.mt-8 { margin-top: 4rem; }

/* ── Global Reveal adjustments ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

.usage-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.usage-benefit {
  display: flex;
  gap: 16px;
}

.usage-benefit-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usage-benefit-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
}

.usage-benefit-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.usage-benefit-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── HOME — Trust Strip ──────────────────────────────────────── */
.trust-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── HOME — Testimonials ─────────────────────────────────────── */
.testimonials { padding: 80px 0; }

/* ── HOME — CTA Strip ────────────────────────────────────────── */
.cta-strip {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-strip-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-strip-desc {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1rem;
}

/* ── SHOP Page ───────────────────────────────────────────────── */
.shop-page { padding-top: var(--nav-height); }

.shop-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 48px 0;
}

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

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

/* ── PRODUCT Detail Page ─────────────────────────────────────── */
.product-page {
  padding-top: var(--nav-height);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 56px 0;
  align-items: start;
}

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
}

.product-info { position: sticky; top: calc(var(--nav-height) + 24px); }

.product-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}

.product-price-display {
  font-size: 2rem;
  font-weight: 700;
  margin: 16px 0;
}

.product-short-desc {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.product-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.product-qty-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 70px;
}

/* Product usage section on product page */
.product-usage-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.product-usage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .product-usage-layout { grid-template-columns: 1fr; gap: 32px; }
}

.product-usage-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-usage-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 4/3;
}

.product-usage-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.product-usage-img:first-child { grid-column: span 2; aspect-ratio: 16/9; }

/* ── CART Page ───────────────────────────────────────────────── */
.cart-page { padding-top: var(--nav-height); }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 48px 0;
  align-items: start;
}

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
}

.cart-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0;
}

.cart-empty {
  text-align: center;
  padding: 80px 24px;
}

.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

/* ── CHECKOUT Page ───────────────────────────────────────────── */
.checkout-page { padding-top: var(--nav-height); }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 48px 0;
  align-items: start;
}

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

.checkout-form-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 32px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.checkout-form-section-title:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.payment-option {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color var(--transition);
}

.payment-option.selected {
  border-color: var(--text);
  background: var(--accent-dim);
}

.payment-option input[type="radio"] {
  accent-color: var(--text);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.payment-option-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.payment-option-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── SUCCESS Page ────────────────────────────────────────────── */
.success-page {
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-card {
  text-align: center;
  max-width: 520px;
  padding: 64px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2rem;
}

/* ── B2B Page ────────────────────────────────────────────────── */
.b2b-page { padding-top: var(--nav-height); }

.b2b-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px 0;
  align-items: start;
}

@media (max-width: 768px) {
  .b2b-layout { grid-template-columns: 1fr; gap: 40px; }
}

.payment-info-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.payment-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.payment-info-title {
  font-weight: 600;
  font-size: 0.95rem;
}
.payment-info-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Checkout Finish ── */
.payment-options {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-option {
  display: flex !important;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-2);
}

.payment-option:hover {
  border-color: var(--primary);
  background: rgba(255,255,255,0.02);
}

.payment-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  margin: 0;
}

.payment-option-card {
  flex: 1;
}

.payment-option-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.payment-option-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

