:root {
  --primary: #209F73;
  --text: #2c2c2c;
  --text-secondary: #768099;
  --bg: #ffffff;
  --white: #ffffff;
  --radius: 12px;
  --max-width: 1140px;
}

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

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.logo img {
  height: 36px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  font-weight: 600;
  color: var(--text)
}

.btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: #1a865f;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.8rem 1.8rem;
}

.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, #209F73 0%, #28A191 100%);
  color: #ffffff; /* Optional: light text if needed */
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.hero-text {
  flex: 1 1 500px;
}

.hero-media {
  flex: 1 1 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text h1 {
  font-size: 3.8rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.subtext {
  color: var(--white);
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  line-height: 1.7;
}

/* Features */
.features {
  padding: 4rem 0;
  background: #fff;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-secondary);
}

/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-media {
    order: -1;
  }
}

/* ───────── Features Section ───────── */
.features-section {
  padding: 4rem 0;
  background: #ffffff;
}

.feature-row {
  display: flex;
  align-items: center;
  margin-top: 7rem;
  margin-bottom: 4.5rem;
  gap: 4rem;
}

/* Alternate orientation on every even row */
.feature-row:nth-of-type(even) {
  flex-direction: row-reverse;
}

/* Screenshot area */
.feature-media {
  flex: 1 2 400px;
  position: relative;
}

.feature-text {
  flex: 1 1 380px;
}

/* Soft rectangle behind the phone (mimics Dribbble example) */
.feature-media::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 90%;
  height: 70%;
  z-index: -1;
}

.feature-media img {
  margin: 0 auto;
}

/* Text block */
.feature-text {
  display: flex;
  flex-direction: column;
  align-items: center; /* aligns icon, heading, and paragraph to the right */
  text-align: center;
  line-height: 1.7;
}

.feature-text h2 {
  font-size: 1.8rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-text p {
  color: var(--text-secondary);
  max-width: 46ch;
}

/* ───────── Responsive tweaks ───────── */
@media (max-width: 860px) {
  .feature-row {
    flex-direction: column;
    text-align: center;
  }

  .feature-row:nth-of-type(even) {
    flex-direction: column; /* override odd/even on narrow screens */
  }

  .feature-media {
    max-width: 420px;
  }
}

.app-store-badge img {
  height: 52px;
  transition: transform 0.2s ease;
}

.app-store-badge img:hover {
  transform: scale(1.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #f4e9ff; /* soft purple background */
  color: #c042e0;       /* bright magenta icon */
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.feature-row:nth-of-type(1) .feature-icon {
  background: #e0f7ef;
}

/* 2nd Feature */
.feature-row:nth-of-type(2) .feature-icon {
  background: #e8f2ff;
}

/* 3rd Feature */
.feature-row:nth-of-type(3) .feature-icon {
  background: #fff1e5;
}

.feature-separator {
  border: none;
  height: 1px;
  background-color: #DBE2E7;
  width: 100%;
  margin: 8rem auto;
}

.hero-app-icon {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  margin-bottom: 2rem;
}

.video-section {
  background: #F9F9FB; 
  padding: 4rem 0;
  text-align: center;
}

.video-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 1.8rem;
}

.video-subtext {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}