
:root{
  --bg:#f6f8fb;
  --surface:#ffffff;
  --text:#0e1726;
  --muted:#667085;
  --line:#e5e9f0;
  --primary:#0b63f6;
  --primary-dark:#0849b7;
  --secondary:#0f9f78;
  --navy:#0a1830;
  --gold:#e7b23c;
  --danger:#c73939;
  --radius:20px;
  --shadow:0 18px 50px rgba(13,28,52,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55
}
body.modal-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(1160px,calc(100% - 36px));margin:auto}

.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(229,233,240,.9)
}
.nav{height:76px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;font-weight:800}
.brand-mark{
  min-width:52px;height:42px;padding:0 10px;border-radius:13px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--navy),var(--primary));
  color:white;font-weight:800;letter-spacing:-.04em
}
.brand-text{font-size:18px;letter-spacing:-.02em}
nav{display:flex;align-items:center;gap:24px;font-size:14px}
nav a{color:#344054;font-weight:700}
nav a:hover{color:var(--primary)}
.nav-cta{padding:11px 16px;border-radius:12px;background:#edf4ff;color:var(--primary)!important}
.admin-link{
  border:1px solid var(--line);background:white;border-radius:12px;
  padding:10px 14px;font-weight:700;color:#344054
}
.menu-btn{display:none;border:0;background:transparent;font-size:24px}

.hero{
  padding:86px 0 70px;
  background:
  radial-gradient(circle at 82% 18%,rgba(11,99,246,.16),transparent 30%),
  radial-gradient(circle at 15% 0%,rgba(15,159,120,.09),transparent 25%),
  linear-gradient(#fff,var(--bg))
}
.hero-grid{display:grid;grid-template-columns:1.3fr .8fr;gap:55px;align-items:center}
.eyebrow{display:inline-block;font-size:11px;letter-spacing:.13em;font-weight:800;color:var(--primary);margin-bottom:12px}
h1{font-size:clamp(42px,6vw,68px);line-height:1.03;letter-spacing:-.045em;margin:0 0 22px;max-width:820px}
h2{font-size:clamp(30px,4vw,46px);line-height:1.08;letter-spacing:-.035em;margin:6px 0 18px}
h3{margin:0 0 10px}
.lead{font-size:19px;color:var(--muted);max-width:690px}

.hero-actions{display:flex;gap:12px;margin:30px 0 25px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border-radius:14px;font-weight:800;border:1px solid transparent}
.btn.primary{background:var(--primary);color:white;box-shadow:0 12px 28px rgba(11,99,246,.22)}
.btn.primary:hover{background:var(--primary-dark)}
.btn.ghost{background:white;border-color:var(--line)}
.trust-row{display:flex;gap:22px;flex-wrap:wrap;font-size:13px;color:#475467}

.hero-card{
  background:rgba(255,255,255,.94);
  border:1px solid var(--line);border-radius:28px;
  padding:30px;box-shadow:var(--shadow)
}
.mini-label{font-size:11px;font-weight:800;color:var(--secondary);letter-spacing:.12em;margin-bottom:13px}
.category-pills{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}
.category-pills span{padding:9px 12px;border-radius:999px;background:#f2f4f7;font-size:12px;font-weight:700}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}
.stat-grid div{background:#f8fafc;border-radius:16px;padding:18px 10px;text-align:center}
.stat-grid strong{display:block;font-size:24px}.stat-grid small{color:var(--muted)}

.section{padding:82px 0}.section.slim{padding:20px 0 48px}
.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 30px rgba(16,24,40,.04)}
.feature-strip div{padding:20px 24px}
.feature-strip div+div{border-left:1px solid var(--line)}
.feature-strip b,.feature-strip span{display:block}
.feature-strip span{color:var(--muted);font-size:13px;margin-top:3px}

.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:28px}
.section-head p{max-width:430px;color:var(--muted)}
.catalog-tools{display:flex;justify-content:space-between;gap:18px;margin-bottom:28px;align-items:center}
.search{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);padding:0 14px;border-radius:13px;min-width:280px}
.search input{border:0;outline:0;background:transparent;padding:13px 0;width:100%}
.filters{display:flex;gap:8px;flex-wrap:wrap}
.filters button{border:1px solid var(--line);background:white;padding:10px 13px;border-radius:11px;font-weight:700;color:#475467}
.filters button.active{background:var(--navy);color:white;border-color:var(--navy)}

.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.product-card{
  background:var(--surface);border:1px solid var(--line);border-radius:20px;
  overflow:hidden;display:flex;flex-direction:column;
  transition:.2s transform,.2s box-shadow
}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.product-visual{
  height:180px;padding:20px;display:flex;align-items:flex-end;
  background:linear-gradient(135deg,#edf4ff,#eafaf4);position:relative
}
.product-visual .tag{
  position:absolute;top:16px;left:16px;background:white;border-radius:999px;
  padding:7px 10px;font-size:11px;font-weight:800
}
.product-visual .icon{font-size:48px}
.product-body{padding:22px;display:flex;flex-direction:column;flex:1}
.product-body p{color:var(--muted);font-size:14px;flex:1}
.product-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:14px}
.price{font-weight:800}.product-link{font-weight:800;color:var(--primary);font-size:14px}
.empty{display:none;text-align:center;padding:40px;color:var(--muted)}

.alt{background:white}
.split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}
.reverse{direction:rtl}.reverse>*{direction:ltr}
.split p{color:var(--muted);font-size:17px}
.text-link{font-weight:800;color:var(--primary)}
.info-card,.course-panel{background:var(--bg);border:1px solid var(--line);border-radius:24px;padding:32px}
.info-card ul{padding-left:20px;color:#475467}.info-card li{margin:10px 0}
.course-panel{display:flex;gap:20px;align-items:center;background:linear-gradient(145deg,var(--navy),#142a50);color:white;min-height:250px}
.course-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:white;color:var(--primary);font-size:23px;flex:0 0 auto}
.course-panel small{color:#a9b7cb;font-weight:700}.course-panel p{color:#d0d9e5}

.dark{background:var(--navy);color:white}
.about{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.about p{font-size:19px;color:#cbd5e1;margin-top:25px}.eyebrow.light{color:#8fb9ff}

.cta-box{
  background:white;border:1px solid var(--line);border-radius:26px;padding:40px;
  display:flex;justify-content:space-between;gap:30px;align-items:center;box-shadow:var(--shadow)
}
.cta-box p{color:var(--muted);margin-bottom:0}

footer{background:white;border-top:1px solid var(--line);padding:55px 0 25px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}
.footer-grid>div{display:flex;flex-direction:column;gap:10px}
.footer-grid p,.footer-grid a{font-size:14px;color:var(--muted)}
.footer-brand .brand-text{color:var(--text)}
.copyright{border-top:1px solid var(--line);margin-top:35px;padding-top:20px;font-size:12px;color:var(--muted)}

/* ADMIN */
.modal-backdrop{
  position:fixed;inset:0;background:rgba(4,12,24,.64);
  z-index:100;display:none;padding:26px;overflow:auto
}
.modal-backdrop.open{display:block}
.admin-modal{
  width:min(1180px,100%);margin:0 auto;background:white;border-radius:26px;
  box-shadow:0 30px 80px rgba(0,0,0,.28);padding:28px
}
.admin-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:20px}
.admin-header h2{font-size:32px;margin:2px 0 6px}.admin-header p{margin:0;color:var(--muted)}
.close-btn{width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:white;font-size:26px}
.admin-notice{
  margin:18px 0;padding:14px 16px;border-radius:14px;
  background:#fff8e8;border:1px solid #f3deb0;color:#745315;font-size:13px
}
.admin-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:26px}
.admin-form,.admin-products{border:1px solid var(--line);border-radius:18px;padding:20px;background:#fbfcfe}
.admin-form label{display:block;font-size:13px;font-weight:700;color:#344054;margin-bottom:14px}
.admin-form input,.admin-form select,.admin-form textarea{
  width:100%;margin-top:7px;border:1px solid #d8dee8;border-radius:11px;padding:11px 12px;
  background:white;outline:none;color:var(--text)
}
.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(11,99,246,.08)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.admin-products-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}
.small-btn{border:1px solid var(--line);background:white;border-radius:10px;padding:8px 10px;font-size:12px;font-weight:700}
.admin-item{display:grid;grid-template-columns:1fr auto;gap:16px;padding:14px 0;border-top:1px solid var(--line)}
.admin-item:first-child{border-top:0}
.admin-item h4{margin:0 0 4px}.admin-item p{margin:0;color:var(--muted);font-size:12px}
.admin-actions{display:flex;gap:6px;align-items:center}
.admin-actions button{border:1px solid var(--line);background:white;border-radius:9px;padding:7px 9px;font-size:12px;font-weight:700}
.admin-actions .delete{color:var(--danger)}

@media (max-width:900px){
  .hero-grid,.split,.about,.admin-layout{grid-template-columns:1fr}
  .hero-card{max-width:600px}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .catalog-tools,.section-head,.cta-box{align-items:stretch;flex-direction:column}
  .filters{justify-content:flex-start}
}
@media (max-width:680px){
  .menu-btn{display:block}
  nav{
    display:none;position:absolute;top:76px;left:0;right:0;background:white;
    padding:18px;flex-direction:column;border-bottom:1px solid var(--line)
  }
  nav.open{display:flex}
  .hero{padding-top:55px}
  h1{font-size:42px}
  .feature-strip{grid-template-columns:1fr}
  .feature-strip div+div{border-left:0;border-top:1px solid var(--line)}
  .product-grid{grid-template-columns:1fr}
  .search{min-width:0;width:100%}
  .footer-grid{grid-template-columns:1fr}
  .reverse{direction:ltr}
  .two-col{grid-template-columns:1fr}
  .modal-backdrop{padding:10px}
  .admin-modal{padding:18px;border-radius:18px}
}
