/* Global Reset & Base Styles */
:root {
  --primary: #e63946;    /* Soft Red/Rose */
  --secondary: #457b9d;  /* Muted Blue */
  --dark: #1d3557;       /* Deep Navy */
  --light: #f1faee;      /* Off-white/Mint hint */
  --bg-warm: #fffcf9;    /* Cream Background */
  --text: #2b2d42;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-warm);
}

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

h1, h2, h3 {
  color: var(--dark);
  font-weight: 700;
}

/* ================= NAVIGATION ================= */
.navbar {
  background: white;
  padding: 20px 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
}

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

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* ================= HERO SECTION ================= */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #fffcf9 0%, #fcefee 100%);
}

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

.badge {
  background: rgba(230, 57, 70, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 35px;
  color: #555;
}

.hero-cta {
  display: flex;
  gap: 15px;
}

/* Buttons */
.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* Hero Visual Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  text-align: center;
  border-bottom: 5px solid var(--primary);
}

.hero-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

/* ================= SECTIONS ================= */
.section {
  padding: 100px 0;
}

.section.light {
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
}

.center-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.f-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid #eee;
}

.f-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-color: var(--primary);
}

.f-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Trust List */
.trust-list {
  list-style: none;
  max-width: 500px;
  margin: 0 auto;
}

.trust-list li {
  font-size: 1.2rem;
  padding: 15px;
  margin-bottom: 10px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Reviews */
.review-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 20px;
  border-left: 5px solid var(--primary);
  font-style: italic;
  font-size: 1.1rem;
}

/* ================= MODAL ================= */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(29, 53, 87, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
}



.modal-box {
  background: white;
  padding: 50px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

#mainForm input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 1rem;
}

.btn-block { width: 100%; }

/* ================= FOOTER ================= */
footer {
  background: var(--dark);
  color: white;
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.interest-grid-layout {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
    gap: 12px; 
    margin-top: 15px;
}

.interest-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fdfdfd;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.interest-pill:hover {
    border-color: var(--primary);
    background: #fffafa;
}

.download-box {
    text-decoration: none; 
    color: inherit; 
    transition: transform 0.3s ease;
}

.download-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}





footer h3, footer h4 { color: white; margin-bottom: 20px; }
footer a { color: #ccc; text-decoration: none; display: block; margin-bottom: 10px; }

/* ================= RESPONSIVE NAV STYLES ================= */

/* Hamburger Icon Styling */
.menu-toggle {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 5px;
  transition: var(--transition);
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex; /* Shown on mobile */
    z-index: 1001;
  }

  /* Hamburger to 'X' animation when active */
  .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen by default */
    width: 70%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    box-shadow: -10px 0 15px rgba(0,0,0,0.05);
    transition: 0.5s ease-in-out;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0; /* Slides in */
  }

  .nav-links li {
    margin: 20px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr; /* Stack hero content on mobile */
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }
}