/* ============================================
   GlowPureVitX — Landing Page Styles
   Clean Blue Medical / Scientific Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --blue-light: #4FC3F7;
  --blue-primary: #0288D1;
  --blue-dark: #01579B;
  --blue-deep: #003C6E;
  --red-accent: #E53935;
  --red-hover: #C62828;
  --white: #FFFFFF;
  --off-white: #F4F9FD;
  --gray-light: #E8EFF5;
  --gray-mid: #90A4AE;
  --gray-text: #37474F;
  --gray-dark: #263238;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 8px rgba(2,136,209,0.08);
  --shadow-md: 0 4px 20px rgba(2,136,209,0.12);
  --shadow-lg: 0 8px 40px rgba(2,136,209,0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

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

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

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

h1,h2,h3,h4 {
  font-family: var(--font-heading);
  color: var(--blue-deep);
  line-height: 1.25;
  font-weight: 600;
}

/* --- Utility --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad {
  padding: 70px 0;
}

.text-center { text-align: center; }

/* --- Animated Background Dots --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(79,195,247,0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(2,136,209,0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(79,195,247,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Header / Navbar --- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--red-accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-text);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--gray-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-primary) 60%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 12px;
  line-height: 1.8;
}

.hero-disclaimer {
  font-size: 0.82rem;
  opacity: 0.75;
  border-left: 3px solid var(--red-accent);
  padding-left: 14px;
  margin-top: 22px;
  font-style: italic;
  line-height: 1.5;
}

.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image img {
  max-height: 420px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 50px rgba(0,0,0,0.18);
  animation: floatProduct 4s ease-in-out infinite;
}

@keyframes floatProduct {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- CTA Button --- */
.btn-cta {
  display: inline-block;
  background: var(--red-accent);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 15px 38px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(229,57,53,0.3);
  text-align: center;
  letter-spacing: 0.3px;
}

.btn-cta:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229,57,53,0.4);
  color: var(--white);
}

/* --- Order Section --- */
.order-section {
  background: linear-gradient(180deg, var(--off-white) 0%, #E1F1FA 100%);
  padding: 70px 0;
}

.order-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 540px;
  margin: 0 auto;
  padding: 44px 40px;
  border-top: 4px solid var(--red-accent);
}

.order-card h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.order-card .order-subtitle {
  text-align: center;
  color: var(--gray-mid);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.order-card .price-tag {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 28px;
  font-family: var(--font-heading);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.93rem;
  color: var(--gray-dark);
}

.form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--off-white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(2,136,209,0.12);
  background: var(--white);
}

.form-btn {
  width: 100%;
  margin-top: 8px;
}

/* --- Content Sections --- */
.content-section {
  padding: 70px 0;
}

.content-section:nth-child(even) {
  background: var(--white);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 16px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--red-accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-mid);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1rem;
}

/* --- Benefits Grid --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: var(--white);
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--blue-dark);
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* --- Ingredients Section --- */
.ingredients-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.ingredient-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue-primary);
  transition: var(--transition);
}

.ingredient-item:hover {
  box-shadow: var(--shadow-md);
}

.ingredient-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.ingredient-item h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.ingredient-item p {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.55;
}

/* --- Audience Section --- */
.audience-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.audience-card {
  background: linear-gradient(135deg, #E1F5FE 0%, var(--white) 100%);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid rgba(79,195,247,0.25);
}

.audience-card .aud-icon {
  flex-shrink: 0;
  font-size: 1.8rem;
}

.audience-card h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.audience-card p {
  font-size: 0.88rem;
  color: var(--gray-mid);
}

/* --- Usage Section --- */
.usage-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.usage-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red-accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 16px;
  font-family: var(--font-heading);
}

.usage-step h4 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.usage-step p {
  font-size: 0.9rem;
  color: var(--gray-mid);
}

/* --- Content Image --- */
.content-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 36px auto;
  max-width: 700px;
}

/* --- Disclaimer Bar --- */
.disclaimer-bar {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.8);
  padding: 18px 0;
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.6;
}

.disclaimer-bar strong {
  color: var(--red-accent);
}

/* --- Footer --- */
.site-footer {
  background: var(--gray-dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

.footer-contact-info {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-contact-info a {
  color: var(--blue-light);
}

/* --- Cookie Modal --- */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cookie-modal {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 32px 36px;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
  transform: translateY(30px);
  transition: var(--transition);
}

.cookie-overlay.active .cookie-modal {
  transform: translateY(0);
}

.cookie-modal h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 10px;
}

.cookie-modal p {
  font-size: 0.88rem;
  color: var(--gray-mid);
  margin-bottom: 20px;
  line-height: 1.65;
}

.cookie-btns {
  display: flex;
  gap: 12px;
}

.cookie-btns .btn-accept {
  padding: 11px 28px;
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btns .btn-accept:hover {
  background: var(--blue-dark);
}

.cookie-btns .btn-reject {
  padding: 11px 28px;
  background: transparent;
  color: var(--gray-mid);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btns .btn-reject:hover {
  border-color: var(--gray-mid);
  color: var(--gray-dark);
}

/* --- Legal Pages --- */
.legal-page {
  padding: 50px 0 80px;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.legal-page .legal-date {
  color: var(--gray-mid);
  margin-bottom: 36px;
  font-size: 0.92rem;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--blue-dark);
}

.legal-page p, .legal-page li {
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.75;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* --- Success Page --- */
.success-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.success-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 60px 50px;
  text-align: center;
  max-width: 520px;
  width: 100%;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #66BB6A, #43A047);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.2rem;
  color: var(--white);
  animation: popIn 0.5s ease;
}

@keyframes popIn {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.success-card h1 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.success-card p {
  color: var(--gray-mid);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* --- About / Contact pages --- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.page-hero p {
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}

.about-content, .contact-content {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.about-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.contact-item .ci-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-item a {
  color: var(--blue-primary);
}

.contact-map {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
}

/* --- Product Page --- */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 60px 0;
}

.product-hero-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.product-hero-info h1 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.product-hero-info .prod-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-primary);
  font-family: var(--font-heading);
  margin-bottom: 18px;
}

.product-hero-info p {
  margin-bottom: 12px;
  line-height: 1.75;
}

.product-detail-section {
  padding: 50px 0;
}

.product-detail-section:nth-child(even) {
  background: var(--white);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 320px; }
  .hero-text h1 { font-size: 2rem; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid, .product-hero { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--gray-light);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 50px 0 60px; }
  .hero-text h1 { font-size: 1.7rem; }
  .section-pad { padding: 50px 0; }
  .content-section { padding: 50px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .ingredients-list { grid-template-columns: 1fr; }
  .audience-cards { grid-template-columns: 1fr; }
  .usage-steps { grid-template-columns: 1fr; }
  .order-card { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-title { font-size: 1.6rem; }
  .cookie-modal { padding: 24px 22px; }
  .cookie-btns { flex-direction: column; }
  .success-card { padding: 40px 28px; }
  .product-hero { gap: 30px; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.45rem; }
  .header-inner { padding: 12px 16px; }
  .logo { font-size: 1.3rem; }
}
