/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --primary: #ff4500;
  --secondary: #ffa500;
  --dark: #333;
  --light: #f5f5f5;
  --transition: 0.3s;

  /* nav morph targets */
  --nav-bg-alpha: 0;       /* from 0 → 0.6 */
  --nav-blur: 0px;         /* from 0px → 12px */
  --nav-radius: 0px;       /* from 0px → 16px */
  --nav-pad-vert: 1rem;    /* from 1rem → 0.75rem */
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(1rem + 3rem);
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: var(--dark);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Morphing navbar */
.navbar {
  position: fixed;
  top: 1rem;
  left: 0; right: 0;
  margin: 0 auto;
  width: calc(100% - 2rem);
  max-width: 2000px;

  /* read CSS vars */
  background: rgba(255,255,255, var(--nav-bg-alpha));
  backdrop-filter: blur(var(--nav-blur));
  border-radius: var(--nav-radius);
  padding: var(--nav-pad-vert) 1.5rem;

  /* remove old transitions – JS drives the smoothness */
  transition: none;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
}

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

/* Nav links */
.nav-links { list-style: none; }

/* Desktop layout */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
    margin-left: auto;
    gap: 2rem;
    position: static !important;
    max-height: none !important;
    opacity: 1 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
  }
  .nav-links li a {
    display: inline-block;
    padding: 0.5rem 0;
  }
}

/* Mobile burger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.mobile-toggle span {
  width: 25px; height: 3px;
  background: var(--dark);
  margin-bottom: 5px;
  border-radius: 2px;
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .mobile-toggle { display: flex; margin-left: auto; }
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: calc(1rem + 3rem);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 2000px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    padding: 1rem;
  }
  .nav-links.open {
    max-height: 300px;
    opacity: 1;
  }
}

/* Nav link styling */
.nav-links a {
  color: var(--dark);
  font-weight: 600;
  transition: color var(--transition);
}
.nav-links a:hover {
  color: var(--primary);
}

/* Hero, features, download, social... (unchanged) */
.hero-section {
  position: relative;
  height: 80vh;
  background: url('assets/banner.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}
.hero-content {
  position: relative;
  color: #fff;
  text-align: center;
  max-width: 800px;
  z-index: 1;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Features */
.features-section {
  display: flex;
  justify-content: space-between;
  padding: 4rem 0;
  gap: 2rem;
}
.feature {
  flex: 1;
  text-align: center;
}
.feature img {
  width: 60px;
  margin-bottom: 1rem;
}

/* Hero CTA icon sizing */
.cta-buttons .store-btn img {
  width: clamp(60px, 10vw, 100px);
  height: auto;
  display: block;
  margin: 0 auto;
}
.cta-buttons .store-btn {
  display: inline-block;
  padding: 0.5rem;
  margin: 0 0.5rem;
}

/* Download section */
.download-section {
  text-align: center;
  padding: 4rem 0;
  background: var(--light);
}
.store-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.store-btn img {
  width: clamp(60px, 10vw, 100px);
  height: auto;
  display: block;
  margin: 0 auto;
}
.store-btn {
  display: inline-block;
  padding: 0.5rem;
}

/* Social */
.social-section {
  text-align: center;
  padding: 3rem 0;
}
.social-icons a {
  margin: 0 1rem;
}
.social-icons img {
  width: 40px;
}

/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .features-section {
    flex-direction: column;
  }
  .hero-section {
    flex-direction: column;
    height: auto;
    padding: 4rem 0;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
}
