/* ===== CRA-Check — Cyber Resilience Act Compliance Tool ===== */

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

:root {
  --primary: #1a56db;
  --primary-dark: #1442a8;
  --primary-light: #e8effc;
  --accent: #0ea5e9;
  --success: #16a34a;
  --success-light: #dcfce7;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.06);
  --transition: .2s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Fira Code', 'SF Mono', Consolas, monospace;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: .75rem; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Layout --- */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Header --- */
.site-header {
  background: linear-gradient(135deg, #1e3a5f 0%, var(--primary) 50%, var(--accent) 100%);
  color: #fff;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
.site-header::before {
  content: '';
  position: absolute; inset: 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='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.header-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .75rem; }
.logo-icon { font-size: 2rem; }
.logo h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.logo .tagline { font-size: .875rem; opacity: .85; font-weight: 400; }
.header-badge {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: .5rem 1rem;
  font-size: .8rem;
  display: flex; align-items: center; gap: .5rem;
}

/* --- Navigation Tabs --- */
.nav-tabs {
  display: flex;
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.nav-tab {
  flex: 1;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
}
.nav-tab:hover { color: var(--primary); background: var(--primary-light); }
.nav-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-tab .tab-icon { display: block; font-size: 1.25rem; margin-bottom: .25rem; }

/* --- Sections / Pages --- */
.page { display: none; padding: 2rem 0 4rem; animation: fadeIn .3s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.card-header h3 { flex: 1; }
.card-icon { font-size: 1.5rem; }

/* --- Progress Bar (Wizard) --- */
.wizard-progress { display: flex; gap: .25rem; margin-bottom: 2rem; }
.progress-step {
  flex: 1; height: 6px;
  background: var(--border);
  border-radius: 3px;
  transition: var(--transition);
}
.progress-step.completed { background: var(--primary); }
.progress-step.current { background: var(--accent); }

.step-indicator {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
  font-weight: 600;
}

/* --- Wizard Steps --- */
.wizard-step { display: none; animation: fadeIn .3s ease; }
.wizard-step.active { display: block; }
.wizard-step h2 { margin-bottom: .5rem; }
.wizard-step .step-description { color: var(--text-muted); margin-bottom: 1.5rem; }

/* --- Form Elements --- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: .5rem;
  font-size: .9rem;
}
.form-group .hint {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

select, input[type="text"], input[type="number"], textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  background: var(--surface);
  transition: var(--transition);
}
select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,.15);
}
textarea { resize: vertical; min-height: 80px; }

/* Option Cards (radio/checkbox as cards) */
.option-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.option-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.option-card:hover { border-color: var(--primary); background: var(--primary-light); }
.option-card.selected { border-color: var(--primary); background: var(--primary-light); }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card .option-title { font-weight: 600; font-size: .95rem; margin-bottom: .25rem; }
.option-card .option-desc { font-size: .8rem; color: var(--text-muted); }
.option-card .option-icon { font-size: 1.5rem; margin-bottom: .5rem; }

/* Checkbox groups */
.checkbox-group { display: flex; flex-direction: column; gap: .5rem; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: .9rem;
}
.checkbox-label:hover { border-color: var(--primary); background: var(--primary-light); }
.checkbox-label input[type="checkbox"] { margin-top: .15rem; flex-shrink: 0; accent-color: var(--primary); width: 18px; height: 18px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); }
.btn-secondary { background: var(--border); color: var(--text); }
.btn-secondary:hover:not(:disabled) { background: #cbd5e1; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover:not(:disabled) { background: #15803d; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover:not(:disabled) { background: var(--primary-light); }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-group { display: flex; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* --- Score Display --- */
.score-circle {
  width: 180px; height: 180px;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  background: conic-gradient(var(--score-color, var(--primary)) calc(var(--score, 0) * 3.6deg), var(--border) 0);
}
.score-circle::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--surface);
}
.score-value {
  position: relative; z-index: 1;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--score-color, var(--primary));
}
.score-label {
  position: relative; z-index: 1;
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* --- Classification Badge --- */
.classification-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: .9rem;
}
.classification-badge.default { background: #e0f2fe; color: #0369a1; }
.classification-badge.important-1 { background: var(--warning-light); color: #92400e; }
.classification-badge.important-2 { background: #fed7aa; color: #9a3412; }
.classification-badge.critical { background: var(--danger-light); color: #991b1b; }

/* --- Results --- */
.results-grid { display: grid; gap: 1rem; }
.gap-card { border-left: 4px solid var(--danger); }
.rec-card { border-left: 4px solid var(--success); }
.gap-card .card-header h3 { color: var(--danger); }
.rec-card .card-header h3 { color: var(--success); }

.requirement-row {
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.requirement-row:last-child { border-bottom: none; }
.req-status { font-size: 1.25rem; flex-shrink: 0; }
.req-info { flex: 1; }
.req-title { font-weight: 600; font-size: .9rem; }
.req-id { font-size: .75rem; color: var(--text-muted); font-family: var(--mono); }
.req-score {
  font-weight: 700; font-size: .85rem;
  padding: .25rem .75rem;
  border-radius: 1rem;
  white-space: nowrap;
}
.req-score.high { background: var(--success-light); color: var(--success); }
.req-score.medium { background: var(--warning-light); color: var(--warning); }
.req-score.low { background: var(--danger-light); color: var(--danger); }

/* --- Category Scores --- */
.category-scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.category-score-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
}
.category-score-card h4 { font-size: .85rem; margin-bottom: .75rem; color: var(--text-muted); }
.category-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: .5rem;
}
.category-bar-fill { height: 100%; border-radius: 4px; transition: width .5s ease; }
.category-percent { font-size: 1.5rem; font-weight: 800; }

/* --- Documents Page --- */
.doc-list { display: grid; gap: 1rem; }
.doc-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.doc-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }
.doc-icon { font-size: 2rem; }
.doc-info { flex: 1; }
.doc-info h4 { margin-bottom: .15rem; }
.doc-info p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.doc-actions { display: flex; gap: .5rem; }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 2rem; margin: 1.5rem 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: .5rem; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.65rem; top: .35rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-item.upcoming::before { background: var(--warning); box-shadow: 0 0 0 2px var(--warning); }
.timeline-item.passed::before { background: var(--success); box-shadow: 0 0 0 2px var(--success); }
.timeline-date { font-size: .8rem; font-weight: 700; color: var(--text-muted); }
.timeline-title { font-weight: 600; }
.timeline-desc { font-size: .85rem; color: var(--text-muted); }

/* --- Document Modal / Preview --- */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 1.1rem; }
.modal-close {
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer;
  color: var(--text-muted);
  padding: .25rem;
}
.modal-close:hover { color: var(--text); }
.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.modal-body pre {
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: .85rem;
  line-height: 1.7;
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.modal-footer {
  display: flex; gap: .75rem; justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

/* --- Info / Alert Boxes --- */
.info-box {
  display: flex; gap: .75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 1rem;
}
.info-box.info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.info-box.warning { background: var(--warning-light); border: 1px solid #fde68a; color: #92400e; }
.info-box.success { background: var(--success-light); border: 1px solid #86efac; color: #166534; }
.info-box.danger { background: var(--danger-light); border: 1px solid #fca5a5; color: #991b1b; }
.info-box-icon { font-size: 1.2rem; flex-shrink: 0; }

/* --- Landing Page --- */
.landing-hero { text-align: center; padding: 3rem 0 2rem; }
.landing-hero h2 { font-size: 2rem; margin-bottom: .75rem; }
.landing-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.feature-card { text-align: center; padding: 1.5rem; }
.feature-card .feature-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.feature-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.feature-card p { font-size: .85rem; color: var(--text-muted); }

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: .8rem;
  border-top: 1px solid var(--border);
}

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { margin-bottom: .5rem; color: var(--text); }

/* --- Responsive --- */
@media (max-width: 640px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.35rem; }
  .header-badge { display: none; }
  .nav-tab { padding: .75rem .5rem; font-size: .75rem; }
  .nav-tab .tab-icon { font-size: 1rem; }
  .option-cards { grid-template-columns: 1fr; }
  .category-scores { grid-template-columns: 1fr 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .container { padding: 0 1rem; }
  .modal { margin: 1rem; }
  .score-circle { width: 140px; height: 140px; }
  .score-value { font-size: 2rem; }
}

/* --- Print --- */
@media print {
  .nav-tabs, .site-header, .site-footer, .btn, .modal-footer { display: none !important; }
  .page { display: block !important; padding: 0; }
  body { background: #fff; }
}

/* ===== MODERN LANDING PAGE STYLES ===== */

/* --- Landing Nav --- */
.landing-nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 1200px; margin: 0 auto;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1.25rem; color: var(--text);
}
.nav-brand:hover { text-decoration: none; }
.nav-logo-icon { font-size: 1.5rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--text-muted); font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-cta { margin-left: 1rem; }
.mobile-menu-btn {
  display: none; background: none; border: none;
  font-size: 1.5rem; cursor: pointer;
}
.mobile-menu {
  display: none; flex-direction: column;
  padding: 1rem; background: var(--surface);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 0.75rem 0; }

/* --- Hero Section --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, var(--primary) 100%);
  color: white; padding: 5rem 0 4rem;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.shape {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.3;
}
.shape-1 { width: 400px; height: 400px; background: var(--accent); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: #6366f1; bottom: -50px; left: -50px; }
.shape-3 { width: 200px; height: 200px; background: #a855f7; top: 50%; left: 30%; }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  padding: 0.5rem 1rem; border-radius: 50px;
  font-size: 0.875rem; margin-bottom: 1.5rem;
}
.badge-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-title { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.1; }
.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: 1.25rem; opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }
.hero-cta-group { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-ghost {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-arrow { margin-left: 0.5rem; }
.hero-meta { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; opacity: 0.8; }

/* --- Section Styles --- */
.section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.25rem; margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- Urgency Section --- */
.urgency-section { background: var(--surface); }
.urgency-banner {
  display: flex; gap: 1rem; align-items: flex-start;
  background: linear-gradient(135deg, #fef3c7, #fee2e2);
  border: 1px solid #fcd34d; border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 2rem;
}
.urgency-icon { font-size: 2rem; }
.urgency-text h2 { font-size: 1.5rem; margin-bottom: 0.5rem; color: #92400e; }
.urgency-text p { color: #a16207; margin: 0; }
.highlight-red { color: #dc2626; font-weight: 700; }

/* --- Timeline Cards --- */
.timeline-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.timeline-card {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: var(--transition);
}
.timeline-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.timeline-card.passed { border-color: var(--success); }
.timeline-card.upcoming { border-color: var(--warning); }
.timeline-card.critical-deadline { border-color: var(--danger); background: #fef2f2; }
.timeline-card-date { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; }
.timeline-card-status { font-size: 0.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.timeline-card.passed .timeline-card-status { color: var(--success); }
.timeline-card.upcoming .timeline-card-status { color: var(--warning); }
.timeline-card.critical-deadline .timeline-card-status { color: var(--danger); }
.timeline-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.timeline-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* --- Features Section --- */
.features-section { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* --- How It Works --- */
.how-it-works { background: var(--surface); }
.steps { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 250px; max-width: 350px;
  text-align: center; padding: 2rem;
}
.step-number {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; font-weight: 700; font-size: 1.25rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); margin: 0; }

/* --- Pricing Section --- */
.pricing-section { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.pricing-card {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  position: relative; transition: var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light);
  transform: scale(1.02);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 1rem; border-radius: 50px;
}
.pricing-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.price { font-size: 2.5rem; font-weight: 800; margin: 1rem 0; }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-card ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.pricing-card li { padding: 0.5rem 0; display: flex; align-items: center; gap: 0.5rem; }
.pricing-card li::before { content: "✓"; color: var(--success); font-weight: 700; }

/* --- Trust Section --- */
.trust-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-badges { display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 0.75rem; color: var(--text-muted); }
.trust-badge-icon { font-size: 1.5rem; }
.trust-badge-text { font-size: 0.9rem; }
.trust-badge-text strong { display: block; color: var(--text); }

/* --- FAQ Section --- */
.faq-section { background: var(--bg); }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }
.faq-question {
  width: 100%; padding: 1.25rem;
  background: none; border: none; text-align: left;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: "+"; font-size: 1.25rem; color: var(--text-muted); }
.faq-item.active .faq-question::after { content: "−"; }
.faq-answer { padding: 0 1.25rem 1.25rem; color: var(--text-muted); display: none; }
.faq-item.active .faq-answer { display: block; }

/* --- CTA Section --- */
.cta-section { background: var(--surface); }
.cta-box {
  background: linear-gradient(135deg, var(--primary), #1e3a5f);
  color: white; border-radius: var(--radius);
  padding: 4rem 2rem; text-align: center;
}
.cta-box h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-box p { opacity: 0.9; margin-bottom: 2rem; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 2rem; }
  .hero-cta-group { flex-direction: column; }
  .hero-meta { flex-direction: column; gap: 1rem; }
  .steps { flex-direction: column; align-items: center; }
  .pricing-card.featured { transform: none; }
}

/* ===== MODERN LANDING PAGE STYLES ===== */

/* --- Landing Nav --- */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }
.nav-logo-icon { font-size: 1.5rem; }
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta { margin-left: 1rem; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, var(--primary) 100%);
  color: white;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}
.shape-1 {
  width: 600px; height: 600px;
  background: linear-gradient(45deg, #0ea5e9, #1a56db);
  top: -200px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: linear-gradient(45deg, #1a56db, #0ea5e9);
  bottom: -100px; left: -100px;
}
.shape-3 {
  width: 300px; height: 300px;
  background: #0ea5e9;
  top: 50%; left: 30%;
  opacity: 0.05;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.btn-arrow { margin-left: 0.5rem; }
.hero-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.8;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Urgency Section --- */
.urgency-section {
  padding: 3rem 0;
  background: var(--bg);
}
.urgency-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.urgency-icon { font-size: 2rem; }
.urgency-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.highlight-red {
  color: var(--danger);
  font-weight: 700;
}
.timeline-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.timeline-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--border);
}
.timeline-card.passed { border-left-color: var(--success); }
.timeline-card.upcoming { border-left-color: var(--warning); }
.timeline-card.critical-deadline { border-left-color: var(--danger); }
.timeline-card-date {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.timeline-card-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background: var(--bg);
  margin-bottom: 1rem;
}

/* --- Features Section --- */
.features-section {
  padding: 4rem 0;
  background: var(--surface);
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* --- How It Works --- */
.how-it-works {
  padding: 4rem 0;
  background: var(--bg);
}
.steps {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
}
.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.step h3 {
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--text-muted);
}

/* --- Pricing Section --- */
.pricing-section {
  padding: 4rem 0;
  background: var(--surface);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  border: 2px solid var(--border);
}
.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.pricing-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.pricing-card li:before {
  content: "✓";
  color: var(--success);
  margin-right: 0.5rem;
  font-weight: 700;
}

/* --- Trust Section --- */
.trust-section {
  padding: 3rem 0;
  background: var(--bg);
  text-align: center;
}
.trust-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 4rem 0;
  background: var(--surface);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
}
.faq-answer {
  margin-top: 1rem;
  color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-section {
  padding: 4rem 0;
  background: var(--bg);
}
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  color: white;
}
.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cta-box p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* --- Button Sizes --- */
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* --- Section Spacing --- */
.section { padding: 4rem 0; }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .pricing-card.featured { transform: none; }
  .steps { flex-direction: column; align-items: center; }
  .urgency-banner { flex-direction: column; text-align: center; }
}

