/* /public/assets/style2.css */

/* Base */
:root{
  --bg:#F8FAFC;
  --bg-alt:#EEF2FF;
  --card:#FFFFFF;
  --text:#0F172A;
  --muted:#475569;
  --muted2:#64748B;
  --border:#E5E7EB;
  --shadow:0 10px 30px rgba(0,0,0,0.04);
  --shadow-hero:0 20px 60px rgba(0,0,0,0.06);
  --radius:16px;
  --radius-sm:12px;
  --accent1:#6366F1;
  --accent2:#8B5CF6;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{ color:inherit; }
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 24px;
}

/* Skip link */
.skip{
  position:absolute; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  position:fixed; left:16px; top:16px;
  width:auto; height:auto;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  z-index:9999;
}

/* Nav (elite) */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(248,250,252,0.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(229,231,235,0.6);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:18px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.logo-image{
  display:block;
  height:42px;
  width:auto;
  max-width:240px;
}
.nav-links{
  display:flex;
  gap:14px;
  align-items:center;
}
.nav-links a{
  text-decoration:none;
  color:var(--muted);
  font-weight:500;
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
}
.nav-links a:hover{
  color:var(--text);
  background:rgba(99,102,241,0.06);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 22px;
  border-radius:var(--radius-sm);
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  user-select:none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
}
.btn.primary{
  background:linear-gradient(135deg,var(--accent1),var(--accent2));
  color:#fff;
  box-shadow:0 14px 30px rgba(99,102,241,0.24);
}
.btn.primary:hover{ transform:translateY(-2px); box-shadow:0 18px 40px rgba(99,102,241,0.28); }
.btn.ghost{
  background:transparent;
  border-color:var(--border);
  color:var(--text);
}
.btn.ghost:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.btn.full{ width:100%; }

/* Hero */
.hero{
  padding:92px 0 56px;
  background:
    radial-gradient(800px 400px at 70% 20%, rgba(99,102,241,0.10), transparent 60%),
    radial-gradient(900px 500px at 20% 15%, rgba(139,92,246,0.08), transparent 60%);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:56px;
  align-items:center;
}
.badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(229,231,235,0.8);
  background:rgba(255,255,255,0.7);
  color:var(--muted);
  font-size:13px;
  margin:0 0 18px;
}
h1{
  font-size:60px;
  line-height:1.05;
  margin:0 0 18px;
  letter-spacing:-0.02em;
}
h1 span{
  color:var(--accent1);
}
.subline{
  font-size:18px;
  color:var(--muted);
  max-width:620px;
  margin:0;
}
.cta-group{
  margin-top:26px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.micro-trust{
  margin-top:18px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  font-size:14px;
  color:var(--muted2);
}
.hero-card .card{
  background:rgba(255,255,255,0.82);
  border:1px solid rgba(229,231,235,0.75);
  border-radius:var(--radius);
  padding:32px;
  box-shadow:var(--shadow-hero);
}
.hero-card h3{ margin:0 0 12px; font-size:20px; }
.checks{
  list-style:none;
  padding:0;
  margin:0;
}
.checks li{
  position:relative;
  padding-left:28px;
  margin:0 0 12px;
  color:#334155;
}
.checks li:before{
  content:"✓";
  position:absolute;
  left:0; top:0;
  color:var(--accent1);
}
.checks.cross li:before{ content:"×"; color:var(--muted2); }
.approach{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(229,231,235,0.8);
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:var(--muted);
}
.dot{
  width:10px; height:10px;
  border-radius:50%;
  background:var(--accent1);
  margin-top:6px;
}

/* Cred strip */
.cred{
  background:var(--bg-alt);
  border-top:1px solid rgba(229,231,235,0.6);
  border-bottom:1px solid rgba(229,231,235,0.6);
  padding:18px 0;
}
.cred-inner{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:14px;
}
.cred-lead{ font-weight:600; color:#334155; }
.cred-sep{ color:rgba(100,116,139,0.7); }

/* Sections */
.section{ padding:110px 0; }
.section-alt{ background:var(--bg-alt); }
.section-head{ margin-bottom:26px; }
.section-head h2{ font-size:38px; margin:0 0 8px; letter-spacing:-0.02em; }
.section-head p{ margin:0; color:var(--muted); max-width:760px; }
.muted{ color:var(--muted); }
.small{ font-size:14px; color:var(--muted2); }

/* Services */
.services-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:24px;
}
.service{
  background:var(--card);
  border:1px solid rgba(229,231,235,0.9);
  border-radius:var(--radius);
  padding:32px;
  box-shadow:var(--shadow);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.service:hover{ transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,0.06); }
.service.featured{
  padding:40px;
  background:linear-gradient(180deg,#ffffff,#F1F5F9);
}
.service h3{ margin:0 0 10px; font-size:22px; }
.service h4{
  margin:18px 0 10px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted2);
}
.bullets{ margin:14px 0 0; padding-left:18px; color:#334155; }
.bullets li{ margin-bottom:8px; }
.service-cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:18px;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  font-size:13px;
  color:var(--text);
}
.service-foot{
  margin-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.note{
  margin-top:22px;
  padding:18px 20px;
  border:1px solid rgba(229,231,235,0.9);
  border-radius:var(--radius);
  background:rgba(255,255,255,0.75);
  color:#334155;
}

/* Fit */
.fit-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  padding:110px 24px;
}
.fit-card{
  background:rgba(255,255,255,0.85);
  border:1px solid rgba(229,231,235,0.9);
  border-radius:var(--radius);
  padding:32px;
  box-shadow:var(--shadow);
}

/* Work */
.work-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
.case{
  background:var(--card);
  border:1px solid rgba(229,231,235,0.9);
  border-radius:var(--radius);
  padding:32px;
  box-shadow:var(--shadow);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.case:hover{ transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,0.06); }
.case.featured{
  grid-column:1 / -1;
  background:linear-gradient(180deg,#ffffff,#F1F5F9);
}
.case-head{ margin-bottom:10px; }
.case-head h3{ margin:0; }
.tags{ display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.tags span{
  font-size:13px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
}
.case a{ color:var(--accent1); text-decoration:none; }
.case a:hover{ text-decoration:underline; }
.case.cta{ display:flex; flex-direction:column; justify-content:space-between; }

/* Process */
.process-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
.pstep{
  background:var(--card);
  border:1px solid rgba(229,231,235,0.9);
  border-radius:var(--radius);
  padding:28px 28px;
  box-shadow:var(--shadow);
}
.pstep-top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
}
.pstep-no{
  width:34px; height:34px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(99,102,241,0.10);
  color:var(--accent1);
  font-weight:700;
}
.pstep h3{ margin:0; }

/* Tech chips */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chips span{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(229,231,235,0.9);
  background:rgba(255,255,255,0.85);
  color:#334155;
  font-size:13px;
}

/* FAQ */
.faq details{
  background:#fff;
  border:1px solid rgba(229,231,235,0.9);
  border-radius:var(--radius);
  padding:14px 16px;
  margin-bottom:12px;
  box-shadow:0 8px 22px rgba(0,0,0,0.03);
}
.faq summary{
  cursor:pointer;
  font-weight:650;
  list-style:none;
  color:#0F172A;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary:hover{ color:var(--accent1); }
.faq details p{ margin:10px 0 0; color:var(--muted); }

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
  align-items:start;
}
.form label{
  display:block;
  font-size:14px;
  color:#334155;
  margin-bottom:14px;
}
.form input,.form textarea{
  width:100%;
  margin-top:8px;
  padding:14px 14px;
  border-radius:12px;
  border:1px solid rgba(229,231,235,0.95);
  background:#fff;
  color:var(--text);
  outline:none;
}
.form input:focus,.form textarea:focus{
  border-color:rgba(99,102,241,0.55);
  box-shadow:0 0 0 4px rgba(99,102,241,0.12);
}
.form .row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.form-actions{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
#contactStatus{
  min-height:1.2em;
  margin:0;
}
#contactStatus.is-success{ color:#166534; }
#contactStatus.is-error{ color:#b91c1c; }
.side-card{
  background:#fff;
  border:1px solid rgba(229,231,235,0.9);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow-hero);
}
.details{ padding-left:18px; margin:10px 0 0; color:#334155; }
.divider{ height:1px; background:rgba(229,231,235,0.9); margin:18px 0; }

/* Footer */
.footer{
  padding:40px 0;
  border-top:1px solid rgba(229,231,235,0.8);
  background:var(--bg);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
}
.footer-links{ display:flex; gap:14px; }
.footer a{ color:var(--muted); text-decoration:none; }
.footer a:hover{ color:var(--text); }

/* Responsive */
@media (max-width: 980px){
  h1{ font-size:46px; }
  .hero-grid{ grid-template-columns:1fr; gap:28px; }
  .services-grid{ grid-template-columns:1fr; }
  .service-cols{ grid-template-columns:1fr; }
  .fit-grid{ grid-template-columns:1fr; padding:80px 24px; }
  .work-grid{ grid-template-columns:1fr; }
  .process-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .nav-links{ display:none; } /* ако искаш, добави burger по-късно */
  .logo-image{ height:36px; max-width:200px; }
}

@media (prefers-reduced-motion: reduce){
  .btn, .service, .case{ transition:none; }
  .btn:hover, .service:hover, .case:hover{ transform:none; }
}
