/* ============================================
   BIOTONA Landing Page — Styles
   Sporty & Energetic / White + Red
   Mobile-first, responsive
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #D72638;
  --red-dark: #B01E2E;
  --red-light: #FFE5E8;
  --white: #FFFFFF;
  --off-white: #F9F9F9;
  --dark: #1A1A1A;
  --gray: #555;
  --gray-light: #999;
  --gray-border: #E0E0E0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

/* ---------- Utility ---------- */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Header / Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--red);
  padding: 12px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
}
.navbar-nav { display: flex; gap: 20px; list-style: none; }
.navbar-nav a {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark);
  letter-spacing: .5px;
  position: relative;
  padding-bottom: 2px;
}
.navbar-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.navbar-nav a:hover { color: var(--red); }
.navbar-nav a:hover::after { width: 100%; }

.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 26px; height: 3px;
  background: var(--dark); border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navbar-nav {
    display: none;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 2px solid var(--red);
    box-shadow: var(--shadow);
  }
  .navbar-nav.active { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, var(--white) 60%, var(--red-light) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: var(--red);
  opacity: .05;
  border-radius: 50%;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: 2px;
  line-height: 1.1;
  color: var(--dark);
  text-transform: uppercase;
}
.hero-text h1 span { color: var(--red); }
.hero-text .subtitle {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 440px;
}
.hero-text .price-tag {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 28px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
}
.hero-image { position: relative; text-align: center; }
.hero-image img {
  max-height: 420px;
  margin: 0 auto;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.15));
  animation: floatUp .8s ease-out;
}
.hero-disclaimer {
  margin-top: 14px;
  font-size: .75rem;
  color: var(--gray-light);
  font-style: italic;
  text-align: center;
}

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

@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-text .subtitle { margin-left: auto; margin-right: auto; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 300px; }
}

/* ---------- Section common ---------- */
.section { padding: 60px 0; }
.section--alt { background: var(--off-white); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--dark);
}
.section-heading span { color: var(--red); }
.section-sub {
  text-align: center;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: .95rem;
}

/* ---------- Content image ---------- */
.content-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.content-img img { width: 100%; object-fit: cover; }

/* ---------- Benefits grid ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.benefit-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.benefit-card p { font-size: .9rem; color: var(--gray); }

/* ---------- Ingredients ---------- */
.ingredients-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.ingredient-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.ingredient-item .icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.ingredient-item h4 {
  font-size: .95rem; margin-bottom: 4px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.ingredient-item p { font-size: .82rem; color: var(--gray); }

/* ---------- Audience / Usage ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
}

.checklist { list-style: none; }
.checklist li {
  padding: 8px 0;
  font-size: .95rem;
  display: flex; align-items: center; gap: 10px;
}
.checklist li::before {
  content: '✓';
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-size: .7rem; font-weight: 700;
  flex-shrink: 0;
}

.usage-steps { counter-reset: step; list-style: none; }
.usage-steps li {
  counter-increment: step;
  padding: 16px 0 16px 60px;
  position: relative;
  font-size: .95rem;
  border-left: 2px solid var(--gray-border);
  margin-left: 20px;
}
.usage-steps li::before {
  content: counter(step);
  position: absolute; left: -20px; top: 14px;
  width: 38px; height: 38px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.usage-steps li strong { display: block; margin-bottom: 2px; }

/* ---------- Order form ---------- */
.order-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--red-light) 100%);
}
.order-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--red);
}
.order-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.order-card .order-sub {
  text-align: center;
  color: var(--gray);
  font-size: .9rem;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 6px;
  font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .3px;
}
.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
}
.form-group input:focus {
  outline: none;
  border-color: var(--red);
}
.btn-cta {
  display: block; width: 100%;
  padding: 16px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-cta:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-cta:active { transform: translateY(0); }

.order-price {
  text-align: center;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  letter-spacing: 1px;
}

/* ---------- Disclaimer bar ---------- */
.disclaimer-bar {
  background: var(--off-white);
  border-top: 1px solid var(--gray-border);
  padding: 16px 0;
  text-align: center;
  font-size: .78rem;
  color: var(--gray-light);
  font-style: italic;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 40px 0 20px;
  font-size: .85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}
.footer h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: var(--red); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--dark);
  color: rgba(255,255,255,.85);
  padding: 20px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.2);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: .85rem; flex: 1 1 300px; }
.cookie-inner a { color: var(--red); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-btn--accept { background: var(--red); color: var(--white); }
.cookie-btn--accept:hover { background: var(--red-dark); }
.cookie-btn--decline { background: rgba(255,255,255,.15); color: var(--white); }
.cookie-btn--decline:hover { background: rgba(255,255,255,.25); }

/* ---------- Internal Pages ---------- */
.page-header {
  padding: 40px 0;
  background: linear-gradient(135deg, var(--white) 60%, var(--red-light) 100%);
  border-bottom: 2px solid var(--red);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.page-content {
  padding: 48px 0 60px;
  line-height: 1.9;
  font-size: .95rem;
}
.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 32px 0 12px;
  color: var(--dark);
}
.page-content p { margin-bottom: 14px; color: var(--gray); }
.page-content ul { margin: 10px 0 18px 20px; }
.page-content ul li { margin-bottom: 6px; color: var(--gray); }

/* ---------- Success page ---------- */
.success-wrap {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.success-wrap .check-circle {
  width: 80px; height: 80px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.4rem;
  color: var(--white);
  animation: pop .5s ease-out;
}
@keyframes pop {
  0% { transform: scale(0); }
  80% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.success-wrap h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.success-wrap p { color: var(--gray); max-width: 460px; margin: 0 auto 28px; }
.btn-back {
  display: inline-block;
  padding: 14px 36px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background var(--transition);
}
.btn-back:hover { background: var(--red-dark); color: var(--white); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.contact-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--gray-border);
}
.contact-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-card p, .contact-card a {
  font-size: .9rem;
  color: var(--gray);
}

/* ---------- Animations on scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
