/* Modern SaaS Landing Page CSS */
:root {
  --primary: #1f3f72;
  --primary-hover: #162e55;
  --secondary: #6b7280;
  --success: #16a34a;
  --warning: #d97706;
  --error: #dc2626;
  --white: #ffffff;
  --bg: #f5f5f7;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --border: #e5e7eb;
  --border-radius: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hidden {
  display: none !important;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: 0.2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}
.btn-cta-gradient {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.95rem 2.6rem;
  box-shadow: 0 18px 35px rgba(79, 70, 229, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-cta-gradient:hover {
  background: linear-gradient(135deg, #1d4ed8, #5b21b6);
  box-shadow: 0 24px 45px rgba(79, 70, 229, 0.3);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-cta-gradient:active {
  transform: translateY(0);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.26);
  filter: none;
}

.btn-outline {
  background: transparent;
  color: var(--gray-900);
  border: 1px solid var(--border);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-demo {
  margin-bottom: 3rem;
}

.demo-input {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.demo-input input {
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--gray-300);
  border-right: none;
  outline: none;
  font-size: 1rem;
}

.demo-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.demo-btn:hover {
  background: var(--primary-hover);
}

.hero-cta {
  margin-top: 2rem;
}

.trial-text {
  margin-top: 1rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Sample Preview */
.sample-preview {
  padding: 5rem 0;
  background: var(--white);
}

.sample-preview h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3rem;
}

.report-samples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.sample-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

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

.sample-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.sample-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
}

.sample-time {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.sample-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 1rem 0 0.5rem 0;
}

.sample-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.sample-content ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.sample-content li {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
  font-size: 0.9rem;
}

.sample-content li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
}

.sample-btn {
  background: var(--gray-100);
  color: var(--gray-700);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  width: 100%;
}

.sample-btn:hover {
  background: var(--gray-200);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: var(--gray-50);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature {
  text-align: center;
  padding: 2rem 1rem;
}

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

.feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.feature p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
  background: var(--white);
  text-align: center;
}

.pricing h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3rem;
}

.pricing-card {
  max-width: 400px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
}

.price-interval {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-600);
}

.price-note {
  font-size: 0.95rem;
  color: var(--gray-600);
}


.pricing-features ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  font-weight: 500;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-note {
  margin-top: 1rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.hidden {
  display: none !important;
}

.modal-content {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: color 0.2s;
}

.close:hover {
  color: var(--gray-800);
}

.auth-form h2 {
  text-align: center;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.signup-subtitle {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.auth-form input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-form button {
  width: 100%;
  margin-bottom: 1rem;
}

.auth-form p {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.auth-form a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-form a:hover {
  text-decoration: underline;
}

.auth-form.hidden {
  display: none !important;
}

.error-message {
  background: #fef2f2;
  color: var(--error);
  padding: 0.75rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
  font-size: 0.9rem;
  border: 1px solid #fecaca;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 2rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section p {
  color: var(--gray-300);
  line-height: 1.6;
}

.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Dashboard Styles */
.dashboard-body {
  background: var(--gray-50);
  min-height: 100vh;
}

.dashboard-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dashboard-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: grid;
  gap: 1.5rem;
}

/* Status Card */
.status-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.status-badge.trial {
  background: var(--warning);
  color: var(--white);
}

.status-badge.active {
  background: var(--success);
  color: var(--white);
}

.status-badge[data-enhanced="pro"] {
  background: #ff7072;
  color: #0f1117;
}

.status-badge[data-enhanced="pro_plus"] {
  background: #ffd166;
  color: #0f1117;
}

.status-badge.inactive {
  background: var(--error);
  color: var(--white);
}

/* Usage Card */
/* Generator Card */
.generator-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.report-form {
  display: grid;
  gap: 1.5rem;
}

.input-group input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.report-type-selection h4 {
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.type-options {
  display: grid;
  gap: 1rem;
}

.type-option {
  display: block;
  cursor: pointer;
}

.type-option input[type="radio"] {
  display: none;
}

.type-content {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.type-option input[type="radio"]:checked + .type-content {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.type-title {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.type-desc {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Report Output */
.report-output {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.report-output.hidden {
  display: none !important;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.report-actions {
  display: flex;
  gap: 1rem;
}

.report-content {
  line-height: 1.8;
  color: var(--gray-800);
}

.report-content h1,
.report-content h2,
.report-content h3 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.report-content h1 .heading-anchor,
.report-content h2 .heading-anchor,
.report-content h3 .heading-anchor {
  margin-left: 8px;
  opacity: 0;
  color: var(--gray-500);
  text-decoration: none;
  transition: opacity .15s ease, color .15s ease;
}
.report-content h1:hover .heading-anchor,
.report-content h2:hover .heading-anchor,
.report-content h3:hover .heading-anchor { opacity: .8; }
.report-content .heading-anchor:hover { color: var(--gray-700); }

.report-content h1 {
  font-size: 1.75rem;
}

.report-content h2 {
  font-size: 1.5rem;
}

.report-content h3 {
  font-size: 1.25rem;
}

.report-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.report-content li {
  margin-bottom: 0.5rem;
}

/* Markdown-rendered content polish */
.report-content p { margin: 0 0 1rem 0; }
.report-content a { color: var(--primary); text-decoration: underline; }
.report-content a:hover { color: var(--primary-hover); }
.report-content pre {
  background: #0f172a;
  color: #e5e7eb;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  overflow-x: auto;
  line-height: 1.5;
}
.report-content code {
  background: #f3f4f6;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}
.report-content pre code { background: transparent; padding: 0; }
.report-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.report-content table thead th {
  text-align: left;
  font-weight: 600;
  color: var(--gray-900);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0.75rem;
}
.report-content table tbody td {
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  vertical-align: top;
}
.report-content table tbody tr:nth-child(odd) { background: #fafafa; }
.report-content hr { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* Table of contents card */
.toc-nav {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.75rem;
  background: var(--card);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.toc-nav h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  color: var(--gray-900);
  letter-spacing: .2px;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem;
  display: block;
}
.toc-list li { line-height: 1.35; }
.toc-item {
  position: relative;
  display: block;
  padding: 6px 10px 6px 26px;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.95rem;
  border-left: 2px solid transparent;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease, border-color .15s ease, padding .15s ease;
}
.toc-item:hover { color: var(--gray-900); text-decoration: underline; }
.toc-item.active { color: var(--primary); font-weight: 600; background: rgba(42,91,215,0.06); border-left-color: var(--primary); }
.toc-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1; /* gray-300 */
  transform: translateY(-50%);
}
.toc-item.active::before { background: var(--primary); }
.toc-depth-2 .toc-item { padding-left: 32px; }
.toc-depth-3 .toc-item { padding-left: 44px; }
.toc-depth-4 .toc-item { padding-left: 56px; }
.toc-depth-5 .toc-item { padding-left: 68px; }
.toc-depth-6 .toc-item { padding-left: 80px; }

/* Improve jump target spacing when using anchors */
.report-content h1,
.report-content h2,
.report-content h3,
.report-content h4,
.report-content h5,
.report-content h6 { scroll-margin-top: 84px; }

/* Premium Full Analysis Report */
.full-analysis-report {
  display: flex;
  gap: 2rem;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.full-analysis-report.hidden {
  display: none !important;
}

/* Report Sidebar */
.report-sidebar {
  width: 280px;
  background: var(--gray-50);
  padding: 2rem;
  border-right: 1px solid var(--gray-200);
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.report-navigation h4 {
  margin-bottom: 1rem;
  color: var(--gray-900);
  font-size: 1.1rem;
}

.nav-sections {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.nav-sections li {
  margin-bottom: 0.5rem;
}

.nav-sections .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.nav-sections .nav-link:hover {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-sections .nav-link.active {
  background: var(--primary);
  color: var(--white);
}

/* Reading Progress */
.reading-progress {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.progress-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.progress-bar-mini {
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill-mini {
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
  width: 0%;
}

.progress-text {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: center;
}

/* Report Main Content */
.report-main {
  flex: 1;
  padding: 2rem;
  max-width: calc(100% - 280px);
}

.report-main .report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray-200);
}

.report-main .report-header h2 {
  color: var(--gray-900);
  font-size: 2rem;
  margin: 0;
}

/* Report Sections */
.report-section {
  margin-bottom: 3rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.report-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.section-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-header h3 {
  flex: 1;
  margin: 0;
  font-size: 1.25rem;
  color: var(--gray-900);
}

.section-status {
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.section-status:contains("Processing") {
  background: var(--yellow-100);
  color: var(--yellow-700);
}

.section-status:contains("Pending") {
  background: var(--gray-100);
  color: var(--gray-600);
}

.section-status:contains("Complete") {
  background: var(--green-100);
  color: var(--green-700);
}

.section-content {
  padding: 2rem;
  line-height: 1.7;
  color: var(--gray-800);
}

/* Executive Dashboard */
.executive-dashboard {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  color: var(--white);
  border: none;
}

.executive-dashboard .section-header {
  background: rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.executive-dashboard .section-icon {
  background: var(--white);
  color: var(--primary);
}

.executive-dashboard .section-header h3 {
  color: var(--white);
}

.executive-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  padding: 2rem;
}

.overall-score-card {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.score-display {
  margin-bottom: 1rem;
}

.score-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.score-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.score-recommendation {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
}

.key-insights h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.insights-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.insight-item {
  padding: 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .full-analysis-report {
    flex-direction: column;
  }
  
  .report-sidebar {
    width: 100%;
    position: static;
  }
  
  .report-main {
    max-width: 100%;
    padding: 1.5rem;
  }
  
  .executive-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Market Data Box */
.market-data-box {
  background: var(--white);
  color: var(--gray-800);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.market-data-box.hidden {
  display: none !important;
}

.market-data-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.market-data-title-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.coin-image {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.market-data-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.market-data-timestamp {
  font-size: 0.875rem;
  opacity: 0.9;
}

.market-data-attribution {
  text-align: center;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.market-data-attribution small {
  font-size: 0.75rem;
  opacity: 0.8;
  color: var(--gray-600);
}

.market-data-attribution a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s;
}

.market-data-attribution a:hover {
  color: var(--primary-hover);
}

.market-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
}

.market-metric {
  background: var(--white);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--border);
}

.metric-label {
  display: block;
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.metric-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
}

.metric-value.positive {
  color: #10b981;
}

.metric-value.negative {
  color: #ef4444;
}

/* Responsive adjustments for market data */
@media (max-width: 768px) {
  .market-data-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .market-data-box {
    padding: 1.5rem;
  }
  
  .market-data-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Project Description Box */
.project-description-box {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.project-description-box.hidden {
  display: none !important;
}

.project-description-header {
  margin-bottom: 1.5rem;
}

.project-description-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
}

.project-description-content {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
}

.project-description-content p {
  margin: 0;
}

/* Risk Assessment Box */
.risk-assessment-box {
  background: var(--white);
  color: var(--gray-800);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.risk-assessment-box.hidden {
  display: none !important;
}

.risk-assessment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.risk-assessment-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.overall-score {
  text-align: right;
}

.score-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.score-label {
  display: block;
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Risk Details Panel */
.risk-details-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  margin-top: 1.5rem;
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transition: all 0.3s ease;
}

.risk-details-panel:not(.hidden) {
  opacity: 1;
  max-height: 600px; /* Increased from 400px to accommodate longer AI-generated content */
}

.risk-details-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-200);
}

.risk-details-icon {
  font-size: 1.5rem;
}

.risk-details-header h4 {
  margin: 0;
  color: var(--gray-900);
  font-size: 1.1rem;
  font-weight: 600;
}

.risk-details-content {
  padding: 2rem;
  line-height: 1.6;
  color: var(--gray-900); /* Dark gray for good visibility on white background */
  background: var(--white);
}

.details-prompt {
  text-align: center;
  color: var(--gray-500);
  font-style: italic;
  margin: 0;
}

.risk-details-content h5 {
  color: var(--gray-900);
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.risk-details-content ul {
  margin: 0;
  padding-left: 1.5rem;
}

.risk-details-content li {
  margin-bottom: 0.5rem;
}

/* Active risk metric highlight */
.risk-metric.active {
  background: rgba(37, 99, 235, 0.1);
  border: 2px solid var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.risk-metric {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.risk-metric.clickable {
  cursor: pointer;
}

.risk-metric.clickable::after {
  content: '▼';
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  pointer-events: none;
}

.risk-metric.clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.risk-metric.clickable:active {
  transform: translateY(0px);
  transition: all 0.1s ease;
}

.risk-metric.clickable:hover::after {
  color: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}

/* Removed expanded state - now using modal instead */

.risk-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}
.risk-indicator.green { background: var(--success); }
.risk-indicator.orange { background: var(--warning); }
.risk-indicator.red { background: var(--error); }

/* Sleek affordance icon on risk tiles */
.risk-affordance {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280; /* muted */
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(-2px) scale(0.96);
  transition: opacity .2s ease, transform .2s ease, color .2s ease, border-color .2s ease;
  pointer-events: none; /* whole tile is clickable */
}
.risk-metric.clickable:hover .risk-affordance,
.risk-metric.clickable:focus-within .risk-affordance { opacity: .9; transform: translateY(0) scale(1); }
@media (hover: none) { .risk-affordance { opacity: .75; } }

.risk-label {
  display: block;
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.risk-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

/* Risk details now handled by modal */

.details-content {
  opacity: 0.9;
}

/* Minimalist overrides: tone down hover arrows and accents */
.risk-assessment-box .risk-metric.clickable::after { content: '' !important; }
.risk-assessment-box .risk-metric.clickable:hover { transform: translateY(-1px); box-shadow: var(--shadow); background: var(--white); border-color: #d1d5db; }
.risk-assessment-box .risk-metric.clickable:hover::after { content: '' !important; }

.recommendation-banner {
  background: var(--white);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--border);
}

.recommendation-text {
  font-size: 1.1rem;
  font-weight: 600;
}

.recommendation-banner.avoid { background: var(--white); }

.recommendation-banner.caution { background: var(--white); }

.recommendation-banner.research { background: var(--white); }

.recommendation-banner.promising { background: var(--white); }

/* Risk Details Modal */
.risk-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.risk-modal.hidden {
  display: none !important;
}

.risk-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.risk-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  padding: 0;
  max-width: 520px;
  width: 92%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--gray-800);
  border: 1px solid var(--border);
  animation: modalSlideIn 0.3s ease-out;
}

.risk-modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.risk-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  flex: 1;
  text-align: center;
}

.risk-modal-nav {
  background: none;
  border: 1px solid var(--border);
  color: var(--gray-800);
  cursor: pointer;
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  opacity: 0.9;
}

.risk-modal-nav:hover { background: #f9fafb; }

.risk-modal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.risk-modal-nav:disabled:hover {
  background: none;
}

.risk-modal-close {
  background: none;
  border: 1px solid var(--border);
  color: var(--gray-800);
  cursor: pointer;
  padding: 0.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.risk-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.risk-modal-body {
  padding: 1.5rem;
}

.risk-modal-score {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.risk-modal-indicator {
  font-size: 1.5rem;
}

.risk-modal-value {
  font-size: 1.1rem;
  font-weight: 600;
  flex: 1;
}

.risk-modal-details {
  line-height: 1.6;
}

.risk-modal-details .details-content {
  font-size: 0.95rem;
  opacity: 0.95;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive adjustments for risk assessment */
@media (max-width: 768px) {
  .risk-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .project-description-box {
    padding: 1.5rem;
  }
  
  .risk-assessment-box {
    padding: 1.2rem;
  }
  
  .risk-metric {
    padding: 0.8rem;
  }
  
  .risk-metric.clickable::after {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.7rem;
  }
  
  .risk-assessment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .overall-score {
    text-align: left;
  }
  
  .risk-metric.expanded {
    grid-column: span 2;
  }
}

/* Generating Notice */
.generating-notice {
  text-align: center;
  padding: 2rem;
  color: var(--gray-600);
  font-style: italic;
  border: 2px dashed var(--gray-200);
  border-radius: 8px;
  margin: 1rem 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Loading State */
.loading-state {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.loading-state.hidden {
  display: none !important;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--gray-200);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-progress {
  max-width: 300px;
  margin: 2rem auto 0 auto;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.3s;
  width: 0%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .report-samples {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .nav-container {
    padding: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .demo-input {
    flex-direction: column;
  }
  
  .demo-input input {
    border-right: 1px solid var(--gray-300);
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .modal-content {
    padding: 2rem 1.5rem;
  }
}

/* Account Page Styles */
/* Account page nav link (on dark background) */
.dashboard-body .nav-link {
  color: var(--white);
  text-decoration: none;
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.dashboard-body .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Dashboard nav link (on white background) */
.dashboard-nav .nav-link {
  color: var(--gray-700);
  text-decoration: none;
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--gray-300);
  transition: all 0.2s;
}

.dashboard-nav .nav-link:hover {
  background-color: var(--gray-50);
  color: var(--primary);
  border-color: var(--primary);
}

.page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.page-header h1 {
  margin: 0 0 0.5rem 0;
  color: var(--gray-900);
  font-size: 2rem;
  font-weight: 700;
}

.page-header p {
  margin: 0;
  color: var(--gray-600);
  font-size: 1.1rem;
}

.account-info-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.account-header {
  margin-bottom: 1.5rem;
}

.account-header h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: 1.25rem;
  font-weight: 600;
}

.account-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.info-label {
  font-weight: 500;
  color: var(--gray-700);
}

.info-value {
  color: var(--gray-900);
  font-weight: 500;
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  .account-info-card {
    padding: 1.5rem;
  }
  
  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}
/* Landing Page Refresh */
body.landing {
  background: #f5f6f7;
  color: #151821;
}

body.landing .navbar {
  background: rgba(250, 251, 252, 0.9);
  border-bottom: 1px solid rgba(28, 33, 45, 0.08);
  backdrop-filter: blur(12px);
}

body.landing .nav-brand {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: #111319;
}

body.landing .nav-links {
  gap: 1.5rem;
}

body.landing .nav-links a {
  color: rgba(17, 19, 25, 0.72);
}

.btn-ghost {
  background: transparent;
  color: rgba(17, 19, 25, 0.7);
  border: none;
  padding: 0.75rem 1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.btn-ghost:hover {
  color: #1f3f72;
}

body.landing .hero {
  padding: clamp(4rem, 12vh, 10rem) 0;
}

body.landing .hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(2rem, 3vw, 3rem);
  max-width: 840px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: rgba(17, 19, 25, 0.55);
  margin-bottom: 1.5rem;
}

body.landing .hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.1;
  color: #0f1117;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  max-width: 36rem;
  font-size: 1.1rem;
  color: rgba(17, 19, 25, 0.72);
  margin-bottom: 2.5rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-large {
  padding: 1rem 1.75rem;
  font-size: 1rem;
  border-radius: 999px;
}

.hero__meta {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.hero__meta .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #1f3f72;
  margin-right: 10px;
  vertical-align: middle;
}

.hero__panel {
  display: flex;
  justify-content: center;
}

.panel-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  width: min(420px, 100%);
  box-shadow: 0 32px 80px rgba(15, 17, 23, 0.12);
  border: 1px solid rgba(17, 19, 25, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.panel-card .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  color: rgba(17, 19, 25, 0.6);
}

.panel-card .badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(31, 63, 114, 0.08);
  color: #1f3f72;
}

.panel-coins {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.panel-row {
  display: flex;
  gap: 1rem;
}

.panel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(31, 63, 114, 0.08);
}

.panel-card h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.05rem;
  color: #0f1117;
}

.panel-card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(17, 19, 25, 0.62);
}

.panel-card footer {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22rem;
  color: rgba(17, 19, 25, 0.6);
}

.metrics {
  padding: clamp(4rem, 10vh, 6rem) 0;
}

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

.metric-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 24px 60px rgba(15, 17, 23, 0.08);
  border: 1px solid rgba(17, 19, 25, 0.06);
  display: grid;
  gap: 1rem;
}

.metric-card .icon {
  width: 28px;
  height: 28px;
  color: #1f3f72;
}

.metric-card h3 {
  font-size: 1.35rem;
  color: #0f1117;
}

.metric-card p {
  color: rgba(17, 19, 25, 0.68);
}

.capabilities {
  padding: clamp(4rem, 10vh, 7rem) 0;
}

.capabilities__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
  align-items: start;
}

.capabilities__copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin: 1rem 0 1.5rem;
}

.capabilities__copy p {
  color: rgba(17, 19, 25, 0.68);
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  padding: 0;
}

.feature-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.25rem;
}

.feature-list h3 {
  margin: 0 0 0.25rem 0;
}

.feature-list p {
  margin: 0;
  color: rgba(17, 19, 25, 0.62);
}

.capabilities__demo .demo-card {
  background: #0f1117;
  color: #f5f6f7;
  border-radius: 24px;
  padding: 2.5rem;
  display: grid;
  gap: 1.75rem;
  box-shadow: 0 28px 80px rgba(15,17,23,0.35);
}

.demo-card h3 {
  color: #f5f6f7;
  margin-bottom: 0.5rem;
}

.demo-card p {
  color: rgba(245, 246, 247, 0.72);
  margin: 0;
}

.demo-card ol {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.demo-card ol li {
  position: relative;
  padding-left: 1.75rem;
  color: rgba(245, 246, 247, 0.82);
}

.demo-card ol li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5a79ff;
}

.btn-full {
  width: 100%;
}

.small-print {
  font-size: 0.85rem;
  color: rgba(245, 246, 247, 0.6);
}

.process {
  padding: clamp(4rem, 10vh, 7rem) 0;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
}

.process__copy h2 {
  margin: 1rem 0 1.5rem;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.process__copy p {
  color: rgba(17, 19, 25, 0.68);
}

.process__steps {
  display: grid;
  gap: 1.75rem;
}

.step {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid rgba(17, 19, 25, 0.08);
  box-shadow: 0 16px 50px rgba(15,17,23,0.08);
}

.step header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.step-number {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  color: rgba(17, 19, 25, 0.5);
}

.step h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #0f1117;
}

.step p {
  margin: 0;
  color: rgba(17, 19, 25, 0.68);
}

.pricing {
  padding: clamp(4rem, 10vh, 7rem) 0;
}

.pricing__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.pricing__header h2 {
  margin: 1rem 0;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
}

.pricing__header p {
  color: rgba(17, 19, 25, 0.68);
}

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

.pricing-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(17, 19, 25, 0.08);
  box-shadow: 0 24px 60px rgba(15,17,23,0.08);
  display: grid;
  gap: 1.75rem;
}

.pricing-card header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.price {
  font-size: 2.2rem;
  font-weight: 600;
  color: #0f1117;
}

.price span {
  font-size: 1rem;
  color: rgba(17,19,25,0.6);
  margin-left: 0.3rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
  color: rgba(17, 19, 25, 0.68);
}

.pricing-card--highlight {
  background: #0f1117;
  color: #f5f6f7;
  border: none;
  box-shadow: 0 30px 80px rgba(15,17,23,0.3);
}

.pricing-card--highlight .price span,
.pricing-card--highlight ul {
  color: rgba(245, 246, 247, 0.72);
}

body.landing .footer {
  background: #0f1117;
  color: rgba(245, 246, 247, 0.8);
  padding: 3rem 0 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer__inner h4 {
  color: #f5f6f7;
  margin-bottom: 0.75rem;
}

.footer__links {
  display: grid;
  gap: 0.6rem;
}

.footer__links a {
  color: rgba(245, 246, 247, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #ffffff;
}

.footer__note {
  font-size: 0.85rem;
  color: rgba(245, 246, 247, 0.6);
}

@media (max-width: 768px) {
  body.landing .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .panel-card {
    padding: 1.75rem;
  }

  .capabilities__demo .demo-card {
    padding: 2rem;
  }

  .pricing-card {
    padding: 2rem;
  }
}


.fresh-toggle {
  margin: 16px 0;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}

.fresh-toggle-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #1f2937;
}

.fresh-toggle-option input {
  width: 18px;
  height: 18px;
}

.fresh-toggle-help {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

.plans-card {
  margin-top: 32px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.plans-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.plans-header h3 {
  margin: 0;
}

.plans-header p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

.plans-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.billing-interval-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin: 20px 0;
  background: var(--gray-50);
  border-radius: 999px;
  flex-wrap: wrap;
  justify-content: center;
}

.billing-interval-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--gray-700);
}

.billing-interval-option input {
  accent-color: var(--primary);
  margin: 0;
}

.paywall-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.plan-option {
  position: relative;
  flex: 1 1 260px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--gray-50);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.plan-option:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(31, 63, 114, 0.12);
}

.plan-option.selected {
  border-color: var(--primary);
  background: #eef2ff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
}

.plan-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-option-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-option-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.plan-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-900);
}

.plan-price-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 20px;
  color: var(--gray-700);
}

.plan-price-amount {
  font-weight: 700;
  font-size: 24px;
  color: var(--gray-700);
}

.plan-price-interval {
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-600);
}

.plan-price--secondary {
  font-size: 16px;
  color: var(--gray-600);
}

.plan-price--secondary .plan-price-amount {
  font-size: 20px;
  color: inherit;
}

.plan-price.is-active .plan-price-amount {
  color: var(--primary);
}

.plan-price:not(.is-active) .plan-price-amount {
  color: var(--gray-600);
}

.plan-price:not(.is-active) .plan-price-interval {
  color: var(--gray-500);
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--gray-600);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--gray-500);
}

.plans-card .btn-full {
  margin-top: 20px;
}

.pricing__note {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
}

.membership-card .membership-content {
  gap: 1.5rem;
}

.membership-card .info-row {
  border-bottom: none;
  padding-bottom: 0.5rem;
}

.membership-card .membership-action {
  align-self: stretch;
}

.membership-card .plan-usage {
  margin-top: 0;
}

.plan-usage {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px solid var(--border);
}

.plan-usage-heading {
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.plan-usage-details {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--gray-600);
}

.plan-usage-count {
  font-weight: 700;
  font-size: 16px;
  color: var(--gray-900);
}

.plan-usage-reset {
  font-size: 12px;
  color: var(--gray-500);
}

.status-content .demo-chip-grid + .demo-chip-grid 
{
  margin-top: 22px;
}

.demo-chip-grid {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-banner-heading {
  margin: 10px 0 18px;
  font-size: clamp(1.1rem, 2.3vw, 1.5rem);
  font-weight: 700;
  color: #1d4ed8;
  line-height: 1.2;
}

.demo-subscribe-cta {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.btn-subscribe {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0.95rem 2.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 18px 35px rgba(79, 70, 229, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 45px rgba(79, 70, 229, 0.3);
  filter: brightness(1.05);
}

.btn-subscribe:active {
  transform: translateY(0);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.26);
}

.btn-subscribe-label {
  font-size: 1.05rem;
}

.btn-subscribe-subtext {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.03em;
}

@media (max-width: 640px) {
  .btn-subscribe {
    width: 100%;
  }
}


.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.demo-chip:hover,
.demo-chip:focus {
  border-color: rgba(37, 99, 235, 0.65);
  background: rgba(37, 99, 235, 0.14);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.18);
  transform: translateY(-1px);
}

.demo-chip:focus {
  outline: none;
}

.demo-chip--free {
  border: none;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(79, 70, 229, 0.25);
}

.demo-chip--free .demo-chip-icon {
  opacity: 1;
}
.demo-chip--free:hover,
.demo-chip--free:focus {
  background: linear-gradient(135deg, #1d4ed8, #5b21b6);
  box-shadow: 0 22px 42px rgba(79, 70, 229, 0.32);
  transform: translateY(-2px);
}

.demo-chip--free:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35), 0 22px 42px rgba(79, 70, 229, 0.32);
}

.demo-chip-label {
  white-space: nowrap;
}

.demo-chip-icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.7;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.demo-chip-icon svg {
  display: block;
  width: 1em;
  height: 1em;
}

.demo-chip:hover .demo-chip-icon,
.demo-chip:focus .demo-chip-icon {
  opacity: 1;
  transform: translateX(4px);
}

/* Landing page refresh overrides */
body.landing .hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  text-align: left;
}

body.landing .hero__cta {
  justify-content: flex-start;
}

.hero__content {
  display: grid;
  gap: 1.5rem;
}

.hero__tagline {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #6b7280;
  margin: 0 0 56px;
  line-height: 1.2;
}

.hero__note {
  max-width: 24rem;
  font-size: 0.95rem;
  color: rgba(17, 19, 25, 0.7);
  line-height: 1.6;
}

.btn-shine {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(31, 63, 114, 0.28);
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-shine:hover::after {
  left: 140%;
}

.btn-shine.btn-cta-gradient {
  box-shadow: 0 18px 35px rgba(79, 70, 229, 0.25);
}

.btn-shine.btn-cta-gradient:hover {
  box-shadow: 0 24px 45px rgba(79, 70, 229, 0.3);
}

.btn-shine.btn-cta-gradient:active {
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.26);
}
.features {
  background: var(--gray-50);
  padding: clamp(4rem, 9vh, 6rem) 0;
}

.features__inner {
  display: grid;
  gap: 3rem;
}

.features__header {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 1rem;
}

.features__header h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}

.features__header p {
  color: rgba(17, 19, 25, 0.68);
}

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

.feature {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(15, 17, 23, 0.08);
  text-align: left;
  display: grid;
  gap: 0.75rem;
}

.feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f1117;
}

.feature p {
  color: rgba(17, 19, 25, 0.68);
  line-height: 1.6;
}

.pricing {
  padding: clamp(4rem, 9vh, 6rem) 0;
}

.pricing__inner {
  display: grid;
  gap: 3rem;
}

.pricing__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.footer {
  background: #0f1117;
  color: #f5f6f7;
  padding: 3rem 0;
}

.footer__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  color: rgba(245, 246, 247, 0.75);
}

.footer__note {
  color: rgba(245, 246, 247, 0.55);
}

@media (max-width: 900px) {
  body.landing .hero__inner {
    align-items: center;
    text-align: center;
  }

  body.landing .hero__content {
    text-align: center;
  }

  body.landing .hero__cta {
    justify-content: center;
  }

  .hero__note {
    text-align: center;
    margin: 0 auto;
  }
}

.demo {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--white);
}

.demo__inner {
  display: grid;
  gap: 2.5rem;
  justify-items: center;
}

.demo__header {
  display: grid;
  gap: 1rem;
  text-align: center;
  max-width: 720px;
}

.demo__media {
  width: 100%;
  display: flex;
  justify-content: center;
}

.demo__video {
  width: min(100%, 978px);
  aspect-ratio: 978 / 1189;
  border-radius: 24px;
  overflow: hidden;
  background: #080a12;
  box-shadow: 0 30px 60px rgba(15, 17, 23, 0.25);
  margin: 0 auto;
  display: block;
  height: auto;
  object-fit: contain;
}

.demo__note {
  font-size: 0.95rem;
  color: rgba(17, 19, 25, 0.65);
  text-align: center;
  max-width: 640px;
}

@media (max-width: 600px) {
  .demo__video {
    border-radius: 20px;
  }
}

/* Pricing page overrides */
.pricing-page .pricing-main {
  padding-bottom: 80px;
}

.pricing-page .pricing-hero {
  padding: 96px 0 32px;
  text-align: center;
  background: var(--white);
  color: var(--gray-900);
}

.pricing-page .pricing-hero__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-page .pricing-hero .eyebrow {
  color: var(--primary);
}

.pricing-page .pricing-hero p {
  color: var(--gray-900);
}

.pricing-page .navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

.pricing-status-note {
  font-size: 0.95rem;
  color: var(--gray-700);
}

.pricing-page .pricing-plans {
  padding: 32px 0;
}

.pricing-page .plans-card {
  margin-top: 0;
}

.pricing-page .footer {
  margin-top: 48px;
}

.paywall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.paywall-actions .btn-primary,
.paywall-actions .btn-outline {
  flex: 1 1 180px;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  text-align: center;
}

.paywall-actions .btn-primary {
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

.paywall-actions .btn-outline {
  background: #ffffff;
  color: var(--gray-900);
  border: 1px solid var(--gray-300);
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
}

.paywall-actions .btn-outline:hover,
.paywall-actions .btn-outline:focus {
  background: #f9fafb;
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 480px) {
  .paywall-actions .btn-primary,
  .paywall-actions .btn-outline {
    flex-basis: 100%;
  }
}





