
:root{
  --bg:#080b13;
  --bg2:#0d111d;
  --card:#111827;
  --card2:#151c2b;
  --text:#f8fafc;
  --muted:#a7adbd;
  --line:rgba(255,255,255,.10);
  --brand:#ff8a00;
  --brand2:#ffb000;
  --blue:#2563eb;
  --success:#22c55e;
  --danger:#ef4444;
  --warning:#f59e0b;
  --radius:28px;
  --shadow:0 28px 80px rgba(0,0,0,.38);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 20% 0%,rgba(255,138,0,.18),transparent 30%),
    linear-gradient(180deg,var(--bg),#060810 100%)!important;
  color:var(--text)!important;
  line-height:1.65;
  overflow-x:hidden;
  padding-bottom:92px;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1160px,92%);margin:auto}

/* ===== HEADER ===== */
.site-header,.header,header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(8,11,19,.90)!important;
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line)!important;
}
.navbar-tto,.nav,.navbar{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff!important;
  font-size:34px;
  font-weight:950;
  letter-spacing:-1.2px;
  line-height:1;
}
.logo span{color:#fff!important}
.logo span strong,.logo .orange{color:var(--brand)!important}
.logo img{height:48px!important;width:auto;object-fit:contain}
.logo small{
  display:block;
  font-size:9px;
  letter-spacing:3px;
  margin-top:4px;
  color:#d5d9e5;
  font-weight:800;
}
.nav-menu,.menu{
  display:flex;
  align-items:center;
  gap:24px;
}
.nav-menu a,.menu a{
  color:var(--muted)!important;
  font-weight:800;
  font-size:15px;
  padding:34px 0;
  position:relative;
  white-space:nowrap;
}
.nav-menu a:hover,.nav-menu a.active,.menu a:hover,.menu a.active{
  color:#fff!important;
}
.nav-menu a.active:after,.menu a.active:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--brand),var(--brand2));
}
.nav-actions{display:flex;align-items:center;gap:10px}
.btn,.btn-tto,button[type=submit],.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 22px;
  border-radius:999px;
  border:0;
  background:linear-gradient(135deg,var(--brand),var(--brand2))!important;
  color:#10131c!important;
  font-weight:950;
  cursor:pointer;
  transition:.25s;
  box-shadow:0 16px 38px rgba(255,138,0,.25);
}
.btn:hover,.btn-tto:hover,button[type=submit]:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 48px rgba(255,138,0,.35);
}
.btn-outline,.btn-outline-tto,.btn.outline{
  background:rgba(255,255,255,.04)!important;
  border:1px solid var(--line)!important;
  color:#fff!important;
  box-shadow:none;
}
.menu-toggle{
  width:48px;height:48px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:#fff;
  display:none;
  align-items:center;
  justify-content:center;
  font-size:22px;
}
.mobile-panel{
  display:none;
  position:fixed;
  top:92px;
  right:20px;
  width:min(320px,calc(100% - 40px));
  background:rgba(17,24,39,.97);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:20px;
  z-index:1000;
}
.mobile-panel.active{display:block}
.mobile-panel a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#e5e7eb!important;
  padding:12px 4px;
  font-weight:800;
}
.nav-badge{
  display:inline-flex;
  min-width:18px;height:18px;
  align-items:center;justify-content:center;
  border-radius:999px;
  background:var(--danger);
  color:#fff;
  font-size:11px;
  padding:0 5px;
}

/* ===== HERO ===== */
.hero,.page-hero{
  background:
    radial-gradient(circle at 15% 10%,rgba(255,138,0,.18),transparent 25%),
    linear-gradient(180deg,#080b13,#0b0f1a)!important;
  padding:72px 0 42px;
  border-bottom:1px solid var(--line);
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr .92fr;
  gap:42px;
  align-items:center;
}
.eyebrow,.badge{
  display:inline-flex;
  color:var(--brand2)!important;
  background:transparent!important;
  border:0!important;
  font-size:14px;
  font-weight:950;
  letter-spacing:3px;
  text-transform:uppercase;
  margin-bottom:18px;
}
.hero h1,.page-hero h1,h1{
  font-size:clamp(42px,7vw,88px);
  line-height:.98;
  letter-spacing:-3px;
  color:#fff!important;
  font-weight:950;
  margin-bottom:24px;
}
.hero p,.page-hero p,.lead{
  color:var(--muted)!important;
  font-size:20px;
  max-width:720px;
}
.mockup,.hero-card{
  min-height:520px;
  border-radius:34px;
  padding:36px;
  background:
    linear-gradient(135deg,rgba(255,138,0,.88),rgba(255,176,0,.56)),
    url("https://images.unsplash.com/photo-1558655146-d09347e92766?q=80&w=1200&auto=format&fit=crop")!important;
  background-size:cover!important;
  background-position:center!important;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.mockup h3,.hero-card h3{
  color:#fff!important;
  font-size:clamp(42px,5vw,68px);
  line-height:1.1;
  letter-spacing:-2px;
}
.mockup p,.hero-card p{color:#fff!important;font-size:22px;font-weight:700}

/* ===== LAYOUT ===== */
.section{padding:78px 0}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}
.card,.box,.panel,.stat-card,.role-card{
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035))!important;
  border:1px solid var(--line)!important;
  border-radius:var(--radius)!important;
  box-shadow:0 18px 55px rgba(0,0,0,.22)!important;
  padding:28px;
  color:var(--text)!important;
}
.card:hover,.role-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,138,0,.35)!important;
}
h2{font-size:clamp(30px,4vw,56px);line-height:1.08;color:#fff!important;font-weight:950;margin-bottom:18px;letter-spacing:-1px}
h3{color:#fff!important;font-weight:900;margin-bottom:8px}
.muted,p{color:var(--muted)}
.icon,.role-card i{
  width:54px;height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(255,138,0,.12);
  color:var(--brand2);
  font-size:24px;
  margin-bottom:18px;
}
.stat-card strong{
  display:block;
  color:#fff;
  font-size:38px;
  line-height:1;
  margin-bottom:10px;
}
.stat-card span{color:var(--muted);font-weight:800}
.role-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* ===== FORMS / TABLE ===== */
input,textarea,select,.form input,.form textarea,.form select{
  width:100%;
  padding:15px 16px;
  border-radius:16px;
  border:1px solid var(--line)!important;
  background:rgba(255,255,255,.055)!important;
  color:#fff!important;
  outline:none;
  margin-bottom:14px;
}
input::placeholder,textarea::placeholder{color:#8f96a8}
textarea{min-height:140px}
.table-wrap{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  overflow:auto;
}
table,.table{
  width:100%;
  border-collapse:collapse;
  min-width:780px;
}
th,.table th{
  background:rgba(255,255,255,.06);
  color:#fff;
  padding:15px;
  font-size:13px;
  text-align:left;
  white-space:nowrap;
}
td,.table td{
  padding:15px;
  border-top:1px solid var(--line);
  color:#d9deea;
}
.status,.status-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
  font-weight:950;
}
.status.pending{background:rgba(245,158,11,.15);color:#fbbf24}
.status.approved,.status.published{background:rgba(34,197,94,.15);color:#4ade80}
.status.rejected{background:rgba(239,68,68,.15);color:#f87171}
.status.draft{background:rgba(37,99,235,.18);color:#93c5fd}

/* ===== BLOG / PORTFOLIO ===== */
.blog-card{
  display:grid;
  grid-template-columns:48% 52%;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.blog-card-image{min-height:300px;background:#111827}
.blog-card-image img{width:100%;height:100%;object-fit:cover}
.blog-card-body{padding:34px;display:flex;flex-direction:column;justify-content:center}
.author{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px;margin:18px 0}
.author-avatar,.avatar{
  width:44px;height:44px;border-radius:50%;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#111;
  display:grid;place-items:center;
  font-weight:950;
  flex:0 0 44px;
}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.project-card{
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.project-img{
  height:250px;
  background:
    linear-gradient(135deg,rgba(255,138,0,.55),rgba(0,0,0,.1)),
    url("https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?q=80&w=900&auto=format&fit=crop");
  background-size:cover;background-position:center;
}
.project-card-body{padding:22px}
.filter-pills{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 30px}
.filter-pills button,.filter-pills a,.filter-pills span{
  padding:10px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--muted);
  font-weight:850;
}
.filter-pills .active{
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#111;
  border-color:transparent;
}

/* ===== CHAT ===== */
.chat-layout{display:grid;grid-template-columns:330px 1fr;gap:22px;min-height:620px}
.chat-sidebar,.chat-main{
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.chat-user{display:flex;gap:12px;padding:15px;border-bottom:1px solid var(--line);align-items:center}
.chat-user:hover,.chat-user.active{background:rgba(255,138,0,.08)}
.chat-user-info strong{display:block;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-user-info small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-head{padding:18px;border-bottom:1px solid var(--line);font-weight:950;color:#fff}
.chat-messages{padding:20px;overflow:auto;background:rgba(0,0,0,.12);min-height:440px}
.message{max-width:75%;padding:13px 15px;border-radius:18px;margin-bottom:12px}
.message.me{margin-left:auto;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#111;border-bottom-right-radius:5px}
.message.other{background:rgba(255,255,255,.08);border:1px solid var(--line);color:#fff;border-bottom-left-radius:5px}
.message small{display:block;margin-top:6px;opacity:.7}
.chat-form{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:14px;border-top:1px solid var(--line)}
.chat-form textarea{height:50px;min-height:50px;resize:none;margin:0}
.chat-form input[type=file]{display:none}
.file-label{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;border:1px solid var(--line);color:#fff;background:rgba(255,255,255,.05)}

/* ===== MOBILE CARDS ===== */
.mobile-card-list{display:none}
.mobile-card{
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:18px;
  margin-bottom:16px;
}
.mobile-card .row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line)}
.mobile-card .row:last-child{border-bottom:0}

/* ===== FOOTER + BOTTOM NAV ===== */
footer,.footer,.site-footer{
  background:#080b13!important;
  border-top:1px solid var(--line)!important;
  padding:62px 0 120px!important;
  color:var(--muted)!important;
}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:34px}
.footer-logo img{height:54px}
.footer-logo strong{font-size:42px;color:#fff}
.footer-logo small{display:block;letter-spacing:3px;font-size:8px;color:var(--muted)}
.footer-links{display:grid;gap:9px}
.site-footer h4{color:#fff;margin-bottom:14px}
.copyright{color:var(--muted);text-align:center;padding-top:28px}

.mobile-menu,.bottom-menu{
  display:none;
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:10000;
  height:82px;
  background:rgba(9,13,23,.96);
  backdrop-filter:blur(18px);
  border-top:1px solid var(--line);
  padding:8px 8px 10px;
}
.mobile-menu a,.bottom-menu a{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  color:#8f96a8!important;
  font-size:12px;
  font-weight:900;
  border-radius:18px;
}
.mobile-menu i,.bottom-menu i{font-size:23px}
.mobile-menu a.active,.bottom-menu a.active,
.mobile-menu a:hover,.bottom-menu a:hover{
  color:var(--brand2)!important;
}
.float-contact{position:fixed;right:20px;bottom:100px;z-index:9999}
.contact-fab{
  width:62px;height:62px;border-radius:50%;
  border:0;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#111;
  display:grid;place-items:center;
  font-size:26px;
  box-shadow:0 18px 40px rgba(255,138,0,.35);
}
.contact-popup{
  display:none;
  position:absolute;
  right:0;bottom:76px;
  width:310px;
  background:#111827;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:20px;
}
.contact-popup.active{display:block}
.contact-item{display:grid;grid-template-columns:40px 1fr;gap:12px;padding:12px 0;color:#fff}
.contact-item i{display:grid;place-items:center;color:var(--brand2);font-size:20px}
.contact-item small{display:block;color:var(--muted)}
.contact-close{background:transparent!important;color:#fff!important;box-shadow:none!important;padding:0;border:0;font-size:22px}

/* ===== RESPONSIVE ===== */
@media(max-width:1080px){
  .nav-menu,.menu,.nav-actions{display:none}
  .menu-toggle{display:flex}
  .navbar-tto,.nav,.navbar{height:82px}
  .mobile-panel{top:82px}
  .hero-grid,.grid-2{grid-template-columns:1fr}
  .grid-4,.role-grid{grid-template-columns:repeat(2,1fr)}
  .project-grid,.grid-3{grid-template-columns:repeat(2,1fr)}
  .chat-layout{grid-template-columns:1fr}
  .chat-sidebar{max-height:320px;overflow:auto}
  .footer-grid{grid-template-columns:1fr 1fr}
  .mobile-menu,.bottom-menu{display:flex}
}
@media(max-width:760px){
  .container{width:92%}
  .hero,.page-hero{padding:42px 0 26px}
  .hero h1,.page-hero h1,h1{font-size:44px;letter-spacing:-1.5px}
  .hero p,.page-hero p,.lead{font-size:17px}
  .mockup,.hero-card{min-height:520px;border-radius:30px;padding:28px}
  .mockup h3,.hero-card h3{font-size:56px}
  .grid-4,.grid-3,.grid-2,.project-grid,.role-grid{grid-template-columns:1fr}
  .blog-card{grid-template-columns:1fr}
  .blog-card-image{min-height:260px}
  .table-wrap{display:none}
  .mobile-card-list{display:block}
  .message{max-width:88%}
  .chat-form{grid-template-columns:1fr auto}
  .chat-form .btn,.chat-form .btn-tto{grid-column:1/3}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
  .logo{font-size:29px}
  .logo img{height:40px!important}
  .mobile-panel{right:12px;width:calc(100% - 24px)}
  .mockup h3,.hero-card h3{font-size:50px}
}
