/* GENERAL SECTION */

section {
  padding: 110px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: auto auto 70px;
}

.section-tag {
  display: inline-block;
  background: #edf5f0;
  color: var(--forest);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.section-tag.green {
  background: rgba(255, 255, 255, 0.1);
  color: #ddeae2;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

/* GRID */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.info-card,
.blog-card {
  background: white;
  padding: 42px;
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.info-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
}

.info-card h3,
.blog-card h3 {
  margin-bottom: 18px;
  font-size: 1.3rem;
  color: var(--forest);
}

.info-card p,
.blog-card p {
  color: var(--muted);
  line-height: 1.9;
}

.blog-card a {
  display: inline-block;
  margin-top: 20px;
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}

/* AI SECTION */

.ai-section {
  background: linear-gradient(135deg, var(--forest), var(--forest-dark));
  color: white;
}

.ai-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.ai-wrapper h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 22px 0;
}

.ai-wrapper p {
  color: #d9e2dd;
  line-height: 1.9;
  margin-bottom: 20px;
}

.ai-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 32px;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-card h3 {
  margin-bottom: 22px;
}

.ai-card ul {
  list-style: none;
}

.ai-card li {
  margin-bottom: 16px;
  color: #d9e2dd;
}

/* CTA */

.cta-box {
  background: linear-gradient(135deg, var(--forest), #2b6650);
  padding: 80px;
  border-radius: 36px;
  text-align: center;
  color: white;
}

.cta-box h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 22px 0;
}

.cta-box p {
  max-width: 700px;
  margin: auto auto 30px;
  color: #d9e2dd;
}

/* FOOTER */

footer {
  background: #132e24;
  padding: 80px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-text {
  color: #d8e2dd;
  max-width: 320px;
}

.footer-links {
  list-style: none;
  margin-top: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #d8e2dd;
  text-decoration: none;
}

/* MOBILE */

@media (max-width: 980px) {
  .cards-grid,
  .ai-wrapper,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-box {
    padding: 50px 30px;
  }
}

:root {
  --forest: #214d3b;
  --forest-dark: #17372a;
  --cream: #f8faf9;
  --muted: #66726b;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  background: var(--cream);
  color: #1e2c24;
  overflow-x: hidden;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: var(--forest);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-secondary {
  border: 1px solid #d8e3dd;
  color: var(--forest);
}

.hero {
  padding: 140px 0;
  background: linear-gradient(135deg, #f9fcfa, #eef5f1);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: #eaf4ef;
  padding: 12px 18px;
  border-radius: 999px;
  margin-bottom: 25px;
  font-weight: 600;
  color: var(--forest);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.05;
  margin-bottom: 25px;
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.hero-card {
  background: white;
  padding: 45px;
  border-radius: 36px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}

.hero-card h3 {
  margin-bottom: 25px;
  color: var(--forest);
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  padding: 12px 0;
  border-bottom: 1px solid #eef2f0;
}

.trust-bar {
  padding: 30px 0;
  background: white;
  border-top: 1px solid #eef2f0;
  border-bottom: 1px solid #eef2f0;
  text-align: center;
}

.process {
  background: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step {
  background: #f7faf8;
  padding: 40px;
  border-radius: 28px;
}

.step span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--forest);
  display: block;
  margin-bottom: 15px;
}

.stats {
  background: #f2f7f4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stats-grid h3 {
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 15px;
}

.text-btn {
  color: white;
}

/* --- CSS VARIABLES & RESET --- */
.navbar-container {
  --color-bg: #050505;
  --color-text: #ffffff;
  --color-text-muted: #a3a3a3;
  --color-gold: #d4af37;
  --color-gold-bright: #ffd700;
  --color-gold-dim: rgba(212, 175, 55, 0.5);
  --font-main: "Rajdhani", sans-serif;
  --nav-height: 96px;
  --ease-tech: cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-container {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- NAVBAR CONTAINER --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: #000000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.05);
  z-index: 1000;
}

.navbar-content {
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 20;
  /* Above mobile menu */
  background-color: #000000;
  /* Cover mobile menu sliding out */
}

/* --- LOGO --- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

/* Updated to support both SVG and IMG logos */
.logo svg,
.logo img {
  height: 3.7rem;
  /* Fix height to fit navbar */
  width: auto;
  /* Maintain aspect ratio */
  transition: transform 0.5s var(--ease-tech);
}

.logo:hover svg,
.logo:hover img {
  transform: scale(1.02);
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1;
}

.logo-subtitle {
  color: #737373;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  transition: color 0.3s;
}

.logo:hover .logo-subtitle {
  color: var(--color-gold);
}

/* --- DESKTOP NAVIGATION --- */
.desktop-nav {
  display: none;
  /* Hidden on mobile */
  gap: 4rem;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  transition: all 0.3s ease-out;
  padding: 0.5rem 0;
}

.nav-link span {
  display: inline-block;
  transition: transform 0.3s;
}

/* Hover Interactions */
.nav-link:hover {
  color: #70af69;
}

.nav-link:hover span {
  transform: translateY(-2px);
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.8);
}

/* Focus Interaction */
.nav-link:focus-visible {
  outline: 1px solid var(--color-gold-dim);
  outline-offset: 4px;
}

/* Special "Purchase" Item */
.nav-link.special {
  color: white;
  font-weight: 500;
}

.nav-link.special:hover span {
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.nav-link.special::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  opacity: 0;
  transition: opacity 0.5s;
}

.nav-link.special:hover::after {
  opacity: 1;
}

/* --- MOBILE MENU TOGGLE (Checkbox Hack) --- */
#menu-toggle {
  display: none;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 30;
}

.menu-btn span {
  display: block;
  height: 1px;
  background-color: white;
  transition: all 0.3s var(--ease-tech);
}

.menu-btn span:nth-child(1) {
  width: 32px;
}

.menu-btn span:nth-child(2) {
  width: 20px;
}

.menu-btn span:nth-child(3) {
  width: 12px;
}

.menu-btn:hover span:nth-child(3) {
  width: 32px;
}

/* Animation when Checked */
#menu-toggle:checked + .menu-btn span:nth-child(1) {
  width: 24px;
  transform: translateY(7px) rotate(-45deg);
  background-color: var(--color-gold);
}

#menu-toggle:checked + .menu-btn span:nth-child(2) {
  opacity: 0;
  width: 0;
}

#menu-toggle:checked + .menu-btn span:nth-child(3) {
  width: 24px;
  transform: translateY(-7px) rotate(45deg);
  background-color: var(--color-gold);
}

/* --- MOBILE NAVIGATION DROPDOWN --- */
.mobile-nav {
  position: absolute;
  top: 100%;
  /* Directly below header */
  left: 0;
  width: 100%;
  background-color: #000000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;

  /* Hidden State */
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;

  transition: all 0.5s var(--ease-tech);
  z-index: 10;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 1.125rem;
  font-weight: 300;
  padding: 1rem 0;
  width: 100%;
  text-align: center;
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    color 0.3s;
}

.mobile-nav a:hover {
  color: var(--color-gold);
  letter-spacing: 0.3em;
}

/* Open State */
#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  /* Allow enough height for content */
  opacity: 1;
  visibility: visible;
  padding: 1.5rem 0;
}

/* Staggered Animation for links */
#menu-toggle:checked ~ .mobile-nav a {
  opacity: 1;
  transform: translateY(0);
}

#menu-toggle:checked ~ .mobile-nav a:nth-child(1) {
  transition-delay: 0.05s;
}

#menu-toggle:checked ~ .mobile-nav a:nth-child(2) {
  transition-delay: 0.1s;
}

#menu-toggle:checked ~ .mobile-nav a:nth-child(3) {
  transition-delay: 0.15s;
}

#menu-toggle:checked ~ .mobile-nav a:nth-child(4) {
  transition-delay: 0.2s;
}

#menu-toggle:checked ~ .mobile-nav a:nth-child(5) {
  transition-delay: 0.25s;
}

/* --- MEDIA QUERIES --- */
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .mobile-nav {
    display: none;
  }
}

/* ===========================
   MOBILE RESPONSIVE FIXES
   =========================== */

@media (max-width: 768px) {
  /* General */

  section {
    padding: 70px 0;
  }

  .container {
    width: 92%;
  }

  /* Hero */

  .hero {
    padding: 120px 0 80px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.3rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-card {
    padding: 30px;
  }

  /* Buttons */

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  /* Cards */

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-card,
  .blog-card {
    padding: 28px;
  }

  /* AI Section */

  .ai-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ai-card {
    padding: 25px;
  }

  /* Process */

  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step {
    padding: 28px;
  }

  /* Stats */

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* CTA */

  .cta-box {
    padding: 40px 20px;
  }

  .cta-box h2 {
    font-size: 2rem;
  }

  /* Section Headings */

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .section-heading p {
    font-size: 1rem;
  }

  /* Navbar */

  .navbar-content {
    padding: 0 1rem;
  }

  .logo img {
    height: 4rem;
  }
}
