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

:root{
  --orange:#f97316;
  --yellow:#fbbf24;
  --bg:#0d0d1a;
  --bg2:#111127;
  --text:#ffffff;
  --sub:rgba(255,255,255,0.55);
  --r:14px;
  --t:0.22s ease;
}

html{scroll-behavior:smooth}

body{
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}

::-webkit-scrollbar{width:8px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--orange);border-radius:4px}

a{color:var(--orange);text-decoration:none}
a:hover{text-decoration:underline}

/* ── Navbar ────────────────────────────────────────────────── */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:24px 40px;
  display:flex;align-items:center;justify-content:space-between;
  transition:background var(--t),box-shadow var(--t),padding var(--t);
}
.nav.scrolled{
  background:rgba(13,13,26,0.88);
  backdrop-filter:blur(16px);
  box-shadow:0 2px 24px rgba(0,0,0,0.45);
  padding:14px 40px;
}
.nav__brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.nav__logo{width:34px;height:34px;border-radius:8px}
.nav__name{
  font-size:1.2rem;font-weight:800;
  background:linear-gradient(135deg,var(--orange),var(--yellow));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.nav__links{display:flex;gap:32px;list-style:none}
.nav__links a{color:rgba(255,255,255,0.7);font-size:.9rem;font-weight:500;text-decoration:none;transition:color var(--t)}
.nav__links a:hover{color:#fff}

/* ── Hero ──────────────────────────────────────────────────── */
.hero{
  position:relative;min-height:100vh;
  display:flex;align-items:center;justify-content:center;
  text-align:center;overflow:hidden;padding:140px 20px 80px;
}
.hero__glow1{
  position:absolute;top:-10%;left:-10%;width:60%;height:60%;
  background:radial-gradient(circle,rgba(249,115,22,.13) 0%,transparent 70%);
  pointer-events:none;
}
.hero__glow2{
  position:absolute;bottom:-10%;right:-10%;width:50%;height:50%;
  background:radial-gradient(circle,rgba(99,102,241,.1) 0%,transparent 70%);
  pointer-events:none;
}
.particles{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.p{
  position:absolute;bottom:-10px;border-radius:50%;
  background:rgba(249,115,22,.6);
  animation:rise linear infinite;
}
@keyframes rise{
  0%{transform:translateY(0) rotate(0deg);opacity:0}
  10%{opacity:.7}90%{opacity:.5}
  100%{transform:translateY(-110vh) rotate(720deg);opacity:0}
}
.p:nth-child(1) {left:5%;  width:4px;height:4px;animation-duration:9s; animation-delay:0s}
.p:nth-child(2) {left:12%; width:6px;height:6px;animation-duration:13s;animation-delay:1.5s}
.p:nth-child(3) {left:20%; width:3px;height:3px;animation-duration:8s; animation-delay:3s}
.p:nth-child(4) {left:30%; width:7px;height:7px;animation-duration:15s;animation-delay:.5s}
.p:nth-child(5) {left:38%; width:4px;height:4px;animation-duration:10s;animation-delay:2s}
.p:nth-child(6) {left:48%; width:5px;height:5px;animation-duration:12s;animation-delay:4s}
.p:nth-child(7) {left:55%; width:3px;height:3px;animation-duration:9s; animation-delay:1s}
.p:nth-child(8) {left:62%; width:6px;height:6px;animation-duration:14s;animation-delay:3.5s}
.p:nth-child(9) {left:70%; width:4px;height:4px;animation-duration:11s;animation-delay:0s}
.p:nth-child(10){left:78%; width:5px;height:5px;animation-duration:8s; animation-delay:2.5s}
.p:nth-child(11){left:85%; width:3px;height:3px;animation-duration:13s;animation-delay:1s}
.p:nth-child(12){left:90%; width:7px;height:7px;animation-duration:10s;animation-delay:4.5s}
.p:nth-child(13){left:15%; width:5px;height:5px;animation-duration:16s;animation-delay:2s}
.p:nth-child(14){left:42%; width:4px;height:4px;animation-duration:11s;animation-delay:5s}
.p:nth-child(15){left:68%; width:6px;height:6px;animation-duration:9s; animation-delay:1.5s}
.p:nth-child(16){left:93%; width:3px;height:3px;animation-duration:12s;animation-delay:3s}

.hero__content{position:relative;z-index:1;max-width:720px}
.hero__logo{width:88px;height:88px;border-radius:18px;margin:0 auto 24px;display:block}
.badge{
  display:inline-block;padding:6px 16px;
  background:rgba(249,115,22,.12);border:1px solid rgba(249,115,22,.3);
  border-radius:100px;font-size:.78rem;font-weight:600;color:var(--orange);
  letter-spacing:.05em;text-transform:uppercase;margin-bottom:20px;
}
.hero__title{
  font-size:clamp(2.2rem,6vw,3.8rem);font-weight:900;
  line-height:1.1;margin-bottom:20px;letter-spacing:-.02em;
}
.grad{
  background:linear-gradient(135deg,var(--orange),var(--yellow));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.hero__sub{font-size:clamp(1rem,2.5vw,1.15rem);color:var(--sub);max-width:520px;margin:0 auto 36px}
.hero__btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.hero__scroll{
  position:absolute;bottom:32px;left:50%;transform:translateX(-50%);
  color:var(--sub);font-size:1.4rem;animation:bounce 2s ease infinite;
}
@keyframes bounce{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(8px)}}

/* ── Buttons ───────────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 28px;border-radius:10px;font-size:.95rem;font-weight:700;
  cursor:pointer;text-decoration:none;transition:all var(--t);border:none;
}
.btn-primary{
  background:linear-gradient(135deg,var(--orange),#ea6c0a);
  color:#fff;box-shadow:0 4px 20px rgba(249,115,22,.35);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 28px rgba(249,115,22,.5);text-decoration:none;color:#fff}
.btn-ghost{background:transparent;color:var(--text);border:1.5px solid rgba(255,255,255,.2)}
.btn-ghost:hover{border-color:var(--orange);color:var(--orange);transform:translateY(-2px);text-decoration:none}

/* ── Section base ──────────────────────────────────────────── */
.section{padding:90px 20px}
.section--dark{background:var(--bg2)}
.sec-head{text-align:center;margin-bottom:56px}
.sec-title{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:800;margin-bottom:14px}
.sec-sub{color:var(--sub);font-size:1.05rem;max-width:560px;margin:0 auto}

/* ── Projects ──────────────────────────────────────────────── */
.proj-grid{display:grid;gap:24px;max-width:900px;margin:0 auto}
.proj-card{
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r);padding:32px;
  display:flex;gap:24px;align-items:flex-start;
  transition:border-color var(--t),transform var(--t);
}
.proj-card:hover{border-color:rgba(249,115,22,.3);transform:translateY(-3px)}
.proj-icon{font-size:2.4rem;flex-shrink:0}
.proj-tag{
  display:inline-block;padding:3px 10px;
  background:rgba(249,115,22,.1);border-radius:6px;
  font-size:.75rem;color:var(--orange);font-weight:600;margin-bottom:10px;
}
.proj-title{font-size:1.3rem;font-weight:700;margin-bottom:8px}
.proj-desc{color:var(--sub);font-size:.95rem;line-height:1.65;margin-bottom:16px}
.proj-link{
  color:var(--orange);font-weight:600;font-size:.9rem;
  display:inline-flex;align-items:center;gap:4px;
  text-decoration:none;transition:gap var(--t);
}
.proj-link:hover{gap:8px;text-decoration:none}

/* ── Services ──────────────────────────────────────────────── */
.srv-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;max-width:1000px;margin:0 auto;
}
.srv-card{
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);
  border-radius:var(--r);padding:28px 24px;
  transition:border-color var(--t),transform var(--t);
}
.srv-card:hover{border-color:rgba(249,115,22,.25);transform:translateY(-3px)}
.srv-icon{font-size:2rem;margin-bottom:14px}
.srv-title{font-size:1.05rem;font-weight:700;margin-bottom:8px}
.srv-desc{color:var(--sub);font-size:.88rem;line-height:1.65}

/* ── About ─────────────────────────────────────────────────── */
.about-inner{max-width:760px;margin:0 auto;text-align:center}
.about-text{color:var(--sub);font-size:1rem;line-height:1.78;margin-bottom:16px}
.facts{display:flex;justify-content:center;gap:48px;margin-top:40px;flex-wrap:wrap}
.fact-val{
  font-size:2.4rem;font-weight:900;
  background:linear-gradient(135deg,var(--orange),var(--yellow));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.fact-lbl{font-size:.85rem;color:var(--sub);margin-top:4px}

/* ── Contact ───────────────────────────────────────────────── */
.contact{position:relative;text-align:center;overflow:hidden}
.contact-glow{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:600px;height:400px;
  background:radial-gradient(ellipse,rgba(249,115,22,.1) 0%,transparent 70%);
  pointer-events:none;
}
.contact-inner{position:relative;z-index:1}
.contact-title{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:800;margin-bottom:16px}
.contact-sub{color:var(--sub);margin-bottom:36px;font-size:1rem}
.contact-info{display:flex;justify-content:center;gap:40px;margin-top:32px;flex-wrap:wrap}
.ci{color:var(--sub);font-size:.9rem}
.ci strong{color:var(--text);display:block;margin-bottom:2px}

/* ── Footer ────────────────────────────────────────────────── */
.footer{
  border-top:1px solid rgba(255,255,255,.07);padding:32px 40px;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;
}
.footer-brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.footer-logo{width:28px;height:28px;border-radius:6px}
.footer-name{font-weight:700;font-size:1rem;color:var(--text)}
.footer-copy{color:var(--sub);font-size:.85rem}
.footer-links{display:flex;gap:20px}
.footer-links a{color:var(--sub);font-size:.85rem;text-decoration:none;transition:color var(--t)}
.footer-links a:hover{color:var(--orange)}

/* ── Legal pages ───────────────────────────────────────────── */
.legal{min-height:100vh;padding:100px 20px 60px;max-width:800px;margin:0 auto}
.legal-back{
  display:inline-flex;align-items:center;gap:6px;
  color:var(--sub);text-decoration:none;font-size:.9rem;
  margin-bottom:40px;transition:color var(--t);
}
.legal-back:hover{color:var(--orange)}
.legal-title{font-size:2.2rem;font-weight:800;margin-bottom:8px}
.legal-date{color:var(--sub);font-size:.9rem;margin-bottom:40px}
.legal-section{margin-bottom:36px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.07)}
.legal-section:last-child{border-bottom:none}
.legal-section h2{font-size:1.15rem;font-weight:700;color:var(--orange);margin-bottom:12px}
.legal-section p{color:rgba(255,255,255,.75);font-size:.95rem;line-height:1.78;margin-bottom:10px}
.legal-section ul{color:rgba(255,255,255,.75);font-size:.95rem;line-height:1.78;padding-left:20px}
.legal-section ul li{margin-bottom:6px}
.legal-section a{color:var(--orange)}

/* ── Responsive ────────────────────────────────────────────── */
@media(max-width:700px){
  .nav{padding:16px 20px}
  .nav.scrolled{padding:12px 20px}
  .nav__links{gap:18px}
  .nav__links a{font-size:.8rem}
  .proj-card{flex-direction:column;gap:16px}
  .footer{flex-direction:column;align-items:flex-start;padding:24px 20px}
  .facts{gap:28px}
  .contact-info{gap:24px}
}
