:root {
  --primary: #5fa9a5;
  --primary-dark: #4a8e8b;
  --primary-light: #7fbfbb;
  --primary-bg: #eaf6f5;
  --primary-glow: rgba(95, 169, 165, 0.25);
  --text-dark: #1a1d2e;
  --text-body: #3d4255;
  --text-muted: #6b7084;
  --white: #ffffff;
  --bg-light: #f8faf9;
  --bg-warm: #fdfcf9;
  --border: #e2e8e9;
  --shadow-sm: 0 1px 2px rgba(26, 29, 46, 0.04);
  --shadow-md: 0 4px 16px rgba(26, 29, 46, 0.07);
  --shadow-lg: 0 12px 40px rgba(26, 29, 46, 0.10);
  --shadow-xl: 0 24px 64px rgba(26, 29, 46, 0.13);
  --shadow-primary: 0 8px 28px rgba(95, 169, 165, 0.30);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--white);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content area should grow to push footer down */
main, .main-content {
  flex: 1 0 auto;
}

/* Footer stays at bottom */
footer, .footer {
  flex-shrink: 0;
}

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  padding: 0 24px;
}

  .nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
  }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.3px;
  transition: opacity var(--transition);
}

  .nav-logo:hover {
    opacity: 0.8;
  }

.nav-logo-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

  .nav-links a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    position: relative;
  }

    .nav-links a:hover {
      color: var(--primary-dark);
    }

.nav-cta-btn {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all var(--transition) !important;
  white-space: nowrap;
  box-shadow: var(--shadow-primary);
}

  .nav-cta-btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(95, 169, 165, 0.40);
    color: #fff !important;
  }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

  .mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 4px;
    transition: all var(--transition);
    transform-origin: center;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

/* ---- HERO ---- */
.hero {
  padding: 140px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  min-height: 85vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 50px;
  width: fit-content;
  letter-spacing: 0.2px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.6);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -1px;
}

  .hero h1 span {
    color: var(--primary);
    position: relative;
  }

    .hero h1 span::after {
      content: '';
      position: absolute;
      bottom: 6px;
      left: 0;
      width: 100%;
      height: 10px;
      background: var(--primary-bg);
      z-index: -1;
      border-radius: 4px;
    }

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: inherit;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

  .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(95, 169, 165, 0.42);
  }

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border);
}

  .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-bg);
  }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: linear-gradient(180deg, #1a1d2e 0%, #2a2d3e 100%);
  border-radius: 36px;
  padding: 14px;
  position: relative;
  box-shadow: var(--shadow-xl), 0 0 0 4px #1a1d2e, 0 0 0 6px #3a3d4e;
  transform: rotate(-2deg);
  animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {
  0%, 100% {
    transform: rotate(-2deg) translateY(0);
  }

  30% {
    transform: rotate(-1.5deg) translateY(-14px);
  }

  60% {
    transform: rotate(-2.5deg) translateY(-6px);
  }
}

.phone-screen {
  background: #fdfcf9;
  border-radius: 24px;
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  gap: 10px;
}

.phone-screen-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
}

.phone-text-line {
  height: 6px;
  border-radius: 3px;
  background: #e8eceb;
}

.phone-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-card-accent {
  height: 4px;
  width: 50px;
  background: var(--primary);
  border-radius: 2px;
}

.phone-progress-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 5px solid #e8eceb;
  border-top-color: var(--primary);
  align-self: center;
  margin: 8px 0;
  animation: spin-ring 3s linear infinite;
}

@keyframes spin-ring {
  to {
    transform: rotate(360deg);
  }
}

.phone-dots {
  display: flex;
  gap: 4px;
}

.phone-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dce3e2;
}

  .phone-dot.active {
    background: var(--primary);
  }

.hero-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ---- SECTION COMMONS ---- */
.section {
  padding: 90px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 50px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- FEATURES ---- */
#features {
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px 28px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #dceceb;
  }

  .feature-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: var(--primary-bg);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition);
  }

  .feature-card:hover::before {
    opacity: 1;
  }

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.2px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ---- HOW IT WORKS ---- */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary);
}

.step-content h4 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- TESTIMONIALS ---- */
#testimonials {
  background: var(--bg-warm);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #f1efeb;
}

.testimonial-stars {
  color: #f0b948;
  font-size: 1rem;
  letter-spacing: 1px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9rem;
}

  .testimonial-author span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.82rem;
  }

/* ---- DOWNLOAD CTA ---- */
#download {
  background: linear-gradient(170deg, #f8faf9 0%, #eaf6f5 40%, #f8faf9 100%);
  text-align: center;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 10px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1d2e;
  color: #fff;
  padding: 14px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
  letter-spacing: -0.1px;
}

  .store-btn:hover {
    background: #2a2d3e;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
  }

  .store-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .store-btn small {
    display: block;
    font-weight: 400;
    font-size: 0.7rem;
    opacity: 0.8;
    letter-spacing: 0;
  }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

  .rating-badge span {
    color: #f0b948;
    font-size: 1.1rem;
  }

/* ---- FOOTER ---- */
.footer {
  background: #1a1d2e;
  color: #bcc0cf;
  padding: 40px 24px 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

  .footer-links a {
    color: #bcc0cf;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
  }

    .footer-links a:hover {
      color: #fff;
    }

.footer-copy {
  font-size: 0.85rem;
  color: #7a7f92;
}

/* ---- MOBILE NAV OVERLAY ---- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

  .mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-nav-overlay a {
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color var(--transition);
  }

    .mobile-nav-overlay a:hover {
      color: var(--primary);
    }

  .mobile-nav-overlay .nav-cta-btn {
    font-size: 1rem !important;
    padding: 14px 28px;
  }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 110px 20px 50px;
    gap: 36px;
    min-height: auto;
  }

    .hero p {
      max-width: 100%;
      margin: 0 auto;
    }

  .hero-buttons {
    justify-content: center;
  }

  .hero-badge {
    margin: 0 auto;
  }

  .phone-mockup {
    width: 200px;
    height: 400px;
    border-radius: 28px;
    padding: 10px;
  }

  .phone-screen {
    border-radius: 18px;
    padding: 10px 8px;
    gap: 6px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.88rem;
  }

  .store-btn {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .steps-list {
    gap: 20px;
  }

  .step-item {
    gap: 14px;
  }
}


/* Brand comparison grid – similar to features but with list styling */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.brand-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 22px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  border: 1px solid #eef2f2;
}

  .brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
  }

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.2px;
  border-bottom: 2px solid var(--primary-bg);
  padding-bottom: 4px;
}

.brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.brand-pros-cons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

  .brand-pros-cons li {
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--text-body);
  }

.pro {
  color: #2d6a4f;
}

.con {
  color: #b0413a;
}

.brand-compatible {
  margin-top: auto;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  letter-spacing: -0.1px;
}

.universal-compatibility {
  margin-top: 36px;
  text-align: center;
  background: linear-gradient(to right, #f8faf9, #eaf6f5, #f8faf9);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  color: var(--text-dark);
  border: 1px dashed var(--primary);
}

  .universal-compatibility strong {
    color: var(--primary);
  }

/* small adjustment for download logo */
.cta-logo {
  display: block;
  margin: 0 auto;
}