:root{
  --bg:#0b0d12;
  --panel:#0f1220;
  --card:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --accent:#ff6b35;
  --accent2:#f7931e;
  --success:#22c55e;
  --shadow: 0 20px 60px rgba(0,0,0,.4);
  --shadow-sm: 0 4px 20px rgba(0,0,0,.25);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

:root[data-theme="light"]{
  --bg:#f6f7fb;
  --panel:#ffffff;
  --card:rgba(0,0,0,.05);
  --stroke:rgba(0,0,0,.14);
  --text:rgba(10,12,18,.95);
  --muted:rgba(10,12,18,.65);
  --shadow: 0 20px 60px rgba(10,12,18,.15);
  --shadow-sm: 0 4px 20px rgba(10,12,18,.08);
}

/* Light theme body background */
:root[data-theme="light"] body{
  background:
    radial-gradient(1000px 600px at 20% 0%, rgba(255,107,53,.08), transparent 60%),
    radial-gradient(1000px 600px at 80% 10%, rgba(247,147,30,.06), transparent 60%),
    var(--bg);
}
:root[data-theme="light"] .site-header{
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,107,53,.12);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
:root[data-theme="light"] .card,
:root[data-theme="light"] .feature,
:root[data-theme="light"] .result,
:root[data-theme="light"] .panel,
:root[data-theme="light"] .mock{
  border-color: rgba(0,0,0,.12);
  background: rgba(255,255,255,.8);
}
:root[data-theme="light"] .textarea{
  background: rgba(255,255,255,.9);
  border-color: rgba(0,0,0,.18);
  color:var(--text);
}
:root[data-theme="light"] .textarea:focus{
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,107,53,.12);
}
:root[data-theme="light"] .btn{
  border-color: rgba(0,0,0,.16);
  background: rgba(0,0,0,.03);
  color:var(--text);
}
:root[data-theme="light"] .btn:hover{
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.22);
}
:root[data-theme="light"] .btn-ghost{
  border-color: rgba(0,0,0,.16);
  background: transparent;
}
:root[data-theme="light"] .btn-ghost:hover{
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.24);
}
:root[data-theme="light"] .file-btn{
  border-color: rgba(0,0,0,.18);
  background: rgba(0,0,0,.04);
}
:root[data-theme="light"] .file-btn:hover{
  background: rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.26);
}
:root[data-theme="light"] .burger-btn span{
  background: var(--text);
}
:root[data-theme="light"] .nav-list a:hover{
  background:rgba(255,107,53,.12);
}
/* Light theme - Result panel fixes */
:root[data-theme="light"] .panel{
  background: rgba(255,255,255,.95);
  border-color: rgba(0,0,0,.14);
}
:root[data-theme="light"] .match{
  background: rgba(0,0,0,.03);
  border-color: rgba(0,0,0,.12);
}
:root[data-theme="light"] .match:hover{
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.18);
  transform:translateX(4px);
}
:root[data-theme="light"] .match a{
  color: var(--text);
}
:root[data-theme="light"] .textout{
  color: var(--text);
}
:root[data-theme="light"] .textout mark{
  background: rgba(255,107,53,.18);
  color: var(--accent);
}
:root[data-theme="light"] .bar{
  background: rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.12);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1000px 600px at 20% 0%, rgba(255,107,53,.15), transparent 60%),
    radial-gradient(1000px 600px at 80% 10%, rgba(247,147,30,.12), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{color:inherit;text-decoration:none;transition:var(--transition)}
.container{max-width:var(--container); margin:0 auto; padding:0 24px}
.muted{color:var(--muted)}
.small{font-size:13px}
.center{display:flex;justify-content:center;margin-top:32px}

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

/* Header - Современный дизайн */
.site-header{
  position:sticky; top:0; z-index:100;
  background: rgba(11,13,18,.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,107,53,.15);
  transition:var(--transition);
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  min-height:72px; gap:24px; padding:8px 0;
}
.brand{
  display:flex; align-items:center; gap:14px;
  font-size:18px;
  transition:var(--transition);
  padding:8px 12px 8px 0;
  border-radius:10px;
}
.brand:hover{
  opacity:0.9;
  transform:translateX(2px);
}
.brand-dot{
  width:40px; height:40px; border-radius:10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 4px 16px rgba(255,107,53,.35), inset 0 1px 0 rgba(255,255,255,.2);
  transition:var(--transition);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:20px;
  color:#fff;
  letter-spacing:-1px;
}
.brand-dot::before{
  content:'П';
}
.brand:hover .brand-dot{
  box-shadow: 0 6px 24px rgba(255,107,53,.45), inset 0 1px 0 rgba(255,255,255,.3);
  transform:scale(1.05) rotate(3deg);
}
.brand-title{font-weight:700; letter-spacing:-.3px; font-size:17px}
.nav{display:none}
.nav-list{
  display:flex; gap:8px; list-style:none; padding:0; margin:0; font-size:15px;
}
.nav-list a{
  padding:10px 18px;
  position:relative;
  transition:var(--transition);
  border-radius:8px;
  font-weight:500;
}
.nav-list a:hover{
  background:rgba(255,107,53,.1);
  color:var(--accent);
}
.header-actions{display:flex; gap:10px; align-items:center}

/* Buttons - Стандартизированные размеры */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 24px; 
  border-radius:10px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  transition: var(--transition);
  gap:10px;
  cursor:pointer;
  font-weight:600;
  font-size:15px;
  line-height:1.4;
  min-height:44px;
  white-space:nowrap;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.07)}
.btn:active{transform:translateY(0)}
.btn-primary{
  border:0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 4px 16px rgba(255,107,53,.25);
  font-weight:700;
  color:#fff;
}
.btn-primary:hover{
  box-shadow: 0 6px 24px rgba(255,107,53,.35);
  transform: translateY(-2px);
}
.btn-ghost{background:transparent}
.btn-lg{padding:14px 32px; font-size:16px; min-height:52px}
.btn-sm{padding:10px 18px; font-size:14px; min-height:40px}

/* Burger menu */
.burger-btn{
  display:none;
  flex-direction:column;
  gap:5px;
  background:transparent;
  border:none;
  cursor:pointer;
  padding:8px;
  z-index:110;
}
.burger-btn span{
  width:24px;
  height:2px;
  background:var(--text);
  border-radius:2px;
  transition:var(--transition);
}
.burger-btn[aria-expanded="true"] span:nth-child(1){
  transform:rotate(45deg) translateY(7px);
}
.burger-btn[aria-expanded="true"] span:nth-child(2){
  opacity:0;
}
.burger-btn[aria-expanded="true"] span:nth-child(3){
  transform:rotate(-45deg) translateY(-7px);
}

/* Hero */
.hero{position:relative; padding:64px 0 28px; overflow:hidden}
.hero-bg{
  position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(800px 400px at 50% 10%, rgba(255,255,255,.08), transparent 70%);
  animation:pulse 8s ease-in-out infinite;
}
@keyframes pulse{
  0%, 100%{opacity:1}
  50%{opacity:0.6}
}
.hero-grid{
  position:relative;
  display:grid; gap:32px;
  grid-template-columns: 1.1fr .9fr;
  align-items:center;
}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 14px; border-radius:10px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  font-size:14px;
  animation:slideDown 0.6s ease-out;
}
@keyframes slideDown{
  from{opacity:0; transform:translateY(-20px)}
  to{opacity:1; transform:translateY(0)}
}
.pill .dot{
  width:10px; height:10px; border-radius:50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(255,107,53,.12);
  animation:dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse{
  0%, 100%{box-shadow: 0 0 0 6px rgba(255,107,53,.12)}
  50%{box-shadow: 0 0 0 8px rgba(255,107,53,.18)}
}
.hero-title{
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  margin:16px 0 14px;
  letter-spacing:-.02em;
  font-weight:800;
}
.hero-subtitle{font-size:17px; line-height:1.65; margin:0 0 18px}
.hero-badges{display:flex; flex-wrap:wrap; gap:10px}
.badge{
  font-size:13px; padding:7px 12px; border-radius:8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  font-weight:500;
  transition:var(--transition);
}
.badge:hover{
  background: rgba(255,255,255,.08);
  transform:translateY(-2px);
}

/* Card */
.card{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  transition:var(--transition);
}
.card:hover{
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.card-check{padding:20px; max-height:78vh; overflow:auto}
.card-head{display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:14px}
.card-title{font-weight:700; font-size:18px}
.kpi{display:flex; flex-direction:column; align-items:flex-end; gap:4px}
.kpi-label{font-size:13px; color:var(--muted)}
.kpi-value{font-weight:700; font-size:20px; color:var(--accent)}

.textarea{
  width:100%;
  background: rgba(10,12,18,.6);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding:16px;
  color:var(--text);
  font-size:15px;
  line-height:1.6;
  outline:none;
  resize: vertical;
  height: 220px; min-height: 180px;
  transition:var(--transition);
  font-family:inherit;
}
.textarea:focus{
  border-color: rgba(255,107,53,.7); 
  box-shadow: 0 0 0 4px rgba(255,107,53,.18);
  background: rgba(10,12,18,.7);
}
.textarea::placeholder{color:var(--muted)}
.form-row{display:flex; gap:12px; margin-top:14px; align-items:center; flex-wrap:wrap}

.file-btn{
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 18px; border-radius:10px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  font-weight:500;
  transition:var(--transition);
}
.file-btn:hover{
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.22);
  transform:translateY(-1px);
}
.file-btn input{
  position:absolute; inset:0; opacity:0; cursor:pointer;
}

/* Results */
.result{
  margin-top:16px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding:18px;
  animation:fadeIn 0.4s ease-out;
}
@keyframes fadeIn{
  from{opacity:0; transform:translateY(10px)}
  to{opacity:1; transform:translateY(0)}
}
.result.error{
  border-color: rgba(255,77,141,.4); 
  background: rgba(255,77,141,.08);
}
.result-head{
  display:flex; 
  justify-content:space-between; 
  align-items:flex-start; 
  gap:16px; 
  margin-bottom:12px;
}
.result-head-left{
  flex:1;
}
.result-head-right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:12px;
}
.result-title{font-weight:700; font-size:17px}
.score{display:flex; flex-direction:column; align-items:flex-end; gap:4px}
.score .muted{font-size:12px}
.score b{font-size:28px; color:var(--accent2); font-weight:800}
.bar{
  height:12px; 
  border-radius:10px; 
  background: rgba(255,255,255,.08); 
  overflow:hidden; 
  border:1px solid rgba(255,255,255,.1);
  margin:8px 0;
}
.bar-in{
  height:100%; 
  width:0%; 
  background: linear-gradient(90deg, var(--success), #60a5fa); 
  border-radius:10px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.result-grid{display:grid; grid-template-columns: 1fr; gap:14px; margin-top:14px}
.panel{
  border-radius: var(--radius-sm); 
  border:1px solid var(--stroke); 
  background: var(--card); 
  padding:16px;
}
.panel-title{font-weight:700; margin-bottom:12px; font-size:16px}
.matches{display:grid; gap:10px}
.match{
  display:flex; justify-content:space-between; gap:12px;
  padding:12px 14px;
  border-radius: 12px;
  border:1px solid var(--stroke);
  background: var(--card);
  transition:var(--transition);
}
.match:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  transform:translateX(4px);
}
.match a{
  color: var(--text); 
  word-break:break-all;
  transition:color 0.2s;
}
.match a:hover{color:var(--accent)}
.match span{color: var(--muted); font-size:13px; font-weight:600; white-space:nowrap}
.textout{
  color: var(--text); 
  line-height:1.75; 
  font-size:15px;
  word-wrap:break-word;
}
.textout mark{
  background: rgba(255,107,53,.28);
  color: rgba(255,255,255,.95);
  padding: .15em .3em;
  border-radius: .4em;
  font-weight:500;
}

/* Sections */
.section{padding:64px 0}
.section.alt{
  background: rgba(255,255,255,.025); 
  border-top:1px solid rgba(255,255,255,.08); 
  border-bottom:1px solid rgba(255,255,255,.08)
}
.section-head{margin-bottom:32px; text-align:center}
.section h2{margin:0 0 10px; font-size:36px; font-weight:800; letter-spacing:-.01em}
.section-head .muted{font-size:17px}
.grid-3{
  display:grid; gap:20px;
  grid-template-columns: repeat(3, 1fr);
}
.feature{
  padding:24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  transition:var(--transition);
}
.feature:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
  transform:translateY(-4px);
  box-shadow:var(--shadow-sm);
}
.feature h3{margin:14px 0 10px; font-size:19px; font-weight:700}
.feature .muted{font-size:15px; line-height:1.65}
.icon{
  width:52px;height:52px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background: linear-gradient(135deg, rgba(255,107,53,.25), rgba(247,147,30,.15));
  border: 1px solid rgba(255,107,53,.2);
  font-size:24px;
  transition:var(--transition);
}
.feature:hover .icon{
  transform:scale(1.1) rotate(5deg);
}

.split{
  display:grid; gap:32px;
  grid-template-columns: 1.1fr .9fr;
  align-items:center;
}
.split h2{text-align:left; margin-bottom:14px}
.list{margin:18px 0 0; padding-left:22px; color:var(--muted)}
.list li{margin:10px 0; line-height:1.6}
.cta-row{display:flex; gap:12px; margin-top:24px; flex-wrap:wrap}

/* Mock - Заменено на Stats Visual */
.stats-visual{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}
.stats-card{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  padding:28px;
  border-radius:var(--radius);
  background:linear-gradient(135deg, rgba(255,107,53,.08), rgba(247,147,30,.05));
  border:1px solid rgba(255,107,53,.2);
}
.stat-item{
  text-align:center;
  padding:20px;
  border-radius:14px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  transition:var(--transition);
}
.stat-item:hover{
  transform:translateY(-4px);
  background:rgba(255,255,255,.08);
  box-shadow:var(--shadow-sm);
}
.stat-icon{
  font-size:32px;
  margin-bottom:12px;
}
.stat-number{
  font-size:32px;
  font-weight:800;
  color:var(--accent);
  margin-bottom:6px;
  letter-spacing:-.5px;
}
.stat-label{
  font-size:14px;
  color:var(--muted);
  font-weight:500;
}
.visual-progress{
  padding:28px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
}
.progress-item{
  margin:18px 0;
}
.progress-item:first-child{margin-top:0}
.progress-item:last-child{margin-bottom:0}
.progress-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
  font-size:15px;
  font-weight:600;
}
.progress-bar{
  height:14px;
  border-radius:10px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
}
.progress-fill{
  height:100%;
  border-radius:10px;
  transition:width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-fill.success{
  background:linear-gradient(90deg, var(--success), #60a5fa);
}
.progress-fill.warning{
  background:linear-gradient(90deg, var(--accent), var(--accent2));
}
.progress-fill.muted{
  background:rgba(255,255,255,.2);
}
.text-success{color:var(--success)}
.text-warning{color:var(--accent)}
.text-muted{color:var(--muted)}

/* FAQ */
.faq{max-width: 900px; margin: 0 auto}
.faq-item{
  width:100%;
  display:flex; justify-content:space-between; align-items:center;
  text-align:left;
  padding:18px 20px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color:var(--text);
  cursor:pointer;
  margin:12px 0;
  transition:var(--transition);
  font-size:16px;
  font-weight:600;
}
.faq-item:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
  transform:translateX(4px);
}
.faq-q{flex:1}
.faq-ico{
  width:38px;height:38px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-size:20px;
  font-weight:400;
  transition:var(--transition);
  flex-shrink:0;
}
.faq-item:hover .faq-ico{
  background: rgba(255,255,255,.08);
  transform:rotate(90deg);
}
.faq-a{
  border-left: 3px solid rgba(255,107,53,.6);
  margin: 0 0 14px 12px;
  padding: 14px 18px;
  animation:fadeIn 0.3s ease-out;
}
.faq-a .muted{font-size:15px; line-height:1.7}

/* Testimonials */
.testimonials-section{
  background:rgba(255,255,255,.015);
}
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  margin-top:32px;
}
.testimonial-card{
  padding:28px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  transition:var(--transition);
  display:flex;
  flex-direction:column;
  gap:18px;
}
.testimonial-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,107,53,.3);
  box-shadow:var(--shadow-sm);
}
.testimonial-stars{
  color:var(--accent);
  font-size:18px;
  letter-spacing:2px;
}
.testimonial-text{
  font-size:15px;
  line-height:1.7;
  color:var(--muted);
  flex:1;
  margin:0;
}
.testimonial-author{
  display:flex;
  align-items:center;
  gap:14px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
}
.author-avatar{
  width:48px;
  height:48px;
  border-radius:12px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:#fff;
  font-size:16px;
  flex-shrink:0;
  object-fit:cover;
  border:2px solid var(--stroke);
}
.author-name{
  font-weight:700;
  font-size:15px;
  margin-bottom:2px;
}
.author-role{
  font-size:13px;
  color:var(--muted);
}

/* CTA Block */
.cta-badge{
  display:inline-block;
  padding:8px 16px;
  background:rgba(255,107,53,.12);
  color:var(--accent);
  border-radius:50px;
  font-size:13px;
  font-weight:600;
  margin-bottom:16px;
  animation:pulse 2s infinite;
}
@keyframes pulse{
  0%, 100%{
    transform:scale(1);
  }
  50%{
    transform:scale(1.05);
  }
}
.cta-block{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:48px;
  align-items:center;
  padding:48px;
  border-radius:var(--radius);
  background:linear-gradient(135deg, rgba(255,107,53,.1), rgba(247,147,30,.08));
  border:1px solid rgba(255,107,53,.2);
}
.cta-content h2{
  margin:0 0 12px;
  font-size:36px;
  font-weight:800;
  letter-spacing:-.5px;
}
.cta-content .muted{
  font-size:17px;
  margin-bottom:24px;
}
.cta-features{
  display:grid;
  gap:12px;
  margin-bottom:28px;
}
.cta-feature{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:16px;
  font-weight:500;
}
.cta-check{
  width:28px;
  height:28px;
  border-radius:8px;
  background:rgba(255,107,53,.15);
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  font-weight:700;
  flex-shrink:0;
}
.cta-visual{
  display:flex;
  justify-content:center;
}
.cta-stats{
  display:grid;
  gap:24px;
}
.cta-stat{
  text-align:center;
  padding:32px 28px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
}
.cta-stat-number{
  font-size:48px;
  font-weight:800;
  color:var(--accent);
  margin-bottom:8px;
  letter-spacing:-1px;
}
.cta-stat-label{
  font-size:14px;
  color:var(--muted);
  font-weight:600;
}

/* Footer */
.site-footer{
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.15);
  padding: 48px 0 24px;
}
.footer-grid{
  display:grid; gap:28px;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items:start;
}
.footer-title{font-weight:700; margin-bottom:14px; font-size:16px}
.footer-links{list-style:none; padding:0; margin:0; display:grid; gap:10px}
.footer-links a{
  color:var(--muted);
  transition:var(--transition);
  font-size:15px;
}
.footer-links a:hover{color:var(--text); transform:translateX(4px)}
.footer-brand{display:flex; align-items:center; gap:12px; margin-bottom:12px}
.footer-brand .brand-dot{width:10px; height:10px}
.footer-bottom{
  display:flex; justify-content:space-between; gap:14px;
  padding-top:20px; margin-top:20px;
  border-top: 1px solid rgba(255,255,255,.1);
}


/* Export actions */
.export-actions{display:flex; gap:8px; flex-wrap:wrap}

/* Export header for PDF/PNG */
.pn-export-wrap{background:#0b0d12; color:rgba(255,255,255,.92); padding:22px; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; max-width:800px}
.pn-export-head{display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:16px}
.pn-export-title{font-weight:800; font-size:20px; letter-spacing:-.01em}
.pn-export-meta{font-size:13px; color:rgba(255,255,255,.68)}
.pn-export-badge{display:inline-flex; padding:8px 14px; border-radius:10px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); font-size:14px; font-weight:600}


/* Theme toggle */
.theme-toggle{
  white-space:nowrap; 
  font-weight:500;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.theme-toggle .theme-label{display:none}
@media (min-width: 980px){
  .theme-toggle .theme-label{display:inline}
}
:root[data-theme="light"] .theme-toggle{
  border-color: rgba(0,0,0,.14);
  background: rgba(0,0,0,.03);
}
.theme-ico{font-size:16px; line-height:1}

/* Responsive */
@media (min-width: 1024px){
  .nav{display:block}
  .result-grid{grid-template-columns: .95fr 1.05fr}
}

@media (max-width: 1023px){
  .hero-grid, .split{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr}
  .hero{padding:40px 0 20px}
  .section{padding:40px 0}
  .card-check{max-height:none}
  .testimonials-grid{grid-template-columns: 1fr}
  .stats-card{grid-template-columns: 1fr}
  .cta-block{grid-template-columns: 1fr; gap:32px; padding:36px}
}

@media (max-width: 768px){
  .container{padding:0 16px}
  .header-row{min-height:64px; padding:6px 0}
  .brand-title{font-size:15px}
  .brand-dot{width:36px; height:36px; font-size:18px; border-radius:8px}
  .hero-title{font-size:clamp(26px, 7vw, 42px)}
  .hero-subtitle{font-size:15px}
  .section h2{font-size:24px}
  .hero{padding:30px 0 16px}
  .section{padding:32px 0}
  .textarea{height:180px; min-height:180px; font-size:15px}
  .form-row{flex-direction:column; align-items:stretch}
  .form-row .btn{width:100%}
  .file-btn{width:100%}
  .result-head{flex-direction:column; align-items:stretch}
  .result-head-right{align-items:stretch}
  .score{align-items:flex-start}
  .export-actions{width:100%}
  .export-actions .btn{flex:1}
  .cta-block{padding:24px; gap:24px}
  .cta-content h2{font-size:28px}
  .cta-stat-number{font-size:36px}
  .stat-number{font-size:28px}
}

@media (max-width: 980px){
  .header-actions .header-link{display:none}
  .burger-btn{display:flex}
  
  .nav{
    position:fixed;
    top:80px;
    left:0;
    right:0;
    background:var(--panel);
    backdrop-filter:blur(20px);
    border-bottom:1px solid var(--stroke);
    padding:20px 24px;
    transform:translateY(-100%);
    opacity:0;
    transition:var(--transition);
    z-index:99;
    box-shadow:var(--shadow-sm);
  }
  .nav.active{
    transform:translateY(0);
    opacity:1;
  }
  .nav-list{
    flex-direction:column;
    gap:16px;
  }
  .nav-list a{
    font-size:16px;
    padding:12px 0;
  }
}

@media (max-width: 768px){
  .nav{top:70px}
}

/* Trust badges */
.trust-badges{
  display:flex;
  gap:24px;
  margin-top:24px;
  flex-wrap:wrap;
}
.trust-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  font-size:13px;
  color:rgba(255,255,255,.86);
}
.trust-icon{
  font-size:16px;
}
:root[data-theme="light"] .trust-item{
  background:rgba(0,0,0,.02);
  border-color:rgba(0,0,0,.08);
  color:rgba(0,0,0,.86);
}

/* Comparison Table */
.comparison-section{
  background:var(--panel);
}
.comparison-table{
  background:var(--bg);
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  overflow:hidden;
}
.comparison-row{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  border-bottom:1px solid var(--stroke);
}
.comparison-row:last-child{
  border-bottom:none;
}
.comparison-header{
  background:rgba(255,107,53,.08);
  font-weight:700;
  font-size:15px;
}
.comparison-cell{
  padding:16px 20px;
  display:flex;
  align-items:center;
  gap:8px;
  border-right:1px solid var(--stroke);
}
.comparison-cell:last-child{
  border-right:none;
}
.comparison-cell.highlight{
  background:rgba(255,107,53,.04);
  font-weight:600;
}
.comparison-row:hover .comparison-cell:not(.highlight){
  background:rgba(255,255,255,.02);
}
:root[data-theme="light"] .comparison-row:hover .comparison-cell:not(.highlight){
  background:rgba(0,0,0,.01);
}
.check{
  color:#22c55e;
  font-weight:800;
  font-size:18px;
}
.cross{
  color:#ef4444;
  font-weight:800;
  font-size:18px;
}
.warning{
  color:#f59e0b;
  font-weight:800;
  font-size:18px;
}

/* Counter animation */
#pnCounter{
  display:inline-block;
  min-width:60px;
  text-align:center;
  font-weight:700;
  color:var(--accent);
}

/* Form hint */
.form-hint{
  font-size:13px;
  color:var(--muted);
  padding:8px 12px;
  background:rgba(255,107,53,.06);
  border-left:3px solid var(--accent);
  border-radius:6px;
  margin-top:12px;
  line-height:1.5;
  animation:slideIn 0.3s ease;
}
@keyframes slideIn{
  from{
    opacity:0;
    transform:translateY(-10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
.form-hint.hidden{
  display:none;
}

@media (max-width: 768px){
  .comparison-row{
    grid-template-columns:1fr;
  }
  .comparison-cell{
    border-right:none;
    border-bottom:1px solid var(--stroke);
  }
  .comparison-cell:last-child{
    border-bottom:none;
  }
  .comparison-header .comparison-cell:first-child{
    display:none;
  }
  .comparison-row:not(.comparison-header) .comparison-cell:first-child{
    font-weight:600;
    background:rgba(255,255,255,.02);
  }
  .trust-badges{
    gap:12px;
  }
  .trust-item{
    flex:1;
    min-width:calc(50% - 6px);
    justify-content:center;
  }
}
