/* Nougex India — landing page */

:root {
  --bg: #f6f4f1;
  --bg-elevated: #ffffff;
  --text: #1b1f24;
  --text-muted: #5c6570;
  --border: rgba(27, 31, 36, 0.12);
  --accent: #0d9488;
  --accent-strong: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --shadow: 0 24px 60px rgba(27, 31, 36, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --font-sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
}

.shell {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  opacity: 0.92;
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto 40%;
  height: min(70vw, 420px);
  background: radial-gradient(
    closest-side,
    rgba(13, 148, 136, 0.22),
    transparent 70%
  );
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 15ch;
}

.hero-title em {
  font-style: italic;
  color: var(--accent-strong);
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--text) 24%, transparent);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

/* Sections */

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-sub--tight {
  max-width: 28rem;
}

/* App cards */

.app-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .app-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.app-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.35rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.app-card-top {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.app-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.app-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-tagline {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.app-desc {
  margin: 0 0 1.1rem;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.app-meta li {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.app-card--quiz .app-meta li {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.app-card--baby .app-meta li {
  background: rgba(244, 114, 182, 0.12);
  color: #be185d;
}

.app-card--more .app-meta li {
  background: rgba(234, 179, 8, 0.14);
  color: #a16207;
}

.app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--text);
  color: #fff;
}

.store-link:hover {
  opacity: 0.9;
}

.store-link--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.store-link--secondary:hover {
  border-color: color-mix(in srgb, var(--text) 28%, transparent);
}

.store-link--wide {
  flex: 1;
  min-width: 8rem;
}

/* About */

.about {
  background: linear-gradient(180deg, transparent, rgba(13, 148, 136, 0.06));
  border-block: 1px solid var(--border);
}

.about-inner {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .about-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.about-lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-list li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
  color: var(--text-muted);
  font-size: 0.98rem;
}

.about-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.about-panel {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat {
  margin-bottom: 1.25rem;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-strong);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Contact */

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .contact-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.contact-actions {
  text-align: left;
}

.contact-hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-hint code {
  font-size: 0.8em;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

/* Footer */

.site-footer {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (min-width: 600px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 520px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: flex-end;
    gap: 0.85rem;
  }

  .nav a {
    font-size: 0.88rem;
  }
}
