/* ===== iPHONE 17 PAGE - Premium Tabbed Layout ===== */

/* Hero */
.i17-hero {
  background: linear-gradient(180deg, #0a0a1a 0%, #111128 100%);
  padding: 120px 24px 60px;
  text-align: center;
}

.i17-hero-inner { max-width: 680px; margin: 0 auto; }

.i17-hero-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ff9500;
  margin-bottom: 10px;
}

.i17-hero-title {
  font-family: 'Bricolage Grotesque', serif;
  font-size: clamp(52px, 10vw, 88px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #d0c0f0 50%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.i17-hero-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* Models Section */
.i17-models {
  background: linear-gradient(180deg, #111128 0%, #0f0f23 100%);
  padding: 0 24px 80px;
}

.i17-models-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Tab Navigation */
.i17-tab-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  margin-bottom: 50px;
  border: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.i17-tab {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  background: transparent;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
}

.i17-tab:hover {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.05);
}

.i17-tab.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Panels */
.i17-panel {
  display: none;
  animation: i17FadeIn 0.5s ease;
}

.i17-panel.active { display: block; }

@keyframes i17FadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Product Layout */
.i17-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Gallery */
.i17-product-gallery {
  text-align: center;
  padding: 40px 20px;
}

.i17-phone-display {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Soft spotlight behind phone — grounds light-colored phones on dark bg */
.i17-phone-display::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse 55% 50% at 50% 55%,
    rgba(255,255,255,0.07) 0%,
    rgba(255,255,255,0.03) 40%,
    transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.i17-phone-img {
  position: absolute;
  max-height: 400px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55))
          drop-shadow(0 4px 12px rgba(0,0,0,0.35));
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 1;
}

.i17-phone-img.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  animation: i17PhoneFloat 5s ease-in-out infinite;
}

@keyframes i17PhoneFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.01); }
}

/* Color name */
.i17-color-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  min-height: 22px;
  transition: opacity 0.3s ease;
}

/* Color Swatches */
.i17-color-swatches {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.i17-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

.i17-swatch:hover {
  transform: scale(1.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}

.i17-swatch.active {
  border-color: #ff9500;
  transform: scale(1.15);
  box-shadow: 0 0 0 2px rgba(255,149,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.2);
}

/* Product Info */
.i17-product-info {
  padding: 20px 0;
}

.i17-model-badge {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}

.i17-model-badge.pro {
  background: linear-gradient(135deg, rgba(255,149,0,0.15), rgba(200,100,255,0.1));
  color: #ff9500;
  border-color: rgba(255,149,0,0.25);
}

.i17-model-badge.e {
  background: linear-gradient(135deg, rgba(52,199,89,0.15), rgba(100,200,255,0.1));
  color: #34c759;
  border-color: rgba(52,199,89,0.25);
}

.i17-product-info h2 {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.i17-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

/* Badges */
.i17-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.i17-badges .badge-l,
.i17-badges .badge-v {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

.i17-badges .badge-l {
  background: rgba(52,199,89,0.12);
  color: #34c759;
  border: 1px solid rgba(52,199,89,0.25);
}

.i17-badges .badge-v {
  background: rgba(100,160,255,0.12);
  color: #64a0ff;
  border: 1px solid rgba(100,160,255,0.25);
}

/* Specs Table */
.i17-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.i17-specs li {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
}

.i17-specs li:last-child { border-bottom: none; }

.spec-label {
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.spec-value {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

/* CTAs */
.i17-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.i17-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
}

.i17-btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

.i17-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s ease;
}

.i17-btn-outline:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== MODEL NAV STRIP ===== */
.model-nav-strip {
  background: linear-gradient(180deg, #0a0a1a 0%, #111128 100%);
  padding: 50px 24px 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.model-nav-strip-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.model-nav-strip h3 {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.model-nav-strip p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}

.model-nav-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.model-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 16px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 120px;
}

.model-nav-item:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,149,0,0.3);
  transform: translateY(-4px);
}

.model-nav-item.current {
  background: rgba(255,149,0,0.08);
  border-color: rgba(255,149,0,0.3);
}

.model-nav-item img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: transform 0.35s ease;
}

.model-nav-item:hover img {
  transform: scale(1.1);
}

.model-nav-item span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}

.model-nav-item.current span {
  color: #ff9500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .i17-hero { padding: 100px 20px 40px; }

  .i17-tab-nav {
    gap: 4px;
    padding: 4px;
  }

  .i17-tab {
    font-size: 13px;
    padding: 10px 16px;
  }

  .i17-product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .i17-phone-display { min-height: 320px; }
  .i17-phone-img { max-height: 300px; }

  .i17-product-info h2 { font-size: 32px; }
}

@media (max-width: 480px) {
  .i17-hero { padding: 90px 16px 30px; }

  .i17-tab {
    font-size: 12px;
    padding: 8px 12px;
  }

  .i17-phone-display { min-height: 260px; }
  .i17-phone-img { max-height: 240px; }

  .i17-product-info h2 { font-size: 28px; }

  .i17-cta-row { flex-direction: column; }
  .i17-btn-wa, .i17-btn-outline { width: 100%; justify-content: center; text-align: center; }

  .model-nav-item { width: 90px; padding: 14px 10px 10px; }
  .model-nav-item img { height: 48px; }
  .model-nav-item span { font-size: 11px; }
  .model-nav-grid { gap: 10px; }
}
