/* ========================================
   HOW TO MAKE A MAN HAPPY
   Fun, Premium Gag Gift Landing Page
   ======================================== */

:root {
  /* Colors - HOT VALENTINE'S RED (ONE NOTCH HOTTER) */
  --bg-light: #fff8f5;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #7a7a7a;
  --accent-red: #e91e63;
  --accent-cherry: #d32f2f;
  --accent-coral: #ff5252;
  --accent-rose: #ec407a;
  --accent-black: #2d2d2d;
  --line: #ffd4d9;
  --success: #10b981;
  
  /* Spacing */
  --container-max: 1180px;
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 48px;
  --gap-xl: 72px;
  
  /* Effects */
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(255, 61, 154, 0.3);
}

/* ========================================
   BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", Helvetica, Arial, sans-serif;
  background: 
    radial-gradient(ellipse 1100px 650px at 18% 8%, rgba(233, 30, 99, 0.18), transparent 58%),
    radial-gradient(ellipse 850px 550px at 82% 25%, rgba(255, 82, 82, 0.15), transparent 58%),
    radial-gradient(ellipse 950px 450px at 50% 88%, rgba(211, 47, 47, 0.12), transparent 62%),
    #ffe8e8;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ========================================
   CONTAINER
   ======================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gap-md);
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
  padding: var(--gap-sm) 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(255, 27, 110, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}

.brand {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--accent-cherry), var(--accent-rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navlinks {
  display: flex;
  gap: var(--gap-xs);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navlinks a {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.navlinks a:hover {
  background: rgba(233, 30, 99, 0.1);
  color: var(--accent-cherry);
  transform: translateY(-1px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding: var(--gap-xl) 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Floating Bananas (SITE-WIDE MOTIF - RISING EFFECT) */
.floating-bananas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.banana {
  position: absolute;
  font-size: 64px;
  opacity: 0;
  filter: drop-shadow(0 4px 14px rgba(255, 180, 0, 0.6)) brightness(1.1) saturate(1.6);
}

.banana-1 {
  left: 10%;
  animation: float-up 12s linear infinite;
  animation-delay: 1s;
}

.banana-2 {
  left: 25%;
  animation: float-up 15s linear infinite;
  animation-delay: 4s;
}

.banana-3 {
  left: 45%;
  animation: float-up 18s linear infinite;
  animation-delay: 7s;
}

.banana-4 {
  left: 65%;
  animation: float-up 14s linear infinite;
  animation-delay: 10s;
}

.banana-5 {
  left: 80%;
  animation: float-up 16s linear infinite;
  animation-delay: 5s;
}

.banana-6 {
  left: 90%;
  animation: float-up 13s linear infinite;
  animation-delay: 9s;
}

@keyframes float-up {
  0% {
    bottom: -150px;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
  8% {
    opacity: 0.75;
  }
  25% {
    transform: translateX(-20px) rotate(5deg);
  }
  50% {
    transform: translateX(20px) rotate(-5deg);
  }
  75% {
    transform: translateX(-15px) rotate(3deg);
  }
  92% {
    opacity: 0.75;
  }
  100% {
    bottom: 110vh;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
}

/* Floating Hearts (SUBTLE BACKGROUND) */
.floating-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 998;
}

.heart {
  position: absolute;
  font-size: 32px;
  opacity: 0.06;
  animation: float-gentle 20s ease-in-out infinite;
}

.heart-1 {
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.heart-2 {
  top: 60%;
  right: 35%;
  animation-delay: 5s;
}

.heart-3 {
  top: 35%;
  right: 10%;
  animation-delay: 10s;
  opacity: 0.04;
}

.heart-4 {
  top: 75%;
  left: 25%;
  animation-delay: 15s;
  opacity: 0.05;
}

@keyframes float-gentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gap-lg);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.pill {
  display: inline-block;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.12), rgba(255, 82, 82, 0.12));
  border: 2px solid var(--accent-red);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cherry);
  margin-bottom: var(--gap-md);
  letter-spacing: 0.4px;
  box-shadow: 0 3px 12px rgba(233, 30, 99, 0.2);
}

h1 {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: var(--gap-md);
  letter-spacing: -2px;
}

.highlight {
  background: linear-gradient(135deg, var(--accent-cherry), var(--accent-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 950;
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent-red);
  opacity: 0.35;
  border-radius: 3px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--gap-lg);
  max-width: 540px;
}

.cta-row {
  display: flex;
  gap: var(--gap-sm);
  flex-wrap: wrap;
  margin-bottom: var(--gap-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}

.btn-icon {
  font-size: 18px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-cherry), var(--accent-red));
  color: #fff;
  box-shadow: 0 6px 24px rgba(211, 47, 47, 0.4);
  font-weight: 800;
}

.btn.primary:hover:not(.disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 36px rgba(211, 47, 47, 0.6), 0 0 30px rgba(233, 30, 99, 0.3);
  background: linear-gradient(135deg, #b71c1c, var(--accent-cherry));
}

.btn.secondary {
  background: transparent;
  color: var(--accent-cherry);
  border: 2px solid var(--accent-red);
  font-weight: 700;
}

.btn.secondary:hover {
  background: rgba(233, 30, 99, 0.1);
  border-color: var(--accent-cherry);
  transform: translateY(-2px);
}

.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.badges {
  display: flex;
  gap: var(--gap-xs);
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: var(--gap-md);
}

.badges span {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 27, 110, 0.1);
}

/* ========================================
   HERO VISUAL (BOOK CARD)
   ======================================== */

.hero-visual {
  position: relative;
}

.book-card {
  background: var(--bg-card);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(211, 47, 47, 0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(-1deg);
}

.book-card:hover {
  transform: translateY(-12px) rotate(0deg) scale(1.03);
  box-shadow: 0 20px 55px rgba(211, 47, 47, 0.3), 0 0 40px rgba(233, 30, 99, 0.2);
}

.book-cover {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.28), rgba(233, 30, 99, 0.24));
  padding: var(--gap-lg) var(--gap-md);
  text-align: center;
  border-bottom: 2px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 70px rgba(211, 47, 47, 0.25);
}

.book-cover::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.book-emoji {
  font-size: 64px;
  margin-bottom: var(--gap-sm);
  animation: float 3s ease-in-out infinite;
}

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

.book-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: var(--gap-xs);
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.book-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-bottom: var(--gap-md);
}

.book-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.book-info {
  padding: var(--gap-md);
}

.info-label {
  font-weight: 700;
  margin-bottom: var(--gap-sm);
  font-size: 14px;
}

.info-list {
  list-style: none;
  padding-left: 0;
}

.info-list li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 15px;
  position: relative;
  padding-left: 20px;
}

.info-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: var(--gap-xl) 0;
  border-top: 1px solid var(--line);
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.section-header {
  margin-bottom: var(--gap-lg);
}

.section-header.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: var(--gap-sm);
  letter-spacing: -1.5px;
  color: var(--accent-black);
}

.section-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 700px;
}

/* ========================================
   GRIDS & TILES
   ======================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-md);
}

.tile {
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: var(--gap-md);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.1);
}

.tile:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--accent-coral);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(233, 30, 99, 0.22);
}

.tile-icon {
  font-size: 40px;
  margin-bottom: var(--gap-sm);
}

.tile h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--gap-xs);
}

.tile p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

/* ========================================
   CTA BOX
   ======================================== */

.cta-box {
  margin-top: var(--gap-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.08), rgba(255, 82, 82, 0.06));
  border: 3px solid var(--accent-coral);
  border-radius: var(--radius);
  padding: var(--gap-lg) var(--gap-md);
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(211, 47, 47, 0.15);
}

.cta-box-content h3 {
  font-size: 22px;
  margin-bottom: var(--gap-xs);
}

.cta-box-content p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ========================================
   EMAIL FORM
   ======================================== */

.email-form {
  display: flex;
  gap: var(--gap-sm);
  max-width: 540px;
  margin: var(--gap-md) auto 0;
  flex-wrap: wrap;
}

input[type="email"] {
  flex: 1;
  min-width: 280px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}

input[type="email"]:focus {
  border-color: var(--accent-pink);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(255, 27, 110, 0.2);
}

input[type="email"]::placeholder {
  color: var(--text-secondary);
}

.form-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: var(--gap-sm);
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: var(--gap-sm);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(255, 27, 110, 0.08);
}

.faq-item:hover {
  border-color: rgba(255, 27, 110, 0.4);
}

.faq-item.active {
  background: rgba(255, 245, 248, 0.8);
  border-color: var(--accent-pink);
  box-shadow: 0 4px 20px rgba(255, 27, 110, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gap-md);
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-question:hover {
  color: var(--accent-cherry);
}

.faq-icon {
  font-size: 28px;
  font-weight: 400;
  color: var(--accent-coral);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 var(--gap-md) var(--gap-md);
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  border-top: 1px solid var(--line);
  padding: var(--gap-lg) 0 var(--gap-md);
  margin-top: var(--gap-xl);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.footer-note {
  font-size: 14px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
  }

  .hero-visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

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

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

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    flex-direction: column;
    gap: var(--gap-sm);
  }

  .navlinks {
    justify-content: center;
    width: 100%;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    padding: var(--gap-lg) 0;
    min-height: auto;
  }

  .section {
    padding: var(--gap-lg) 0;
  }

  .email-form {
    flex-direction: column;
  }

  input[type="email"] {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .badges {
    flex-direction: column;
    gap: var(--gap-xs);
  }

  .badges span {
    display: inline-block;
  }
}
