:root {
  --bg-primary: #fcfdfa;
  --bg-surface: #ffffff;
  --bg-subtle: #f4f6f3;
  --text-main: #14241d;
  --text-muted: #2c4035;
  --text-dim: #52665a;
  --brand-green: #1f513f;
  --brand-green-hover: #163c2e;
  --brand-light: #e8f0eb;
  --accent-soft: #d3e4d9;
  --border: #d4ded7;
  --border-focus: #1f513f;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(20, 36, 29, 0.04);
  --shadow-md: 0 6px 18px rgba(20, 36, 29, 0.06);
  --shadow-lg: 0 12px 32px rgba(20, 36, 29, 0.08);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.62;
  font-size: 16px;
  font-weight: 420;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* SVG Icon Helper */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background-color: var(--brand-green);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--brand-green-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--brand-light);
  color: var(--brand-green);
}

.btn-secondary:hover {
  background-color: #dbe8df;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: #cbd7cf;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(252, 253, 250, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 13px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.brand-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 550;
  transition: color 0.18s ease;
}

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

.nav-actions {
  display: flex;
  gap: 10px;
}

/* Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  background-color: var(--brand-light);
  color: var(--brand-green);
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 18px;
}

/* Hero Section */
.hero-section {
  padding: 58px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 46px;
  align-items: center;
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.18;
  font-weight: 750;
  margin-bottom: 18px;
  color: var(--text-main);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.62;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-subtext {
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* Device Card Mockup */
.device-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.device-header {
  background: var(--bg-subtle);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #e06b63; }
.dot-yellow { background: #e8c587; }
.dot-green { background: #6aa68d; }

.device-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 6px;
}

.device-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-notification {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  background: var(--brand-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.mock-notification .notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-surface);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-notification strong {
  color: var(--text-main);
}

.mock-notification p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.mock-card {
  background: #fbfdfc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.mock-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mock-pill {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mock-pill.green {
  background: #e2f2e7;
  color: #196b34;
}

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

.mock-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.48;
}

.mock-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-item {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.stat-val {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--brand-green);
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 550;
}

/* Sections Common - Compacted Vertical Rhythm */
section {
  padding: 62px 0;
}

.section-title {
  font-size: 2.15rem;
  line-height: 1.24;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Alternating Background for Section Rhythm */
.section-alt {
  background-color: var(--bg-subtle);
}

/* Practice Friction Diagnosis Panel (Replaces generic 3-card pattern) */
.diagnosis-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.diagnosis-header {
  padding: 16px 26px;
  background: #f7faf8;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.diagnosis-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-green);
}

.diagnosis-stat {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.diagnosis-col {
  padding: 30px 26px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.diagnosis-col:last-child {
  border-right: none;
}

.diagnosis-col.highlighted {
  background-color: #fafcfb;
}

.col-index {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-green);
  margin-bottom: 12px;
}

.col-title {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-main);
  font-weight: 700;
}

.col-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.col-impact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.impact-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  flex-shrink: 0;
}

/* Features Split Showcase (Tightened spacing) */
.showcase-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 38px;
}

.showcase-row.reversed {
  grid-template-columns: 0.95fr 1.05fr;
}

.showcase-row.reversed .showcase-text {
  order: 2;
}

.showcase-row.reversed .showcase-panel {
  order: 1;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-green);
  margin-bottom: 10px;
}

.showcase-title {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.showcase-desc {
  font-size: 1.04rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

.showcase-list .check-icon {
  color: var(--brand-green);
  margin-top: 2px;
}

.showcase-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

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

.pill-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.pill-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.pill-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.52;
}

/* Security Section */
.security-card {
  background: #1a382c;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}

.badge-pill.light {
  background: rgba(255, 255, 255, 0.12);
  color: #d8f5e3;
}

.security-title {
  color: #ffffff;
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.security-desc {
  font-size: 1.08rem;
  color: #d6e4dc;
  margin-bottom: 28px;
  max-width: 750px;
  line-height: 1.62;
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  color: #edf5f0;
  line-height: 1.55;
}

.security-list .sec-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #a7dfbf;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--brand-green);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.pricing-header {
  margin-bottom: 22px;
}

.pricing-tier-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.tier-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-subtle);
  color: var(--text-main);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

.tier-badge.pro {
  background: var(--brand-light);
  color: var(--brand-green);
}

.tier-accent-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand-green);
}

.tier-price {
  font-size: 2.5rem;
  font-weight: 750;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.tier-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: normal;
}

.tier-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

/* FAQ Accordion with disciplined custom chevron */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-size: 1.06rem;
  font-weight: 650;
  cursor: pointer;
  outline: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

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

.faq-item summary::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--brand-green);
}

.faq-answer {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* CTA Footer Section */
.cta-section {
  background: var(--brand-light);
  padding: 64px 0;
}

.cta-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-right {
  display: flex;
  gap: 12px;
}

.footer-right a {
  color: var(--brand-green);
  text-decoration: none;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .diagnosis-grid {
    grid-template-columns: 1fr;
  }
  .diagnosis-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .diagnosis-col:last-child {
    border-bottom: none;
  }
  .pricing-grid, .showcase-row, .showcase-row.reversed, .features-pill-grid {
    grid-template-columns: 1fr;
  }
  .showcase-row.reversed .showcase-text {
    order: 1;
  }
  .showcase-row.reversed .showcase-panel {
    order: 2;
  }
  .nav-links {
    display: none;
  }
  .footer-content {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}
