/* MaleVitalFlow - Main Stylesheet */

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

:root {
  --primary-blue: #2C3E50;
  --accent-green: #98A869;
  --accent-sandstone: #D9B99B;
  --accent-teal: #4A8A8C;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --text-dark: #2C3E50;
  --text-light: #666666;
  --border-light: #E8E8E8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 18px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

em, .italic-accent {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-style: italic;
  color: var(--accent-teal);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.65;
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

header.hide {
  transform: translateY(-100%);
}

.header-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-teal);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  left: -100%;
  top: 60px;
  width: 80%;
  max-width: 300px;
  height: calc(100vh - 60px);
  background-color: var(--white);
  padding: 2rem;
  transition: left 0.3s ease;
  z-index: 999;
  border-right: 1px solid var(--border-light);
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 16px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

/* Main Content */
main {
  margin-top: 60px;
  min-height: calc(100vh - 60px);
}

/* Sections */
section {
  max-width: 1480px;
  margin: 0 auto;
  padding: 5rem 5vw;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

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

section:nth-child(odd) {
  background-color: var(--white);
}

section:nth-child(even) {
  background-color: var(--light-gray);
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
  color: var(--white);
  padding: 8rem 5vw;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="%23ffffff" fill-opacity="0.03" width="100" height="100"/><circle cx="50" cy="50" r="30" fill="%23ffffff" fill-opacity="0.02"/></svg>');
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-section h1 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 2rem;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Two-Column Layout */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

.section-grid.reverse {
  grid-template-columns: 1fr 1fr;
}

.section-grid.reverse > :first-child {
  order: 2;
}

.section-grid.reverse > :last-child {
  order: 1;
}

.section-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: scale(1.04);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

/* Numbered List */
.numbered-list {
  counter-reset: item;
  list-style: none;
}

.numbered-list li {
  counter-increment: item;
  margin-bottom: 2rem;
  padding-left: 4rem;
  position: relative;
}

.numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent-teal);
}

/* Buttons & CTA */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background-color: var(--accent-teal);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  border: 2px solid var(--accent-teal);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  text-decoration: none;
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-teal);
  border-color: var(--accent-teal);
}

.btn-secondary:hover {
  background-color: var(--accent-teal);
  color: var(--white);
}

/* Footer */
footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 3rem 5vw;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1480px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-green);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-section p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.footer-section a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.footer-section a:hover {
  color: var(--accent-green);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.educational-notice {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--accent-green);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

/* Disclaimer Section */
.disclaimer {
  background-color: var(--light-gray);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-sandstone);
  padding: 2rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.disclaimer h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.disclaimer p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 16px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(74, 138, 140, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-disclaimer {
  background-color: var(--light-gray);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 1.5rem;
  z-index: 2000;
  max-height: 250px;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 5vw;
}

.cookie-text {
  font-size: 14px;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 0.5rem 1.25rem;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--accent-teal);
  color: var(--white);
}

.cookie-accept:hover {
  background-color: var(--accent-green);
}

.cookie-reject {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-learn {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-learn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Thank You Page */
.thank-you-container {
  text-align: center;
  padding: 5rem 2rem;
}

.thank-you-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.thank-you-container h1 {
  color: var(--accent-teal);
}

.thank-you-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  body {
    font-size: 16px;
  }

  header {
    padding: 0.75rem 0;
  }

  nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .hero-section {
    padding: 4rem 5vw;
    min-height: auto;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-grid.reverse > :first-child {
    order: 0;
  }

  .section-grid.reverse > :last-child {
    order: 0;
  }

  section {
    padding: 3rem 5vw;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }

  main {
    margin-top: 50px;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 16px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1rem;
  }

  body {
    font-size: 15px;
  }

  section {
    padding: 2rem 4vw;
  }

  .numbered-list li {
    padding-left: 3rem;
  }
}
