/* ===========================
   KINDI LANDING — STYLE.CSS
   Design system: Inter · #6FCF97 · pastel · rounded
   =========================== */

/* --- Tokens --- */
:root {
  --primary:        #6FCF97;
  --primary-dark:   #52b87e;
  --secondary:      #56CCF2;
  --accent:         #F29988;
  --accent-dark:    #d97a66;

  --bg:             #FFFFFF;
  --bg-secondary:   #F7F7F8;
  --bg-hero:        #F0FAF5;

  --text-primary:   #1C1C1E;
  --text-secondary: #8E8E93;
  --text-muted:     #B0B0B5;

  --shadow:         0 4px 20px rgba(28, 28, 30, 0.07);
  --shadow-card:    0 2px 8px rgba(28, 28, 30, 0.06);

  --radius-lg:      20px;
  --radius-md:      16px;
  --radius-sm:      12px;
  --radius-pill:    100px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
p  { color: var(--text-secondary); }
em { font-style: normal; color: var(--primary-dark); font-weight: 700; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

/* ===========================
   NAV
   =========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bg-secondary);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 2rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
}
.nav-link.active {
  color: var(--primary-dark);
}

/* ===========================
   LOGO
   =========================== */
.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-dark);
  letter-spacing: -.03em;
}
.logo-image {
  height: 45px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}
.logo-image:hover {
  opacity: 0.85;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: .75rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .18s, transform .12s, box-shadow .18s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(111, 207, 151, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--bg-hero);
}
.btn-sm { padding: .5rem 1.1rem; font-size: .875rem; }

/* ===========================
   HERO
   =========================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  
}
.hero-bg {
  padding-block: clamp(4rem, 8vw, 6rem);
  background: var(--bg-hero);
}
.eyebrow, .section-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: .75rem;
}
.hero-text h1 { margin-bottom: 1.2rem; }
.hero-desc {
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}
.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* --- Phone mockup --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-mock {
  position: relative;
  z-index: 2;
  width: 240px;
  background: var(--bg);
  border-radius: 36px;
  padding: 28px 18px;
  box-shadow: 0 24px 60px rgba(28, 28, 30, 0.12), 0 4px 12px rgba(28, 28, 30, 0.05);
  border: 6px solid var(--bg-secondary);
}
.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-chip {
  align-self: flex-start;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
}
.mock-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}
.mock-card {
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.mock-label { font-size: .63rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .65; }
.mock-value { font-size: .78rem; font-weight: 500; line-height: 1.3; }
.mock-card--primary   { background: rgba(111, 207, 151, .15); color: #2e7d52; }
.mock-card--secondary { background: rgba(86, 204, 242, .15);  color: #1a7a9e; }
.mock-card--accent    { background: rgba(242, 153, 136, .15); color: #a84f3c; }

/* --- Blobs --- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  opacity: .35;
  z-index: 1;
  pointer-events: none;
}
.blob-1 {
  width: 260px;
  height: 260px;
  background: var(--primary);
  top: -40px;
  right: -20px;
}
.blob-2 {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  bottom: -20px;
  left: 10px;
}

/* ===========================
   FEATURES
   =========================== */
.features {
  background: var(--bg);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.section-title {
  margin-bottom: 2.5rem;
  margin-top: .4rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: transform .18s, box-shadow .18s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.feature-card h3 { color: var(--text-primary); font-size: 1rem; }
.feature-card p  { font-size: .9rem; margin-top: .35rem; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon--green  { background: rgba(111, 207, 151, .18); color: var(--primary-dark); }
.feature-icon--blue   { background: rgba(86, 204, 242, .18);  color: #1a7a9e; }
.feature-icon--peach  { background: rgba(242, 153, 136, .18); color: var(--accent-dark); }

/* ===========================
   QUOTE SECTION
   =========================== */
.quote-section {
  background: var(--primary);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.quote-inner {
  text-align: center;
}
blockquote p {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
}
blockquote em {
  font-style: normal;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

/* ===========================
   WAITLIST
   =========================== */
.waitlist {
  padding-block: clamp(4rem, 8vw, 6rem);
  background: var(--bg-hero);
}
.waitlist-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 560px;
  margin-inline: auto;
}
.waitlist-desc {
  max-width: 45ch;
  margin-inline: auto;
  margin-block: .75rem 1.75rem;
}
.waitlist-form {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.waitlist-form input {
  flex: 1;
  min-width: 200px;
  border: 2px solid var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  outline: none;
  transition: border-color .18s;
}
.waitlist-form input:focus { border-color: var(--primary); }
.waitlist-form input::placeholder { color: var(--text-muted); }
.waitlist-form button:disabled { opacity: .7; cursor: default; }
.waitlist-note {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ===========================
   STORE BUTTONS
   =========================== */
.store-buttons {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: .25rem;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  min-width: 180px;
}
.store-btn span {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
.store-btn small {
  font-size: .67rem;
  font-weight: 500;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.store-btn--ios {
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.store-btn--ios:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.store-btn--android {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 700;
  border: 2px dashed var(--text-muted);
  cursor: default;
}
.store-btn--soon {
  opacity: .6;
}

/* ===========================
   HERO ICON (for help page)
   =========================== */
.hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-icon svg {
  width: 100%;
  max-width: 250px;
  height: auto;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ===========================
   SUPPORT CONTACT HERO BLOCK
   =========================== */
.support-contact-hero {
  margin-top: 1.5rem;
  background: var(--bg);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  display: inline-flex;
  flex-direction: column;
  gap: .5rem;
}
.support-contact-hero-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: .95rem;
  flex-wrap: wrap;
}
.support-contact-hero-row svg {
  color: var(--primary-dark);
  flex-shrink: 0;
}
.support-email {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--primary);
}
.support-email:hover { opacity: .8; }
.support-contact-hero-desc {
  font-size: .875rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ===========================
   CONTACT EMAIL HIGHLIGHT
   =========================== */
.support-email-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-hero);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: .9rem 1.2rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.support-email-highlight {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
  white-space: nowrap;
}
.support-email-highlight:hover { opacity: .8; }
.support-email-label {
  font-size: .82rem;
  color: var(--text-secondary);
}
.support-topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.support-topics li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-secondary);
}
.support-topics li svg {
  color: var(--primary-dark);
  flex-shrink: 0;
}

/* ===========================
   FAQ SECTION
   =========================== */
.faq-section {
  padding-block: 4rem;
}
.faq-container {
  display: grid;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  font-family: inherit;
  transition: color 0.2s ease;
}
.faq-question:hover {
  color: var(--primary-dark);
}
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary-dark);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-hero);
}
.faq-item.active .faq-answer {
  max-height: 500px;
}
.faq-answer p {
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
  padding-block: 4rem;
  background: var(--bg-hero);
  border-radius: var(--radius-lg);
  margin-block: 2rem;
}
.contact-card {
  max-width: 600px;
  margin: 0 auto;
}
.contact-card .section-title {
  margin-bottom: 1rem;
}
.contact-desc {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}
.contact-form {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.form-group {
  display: flex;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--bg-secondary);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: white;
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea {
  resize: vertical;
}
.contact-alt {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.link {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.link:hover {
  border-bottom-color: var(--primary-dark);
}

/* ===========================
   FOOTER UPDATES
   =========================== */
.footer {
  text-align: center;
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--bg-secondary);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-block: .9rem .1rem;
}
.social-link {
  color: var(--text-muted);
  transition: color .2s;
}
.social-link:hover {
  color: var(--primary-dark);
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-block: 1.5rem;
}
.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: var(--primary-dark);
}
.footer-tagline {
  font-size: .85rem;
  color: var(--text-secondary);
}
.footer-copy {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .5rem;
}

/* ===========================
   LANGUAGE SELECTOR
   =========================== */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-secondary);
  border-radius: var(--radius-pill);
  padding: 3px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  transition: color 0.15s, background 0.15s;
  line-height: 1;
}
.lang-btn:hover { color: var(--text-primary); }
.lang-btn.active {
  background: var(--bg);
  color: var(--primary-dark);
  box-shadow: 0 1px 4px rgba(28,28,30,.08);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    min-height: auto;
  }
  .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .blob-1 { width: 180px; height: 180px; }
  .blob-2 { width: 140px; height: 140px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
  .phone-mock { width: 210px; }
}
