/* ==========================================================================
   PROSTALIS - Czech White Hat Capsules Landing Page (Vibrant Colored Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #0d9488;         /* Emerald Teal */
  --primary-hover: #0f766e;   /* Darker Teal */
  --primary-light: #ccfbf1;   /* Soft Teal Tint */
  --secondary: #2563eb;       /* Vibrant Blue */
  --accent-green: #10b981;    /* Fresh Green */
  --dark: #0f172a;            /* Slate Dark */
  --dark-sub: #334155;        /* Muted Text */
  --light-bg: #f0fdf4;
  --white: #ffffff;
  --border-color: #cbd5e1;
  --card-shadow: 0 16px 35px rgba(13, 148, 136, 0.1), 0 4px 12px rgba(15, 23, 42, 0.04);
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(204, 251, 241, 0.45) 100%);
  --glass-border: rgba(13, 148, 136, 0.25);
  --radius: 18px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.65;
}

/* Rich Vibrant Colored Background */
body {
  overflow-x: hidden;
  font-size: 16px;
  background: linear-gradient(135deg, #e0f2fe 0%, #ccfbf1 35%, #dcfce7 70%, #f0fdf4 100%);
  background-attachment: fixed;
}

h1, h2, h3, h4, .brand-logo {
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Colored Tab Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(13, 148, 136, 0.2);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.08);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--dark);
}

.brand-sub {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

/* Colored Navigation Tabs */
.nav-menu {
  display: flex;
  gap: 12px;
  list-style: none;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-hover);
  background: rgba(13, 148, 136, 0.09);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 20px;
  padding: 8px 16px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
  transform: translateY(-1px);
}

.header-cta-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 30px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.4);
}

/* Translucent Colored Glass Card Container */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 40px;
  margin-bottom: 35px;
}

/* Hero Section */
.hero-section {
  padding: 45px 0 20px;
}

.hero-tag-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ccfbf1 0%, #e0f2fe 100%);
  border: 1px solid rgba(13, 148, 136, 0.3);
  color: var(--primary-hover);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 18px;
  color: var(--dark-sub);
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Top Two Real Photos Grid */
.top-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0 40px;
}

.top-photo-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  position: relative;
  background: var(--white);
  border: 2px solid var(--primary-light);
  height: 270px;
}

.top-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.top-photo-card:hover img {
  transform: scale(1.04);
}

.top-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
  color: var(--white);
  padding: 24px 18px 14px;
  font-size: 15px;
  font-weight: 700;
  z-index: 2;
}

/* Key Effects Grid */
.effects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.effect-card {
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  padding: 24px;
  border-radius: 16px;
  transition: var(--transition);
}

.effect-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(13, 148, 136, 0.15);
}

.effect-icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.effect-card h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
  color: var(--dark);
}

.effect-card p {
  font-size: 14px;
  color: var(--dark-sub);
}

/* Section Title Styling */
.section-head {
  margin-bottom: 35px;
}

.section-subtitle {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
}

/* Ingredients Cards Grid */
.ingredients-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.ing-item-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-left: 6px solid var(--primary);
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.03);
}

.ing-item-card h4 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.ing-item-card p {
  font-size: 14px;
  color: var(--dark-sub);
}

/* Usage Box */
.usage-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 35px;
  border-radius: 20px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 25px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
}

.usage-icon {
  font-size: 45px;
  background: rgba(255,255,255,0.12);
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usage-info h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 8px;
}

.usage-info p {
  color: #cbd5e1;
  font-size: 16px;
}

/* Certificates & Quality Badges Section */
.cert-section {
  margin: 40px 0 20px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.cert-card {
  background: var(--white);
  border: 1.5px solid rgba(13, 148, 136, 0.2);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.06);
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.15);
}

.cert-icon-badge {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ccfbf1 0%, #e0f2fe 100%);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
  border: 2px solid var(--primary-light);
}

.cert-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.cert-card p {
  font-size: 13.5px;
  color: var(--dark-sub);
  line-height: 1.5;
}

/* Order Section (STRICTLY AT THE VERY BOTTOM ONLY) */
.order-section {
  padding: 60px 0 70px;
}

.single-order-card {
  background: var(--white);
  border: 3px solid var(--primary-light);
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(13, 148, 136, 0.15);
  padding: 42px;
  max-width: 530px;
  margin: 0 auto;
  text-align: center;
}

.order-header-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ccfbf1 0%, #e0f2fe 100%);
  color: var(--primary-hover);
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.single-order-card h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.single-order-card .sub {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 22px;
}

/* Single Packaging Photo Container */
.single-pack-box {
  background: radial-gradient(circle, rgba(204, 251, 241, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
  padding: 15px;
  border-radius: 18px;
  margin-bottom: 20px;
}

.single-pack-box img {
  max-width: 210px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

.price-display-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1.5px solid rgba(13, 148, 136, 0.25);
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-display-box .label {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-sub);
}

.price-display-box .val {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

/* Minimal Form (Only Name and Phone) */
.minimal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.form-input {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px var(--primary-light);
}

.form-input.error {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.2) !important;
}

.validation-hint {
  font-size: 13px;
  color: #ef4444;
  font-weight: 600;
  display: none;
  margin-top: 4px;
}

.validation-hint.active {
  display: block;
}

/* Non-Red Order Button */
.btn-order-submit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  padding: 18px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
  text-align: center;
  margin-top: 4px;
}

.btn-order-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.45);
}

.order-guarantee-note {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-top: 12px;
}

/* Footer & Detailed Company Info */
footer {
  background-color: var(--dark);
  color: #94a3b8;
  padding: 60px 0 35px;
  font-size: 14px;
}

.footer-company-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 25px;
  text-align: left;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-col p {
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-btn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.footer-legal-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.footer-legal-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #334155;
  margin-top: 25px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Modal Window Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border-radius: 18px;
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 35px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--light-bg);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.modal-body {
  font-size: 15px;
  color: var(--dark-sub);
  line-height: 1.7;
}

.modal-body h4 {
  font-size: 16px;
  margin: 14px 0 6px;
  color: var(--dark);
}

/* Success Toast */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0f172a;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 850px) {
  .nav-menu {
    display: none;
  }
  .top-photos-grid, .footer-company-card, .cert-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 32px;
  }
  .usage-box {
    flex-direction: column;
    text-align: center;
  }
}
