/* NeiroKid Landing — CSS Variables */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #0a2e62;
  --color-bg-deep: #081f45;
  --color-bg-soft: #1b4f92;
  --color-accent: #facc15;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.82);
  --color-line: rgba(255, 255, 255, 0.24);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 56px rgba(3, 11, 30, 0.4);
  --shadow-soft: 0 10px 24px rgba(3, 11, 30, 0.26);
  --spacing-section: 80px;
  --cta-primary: #4a8dff;
  --cta-secondary: rgba(255, 255, 255, 0.2);
  --font: "Source Sans 3", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --card-bg: rgba(255, 255, 255, 0.14);
  --card-border: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Skip link — accessibility (Calm-style) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  background: var(--color-accent);
  color: var(--color-bg-deep);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 20px;
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: radial-gradient(120% 90% at 50% -12%, #2f6fc0 0%, #123f80 48%, #081f45 100%);
  min-height: 100vh;
  line-height: 1.5;
}

/* Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 46, 98, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  gap: 16px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.nav {
  display: none;
}

.header-cta {
  padding: 10px 18px;
  background: var(--cta-primary);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.header-cta:hover {
  opacity: 0.95;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
  }
  .nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
  }
  .nav a:hover {
    color: var(--color-text);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--cta-primary);
  color: var(--color-text);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(74, 141, 255, 0.4);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.1rem;
}

/* HERO */
.hero {
  padding: 40px 0 60px;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-content {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 0 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: flex-end;
}

.hero-visual img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero-visual-2 {
  max-width: 140px;
  transform: translateY(20px);
}

@media (min-width: 768px) {
  .hero-visual img {
    max-width: 280px;
  }
  .hero-visual-2 {
    max-width: 200px;
  }
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .hero-content {
    flex: 1;
    text-align: left;
  }
  .hero-cta {
    flex-direction: row;
    align-items: flex-start;
  }
  .hero-title {
    font-size: 2.75rem;
    max-width: 14ch;
  }
  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Section */
.section {
  padding: var(--spacing-section) 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 12px;
  text-align: center;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 0 40px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature pillars — Calm-style alternating blocks */
.section-features {
  background: rgba(0, 0, 0, 0.08);
}

.feature-pillar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 64px;
}

.feature-pillar:last-child {
  margin-bottom: 0;
}

.feature-pillar-content h3 {
  font-size: 1.5rem;
  margin: 0 0 16px;
  font-weight: 600;
}

.feature-pillar-content p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

.feature-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}

.feature-link:hover {
  text-decoration: underline;
}

.feature-pillar-visual {
  order: -1;
}

.feature-pillar-visual img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .feature-pillar {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .feature-pillar-alt .feature-pillar-visual {
    order: 1;
  }
  .feature-pillar-alt .feature-pillar-content {
    order: 0;
  }
  .feature-pillar-visual {
    order: 0;
  }
  .feature-pillar-visual img {
    max-width: 360px;
  }
}

/* Problem block */
.section-problem {
  background: rgba(0, 0, 0, 0.15);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 600px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.problem-col {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.problem-col h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.problem-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.95rem;
}

.problem-list li:last-child {
  border-bottom: none;
}

.problem-list-positive li {
  color: var(--color-text);
}

/* What block */
.what-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .what-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .what-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.what-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.what-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.what-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.what-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.what-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* APP SCREENS */
.screen-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.screen-block:last-child {
  margin-bottom: 0;
}

.screen-content h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.screen-content p {
  margin: 0;
  color: var(--color-text-muted);
}

.screen-visual {
  order: -1;
}

.screen-visual img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .screen-block {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .screen-block-alt .screen-visual {
    order: 1;
  }
  .screen-block-alt .screen-content {
    order: 0;
  }
  .screen-visual {
    order: 0;
  }
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.benefit-icon {
  display: inline-block;
  padding: 8px 12px;
  background: rgba(250, 204, 21, 0.2);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.benefit-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* How it works */
.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 600px) {
  .how-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .how-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.how-step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.how-step-num {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  color: var(--color-bg-deep);
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}

.how-step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.how-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Who */
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .who-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.who-card {
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

/* Result */
.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 600px) {
  .result-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.result-col {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.result-before {
  border-left: 4px solid rgba(255, 122, 69, 0.6);
}

.result-after {
  border-left: 4px solid rgba(52, 211, 153, 0.6);
}

.result-col h3 {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

.result-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-col li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.95rem;
}

.result-col li:last-child {
  border-bottom: none;
}

/* Trust */
.trust-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
}

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

.trust-stat strong {
  color: var(--color-accent);
  font-size: 1.5rem;
}

.trust-reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .trust-reviews {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.trust-review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trust-review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.trust-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.trust-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-review-card blockquote {
  margin: 0;
}

.trust-review-card p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.trust-review-card footer {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  opacity: 0.9;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.pricing-card-recommended {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.3);
}

.pricing-badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--color-accent);
  color: var(--color-bg-deep);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.pricing-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 8px 0 4px;
}

.pricing-per-month {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.pricing-card .btn {
  margin-top: 8px;
}

.pricing-disclaimer {
  padding: 0 20px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* FAQ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Final CTA */
.section-final-cta {
  background: rgba(0, 0, 0, 0.2);
}

.final-cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 12px;
  text-align: center;
}

.final-cta-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  text-align: center;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 480px) {
  .final-cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Sticky CTA (mobile) — shown when scrolled past hero */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 46, 98, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-line);
  z-index: 90;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-cta.sticky-cta-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }
}

/* Footer */
.footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--color-line);
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Fade-in animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
