/* ===== DESIGN TOKENS — Trust Blue + Energy Orange Palette ===== */
:root {
  --color-bg: #f8fafc;
  --color-bg-card: rgba(15, 23, 42, 0.03);
  --color-bg-glass: rgba(255, 255, 255, 0.85);
  --color-surface: #f1f5f9;
  --color-border: rgba(15, 23, 42, 0.1);
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-dim: #94a3b8;
  /* Trust blue — fiyat, onay, bilgi elementleri */
  --color-accent: #0284c7;
  --color-accent-light: #38bdf8;
  --color-accent-dark: #0369a1;
  --color-cyan: #06b6d4;
  /* Energy orange — CTA butonlar, aciliyet */
  --color-cta: #ea6c00;
  --color-cta-dark: #c45a00;
  --color-cta-light: #ff8c30;
  --color-green: #16a34a;
  --color-red: #e11d48;
  --color-amber: #d97706;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #0c2744 50%, #0f2d4a 100%);
  /* CTA butonlar turuncu */
  --gradient-button: linear-gradient(135deg, #ff7c20 0%, #ea6c00 50%, #c45a00 100%);
  --gradient-button-hover: linear-gradient(135deg, #ff8c30 0%, #ea6c00 100%);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-glow: 0 4px 24px rgba(2, 132, 199, 0.2);
  --shadow-cta: 0 6px 20px rgba(234, 108, 0, 0.35);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== CONTAINER ===== */
.page-wrapper {
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  background: #ffffff;
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0,0,0,0.06);
  padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}

/* ===== AMBIENT BACKGROUND ===== */
.ambient-glow {
  position: fixed; top: -200px; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 540px; height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.ambient-glow-2 {
  position: fixed; bottom: -300px; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 540px; height: 800px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* ===== TOP BAR ===== */
.top-bar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}
.top-bar__logo {
  font-size: 18px; font-weight: 900;
  display: flex; align-items: center; gap: 8px;
  letter-spacing: -0.02em; color: var(--color-text);
}
.top-bar__logo-icon { font-size: 18px; display: inline-flex; animation: pulse-icon 2s ease-in-out infinite; }
@keyframes pulse-icon { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }

.top-bar__badge {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 100px; font-size: 12px; font-weight: 700; color: var(--color-green);
}
.top-bar__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-green); animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

/* ===== HERO IMAGE (SINGLE) ===== */
.hero-section { position: relative; padding: 0; overflow: hidden; }
.hero-image-container { position: relative; width: 100%; overflow: hidden; aspect-ratio: 1 / 1; background: #f1f5f9; }

.hero-single-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.hero-floating-badge {
  position: absolute; top: 16px; right: 16px;
  padding: 7px 14px;
  background: linear-gradient(135deg, #ff7c20, #c45a00); backdrop-filter: blur(10px);
  border-radius: 100px; font-size: 12px; font-weight: 800; color: white;
  box-shadow: 0 4px 15px rgba(234, 108, 0, 0.45);
  animation: badge-float 3s ease-in-out infinite; z-index: 10;
}
@keyframes badge-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== DETAIL IMAGES SECTION (ALT ALTA) ===== */
.detail-images-section {
  display: flex; flex-direction: column; gap: 16px;
  padding: 0 20px 24px;
}
.detail-image-card {
  width: 100%; overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.detail-image {
  width: 100%; height: auto;
  display: block; object-fit: cover;
}

/* ===== PRODUCT INFO ===== */
.product-info { padding: 24px 20px 0; position: relative; z-index: 1; }
.product-info__category {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2); border-radius: 100px;
  font-size: 11px; font-weight: 800; color: var(--color-accent);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.product-info__title {
  font-size: 26px; font-weight: 900; line-height: 1.25;
  letter-spacing: -0.03em; margin-bottom: 10px;
  color: var(--color-text);
}
.product-info__subtitle {
  font-size: 14px; color: var(--color-text-muted);
  line-height: 1.55; margin-bottom: 20px;
}

/* ===== PRICE BLOCK ===== */
.price-block {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 16px;
}
.price-block__current {
  font-size: 34px; font-weight: 900;
  background: linear-gradient(135deg, #ff7c20, #ea6c00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}
.price-block__old {
  font-size: 20px; font-weight: 600; color: var(--color-text-dim);
  text-decoration: line-through;
}
.price-block__discount {
  padding: 4px 10px; background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.2); border-radius: 8px;
  font-size: 13px; font-weight: 800; color: var(--color-red);
}

/* ===== PROMO BADGES ===== */
.promo-badges { display: flex; gap: 8px; margin-bottom: 18px; }
.promo-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; flex: 1; justify-content: center;
}
.promo-badge--shipping {
  background: rgba(22, 163, 74, 0.06); border: 1px solid rgba(22, 163, 74, 0.15);
  color: var(--color-green);
}
.promo-badge--cod {
  background: rgba(217, 119, 6, 0.06); border: 1px solid rgba(217, 119, 6, 0.15);
  color: var(--color-amber);
}
.promo-badge__icon { font-size: 16px; }
.promo-badge__text { white-space: nowrap; }

/* ===== RATING ===== */
.rating-bar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; padding: 12px 16px;
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-card);
}
.rating-bar__stars { display: flex; gap: 2px; font-size: 16px; color: var(--color-amber); }
.rating-bar__score { font-size: 15px; font-weight: 800; color: var(--color-text); }
.rating-bar__count { font-size: 13px; color: var(--color-text-muted); font-weight: 500; }
.rating-bar__divider { width: 1px; height: 16px; background: var(--color-border); }

/* ===== WATER RESISTANT BADGE ===== */
.water-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2); border-radius: 100px;
  font-size: 12px; font-weight: 700; color: var(--color-cyan); margin-bottom: 24px;
}

/* ===== FEATURES GRID ===== */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px 20px 28px; }
.feature-card {
  padding: 16px; background: white;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  text-align: center; transition: var(--transition-base);
  box-shadow: var(--shadow-card);
}
.feature-card:hover { border-color: rgba(2, 132, 199, 0.3); transform: translateY(-2px); }
.feature-card__icon { font-size: 28px; margin-bottom: 8px; display: block; }
.feature-card__label {
  font-size: 11px; font-weight: 700; color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px;
}
.feature-card__value { font-size: 15px; font-weight: 800; color: var(--color-text); }

/* ===== SECTION DIVIDER ===== */
.section-divider { height: 1px; margin: 0 20px 28px; background: linear-gradient(to right, transparent, var(--color-border), transparent); }

/* ===== TRUST IMAGE ===== */
.trust-image-section { padding: 0 20px 28px; }
.trust-image {
  width: 100%; border-radius: var(--radius-md);
  display: block; box-shadow: var(--shadow-card);
}

/* ===== USES / WHY US SECTION ===== */
.uses-section { padding: 0 20px 28px; }
.uses-section__title { font-size: 20px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; color: var(--color-text); }
.uses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.use-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px; background: white;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  transition: var(--transition-base); box-shadow: var(--shadow-card);
}
.use-item:hover { border-color: rgba(2, 132, 199, 0.3); }
.use-item__icon { font-size: 22px; flex-shrink: 0; }
.use-item__text { font-size: 13px; font-weight: 700; color: var(--color-text); line-height: 1.35; }

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section { padding: 0 20px 28px; }
.testimonials-section__title { font-size: 20px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.testimonial-card {
  padding: 18px; background: white;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  margin-bottom: 12px; box-shadow: var(--shadow-card);
}
.testimonial-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.testimonial-card__avatar {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--gradient-hero);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: white; flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}
.testimonial-card__name { font-size: 15px; font-weight: 800; color: var(--color-text); }
.testimonial-card__date { font-size: 12px; color: var(--color-text-dim); }
.testimonial-card__stars { font-size: 14px; color: var(--color-amber); margin-bottom: 8px; }
.testimonial-card__text { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; }

/* ===== PACKAGE SECTION ===== */
.package-section { padding: 0 20px 28px; }
.package-section__title { font-size: 20px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.package-list { display: flex; flex-direction: column; gap: 8px; }
.package-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: white;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; color: var(--color-text); box-shadow: var(--shadow-card);
}
.package-item__check { color: var(--color-green); font-weight: 800; font-size: 18px; flex-shrink: 0; }

/* ===== ORDER FORM SECTION ===== */
.order-section { padding: 0 20px 50px; }
.order-section__title { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 4px; text-align: center; color: var(--color-text); }
.order-section__subtitle { font-size: 14px; color: var(--color-text-muted); text-align: center; margin-bottom: 24px; font-weight: 500; }

.order-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { position: relative; }
.form-group label {
  display: block; font-size: 12px; font-weight: 800; color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 15px 18px;
  background: white; border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md); color: var(--color-text);
  font-family: var(--font-main); font-size: 15px; font-weight: 600;
  transition: var(--transition-base); outline: none;
  -webkit-appearance: none; appearance: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
  padding-right: 40px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--color-red);
  background-color: rgba(225, 29, 72, 0.02);
}
.error-msg {
  font-size: 12px; font-weight: 700; color: var(--color-red);
  margin-top: 4px; display: block;
}

/* ===== PACKAGE OPTIONS (COMPACT SINGLE-LINE ROWS) ===== */
.package-options { display: flex; flex-direction: column; gap: 8px; }
.package-option {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; background: white;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  cursor: pointer; transition: var(--transition-base); position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.package-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.package-option:hover { border-color: rgba(2, 132, 199, 0.3); }
.package-option.active {
  border-color: var(--color-accent); background: rgba(2, 132, 199, 0.04);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.package-option__info { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.package-option__qty { font-size: 15px; font-weight: 800; color: var(--color-text); white-space: nowrap; }
.package-option__sub { font-size: 12px; font-weight: 500; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.package-option__badge {
  padding: 2px 7px; background: var(--color-amber);
  border-radius: 100px; font-size: 10px; font-weight: 800; color: white;
  white-space: nowrap; flex-shrink: 0;
}

.package-option__price-box { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.package-option__price { font-size: 16px; font-weight: 900; color: var(--color-accent); white-space: nowrap; }
.package-option__save {
  padding: 2px 6px; background: rgba(22, 163, 74, 0.08); border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 4px; font-size: 10px; font-weight: 800; color: var(--color-green); white-space: nowrap;
}

.package-option__check {
  width: 22px; height: 22px; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: transparent;
  transition: var(--transition-base); flex-shrink: 0;
}
.package-option.active .package-option__check {
  background: var(--color-accent); border-color: var(--color-accent); color: white;
}

/* ===== PAYMENT METHOD SELECTOR ===== */
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-option {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 12px; background: white;
  border: 2px solid var(--color-border); border-radius: var(--radius-md);
  cursor: pointer; transition: var(--transition-base); font-size: 14px; font-weight: 700;
  color: var(--color-text-muted); text-align: center; position: relative;
}
.payment-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.payment-option.active {
  border-color: var(--color-accent); background: rgba(2, 132, 199, 0.03);
  color: var(--color-accent); box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.15);
}

/* ===== SUBMIT BUTTON ===== */
.submit-btn {
  position: relative; width: 100%; padding: 18px;
  background: var(--gradient-button); color: white;
  border: none; border-radius: var(--radius-md);
  font-family: var(--font-main); font-size: 18px; font-weight: 900;
  cursor: pointer; overflow: hidden;
  transition: var(--transition-base);
  box-shadow: var(--shadow-cta);
  margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.submit-btn:hover {
  background: var(--gradient-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(234, 108, 0, 0.45);
}
.submit-btn:active { transform: translateY(0); }
.submit-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2.5s infinite;
}
@keyframes shimmer { 100% { left: 100%; } }

/* ===== TRUST BADGES ===== */
.trust-badges { display: flex; justify-content: space-around; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--color-text-muted); }
.trust-item__icon { font-size: 15px; }

/* ===== FLOATING BOTTOM CTA BAR ===== */
.floating-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 540px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  z-index: 99; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.floating-bar.hidden { transform: translate(-50%, 100%); opacity: 0; pointer-events: none; }

.floating-bar__info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.floating-bar__tags { display: flex; align-items: center; gap: 4px; overflow: hidden; }
.floating-bar__discount {
  padding: 2px 5px; background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.2); border-radius: 4px;
  font-size: 9.5px; font-weight: 800; color: var(--color-red); flex-shrink: 0;
}
.floating-bar__promo {
  font-size: 9.5px; font-weight: 700; color: var(--color-green);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.floating-bar__price-row { display: flex; align-items: baseline; gap: 5px; }
.floating-bar__price { font-size: 19px; font-weight: 900; color: var(--color-cta); line-height: 1.1; }
.floating-bar__old-price { font-size: 12px; font-weight: 600; color: var(--color-text-dim); text-decoration: line-through; }

.floating-bar__btn {
  flex-shrink: 0;
  padding: 11px 14px; background: var(--gradient-button);
  color: white; border: none; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 900; cursor: pointer;
  box-shadow: 0 4px 15px rgba(234, 108, 0, 0.35);
  transition: var(--transition-base); white-space: nowrap;
}
.floating-bar__btn:hover { transform: scale(1.03); }

@media (max-width: 380px) {
  .floating-bar { padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 6px; }
  .floating-bar__btn { padding: 10px 10px; font-size: 12.5px; }
  .floating-bar__price { font-size: 17px; }
  .floating-bar__old-price { font-size: 11px; }
  .promo-badges { flex-wrap: wrap; }
}

