:root {
  --orange: #FF6B3D;
  --orange-dark: #e55a2b;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --light: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: var(--orange-dark);
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.nav-logo span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--orange-dark);
  color: var(--white) !important;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #fff8f5 0%, #fff 60%);
  padding: 100px 2rem 80px;
  text-align: center;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: #fff0eb;
  color: var(--orange);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}

/* SCREENSHOTS */
.screenshots {
  padding: 80px 2rem;
  background: var(--light);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.screenshots-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-frame {
  width: 200px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  background: var(--border);
  aspect-ratio: 9/19;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--gray);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshot-frame .placeholder-icon {
  font-size: 2rem;
  opacity: 0.4;
}

/* FEATURES */
.features {
  padding: 80px 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--light);
  border-radius: 16px;
  padding: 2rem;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* PRICING */
.pricing {
  padding: 80px 2rem;
  background: var(--light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.plan-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  border: 2px solid var(--border);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.plan-card.popular {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(255,107,61,0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.plan-price sup {
  font-size: 1.25rem;
  font-weight: 700;
  vertical-align: super;
}

.plan-period {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.plan-features li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-features li.disabled::before {
  content: "✕";
  color: var(--border);
}

.plan-features li.disabled {
  opacity: 0.5;
}

.pricing-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 2rem;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-logo span {
  color: var(--orange);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--gray);
  font-size: 0.9rem;
}

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

.footer-copy {
  color: var(--gray);
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* HOW IT WORKS */
.how-it-works {
  padding: 80px 2rem;
}

.pipeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.pipeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  width: 100%;
  background: var(--white);
  transition: box-shadow 0.2s;
}

.pipeline-step:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.step-assessor  { border-left: 4px solid #0ea5e9; }
.step-planner   { border-left: 4px solid #8b5cf6; }
.step-fetcher   { border-left: 4px solid #14b8a6; }
.step-exercise  { border-left: 4px solid #f59e0b; }
.step-evaluator { border-left: 4px solid #f43f5e; }
.step-tracker   { border-left: 4px solid #84cc16; }
.step-adapter   { border-left: 4px solid #64748b; }

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tier-tag {
  font-size: 0.7rem;
  font-weight: 600;
  background: #fff0eb;
  color: var(--orange);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  border: 1px solid #ffd0be;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.55;
}

.pipeline-arrow {
  font-size: 1.25rem;
  color: var(--border);
  padding: 0.25rem 0;
  user-select: none;
}

.loop-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(135deg, #f0fdf9, #fff);
  border: 1px solid #99f6e4;
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 680px;
  margin: 0 auto;
}

.loop-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.loop-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 0.4rem;
}

.loop-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.55;
}

/* PROSE PAGES (privacy, support, terms) */
.prose-page {
  padding: 80px 2rem;
  max-width: 760px;
  margin: 0 auto;
}

.prose-page h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.prose-page .updated {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.prose-page h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
}

.prose-page p, .prose-page li {
  color: #374151;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.prose-page ul, .prose-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose-page li {
  margin-bottom: 0.4rem;
}

.prose-page a {
  color: var(--orange);
}

.contact-box {
  background: var(--light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.contact-box p {
  margin: 0;
}

/* SUPPORT PAGE */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--gray);
  margin: 0;
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .btn-outline { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
