@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Hind:wght@400;500;600;700&display=swap');

/* ==========================================
   CSS Variables (Light & Dark Theme)
========================================== */
:root {
  --bg: #f7faf7;
  --surface: #fff;
  --surface-2: #edf4ee;
  --text: #17271d;
  --muted: #65756a;
  --line: #e2ebe3;
  --green: #19834c;
  --green-dark: #12663a;
  --green-soft: #e3f3e8;
  --saffron: #e8a13b;
  --blue: #3479e8;
  --shadow: 0 18px 55px rgba(28, 70, 43, 0.09);
  --font: 'Hind', 'DM Sans', sans-serif;
}

:root[data-theme="dark"] {
  --bg: #090e18;
  --surface: #111a2a;
  --surface-2: #17243a;
  --text: #edf4ff;
  --muted: #9cabc2;
  --line: #26364e;
  --green: #45c987;
  --green-dark: #2ca86b;
  --green-soft: #153b32;
  --saffron: #e8ad54;
  --blue: #5b9cff;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   Base Styles
========================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  transition: background 0.25s, color 0.25s;
}

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

.container {
  width: min(1120px, calc(100% - 44px));
  margin: auto;
}

/* ==========================================
   Header & Navigation
========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', var(--font);
  font-weight: 600;
  white-space: nowrap;
}

/* Logo Image Fixes */
img.brand-mark, 
img.mini-brand {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  object-fit: cover;
  display: block;
}

img.mini-brand {
  width: 29px;
  height: 29px;
  border-radius: 9px;
}

.brand-name {
  font-size: 17px;
}

.brand-name b {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-links .nav-download {
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 9px 14px;
  border-radius: 9px;
}

.nav-actions {
  display: flex;
  gap: 8px;
}

.language-button, 
.theme-button, 
.icon-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  min-width: 39px;
  height: 39px;
  cursor: pointer;
  font-weight: 700;
}

.theme-button {
  font-size: 19px;
}

.menu-toggle {
  display: none;
}

/* ==========================================
   Hero Section & Typography
========================================== */
h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: -2.5px;
  margin: 23px 0 20px;
  font-weight: 700;
}

h1 span, 
.section-heading h2 span {
  color: var(--green);
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 35px;
  padding-top: 75px;
  padding-bottom: 75px;
}

.eyebrow, 
.section-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35b978;
  box-shadow: 0 0 0 5px var(--green-soft);
}

.hero-description {
  max-width: 550px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 29px;
}

.button {
  padding: 12px 19px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  transition: transform 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 8px 20px rgba(25, 131, 76, 0.2);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.hero-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}

/* ==========================================
   Hero Art (App Preview)
========================================== */
.hero-art {
  height: 470px;
  position: relative;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 420px;
  height: 420px;
}

.orbit-two {
  width: 500px;
  height: 500px;
  border-style: dashed;
  opacity: 0.7;
}

.preview-card {
  position: relative;
  z-index: 2;
  width: 300px;
  min-height: 390px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 20px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.preview-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.preview-greeting {
  font-size: 14px;
  font-weight: 700;
}

.preview-menu {
  margin-left: auto;
  color: var(--muted);
}

.preview-search {
  margin: 22px 0 20px;
  background: var(--surface-2);
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
}

.preview-search span:first-child {
  font-size: 17px;
  margin-right: 7px;
}

.preview-label {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.preview-tile {
  height: 95px;
  border-radius: 13px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.preview-tile > span {
  font-size: 23px;
}

.preview-tile small {
  font-size: 11px;
  font-weight: 700;
}

.tile-green { background: #e4f4e9; color: #167443; }
.tile-blue { background: #e7efff; color: #3169c7; }
.tile-orange { background: #fff0dc; color: #a96813; }
.tile-purple { background: #f0eaff; color: #7450b5; }

.preview-bottom {
  display: flex;
  justify-content: space-around;
  color: var(--green);
  font-size: 13px;
  margin-top: 18px;
}

.preview-disclaimer {
  font-size: 9px;
  color: var(--muted);
  text-align: center;
  margin-top: 7px;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 13px;
  font-size: 12px;
  font-weight: 700;
}

.chip-top {
  top: 65px;
  right: 0;
}

.chip-bottom {
  bottom: 56px;
  left: 0;
}

.chip-icon {
  color: var(--green);
  font-size: 18px;
}

/* ==========================================
   Trust Strip
========================================== */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 23px 0;
  gap: 25px;
}

.trust-inner div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-inner strong {
  font-size: 15px;
}

.trust-inner span {
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================
   Generic Sections
========================================== */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2, 
.progress-panel h2, 
.download-copy h2 {
  font-size: clamp(31px, 4vw, 43px);
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 12px 0;
}

.section-heading p {
  color: var(--muted);
}

.centered {
  text-align: center;
  margin: 0 auto 42px;
}

.centered p {
  margin-bottom: 0;
}

/* ==========================================
   About Section
========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 45px;
}

.about-lead {
  font-size: 23px;
  line-height: 1.65;
  font-weight: 600;
}

.about-detail p {
  color: var(--muted);
  line-height: 1.9;
}

.about-detail .small-note {
  font-size: 12px;
  padding: 12px 15px;
  border-left: 3px solid var(--saffron);
  background: var(--surface-2);
  border-radius: 0 8px 8px 0;
}

/* ==========================================
   Features Section
========================================== */
.features-section {
  background: var(--surface-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.feature-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  min-height: 195px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-icon.green { background: #e3f4e9; color: #168047; }
.feature-icon.blue { background: #e7efff; color: #3673d6; }
.feature-icon.orange { background: #fff0dc; color: #b9781d; }
.feature-icon.purple { background: #f0eaff; color: #7854b8; }
.feature-icon.cyan { background: #e1f6f7; color: #188c95; }
.feature-icon.red { background: #ffe9e7; color: #d45b4e; }
.feature-icon.yellow { background: #fff5d9; color: #a77a0d; }
.feature-icon.pink { background: #fce8f1; color: #bd5282; }

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 7px;
}

.feature-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ==========================================
   Progress Section
========================================== */
.progress-section {
  padding-top: 85px;
  padding-bottom: 85px;
}

.progress-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 45px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow);
}

.progress-panel p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 0;
}

.progress-status {
  background: var(--surface-2);
  padding: 24px;
  border-radius: 15px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.progress-line {
  height: 7px;
  background: var(--line);
  border-radius: 10px;
  margin: 20px 0 13px;
  overflow: hidden;
}

.progress-line span {
  display: block;
  width: 12%;
  height: 100%;
  background: var(--green);
  border-radius: 10px;
}

.progress-status small {
  font-size: 11px;
  color: var(--muted);
}

/* ==========================================
   Team Section
========================================== */
.team-section {
  background: var(--surface-2);
}

.team-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  width: 100%;
}

.team-showcase-heading {
  text-align: center;
  margin-bottom: 30px;
}

.team-showcase-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.team-showcase-heading h3 {
  font-size: 26px;
  margin: 0;
}

.team-showcase-heading h3 span {
  color: var(--green);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  justify-content: center;
  gap: 20px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 27px;
  text-align: center;
}

/* Avatar Fixes */
.avatar {
  width: 65px;
  height: 65px;
  border-radius: 20px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface-2);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.team-card h3 {
  margin-bottom: 2px;
  font-size: 17px;
}

.team-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.team-card-caption {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  font-style: italic;
  color: var(--muted);
}

.team-showcase-footer {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================
   Download Section
========================================== */
.download-section {
  padding-top: 75px;
  padding-bottom: 95px;
}

.download-panel {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 35px 40px;
  border-radius: 20px;
  background: linear-gradient(115deg, #123d2a, #176d42);
  color: white;
}

.download-symbol {
  width: 65px;
  height: 65px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff55;
  border-radius: 18px;
  font-family: 'DM Sans';
  font-weight: 800;
  font-size: 21px;
}

.download-copy {
  flex: 1;
}

.download-copy .section-kicker {
  color: #a9e8c1;
}

.download-copy h2 {
  font-size: 27px;
  margin: 7px 0;
}

.download-copy p {
  color: #d2e9da;
  font-size: 13px;
  margin: 0;
}

.coming-soon {
  padding: 9px 13px;
  border: 1px solid #ffffff66;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================
   Footer
========================================== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  flex-wrap: wrap;
}

.footer-main p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Social Media Icons */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-left: 15px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  transition: all 0.25s ease;
}

.footer-socials a:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.back-top {
  margin-left: auto;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 10px;
  color: var(--muted);
}

.footer-bottom span:last-child {
  text-align: right;
  max-width: 600px;
}

/* ==========================================
   Media Queries (Responsive Design)
========================================== */
@media (max-width: 900px) {
  .nav { gap: 14px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
  .hero { gap: 10px; }
  .hero-art { transform: scale(0.9); }
  .about-grid { gap: 35px; }
  .progress-panel { gap: 25px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 34px, 540px);
  }
  
  .nav { height: 68px; }
  
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  
  .nav-actions { order: 3; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 15px 22px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; font-size: 14px; }
  .nav-links .nav-download { padding: 10px 13px; margin-top: 6px; }
  
  .hero {
    grid-template-columns: 1fr;
    padding-top: 65px;
    padding-bottom: 45px;
    min-height: auto;
  }
  
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions { justify-content: center; }
  .hero-description { font-size: 16px; margin-left: auto; margin-right: auto; }
  .hero-art { height: 410px; transform: scale(0.86); margin-top: 0; }
  
  .chip-top { right: -10px; }
  .chip-bottom { left: -5px; }
  
  .trust-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 0;
  }
  
  .trust-inner div {
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }
  
  .trust-inner div:last-child { border: 0; padding: 0; }
  
  .section { padding-top: 72px; padding-bottom: 72px; }
  .about-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 25px; }
  .about-lead { font-size: 20px; margin-bottom: 0; }
  
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  
  .progress-panel {
    grid-template-columns: 1fr;
    padding: 27px;
    gap: 25px;
  }
  
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .team-card { padding: 20px 10px; }
  
  .download-panel {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 25px;
  }
  
  .download-copy { min-width: calc(100% - 90px); }
  .download-copy h2 { font-size: 22px; }
  .coming-soon { margin-left: 90px; }
  
  .footer-main { flex-wrap: wrap; gap: 15px; }
  .footer-main p { width: 100%; order: 4; }
  .footer-socials { margin-left: 0; order: 3; }
  .back-top { order: 2; margin-left: auto; }
  
  .footer-bottom { flex-direction: column; gap: 9px; }
  .footer-bottom span:last-child { text-align: left; }
  
  .orbit { width: 350px; height: 350px; }
  .orbit-two { width: 410px; height: 410px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}