:root {
  --brand: #1a73e8;
  --brand-hover: #1557b0;
  --brand-light: #e8f0fe;
  --text: #1f1f1f;
  --text-secondary: #5f6368;
  --text-tertiary: #9aa0a6;
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f3f4;
  --border: #e8eaed;
  --border-light: #f1f3f4;
  --surface: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --font-sans: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --nav-height: 64px;
}

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

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

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

/* ---------- Navigation ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  transition: border-color 0.3s;
}

nav.scrolled {
  border-color: var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
}

.nav-logo img {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 450;
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--brand);
  color: #fff !important;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}

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

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,115,232,0.3);
}

.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 4px 16px rgba(26,115,232,0.4);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: #d2d5d9;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 24px;
}

.section-alt { background: var(--bg-secondary); }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 48px;
}

.section-sub.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title.centered { text-align: center; }
.section-label.centered { display: block; text-align: center; }

/* ---------- Problem section ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.problem-visual {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.problem-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26,115,232,0.06) 0%, transparent 70%);
  top: -80px;
  right: -80px;
}

.problem-quote {
  position: relative;
  z-index: 1;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  max-width: 400px;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.problem-item-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.problem-item h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.problem-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step {
  text-align: center;
  padding: 40px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s, transform 0.3s;
}

.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.feature-card {
  padding: 32px 28px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s, transform 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Experience / Visual ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-visual {
  background: linear-gradient(145deg, #f8f9fa, #e8f0fe);
  border-radius: var(--radius-xl);
  padding: 32px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.showcase-visual::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26,115,232,0.05) 0%, transparent 60%);
  bottom: -100px;
  left: -100px;
}

.showcase-card-mock {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.mock-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
}

.mock-header-name {
  font-size: 14px;
  font-weight: 500;
}

.mock-header-email {
  font-size: 11px;
  color: var(--text-secondary);
}

.mock-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: #f8f9fa;
  overflow-x: auto;
}

.mock-tab {
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.mock-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  background: #fff;
}

.mock-content {
  padding: 12px 16px;
}

.mock-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.mock-item:last-child { border-bottom: none; }

.mock-item-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.mock-item-sub {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.showcase-text h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
}

.showcase-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.showcase-text ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.showcase-text ul li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  padding: 40px 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-md);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--brand);
  color: #fff;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.pricing-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 40px;
}

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

.pricing-features li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 700;
}

.pricing-features li.muted {
  color: var(--text-tertiary);
}

.pricing-features li.muted::before {
  content: '—';
  color: var(--text-tertiary);
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.pricing-btn:hover {
  background: var(--bg-secondary);
}

.pricing-card.featured .pricing-btn {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.pricing-card.featured .pricing-btn:hover {
  background: var(--brand-hover);
}

/* ---------- CTA section ---------- */
.cta-section {
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--brand-light) 100%);
}

.cta-section h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question:hover { background: var(--bg-secondary); }

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-tertiary);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 18px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
footer {
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border-light);
  background: var(--bg);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-tertiary);
}

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

.footer-bottom-links a {
  color: var(--text-tertiary);
  text-decoration: none;
}

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

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: 120px 24px 48px;
  text-align: center;
  background: var(--bg-secondary);
}

.page-header h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 820px;
  margin: 0 auto;
}

.contact-card {
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  text-align: center;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.contact-card a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
}

.contact-card a:hover { text-decoration: underline; }

/* ---------- Privacy ---------- */
.privacy-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.privacy-content h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.privacy-content h3 {
  font-size: 17px;
  font-weight: 500;
  margin-top: 28px;
  margin-bottom: 10px;
}

.privacy-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.privacy-content ul {
  margin: 8px 0 16px 20px;
  color: var(--text-secondary);
}

.privacy-content ul li { margin-bottom: 6px; }
.privacy-content strong { color: var(--text); font-weight: 500; }
.privacy-content a { color: var(--brand); text-decoration: none; }
.privacy-content a:hover { text-decoration: underline; }

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}

.scope-item {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
}

.scope-item .scope-name {
  font-weight: 500;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.scope-item .scope-purpose {
  color: var(--text-secondary);
  font-size: 12px;
}

.effective-date {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 17px; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
  .section-title { font-size: 30px; }
  .section-sub { font-size: 16px; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .mobile-toggle { display: block; }

  .problem-grid,
  .showcase,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .footer-grid { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .section { padding: 64px 20px; }

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

  .page-header h1 { font-size: 30px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero { padding: 120px 16px 60px; }
  .btn { padding: 11px 22px; font-size: 14px; }
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
