/* ============================================================
   SottoASR — Landing Page Styles
   Color palette derived from the app logo (cyan + amber)
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  /* Brand colors — extracted from logo */
  --cyan: #3ec6e0;
  --cyan-dim: #2a9ab3;
  --cyan-glow: rgba(62, 198, 224, 0.15);
  --amber: #f5b731;
  --amber-dim: #c99425;
  --amber-glow: rgba(245, 183, 49, 0.12);

  /* Backgrounds */
  --bg-deep: #07090d;
  --bg: #0b0e14;
  --bg-surface: #111520;
  --bg-elevated: #161b28;
  --bg-card: #131824;
  --bg-card-hover: #181e2e;

  /* Text */
  --text-bright: #edf0f5;
  --text: #b0b8c9;
  --text-dim: #6b7790;
  --text-muted: #3d4759;

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(62, 198, 224, 0.2);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--cyan), var(--amber));
  --gradient-subtle: linear-gradient(135deg, rgba(62, 198, 224, 0.08), rgba(245, 183, 49, 0.05));

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 120px;
  --container-max: 1080px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--text-bright);
}

img {
  display: block;
  max-width: 100%;
}

strong {
  color: var(--text-bright);
  font-weight: 600;
}

code {
  font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.875em;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--cyan);
}

kbd {
  font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-hover);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-bright);
  white-space: nowrap;
}

/* ---- Container ---- */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section headings ---- */

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-bright);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #0b0e14;
  font-weight: 600;
  box-shadow: 0 2px 16px rgba(62, 198, 224, 0.25), 0 0 0 1px rgba(62, 198, 224, 0.1);
}

.btn-primary:hover {
  color: #0b0e14;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(62, 198, 224, 0.35), 0 0 0 1px rgba(62, 198, 224, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 12px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: 140px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(62, 198, 224, 0.08) 0%,
    rgba(245, 183, 49, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

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

.hero-logo {
  margin: 0 auto 24px;
  border-radius: 24px;
  filter: drop-shadow(0 8px 32px rgba(62, 198, 224, 0.2));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 16px;
}

.coming-soon {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--amber-glow);
  color: var(--amber);
  border: 1px solid rgba(245, 183, 49, 0.15);
  text-align: center;
  width: fit-content;
  margin: 16px auto 20px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 100px;
}

.hero-badge svg {
  color: var(--cyan);
  flex-shrink: 0;
}

/* ============================================================
   FEATURES
   ============================================================ */

.features {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s var(--ease);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cyan-glow);
  color: var(--cyan);
  margin-bottom: 16px;
}

.feature-card:nth-child(2n) .feature-icon {
  background: var(--amber-glow);
  color: var(--amber);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ============================================================
   DOWNLOAD
   ============================================================ */

.download {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.download-card {
  display: flex;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 48px;
}

.download-info {
  flex: 1;
}

.download-version {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.version-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--cyan-glow);
  color: var(--cyan);
  border: 1px solid var(--border-accent);
}

.version-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.download-reqs h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.download-reqs ul {
  list-style: none;
  padding: 0;
}

.download-reqs li {
  font-size: 0.875rem;
  color: var(--text-dim);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.download-reqs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.5;
  transform: translateY(-50%);
}

.download-action {
  text-align: center;
  flex-shrink: 0;
}

.download-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 12px;
}


/* ============================================================
   OPEN SOURCE
   ============================================================ */

.open-source {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
}

.open-source-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.oss-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.2s var(--ease);
}

.oss-link:hover {
  color: var(--text-bright);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

/* ============================================================
   ACKNOWLEDGEMENTS
   ============================================================ */

.acknowledgements {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.ack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ack-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.ack-group-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.ack-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.ack-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ack-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-bright);
  white-space: nowrap;
}

.ack-desc {
  flex: 1;
  font-size: 0.8rem;
  color: var(--text-dim);
  min-width: 0;
}

.ack-license {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
}

/* ============================================================
   CONTRIBUTORS
   ============================================================ */

.contributors-section {
  padding: 60px 0;
  background: var(--bg-deep);
}

.contributors-inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.contributors-heading {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.contributors-list {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}

.contributors-list li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 2px 0;
}

.contributors-list li strong {
  color: var(--text);
  font-weight: 500;
}

.contributors-note {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.contributors-ai {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contributors-ai a {
  color: var(--text-dim);
}

.contributors-ai a:hover {
  color: var(--text);
}

.contributors-cta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */

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

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  border-radius: 6px;
}

.footer-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-bright);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--text-bright);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }

  .hero {
    padding: 100px 0 80px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .download-card {
    flex-direction: column;
    gap: 24px;
    padding: 28px;
  }

  .ack-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

  .open-source-links {
    flex-direction: column;
    align-items: center;
  }

  .ack-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
