/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-900: #1e3a5f;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --green: #10b981;
  --green-light: #d1fae5;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --purple: #8b5cf6;
  --purple-light: #ede9fe;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--gray-900);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: white;
  color: var(--gray-900);
}

.btn-white:hover {
  background: var(--gray-100);
  box-shadow: var(--shadow-md);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  /* visible on desktop */
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-50) 0%, #fff 100%);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-100);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.hero-actions {
  margin-bottom: 40px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 20px 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

/* Hero Mockup */
.hero-visual {
  margin-top: 60px;
  padding: 0 24px;
}

.hero-mockup {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--gray-200);
  background: white;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
}

.mockup-dots span:first-child { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:last-child { background: #28c840; }

.mockup-title {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.mockup-body {
  display: flex;
  min-height: 320px;
}

.mockup-sidebar {
  width: 200px;
  padding: 16px 12px;
  border-right: 1px solid var(--gray-200);
  background: var(--gray-50);
  flex-shrink: 0;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--gray-600);
  cursor: default;
  transition: background 0.2s;
}

.sidebar-item.active {
  background: var(--primary-100);
  color: var(--primary-dark);
  font-weight: 600;
}

.sidebar-icon {
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.mockup-content {
  flex: 1;
  padding: 16px;
  overflow: hidden;
}

.mockup-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.search-text {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.mockup-table {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.table-header,
.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  padding: 10px 14px;
  font-size: 0.8rem;
  gap: 8px;
  align-items: center;
}

.table-header {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--gray-200);
}

.table-row {
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

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

.table-row.highlight {
  background: var(--amber-light);
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.tag-blue { background: var(--primary-100); color: var(--primary-dark); }
.tag-green { background: var(--green-light); color: #065f46; }
.tag-purple { background: var(--purple-light); color: #5b21b6; }
.tag-amber { background: var(--amber-light); color: #92400e; }
.tag-yellow { background: #fef9c3; color: #854d0e; }

/* ===== Problem Section ===== */
.problem {
  padding: 80px 0;
  background: white;
}

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

.problem-card {
  padding: 32px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  text-align: center;
}

.problem-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: var(--radius-sm);
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.problem-conclusion {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

/* ===== Portal Highlight ===== */
.portal-highlight {
  padding: 100px 0;
  background: white;
}

.portal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.portal-highlight .section-label {
  background: var(--green-light);
  color: #065f46;
}

.portal-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.portal-content > p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 28px;
}

.portal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.portal-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
  font-weight: 500;
}

.portal-list li svg {
  color: var(--green);
  flex-shrink: 0;
}

.portal-visual {
  display: flex;
  justify-content: center;
}

.portal-mockup {
  width: 100%;
  max-width: 380px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.portal-mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.portal-mockup-header svg {
  color: var(--green);
}

.portal-mockup-body {
  padding: 20px;
}

.portal-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-sm);
  color: var(--gray-400);
  margin-bottom: 16px;
}

.portal-upload-zone span {
  font-size: 0.85rem;
}

.portal-files {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--gray-700);
}

.portal-file span {
  flex: 1;
}

.portal-file svg:first-child {
  flex-shrink: 0;
  color: var(--gray-400);
}

/* ===== Features ===== */
.features {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.left {
  text-align: left;
}

.section-label {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-100);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

.section-header.left p {
  margin: 0;
}

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

.feature-card {
  position: relative;
  padding: 32px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--primary-100);
  transform: translateY(-2px);
}

.feature-card.featured {
  border-color: var(--primary-light);
  background: var(--primary-50);
}

.feature-card.featured:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary-100);
}

.feature-new-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  background: var(--green);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-100);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== How it Works ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--gray-50);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-100);
  line-height: 1;
}

.step-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.step-visual {
  display: flex;
  justify-content: center;
}

/* Step Mockups */
.upload-mockup {
  width: 100%;
  max-width: 380px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  margin: 16px;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-sm);
  color: var(--gray-400);
}

.upload-zone span {
  font-size: 0.85rem;
}

.upload-files {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upload-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.file-icon {
  display: flex;
  align-items: center;
  color: var(--gray-400);
}

.file-name { flex: 1; color: var(--gray-700); }

.file-check {
  display: flex;
  align-items: center;
}

.file-progress {
  flex: 1;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}

.file-progress-bar {
  width: 65%;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
  0% { width: 30%; }
  50% { width: 80%; }
  100% { width: 30%; }
}

.upload-file.uploading .file-name {
  flex: none;
}

/* Processing Mockup */
.processing-mockup {
  width: 100%;
  max-width: 400px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.processing-doc {
  display: flex;
  align-items: center;
  gap: 16px;
}

.doc-preview {
  width: 70px;
  height: 90px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
}

.doc-preview::after {
  content: 'PDF';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

.processing-arrows {
  display: flex;
  align-items: center;
  color: var(--primary);
  flex-shrink: 0;
}

.arrow-line {
  width: 20px;
  height: 2px;
  background: var(--primary);
}

.processing-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-item {
  font-size: 0.8rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 6px;
}

.result-label {
  color: var(--gray-400);
  font-weight: 500;
  font-size: 0.75rem;
}

/* Search Mockup */
.search-mockup {
  width: 100%;
  max-width: 420px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.search-query {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-700);
}

.search-answer {
  padding: 18px;
}

.answer-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.answer-header svg {
  color: var(--primary);
}

.search-answer p {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 14px;
}

.answer-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.source-tag {
  padding: 3px 10px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 100px;
}

/* ===== Benefits ===== */
.benefits {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.benefit-card {
  padding: 36px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.benefit-card.large {
  grid-column: span 2;
}

.benefit-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-100);
  margin-bottom: 16px;
  line-height: 1;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== Security ===== */
.security {
  padding: 100px 0;
  background: white;
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.security-item svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.security-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.security-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== Summary ===== */
.summary {
  padding: 100px 0;
  background: var(--gray-50);
}

.summary-card {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-900) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: white;
}

.summary-card h2 {
  color: white;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 16px;
}

.summary-card p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 0;
  background: var(--gray-900);
  color: var(--gray-400);
}

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

.footer-brand .logo {
  color: white;
  margin-bottom: 12px;
}

.footer-brand .logo-icon {
  color: var(--primary-light);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Mobile Menu ===== */
.nav-links.open {
  display: flex;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .step {
    grid-template-columns: 60px 1fr;
    gap: 24px;
  }

  .step-visual {
    grid-column: 1 / -1;
  }

  .security-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portal-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portal-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 120px 0 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    margin-bottom: 32px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px 32px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .mockup-sidebar {
    display: none;
  }

  .table-header,
  .table-row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .table-header span:nth-child(3),
  .table-row span:nth-child(3) {
    display: none;
  }

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

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

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

  .benefit-card.large {
    grid-column: span 1;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-number {
    font-size: 2rem;
  }

  .portal-highlight {
    padding: 60px 0;
  }

  .portal-content h2 {
    font-size: 1.75rem;
  }

  .summary-card {
    padding: 40px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 0 32px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-visual {
    padding: 0 8px;
  }

  .hero-mockup {
    border-radius: var(--radius);
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .table-header,
  .table-row {
    grid-template-columns: 1fr 1fr;
    font-size: 0.7rem;
  }

  .table-header span:nth-child(4),
  .table-row span:nth-child(4) {
    display: none;
  }

  .processing-doc {
    flex-direction: column;
    text-align: center;
  }

  .processing-arrows {
    transform: rotate(90deg);
  }

  .portal-mockup {
    max-width: 100%;
  }

  .summary-card {
    padding: 32px 20px;
  }

  .summary-card h2 {
    font-size: 1.5rem;
  }

  .summary-card p {
    font-size: 0.95rem;
  }

  .problem {
    padding: 60px 0;
  }

  .features,
  .how-it-works,
  .benefits,
  .security,
  .summary {
    padding: 60px 0;
  }
}
