@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

:root {
  color-scheme: light;
  
  /* Modern Palette */
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #d1fae5;
  --secondary: #0f172a;
  --accent: #f59e0b;
  
  --bg-main: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #1e293b;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #ffffff;
  
  --border: #e2e8f0;
  --border-soft: #f1f5f9;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-up {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade {
  animation: fadeIn 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--secondary);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.header-action {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.header-action:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.23);
}

/* Hero Section */
.hero-section {
  padding-top: 180px;
  padding-bottom: 120px;
  background: radial-gradient(circle at top right, var(--primary-light), transparent),
              radial-gradient(circle at bottom left, #fef3c7, transparent);
  overflow: hidden;
  position: relative;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2v-4h4v-2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
  color: var(--secondary);
}

.ai-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  color: white;
  margin-bottom: 32px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.08);
}

.ai-banner .status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.ai-banner .pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.ai-banner .pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--primary);
  border-radius: 50%;
  animation: status-pulse 2s infinite ease-out;
}

@keyframes status-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.5); opacity: 0; }
}

.ai-banner p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.ai-banner .banner-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.ai-banner strong {
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  display: block;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.primary-button {
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.primary-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.2);
}

.secondary-button {
  background: white;
  color: var(--secondary);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.secondary-button:hover {
  background: var(--bg-soft);
  border-color: var(--text-muted);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 2rem;
  color: var(--secondary);
}

.hero-stats span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Experience Panel (Visual) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.experience-panel {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-soft);
  position: relative;
  z-index: 2;
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.experience-header img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.experience-header strong {
  display: block;
  font-size: 1.25rem;
}

.experience-header span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.qr-strip {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  border: 1px dashed var(--primary);
}

.qr-strip img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
}

.qr-strip strong {
  display: block;
  margin-bottom: 4px;
}

.qr-strip span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.path-card {
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.path-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.path-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.path-card ol {
  padding-left: 20px;
}

.path-card li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.trust-note {
  margin-top: 24px;
  padding: 12px 16px;
  background: #fffbeb;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: flex;
  gap: 8px;
  border: 1px solid #fde68a;
}

.trust-note strong {
  color: #92400e;
}

/* Floating Elements Decoration */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary);
  filter: blur(80px);
  opacity: 0.1;
  top: -50px;
  right: -50px;
  z-index: 1;
}

/* Problem Band */
.problem-band {
  background: var(--bg-dark);
  color: white;
}

.problem-band h2 {
  color: white;
}

.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problem-grid article {
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.problem-grid article:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  border-color: var(--primary);
}

.problem-grid span {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.5;
  display: block;
  margin-bottom: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.problem-grid h3 {
  color: white;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.problem-grid p {
  color: rgba(255, 255, 255, 0.7);
}

/* Features Section */
.features-section {
  background: var(--bg-soft);
}

.answer-output {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
}

.output-card, .trust-card {
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.output-card {
  background: white;
}

.output-card h3 {
  font-size: 2rem;
  margin-bottom: 32px;
}

.output-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.output-card li {
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  font-size: 1rem;
}

.trust-card {
  background: var(--bg-dark);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-card h3 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.trust-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.score-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.score-box strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.score-box div {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.score-box span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  width: 92%;
  box-shadow: 0 0 20px var(--primary);
}

/* Pricing Section */
.pricing-section .container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.pricing-copy h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 24px;
}

.pricing-copy p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.comparison-table {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  -webkit-overflow-scrolling: touch;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
  min-width: 600px;
}

.table-head {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--secondary);
}

.table-row.preferred {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 1px solid var(--primary);
}

.table-row:last-child {
  border-bottom: none;
}

/* Workflow Section */
.workflow-section {
  background: var(--bg-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.steps article {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
}

.steps article:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.steps span {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 24px;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2);
}

/* FAQ Section */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

.faq-list details {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.faq-list details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-list summary {
  padding: 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.faq-list summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-list details[open] summary::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-list p {
  padding: 0 24px 24px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: white;
  padding: 60px 0;
}

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

.site-footer .brand {
  color: white;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-section .container,
  .pricing-section .container,
  .answer-output {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .hero-copy {
    text-align: center;
  }
  
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .problem-grid, .steps, .faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .site-header .header-action {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .primary-button, .secondary-button {
    width: 100%;
    text-align: center;
  }
  
  .section-heading {
    margin-bottom: 40px;
  }
  
  .problem-grid article, .steps article {
    padding: 32px 24px;
  }
  
  .output-card ul {
    grid-template-columns: 1fr;
  }
  
  .output-card, .trust-card {
    padding: 32px 24px;
  }
  
  .comparison-table {
    font-size: 0.9rem;
    border-radius: 0;
    margin: 0 -24px;
    border-left: none;
    border-right: none;
  }
  
  .table-row {
    padding: 16px 24px;
    gap: 12px;
  }
  
  .site-footer .container {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .site-footer p {
    text-align: center;
  }
}
