:root {
  /* Timeless Color Palette */
  --color-black: #1D1D1F;
  --color-dark-gray: #424245;
  --color-medium-gray: #6E6E73;
  --color-light-gray: #F5F5F7;
  /* Classic Apple/Swiss light gray */
  --color-border-gray: #D2D2D7;
  --color-white: #FFFFFF;
  --color-primary: #0071E3;
  /* Apple Blue */

  --color-text-primary: #1D1D1F;
  --color-text-secondary: #6E6E73;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --max-width: 980px;
  /* Constrained for better readability/reading line length */

  /* Language Font Scaling - Default English baseline */
  --lang-font-scale: 1;
}

/* Language-specific font scaling based on verbosity */
html[lang="hi"] {
  --lang-font-scale: 0.95;
}

html[lang="ur"] {
  --lang-font-scale: 0.95;
}

html[lang="pa"] {
  --lang-font-scale: 0.90;
}

html[lang="gu"] {
  --lang-font-scale: 0.90;
}

html[lang="mr"] {
  --lang-font-scale: 0.90;
}

html[lang="bn"] {
  --lang-font-scale: 0.85;
}

html[lang="as"] {
  --lang-font-scale: 0.85;
}

html[lang="od"] {
  --lang-font-scale: 0.85;
}

html[lang="ta"] {
  --lang-font-scale: 0.80;
}

html[lang="te"] {
  --lang-font-scale: 0.80;
}

html[lang="kn"] {
  --lang-font-scale: 0.80;
}

html[lang="ml"] {
  --lang-font-scale: 0.70;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.6;
  /* Increased line-height for elegance */
  color: var(--color-text-primary);
  background-color: #FDFAFA;
  /* Warm Off-White to match Hero */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hub - Uses language font scaling */
h1 {
  font-size: calc(56px * var(--lang-font-scale));
  font-weight: 600;
  /* Slightly lighter for modern feel */
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: calc(40px * var(--lang-font-scale));
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0em;
}

h3 {
  font-size: calc(24px * var(--lang-font-scale));
  font-weight: 600;
  line-height: 1.25;
}

p {
  font-size: calc(19px * var(--lang-font-scale));
  /* Larger body text */
  color: var(--color-text-secondary);
  font-weight: 400;
  margin-bottom: 0px;
  line-height: 1.7;
}

/* Layout Containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
  /* Apple standard side padding */
}

/* Navigation */
nav {
  height: 64px;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--color-black);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.nav-menu a:hover {
  background-color: var(--color-light-gray);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #333;
}

.btn-secondary {
  border-color: var(--color-border-gray);
  color: var(--color-text-primary);
}

.btn-secondary:hover {
  background-color: var(--color-light-gray);
}

/* Hero Section */
.hero {
  padding: 4rem 1.5rem 2rem;
  /* Reduced bottom padding */
  text-align: center;
}

.hero-illustration {
  width: 280px;
  margin: 0 auto 1.5rem;
  display: block;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Bento Grid Features */
.features {
  padding: 0 0 8rem;
  /* Removed top padding */
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 1.5rem;
}

.bento-item {
  background-color: var(--color-light-gray);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s;
}

.bento-item:hover {
  transform: translateY(-2px);
}

.bento-item h3 {
  margin-bottom: 0.75rem;
}

.bento-item p {
  font-size: 1rem;
}

/* Bento Item Sizes */
.item-large {
  grid-column: span 8;
  grid-row: span 2;
}

.item-medium {
  grid-column: span 4;
  grid-row: span 2;
}

.item-small {
  grid-column: span 4;
}

.item-full {
  grid-column: span 12;
}

/* Visual Accents */
.accent-box {
  margin-top: auto;
  background: white;
  border: 1px solid var(--color-border-gray);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--color-border-gray);
  padding: 6rem 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 3rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  transition: color 0.1s;
}

.footer-col a:hover {
  color: var(--color-primary);
}

/* Responsive - Optimized for verbose Indian languages */
@media (max-width: 900px) {
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .item-large,
  .item-medium,
  .item-small,
  .item-full {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Hero - more breathing room for verbose text */
  .hero {
    padding: 2.5rem 1rem 1.5rem;
  }

  .hero h1 {
    margin-bottom: 1.25rem;
  }

  .hero p {
    line-height: 1.8;
    margin-bottom: 2rem;
  }

  /* Features tagline - flexible for long translations */
  .features-tagline {
    font-size: calc(1.4rem * var(--lang-font-scale));
    line-height: 1.35;
    padding: 0 0.5rem;
  }

  /* Buttons - allow wrapping and expand for verbose text */
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    white-space: normal;
    text-align: center;
    min-height: 44px;
    /* Touch-friendly minimum */
  }

  .action-btn {
    padding: 0.75rem 1.5rem;
    flex: 1 1 auto;
    min-width: 100px;
  }

  .features-actions {
    gap: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }

  /* Language buttons - more padding for long script names */
  .lang-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    flex: 0 1 auto;
  }

  .language-grid {
    gap: 0.5rem;
    justify-content: center;
  }

  .language-selection {
    padding: 1.5rem;
    margin-top: 2.5rem;
  }

  /* Nav - Two-row layout on mobile for verbose languages */
  nav {
    height: auto;
    padding: 0.5rem 0;
  }

  .nav-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .brand {
    width: 100%;
    justify-content: center;
    padding-bottom: 0.25rem;
  }

  .nav-menu {
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.25rem;
    border-top: 1px solid var(--color-border-gray);
  }

  .nav-menu a {
    font-size: calc(0.85rem * var(--lang-font-scale));
    padding: 0.25rem 0.35rem;
  }

  /* Dropdown menu - wider for verbose languages */
  .dropdown-menu {
    min-width: 180px;
  }

  .dropdown-menu a {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }
}

/* Extra small screens - stack everything */
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero-illustration {
    width: 200px;
  }

  .features-tagline {
    font-size: calc(1.15rem * var(--lang-font-scale));
  }

  /* Full-width buttons on very small screens */
  .features-actions {
    padding: 0 0.5rem;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer simplify */
  .footer-grid-simple {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-col-right {
    text-align: left;
  }

  /* Language grid - 2 columns on small */
  .language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .lang-btn {
    justify-content: center;
    text-align: center;
  }
}

/* Slider Styles */
/* Slider Styles */
.slider-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto 3rem;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12), 0 10px 10px rgba(0, 0, 0, 0.08);
  /* Classic diffuse shadow */
  background: var(--color-white);
  overflow: hidden;
  border: 1px solid var(--color-border-gray);
}

.browser-frame {
  background: var(--color-light-gray);
  /* Timeless solid gray */
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border-gray);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.browser-dot.red {
  background-color: #ef4444;
}

.browser-dot.yellow {
  background-color: #f59e0b;
}

.browser-dot.green {
  background-color: #22c55e;
}

.slider-container {
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border-gray);
  cursor: pointer;
  transition: background-color 0.2s;
}

.dot.active {
  background-color: var(--color-primary);
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border-gray);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-gray);
}

.slider-arrow:hover {
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-arrow-left {
  left: 1rem;
}

.slider-arrow-right {
  right: 1rem;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Distinct Product Section Container */
/* Distinct Product Section Container */
.product-showcase-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #FFFFFF;
  /* White to standout against warm body */
  border-radius: 0;
  padding: 4rem 0;
  margin-top: 2rem;
  margin-bottom: 0;
  border-top: 1px solid #E5E5EA;
  border-bottom: 1px solid #E5E5EA;
}

/* Language Selection */
.language-selection {
  margin-top: 4rem;
  padding: 2.5rem;
  background-color: #F5F5F7;
  /* Distinct Gray Block */
  border-radius: 16px;
  border: 1px solid var(--color-border-gray);
}

.language-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lang-btn {
  background: #FFFFFF;
  /* White button on gray bg */
  border: 1px solid var(--color-border-gray);
  padding: 0.6rem 1.2rem;
  /* Slightly larger */
  border-radius: 30px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  /* Readable */
  color: var(--color-text-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}


.lang-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #F5F5F7;
}

/* Navbar Dropdown */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--color-text-primary);
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.dropdown-trigger:hover {
  background-color: var(--color-light-gray);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #FFFFFF;
  min-width: 220px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12), 0 10px 10px rgba(0, 0, 0, 0.08);
  /* Consistent diffuse shadow */
  border-radius: 12px;
  padding: 0.5rem;
  border: 1px solid var(--color-border-gray);
  display: none;
  z-index: 1100;
  /* Grid inside dropdown */
  display: none;
  grid-template-columns: 1fr;
  flex-direction: column;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: var(--color-text-primary);
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.1s;
}

.dropdown-menu a:hover {
  background-color: var(--color-light-gray);
  color: var(--color-primary);
}

/* Extracted Inline Styles */
.nav-logo {
  height: 48px;
}

.nav-link-static {
  cursor: default;
}

.dropdown-icon {
  font-size: 1.1rem;
  margin-right: 4px;
}

.features-section {
  margin-top: 2rem;
}

.features-container {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.features-logo {
  height: 80px;
  margin-bottom: 0.5rem;
}

.features-tagline {
  margin-bottom: 1.5rem;
  font-size: calc(2.5rem * var(--lang-font-scale));
  line-height: 1.3;
}

.features-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.action-btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.slider-dots-container {
  margin-bottom: 3rem;
}

.footer-grid-simple {
  grid-template-columns: 1fr 1fr;
  padding-top: 2rem;
}

.footer-col-right {
  text-align: right;
}

.language-heading {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.copyright-text {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-gray);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}