/* FastenSys - main website (single page) */
:root{
  --bg:#060a12;
  --bg2:#0b1220;
  --border: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.52);
  --accent:#6ee7ff;
  --accent2:#8b5cf6;
  --shadow: 0 18px 55px rgba(0,0,0,.42);
  --radius: 18px;
  --radius2: 26px;
  --container: 1120px;
  --font-en: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-ar: 'Cairo', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background: radial-gradient(1200px 600px at 10% 10%, rgba(110,231,255,.12), transparent 60%),
              radial-gradient(900px 500px at 90% 20%, rgba(139,92,246,.14), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  font-family: var(--font-en);
  line-height:1.55;
}
html[dir="rtl"] body{font-family: var(--font-ar)}
a{color:inherit}
.container{width:min(var(--container), calc(100% - 40px)); margin:0 auto}

.skip{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;}
.skip:focus{
  left:20px; top:20px; width:auto; height:auto; padding:10px 12px;
  background:#111827; border:1px solid var(--border); border-radius:12px; z-index:9999;
}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(16px);
  background: rgba(6,10,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header__inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}

.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand__mark{
  width:42px; height:42px; border-radius:14px;
  background: radial-gradient(circle at 30% 25%, var(--accent), transparent 55%),
              radial-gradient(circle at 80% 75%, var(--accent2), transparent 55%),
              rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
}
.brand__text{font-weight:800; letter-spacing:.2px}
.brand__sub{display:block; font-size:12px; color:var(--muted2); margin-top:2px}
.brand--footer .brand__sub{display:none}

.nav{display:flex; align-items:center; gap:12px}
.nav__toggle{
  display:none; width:44px; height:44px; border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  cursor:pointer;
}
.nav__toggle span{display:block; height:2px; margin:6px 10px; background:rgba(255,255,255,.86); border-radius:999px}
.nav__links{display:flex; align-items:center; gap:16px}
.nav__links a{
  text-decoration:none; font-weight:600; font-size:14px; color:rgba(255,255,255,.86);
  padding:10px 10px; border-radius:12px;
}
.nav__links a:hover{background:rgba(255,255,255,.06)}
.lang{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  cursor:pointer;
}
.lang__dot{width:10px; height:10px; border-radius:999px; background:linear-gradient(135deg, var(--accent), var(--accent2));}
.lang__label{font-weight:800; letter-spacing:.4px; font-size:12px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn--sm{padding:10px 14px; border-radius:14px}
.btn--primary{
  background: linear-gradient(135deg, rgba(110,231,255,.22), rgba(139,92,246,.22));
  border-color: rgba(110,231,255,.22);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.btn--primary:hover{transform: translateY(-1px)}
.btn--ghost{background: rgba(255,255,255,.04);}
.btn--ghost:hover{background: rgba(255,255,255,.07)}

.section{padding:78px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.section__head{margin-bottom:26px}
.section__head h2{font-size:34px; margin:0 0 8px 0}
.muted{color:var(--muted)}
.lead{color:rgba(255,255,255,.78); font-size:18px; max-width:56ch}
.eyebrow{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  font-weight:700;
  font-size:12px;
  letter-spacing:.25px;
}

.hero{padding:64px 0 28px}
.hero__grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:32px; align-items:center}
.hero__content h1{font-size:46px; margin:14px 0 12px; line-height:1.12}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

.trust{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:12px; margin-top:22px}
.trust__item{
  padding:14px 14px;
  border-radius:16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}
.trust__kpi{font-weight:900; letter-spacing:.2px; font-size:16px}
.trust__lbl{color:var(--muted2); font-size:12px; margin-top:4px}

.hero__visual{position:relative; min-height:380px}
.glow{position:absolute; filter: blur(36px); opacity:.55; pointer-events:none;}
.g1{width:220px; height:220px; left:-10px; top:40px; background: rgba(110,231,255,.22); border-radius:999px}
.g2{width:260px; height:260px; right:-10px; bottom:30px; background: rgba(139,92,246,.22); border-radius:999px}

.card{border-radius: var(--radius2); background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); box-shadow: var(--shadow);}
.glass{backdrop-filter: blur(18px)}
.card__head{display:flex; align-items:center; justify-content:space-between; padding:16px 16px 0 16px;}
.pill{
  font-size:12px; font-weight:800;
  padding:8px 12px; border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.dot{width:12px; height:12px; border-radius:999px; border:1px solid rgba(255,255,255,.18)}
.dot--ok{background: rgba(34,197,94,.35); box-shadow: 0 0 0 6px rgba(34,197,94,.12)}
.card__body{padding:16px}

.meter{margin:14px 0}
.meter__row{display:flex; align-items:center; justify-content:space-between; color:rgba(255,255,255,.86)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size:12px; color:rgba(255,255,255,.76)}
.bar{
  height:10px; border-radius:999px; overflow:hidden; margin-top:8px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.bar i{
  display:block; height:100%;
  background: linear-gradient(90deg, rgba(110,231,255,.85), rgba(139,92,246,.85));
  border-radius:999px;
}

.mini{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px; margin-top:16px}
.mini__box{padding:12px; border-radius:16px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10);}
.mini__title{font-weight:900; font-size:13px}
.mini__desc{color:var(--muted2); font-size:12px; margin-top:2px}

.grid{display:grid; gap:14px}
.grid--3{grid-template-columns: repeat(3, minmax(0,1fr))}
.grid--2{grid-template-columns: repeat(2, minmax(0,1fr))}

.tile{
  padding:18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  transition: transform .14s ease, background .14s ease;
}
.tile:hover{transform: translateY(-2px); background: rgba(255,255,255,.055)}
.tile h3{margin:0 0 8px 0}
.tile p{margin:0 0 12px 0; color:var(--muted)}
.check{list-style:none; padding:0; margin:0; display:grid; gap:8px}
.check li{display:flex; gap:10px; align-items:flex-start; color: rgba(255,255,255,.82); font-size:13px;}
.check li:before{
  content:""; width:18px; height:18px; border-radius:6px;
  background: linear-gradient(135deg, rgba(110,231,255,.22), rgba(139,92,246,.22));
  border:1px solid rgba(255,255,255,.12);
  margin-top:1px; flex:0 0 auto;
}

.panel{padding:18px; border-radius: var(--radius); background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10);}
.panel h3{margin:0 0 6px 0}
.panel p{margin:0 0 14px 0; color:var(--muted)}
.tags{display:flex; gap:8px; flex-wrap:wrap}
.tags span{
  font-size:12px; font-weight:800; color:rgba(255,255,255,.82);
  padding:8px 10px; border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}

.cta-band{
  margin-top:18px;
  padding:18px;
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(110,231,255,.10), rgba(139,92,246,.10));
  border:1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; gap:18px; align-items:center;
}

.steps{display:grid; gap:12px}
.step{
  display:grid; grid-template-columns: 64px 1fr; gap:14px;
  padding:18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.step__n{
  width:64px; height:64px; border-radius:18px;
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
}

.stack{display:grid; grid-template-columns: 1.2fr .8fr; gap:14px; margin-top:14px}
.stack__card{padding:18px; border-radius: var(--radius2); background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10)}
.stack__grid{display:grid; gap:10px; margin-top:12px}
.stack__item{display:flex; justify-content:space-between; gap:12px; padding:12px; border-radius:16px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10)}
.badge{font-size:12px; font-weight:900; padding:6px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05)}

.plans{display:grid; gap:10px; margin-top:12px}
.plan{padding:12px; border-radius:16px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10)}
.plan__name{font-weight:900}
.plan__desc{color:var(--muted); font-size:13px; margin-top:2px}
.note{margin-top:10px; color:var(--muted2); font-size:12px}

.case{padding:18px; border-radius: var(--radius2); background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10);}
.case__top{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px}
.case__tag{font-size:12px; font-weight:900; padding:8px 10px; border-radius:999px; background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.10);}
.case__kpi{font-weight:900; color: rgba(110,231,255,.9)}
.case h3{margin:0 0 8px 0}
.case p{margin:0; color:var(--muted)}

.faq{margin-top:34px}
.accordion{border-radius: var(--radius2); overflow:hidden; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03);}
.acc{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 18px;
  background: transparent;
  border:0;
  color:var(--text);
  cursor:pointer;
  font-weight:800;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.acc i{
  width:10px; height:10px;
  border-right:2px solid rgba(255,255,255,.78);
  border-bottom:2px solid rgba(255,255,255,.78);
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.acc[aria-expanded="true"] i{transform: rotate(-135deg)}
.acc__panel{max-height:0; overflow:hidden; transition: max-height .18s ease; padding: 0 18px; border-bottom:1px solid rgba(255,255,255,.08);}
.acc__panel p{margin:12px 0 16px; color:var(--muted)}

.contact{display:grid; grid-template-columns: 1fr 1fr; gap:18px; align-items:start;}
.contact__cards{display:grid; gap:10px; margin-top:16px}
.contact__card{padding:14px; border-radius: var(--radius); background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10);}
.contact__k{color:var(--muted2); font-size:12px; font-weight:900}
.contact__v{margin-top:4px; font-weight:800}
.contact__v a{color:rgba(110,231,255,.92); text-decoration:none}
.contact__actions{display:flex; gap:10px; margin-top:16px; flex-wrap:wrap}

.form{padding:18px; border-radius: var(--radius2); background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10);}
.form__row{display:grid; gap:8px; margin-bottom:12px}
.form label{font-weight:900; font-size:13px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(110,231,255,.38)}
.form__actions{display:grid; gap:10px; margin-top:10px}
.fine{font-size:12px; color:var(--muted2); margin:0}

.footer{padding-top:26px; border-top:1px solid rgba(255,255,255,.08); margin-top:26px}
.footer__grid{display:grid; grid-template-columns: 1.4fr .6fr .7fr; gap:14px; align-items:start}
.footer__links{display:grid; gap:10px}
.footer__links a{text-decoration:none; color:rgba(255,255,255,.82); font-weight:800}
.footer__links a:hover{color:rgba(110,231,255,.92)}
.footer__meta{display:grid; gap:6px; justify-items:end}
html[dir="rtl"] .footer__meta{justify-items:start}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr;}
  .hero__visual{min-height: 320px}
  .grid--3{grid-template-columns: 1fr}
  .grid--2{grid-template-columns: 1fr}
  .stack{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .footer__grid{grid-template-columns: 1fr}
  .footer__meta{justify-items:start}
}
@media (max-width: 760px){
  .nav__toggle{display:inline-block}
  .nav__links{
    position:absolute;
    right:20px; left:20px;
    top:72px;
    display:none;
    flex-direction:column;
    gap:10px;
    padding:12px;
    border-radius: var(--radius2);
    background: rgba(6,10,18,.92);
    border:1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow);
  }
  .nav__links.is-open{display:flex}
  .hero__content h1{font-size:38px}
  .trust{grid-template-columns: 1fr}
  .cta-band{flex-direction:column; align-items:flex-start}
}
