:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #8b5cf6;
  --accent-glow: #6366f1;
  --accent-soft: rgba(139, 92, 246, 0.15);
  --border: #27272f;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
}

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

.section {
  padding: 80px 0;
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.logo img {
  width: 36px;
  height: 36px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  background: #7c3aed;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.5);
}

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

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
  opacity: 1;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 160px 0 80px;
  text-align: center;
}

@media (max-width: 640px) {
  .hero {
    padding: 120px 0 56px;
  }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-subhead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Demo Visual */
.demo-container {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 48px rgba(139, 92, 246, 0.1);
}

.demo-slot {
  display: block;
  width: 100%;
}

.demo-slot img,
.demo-slot video {
  display: block;
  width: 100%;
}

/* Demo Placeholder (shown until real screenshot/video is added) */
.demo-placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-placeholder-content {
  text-align: center;
}

.demo-placeholder-icon {
  width: 64px;
  height: 64px;
  color: var(--border);
  opacity: 0.6;
}

@media (max-width: 640px) {
  .demo-placeholder-icon {
    width: 48px;
    height: 48px;
  }
}

/* Benefits */
.benefits {
  background: var(--bg-secondary);
}

.benefits-grid {
  display: grid;
  gap: 48px;
}

.benefit {
  max-width: 640px;
}

.benefit-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 16px;
}

.benefit h3 {
  margin-bottom: 12px;
}

.benefit p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.benefit-honesty {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-style: normal;
}

/* Supporting Lines */
.supporting {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.supporting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.supporting-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.supporting-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
}

.supporting-item p {
  font-size: 1rem;
  color: var(--text-primary);
}

/* Pricing */
.pricing {
  text-align: center;
}

.pricing h2 {
  margin-bottom: 16px;
}

.pricing-subtitle {
  margin-bottom: 48px;
  font-size: 1.0625rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 40px;
}

.pricing-card .btn {
  width: 100%;
}

/* FAQ */
.faq {
  background: var(--bg-secondary);
}

.faq h2 {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.7;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.final-cta h2 {
  margin-bottom: 24px;
}

.final-cta p {
  font-size: 1.125rem;
  margin-bottom: 32px;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

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

.footer-logo span {
  font-weight: 600;
  color: var(--text-primary);
}

.footer-notarised {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-links {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

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

/* Thanks Page */
.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
}

.thanks-card {
  max-width: 520px;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-icon svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.thanks-card h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.thanks-card .lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.thanks-download {
  margin-bottom: 32px;
}

.thanks-download .btn {
  font-size: 1.0625rem;
}

.thanks-info {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}

.thanks-info h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.thanks-info ul {
  list-style: none;
}

.thanks-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.thanks-info li:last-child {
  margin-bottom: 0;
}

.thanks-info li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .supporting-grid {
    grid-template-columns: 1fr;
  }
  
  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .final-cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}
