﻿/* style.css - ProstAktiv Arctic */
:root {
  --primary: #082f49;
  --primary-light: #0284c7;
  --cyan: #06b6d4;
  --cyan-light: #38bdf8;
  --bg-page: #f0f9ff;
  --bg-card: #ffffff;
  --text-dark: #0c4a6e;
  --text-muted: #64748b;
  --border: #bae6fd;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 4px 20px rgba(2, 132, 199, 0.08);
  --shadow-lg: 0 10px 30px rgba(2, 132, 199, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.5px; }
a { color: var(--primary-light); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Topbar */
.arctic-topbar {
  background: #082f49;
  color: #e0f2fe;
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.arctic-topbar-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.cryo-badge {
  background: var(--cyan);
  color: #082f49;
  padding: 2px 8px;
  font-weight: 800;
  font-size: 0.72rem;
  border-radius: 4px;
}

/* Header */
.arctic-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.arctic-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}
.brand-wrap { display: flex; align-items: center; gap: 12px; }
.brand-icon { font-size: 2rem; color: var(--primary-light); line-height: 1; }
.brand-title { font-size: 1.45rem; font-weight: 900; color: var(--primary); }
.brand-title span { color: var(--cyan); }
.brand-sub { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.arctic-nav { display: flex; gap: 22px; }
.arctic-nav a {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.arctic-nav a:hover, .arctic-nav a.active { color: var(--primary-light); }
.arctic-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
}

/* Buttons */
.btn-cyan {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-light), var(--cyan));
  color: #ffffff !important;
  font-weight: 800;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}
.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}
.btn-outline-ice {
  display: inline-block;
  background: transparent;
  color: var(--primary) !important;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 30px;
  border: 2px solid var(--primary-light);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-outline-ice:hover {
  background: var(--primary-light);
  color: #ffffff !important;
}

/* Hero Section */
.arctic-hero {
  padding: 70px 0;
  background: radial-gradient(circle at center, #e0f2fe 0%, var(--bg-page) 70%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-bottle-wrap {
  position: relative;
  display: inline-block;
  margin: 30px 0;
}
.hero-bottle-wrap img {
  max-height: 420px;
  filter: drop-shadow(0 15px 30px rgba(2, 132, 199, 0.25));
  transition: transform 0.3s ease;
}
.hero-bottle-wrap img:hover { transform: scale(1.03); }

/* Interactive Temperature Toggle inside Hero */
.hero-temp-toggle {
  background: #ffffff;
  display: inline-flex;
  border: 2px solid var(--border);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.temp-toggle-btn {
  padding: 8px 20px;
  border-radius: 25px;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  background: none;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.temp-toggle-btn.active {
  background: var(--primary);
  color: #ffffff;
}

/* Flowchart Section */
.flow-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 35px;
}
.flow-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow);
}
.flow-num {
  position: absolute;
  margin-bottom: 12px; position: static; transform: none;
  left: 30px;
  background: var(--primary-light);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* Certificates */
.cert-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cert-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}
.cert-box:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cert-preview {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 6px;
}

/* Thermometer App */
.thermo-box {
  background: #ffffff;
  border: 2px solid var(--primary-light);
  border-radius: 20px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.thermo-bar-wrap {
  height: 20px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
  position: relative;
}
.thermo-bar-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, #38bdf8, #0284c7, #082f49);
  transition: width 0.3s ease;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: rgba(8, 47, 73, 0.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-modal.active { display: flex !important; }
.lightbox-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px;
  max-width: 850px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}
.lightbox-content img {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 8px;
  margin-bottom: 16px;
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}

/* Order Packages */
.arctic-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 35px 0;
}
.arctic-pack-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}
.arctic-pack-card:hover, .arctic-pack-card.selected {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}
.arctic-pack-badge {
  position: absolute;
  margin-bottom: 12px; position: static; transform: none;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-light);
  color: #ffffff;
  padding: 4px 14px;
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
}

/* Footer */
.arctic-footer {
  background: #082f49;
  color: #bae6fd;
  padding: 60px 0 25px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .flow-grid-3, .cert-grid-3, .arctic-pack-grid { grid-template-columns: 1fr; }
  .arctic-nav { display: none; }
}