header {
  background: linear-gradient(135deg, var(--tulsi-green-start), var(--tulsi-green-end));
  color: #fff;
  padding: 0 0 40px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  margin-bottom: -40px;
}

#hero .container {
  padding-top: 60px;
  padding-bottom: 20px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.hero-copy {
  max-width: 580px;
}

.logo {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  box-shadow: var(--tulsi-shadow-sm);
  margin-bottom: 10px;
}

.hero-copy h2 {
  font-size: 0.9rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin: 0 0 10px;
  opacity: 0.8;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.1;
}

.hero-copy p {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  gap: 10px 30px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 20px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.hero-features li::before {
  content: "•";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--tulsi-cream);
  font-weight: 900;
}

.buttons img {
  height: 55px;
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.center {
  margin: auto;
  justify-content: center;
}

.buttons--mobile {
  display: none;
}

.hero-visual {
  display: flex;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.screens-scroller {
  display: flex;
  gap: 30px;
  justify-content: center;
  width: 100%;
}

.screen-card {
  width: 280px;
  padding: 18px;
  border-radius: 40px;
  background: var(--tulsi-cream);
  border: 6px solid #fff;
  box-shadow: var(--tulsi-shadow-lg);
  flex-shrink: 0;
}

.screen-card img {
  width: 100%;
  display: block;
  border-radius: 30px;
}

.screens-scroller .screen-card:first-child {
  transform: scale(1.05);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.screen-card figcaption {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  background: var(--tulsi-cream);
  padding-top: 40px;
}

section {
  padding: 60px 0;
}

.details {
  padding-bottom: 60px;
}

.details h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 50px;
  color: var(--tulsi-text-dark);
  position: relative;
}

.details h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--tulsi-accent);
  border-radius: 2px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--tulsi-shadow-sm);
  border-top: 5px solid var(--tulsi-accent);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tulsi-shadow-lg);
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--tulsi-accent);
  margin-top: 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-bullet {
  font-size: 1.5em;
  line-height: 1;
}

.feature-card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.feature-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.feature-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--tulsi-accent);
  font-weight: bold;
}

.feature-display {
  background: #ffffff;
  padding: 60px 0;
}

.feature-display h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 20px;
  color: var(--tulsi-text-dark);
}

.feature-display p {
  text-align: center;
  margin: 0 auto 30px;
  max-width: 720px;
  font-size: 1.05rem;
  color: #374151;
}

.feature-display-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-display-item {
  background: #ffffff;
  border: 1px solid rgba(5, 150, 105, 0.15);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  color: var(--tulsi-text-dark);
  box-shadow: var(--tulsi-shadow-sm);
}

.feature-display-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--tulsi-shadow-sm);
  display: block;
}

.carbon-insight-intro {
  background: #ffffff;
  padding: 80px 0;
}

.carbon-insight-card {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(16, 185, 129, 0.05));
  border-radius: 24px;
  padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--tulsi-shadow-sm);
  border: 1px solid rgba(5, 150, 105, 0.15);
}

.carbon-insight-card h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--tulsi-accent);
}

.carbon-insight-card p {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--tulsi-text-dark);
}

.carbon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 150, 105, 0.18);
  color: var(--tulsi-accent);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.carbon-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tulsi-accent);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carbon-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--tulsi-shadow-sm);
}

#cta-section {
  background: var(--tulsi-light-bg);
  text-align: center;
  padding: 80px 0;
}

#cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--tulsi-text-dark);
  margin-bottom: 15px;
}

#cta-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

footer {
  text-align: center;
  padding: 30px;
  background: #f1f1f1;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
}

footer a {
  color: var(--tulsi-accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.ios-download-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0b5b3f;
  color: #ffffff;
  padding: 16px;
  display: none;
  z-index: 1000;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.18);
}

.ios-download-banner.is-visible {
  display: block;
}

.ios-download-banner .banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(12px, 4vw, 24px);
}

.ios-download-banner .banner-text {
  flex: 1;
}

.ios-download-banner .banner-text strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.ios-download-banner .banner-text span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.ios-download-banner .banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ios-download-banner .banner-button {
  background: #ffffff;
  color: #0f5132;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--tulsi-shadow-sm);
  white-space: nowrap;
}

.ios-download-banner .banner-button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.ios-download-banner .banner-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

body.ios-banner-visible {
  padding-bottom: 96px;
}

@media (max-width: 720px) {
  .ios-download-banner .banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .ios-download-banner .banner-actions {
    width: 100%;
    justify-content: space-between;
  }

  .ios-download-banner .banner-button {
    flex: 1;
    text-align: center;
  }

  .ios-download-banner .banner-close {
    align-self: flex-start;
  }

  body.ios-banner-visible {
    padding-bottom: 140px;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    gap: 40px;
  }

  .screen-card {
    padding: 15px;
    border-radius: 30px;
  }

  .screen-card img {
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  header {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-copy {
    order: 2;
    max-width: none;
  }

  .hero-visual {
    order: 1;
    width: 100%;
    max-width: 100%;
    overflow: auto;
    justify-content: flex-start;
    padding-bottom: 20px;
  }

  .hero-visual::-webkit-scrollbar {
    display: none;
  }

  .hero-visual {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .screens-scroller {
    padding: 0 20px;
    gap: 15px;
    scroll-snap-type: x mandatory;
    width: auto;
    justify-content: flex-start;
  }

  .screen-card {
    width: 70vw;
    max-width: 300px;
    scroll-snap-align: center;
    margin-bottom: 0;
    transform: scale(1);
  }

  .screens-scroller .screen-card:first-child {
    transform: scale(1);
    box-shadow: var(--tulsi-shadow-lg);
  }

  .gallery-dots {
    display: none;
  }

  .buttons {
    justify-content: center;
  }

  .hero-features {
    display: block;
  }

  .hero-features li {
    justify-content: center;
  }

  .buttons--desktop {
    display: none;
  }

  .buttons--mobile {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

  .details h2 {
    text-align: left;
  }

  .details h2::after {
    left: 0;
    transform: none;
  }

  #cta-section {
    padding: 60px 0;
  }
}
