/*
Theme Name:  Nawat Studio
Theme URI:   https://nawat-studio.com
Author:      Nawat Studio — هيشام
Author URI:  https://nawat-studio.com
Description: قالب احترافي لوكالة نواة ستوديو الرقمية — مواقع، تطبيقات، هوية بصرية
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License:     GPL-2.0-or-later
Text Domain: nawat
Tags:        rtl-language, arabic, agency, portfolio, dark
*/

/* ═══════════════════════════════════════
   NAWAT STUDIO THEME — CSS VARIABLES
   ═══════════════════════════════════════ */
:root {
  --bg:        #09090f;
  --bg2:       #111120;
  --bg3:       #1a1a2e;
  --card:      #14141f;
  --border:    rgba(255,255,255,.08);
  --fg:        #f0f0f8;
  --fg2:       #9898b8;
  --fg3:       #5a5a80;
  --ink:       #6c63ff;
  --ink-lt:    #8b85ff;
  --ink-glow:  rgba(108,99,255,.22);
  --flash:     #b8ff4e;
  --flash-dim: rgba(184,255,78,.13);
  --red:       #ff4d6d;
  --green:     #4ade80;
  --f-ar:      'Cairo', system-ui, sans-serif;
  --f-en:      'Space Grotesk', system-ui, sans-serif;
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-ar);
  background: var(--bg);
  color: var(--fg);
  direction: rtl;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--f-ar); cursor: pointer; }

/* ═══════════════════════════════════════
   NOTICE BAR (إعلان ترحيبي)
   ═══════════════════════════════════════ */
#nawat-notice {
  background: linear-gradient(135deg, #7b0000 0%, #cc0000 50%, #7b0000 100%);
  color: #fff;
  padding: 10px 60px 10px 20px;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  line-height: 1.5;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
#nawat-notice::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -14deg,
    rgba(255,255,255,.05) 0, rgba(255,255,255,.05) 20px,
    transparent 20px, transparent 60px
  );
  pointer-events: none;
}
#nawat-notice .notice-logo {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  padding: 3px 10px;
  position: relative; z-index: 1;
}
#nawat-notice .notice-logo svg { width: 22px; height: 22px; }
#nawat-notice .notice-logo span { font-size: .75rem; font-weight: 900; letter-spacing: .02em; }
#nawat-notice .notice-text {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
}
#nawat-notice .notice-text .usdbh-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: .72rem; font-weight: 800;
}
#nawat-notice .notice-close {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1;
  transition: background .2s;
  z-index: 2;
}
#nawat-notice .notice-close:hover { background: rgba(255,255,255,.3); }
#nawat-notice.hidden { display: none; }

/* admin bar notice manage link */
.notice-admin-bar {
  position: relative; z-index: 1;
  font-size: .7rem;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  padding: 2px 8px;
  color: rgba(255,255,255,.8);
  transition: background .2s;
}
.notice-admin-bar:hover { background: rgba(0,0,0,.5); color: #fff; }

/* ═══════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,15,.9);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: top .3s;
}

.admin-bar #site-header { top: 32px; }

nav.site-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 28px;
  max-width: 1200px; margin: 0 auto;
}

.site-logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.logo-mark svg { width: 38px; height: 38px; }
.logo-txt .ln { font-size: 1.05rem; font-weight: 900; color: var(--fg); }
.logo-txt .ln span { color: var(--ink-lt); }
.logo-txt .ls { font-family: var(--f-en); font-size: .5rem; color: var(--fg3); letter-spacing: .18em; text-transform: uppercase; }

.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--fg2); font-size: .82rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links .current-menu-item > a { color: var(--fg); }

.nav-cta-wrap { display: flex; gap: 10px; align-items: center; }

.hamburger { display: none; background: none; border: none; color: var(--fg); font-size: 1.4rem; padding: 4px; }

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px;
  font-family: var(--f-ar); font-size: .88rem; font-weight: 800;
  border: none; transition: all .2s; text-decoration: none; cursor: pointer;
}
.btn-primary  { background: var(--ink); color: #fff; box-shadow: 0 4px 20px var(--ink-glow); }
.btn-primary:hover { background: var(--ink-lt); transform: translateY(-2px); }
.btn-ghost    { background: transparent; color: var(--fg); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--ink-lt); color: var(--ink-lt); }
.btn-flash    { background: var(--flash); color: #0d0d1a; font-weight: 900; box-shadow: 0 4px 18px var(--flash-dim); }
.btn-flash:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-lg { padding: 13px 28px; font-size: .95rem; }

/* ═══════════════════════════════════════
   LAYOUT HELPERS
   ═══════════════════════════════════════ */
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.sec  { padding-block: 76px; }

.lbl {
  font-family: var(--f-en); font-size: .65rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-lt); margin-bottom: 10px; display: block;
}
h2.sec-h {
  font-size: clamp(1.7rem,4vw,2.5rem); font-weight: 900;
  color: var(--fg); text-wrap: balance; margin-bottom: 14px;
}
.sec-sub { color: var(--fg2); font-size: .9rem; max-width: 520px; line-height: 1.9; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  min-height: 90vh; display: flex; align-items: center;
  padding-block: 72px 56px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,.11) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 8%;
  width: 38vmax; height: 38vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,255,78,.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--flash-dim); border: 1px solid rgba(184,255,78,.28);
  color: var(--flash); font-size: .74rem; font-weight: 700;
  padding: 5px 14px; border-radius: 30px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 900;
  line-height: 1.14; text-wrap: balance; margin-bottom: 18px; letter-spacing: -.02em;
}
.hero h1 .ink  { color: var(--ink-lt); }
.hero h1 .dash { color: var(--flash); }
.hero-desc { color: var(--fg2); font-size: .94rem; line-height: 2; max-width: 440px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 14px; }
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -9px;
  background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.trust-avatars span:first-child { margin-left: 0; }
.trust-txt { font-size: .76rem; color: var(--fg2); line-height: 1.5; }
.trust-txt strong { color: var(--fg); }

/* Hero visual */
.hero-visual { position: relative; height: 400px; }
.hv-card {
  position: absolute; background: var(--card);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 18px; box-shadow: 0 20px 56px rgba(0,0,0,.45);
}
.hv-main { inset-inline-start: 0; top: 18px; width: 76%; }
.hv-stat { inset-inline-end: 0; top: 190px; width: 52%; }
.hv-tag  { bottom: 28px; inset-inline-start: 18%; width: 58%; }
.hv-label { font-family: var(--f-en); font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); margin-bottom: 9px; }
.hv-title { font-size: .88rem; font-weight: 800; color: var(--fg); margin-bottom: 8px; }
.hv-bars  { display: flex; flex-direction: column; gap: 9px; }
.hv-bar-row .r-lbl { display: flex; justify-content: space-between; font-size: .68rem; color: var(--fg2); margin-bottom: 3px; }
.hv-bar { height: 5px; border-radius: 5px; background: var(--bg3); overflow: hidden; }
.hv-bar-fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--ink), var(--flash)); }
.big-num { font-size: 1.9rem; font-weight: 900; color: var(--ink-lt); line-height: 1; }
.big-sub { font-size: .7rem; color: var(--fg2); margin-top: 3px; }
.tag-row { display: flex; gap: 5px; flex-wrap: wrap; }
.tag { background: var(--bg3); color: var(--fg2); font-size: .68rem; padding: 3px 9px; border-radius: 18px; border: 1px solid var(--border); }
.tag.active { background: var(--ink-glow); color: var(--ink-lt); border-color: rgba(108,99,255,.4); }

/* ═══════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════ */
.services-sec { background: var(--bg2); }
.srv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.srv {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column; gap: 12px;
}
.srv:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,.3); border-color: rgba(108,99,255,.3); }
.srv-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--ink-glow); border: 1px solid rgba(108,99,255,.28);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.srv h3 { font-size: .97rem; font-weight: 800; color: var(--fg); }
.srv p  { font-size: .78rem; color: var(--fg2); line-height: 1.9; flex: 1; }
.srv-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: auto; }
.srv-tag {
  font-family: var(--f-en); font-size: .6rem; font-weight: 600;
  color: var(--flash); background: var(--flash-dim);
  border: 1px solid rgba(184,255,78,.18);
  padding: 3px 8px; border-radius: 18px;
}

/* ═══════════════════════════════════════
   PACKAGES
   ═══════════════════════════════════════ */
.pkg-sec { background: var(--bg2); }
.pkg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: start; }
.pkg {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; transition: transform .25s;
}
.pkg:hover { transform: translateY(-5px); }
.pkg.feat { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 20px 56px var(--ink-glow); }
.pkg-head { padding: 26px 22px 20px; border-bottom: 1px solid var(--border); position: relative; }
.feat .pkg-head { background: linear-gradient(135deg, rgba(108,99,255,.1), rgba(108,99,255,.03)); }
.pkg-ribbon {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: .62rem; font-weight: 800;
  padding: 4px 16px; border-radius: 0 0 9px 9px;
}
.pkg-tier  { font-family: var(--f-en); font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--fg3); margin-bottom: 6px; }
.pkg-name  { font-size: 1rem; font-weight: 900; color: var(--fg); margin-bottom: 11px; }
.pkg-price { font-size: 1.9rem; font-weight: 900; color: var(--ink-lt); line-height: 1.1; }
.feat .pkg-price { color: var(--flash); }
.pkg-price sup { font-size: .82rem; vertical-align: super; }
.pkg-price sub { font-size: .7rem; color: var(--fg3); font-weight: 400; }
.pkg-body  { padding: 20px 22px; }
.pkg-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pkg-feat  { display: flex; align-items: flex-start; gap: 9px; font-size: .78rem; color: var(--fg2); }
.feat-ico  { flex-shrink: 0; font-size: .78rem; margin-top: 1px; }
.feat-ico.ok { color: var(--green); }
.feat-ico.no { color: var(--fg3); opacity: .5; }
.pkg-btn {
  width: 100%; padding: 11px; border-radius: 9px; border: 1.5px solid var(--border);
  background: transparent; color: var(--fg); font-size: .84rem; font-weight: 800;
  transition: all .22s;
}
.pkg-btn:hover { border-color: var(--ink); color: var(--ink-lt); }
.feat .pkg-btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.feat .pkg-btn:hover { background: var(--ink-lt); }

/* ═══════════════════════════════════════
   STATS BAND
   ═══════════════════════════════════════ */
.stats-band {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  margin-bottom: 56px;
}
.stat-cell { padding: 28px 20px; text-align: center; border-left: 1px solid var(--border); transition: background .25s; }
.stat-cell:last-child { border-left: none; }
.stat-cell:hover { background: var(--bg2); }
.stat-n { font-size: 2.2rem; font-weight: 900; color: var(--ink-lt); line-height: 1; }
.stat-n .fl { color: var(--flash); }
.stat-l { font-size: .76rem; color: var(--fg2); margin-top: 5px; }

/* Portfolio */
.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.port-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform .25s, border-color .25s; }
.port-card:hover { transform: translateY(-5px); border-color: rgba(108,99,255,.28); }
.port-thumb { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }
.port-info { padding: 14px 16px; }
.port-info h4 { font-size: .88rem; font-weight: 800; color: var(--fg); margin-bottom: 5px; }
.port-info p  { font-size: .74rem; color: var(--fg2); line-height: 1.75; }
.port-tags    { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 9px; }
.pt { font-family: var(--f-en); font-size: .6rem; font-weight: 600; color: var(--fg3); background: var(--bg3); padding: 2px 7px; border-radius: 18px; border: 1px solid var(--border); }

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */
.cta-sec { background: var(--bg2); text-align: center; position: relative; overflow: hidden; }
.cta-sec::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 80vmax; height: 80vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,.06) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner  { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 900; margin-bottom: 12px; text-wrap: balance; }
.cta-inner p  { color: var(--fg2); font-size: .93rem; margin-bottom: 32px; line-height: 1.9; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.wa-num { font-family: var(--f-en); font-size: .78rem; color: var(--fg3); letter-spacing: .04em; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
#site-footer { background: var(--bg); border-top: 1px solid var(--border); }
.foot-main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-block: 48px 36px; padding-inline: 24px;
  max-width: 1160px; margin: 0 auto;
}
.foot-brand p { font-size: .78rem; color: var(--fg2); line-height: 1.9; margin-top: 12px; max-width: 270px; }
.foot-col h4  { font-size: .8rem; font-weight: 800; color: var(--fg); margin-bottom: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--border); }
.foot-col li  { margin-bottom: 9px; }
.foot-col li a { font-size: .76rem; color: var(--fg2); transition: color .2s; }
.foot-col li a:hover { color: var(--ink-lt); }
.foot-bottom {
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto;
}
.foot-bottom p { font-size: .72rem; color: var(--fg3); }
.socials { display: flex; gap: 7px; }
.socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; font-family: var(--f-en);
  color: var(--fg2); transition: all .2s;
}
.socials a:hover  { background: var(--ink); color: #fff; border-color: var(--ink); }
.social-wa { background: rgba(37,211,102,.08) !important; border-color: rgba(37,211,102,.25) !important; color: #25d366 !important; }
.social-wa:hover  { background: #25d366 !important; color: #fff !important; border-color: #25d366 !important; }

/* ═══════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════ */
.mobile-menu {
  display: none;
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 16px 24px; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--fg2); font-size: .88rem; font-weight: 600;
  padding: 9px 0; border-bottom: 1px solid var(--border); transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--fg); }

/* ═══════════════════════════════════════
   WORDPRESS CORE
   ═══════════════════════════════════════ */
.wp-block-image img { max-width: 100%; height: auto; border-radius: 10px; }
.aligncenter { margin-inline: auto; }
.entry-content h1,.entry-content h2,.entry-content h3 { color: var(--fg); margin-block: 1.2em .6em; }
.entry-content p  { color: var(--fg2); margin-bottom: 1em; }
.entry-content a  { color: var(--ink-lt); }
.entry-content a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .srv-grid, .pkg-grid, .port-grid { grid-template-columns: repeat(2,1fr); }
  .stats-band { grid-template-columns: repeat(2,1fr); }
  .stats-band .stat-cell:nth-child(2) { border-left: none; }
  .stats-band .stat-cell:nth-child(3) { border-top: 1px solid var(--border); }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links  { display: none; }
  .hamburger  { display: block; }
}
@media (max-width: 600px) {
  .srv-grid, .pkg-grid, .port-grid, .foot-main { grid-template-columns: 1fr; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: flex-start; }
  .cta-btns { align-items: center; }
  .pkg.feat  { transform: none; }
  nav.site-nav { padding-inline: 16px; }
  .foot-main { padding-inline: 16px; }
  #nawat-notice { font-size: .76rem; padding-left: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* ═══════════════════════════════════════
   NOTICE BAR — EXTRA STATES
   ═══════════════════════════════════════ */
#nawat-notice.notice-closing {
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity .3s, transform .3s;
}
.notice-edit {
  position: absolute;
  right: 44px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.7);
  display: flex; align-items: center;
  transition: color .2s;
}
.notice-edit:hover { color: #fff; }
.notice-icon { font-size: 1rem; }
.notice-text { font-family: var(--f-ar); }

/* ═══════════════════════════════════════
   HEADER — SCROLL STATES
   ═══════════════════════════════════════ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(9,9,15,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: top .3s, transform .3s, box-shadow .3s;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(16px, env(safe-area-inset-right,0px));
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
#site-header.header-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.5); }
#site-header.header-hidden   { transform: translateY(-100%); }
.admin-bar #site-header { top: 32px; }

/* ═══════════════════════════════════════
   LOGO
   ═══════════════════════════════════════ */
.site-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; text-decoration: none;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name   { font-family: var(--f-en); font-size: .82rem; font-weight: 700; letter-spacing: .12em; color: var(--flash); }
.logo-rule   { font-family: var(--f-en); font-size: .56rem; letter-spacing: .22em; color: var(--fg3); }
.logo-domain { font-family: var(--f-en); font-size: .56rem; color: var(--fg3); }

/* ═══════════════════════════════════════
   NAV
   ═══════════════════════════════════════ */
.site-nav { flex: 1; }
.nav-list  { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list a {
  padding: 6px 14px; border-radius: 8px;
  font-size: .85rem; color: var(--fg2);
  transition: color .2s, background .2s;
}
.nav-list a:hover { color: var(--fg); background: var(--bg3); }

/* ═══════════════════════════════════════
   HAMBURGER
   ═══════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--fg); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-right: auto; }

/* ═══════════════════════════════════════
   BUTTONS (extended)
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px;
  font-family: var(--f-ar); font-size: .88rem; font-weight: 700;
  cursor: pointer; border: none;
  text-decoration: none; transition: all .25s;
}
.btn-flash  { background: var(--flash); color: #0a0a0a; }
.btn-flash:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost  { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--fg3); background: var(--bg3); }
.btn-outline{ background: transparent; border: 1px solid currentColor; color: var(--fg); }
.btn-ink    { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-lt); }
.btn-sm     { padding: 7px 16px; font-size: .8rem; }
.btn-lg     { padding: 13px 28px; font-size: .95rem; }
.btn-full   { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .18; }
.orb-1 { width: 480px; height: 480px; background: var(--ink); top: -80px; right: -100px; }
.orb-2 { width: 360px; height: 360px; background: var(--flash); bottom: -60px; left: -80px; }

.hero-content {
  position: relative; z-index: 2;
  padding-block: 80px;
  padding-left:  max(16px, env(safe-area-inset-left,  0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--fg2); border-radius: 999px;
  padding: 5px 14px; font-size: .78rem; margin-bottom: 28px;
}
.badge-dot { width: 7px; height: 7px; background: var(--flash); border-radius: 50%; animation: pulse 2s infinite; }

.hero-h1 { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.h1-line { font-size: clamp(2.4rem, 7vw, 5.5rem); font-weight: 900; line-height: 1.1; }
.line-dim    { color: var(--fg3); }
.line-accent { background: linear-gradient(90deg, var(--flash), var(--ink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-sub { font-size: clamp(.9rem,2vw,1.1rem); color: var(--fg2); max-width: 540px; margin-bottom: 32px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; }
.hstat-n { font-size: 1.5rem; font-weight: 800; color: var(--flash); font-family: var(--f-en); }
.hstat-l { font-size: .76rem; color: var(--fg3); }
.hstat-sep { color: var(--fg3); font-size: 1.3rem; }

.hero-scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--fg3); font-size: .74rem;
  animation: bounce 2s infinite;
}

/* ═══════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════ */
.section { padding-block: 80px; }
.container {
  max-width: 1200px; margin: 0 auto;
  padding-left:  max(16px, env(safe-area-inset-left,  0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-label  { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-lt); }
.section-title  { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin: 10px 0 14px; text-wrap: balance; }
.section-sub    { color: var(--fg2); font-size: .95rem; max-width: 520px; margin: 0 auto; }

/* ═══════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════ */
.services-section { background: var(--bg2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; gap: 12px;
}
.service-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--ink-glow);
}
.svc-icon {
  width: 48px; height: 48px;
  background: var(--bg3); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.svc-icon svg { width: 22px; height: 22px; stroke: var(--ink); }
.svc-title { font-size: 1.05rem; font-weight: 700; }
.svc-desc  { font-size: .85rem; color: var(--fg2); flex: 1; }
.svc-tags  { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: .7rem; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 2px 8px; color: var(--fg3);
  font-family: var(--f-en);
}
.svc-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700; color: var(--ink-lt);
  margin-top: 4px; transition: gap .2s;
}
.svc-cta:hover { gap: 10px; }

/* ═══════════════════════════════════════
   PACKAGES
   ═══════════════════════════════════════ */
.packages-section { background: var(--bg); }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; align-items: start;
}
.pkg-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  position: relative; transition: transform .25s, box-shadow .25s;
}
.pkg-card:hover { transform: translateY(-6px); }
.pkg-popular { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 20px 60px var(--ink-glow); }
.pkg-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 14px; border-radius: 999px;
  white-space: nowrap;
}
.pkg-head { display: flex; flex-direction: column; margin-bottom: 18px; }
.pkg-name  { font-family: var(--f-en); font-size: 1.4rem; font-weight: 800; }
.pkg-label { font-size: .78rem; color: var(--fg3); }
.pkg-price { margin-bottom: 24px; }
.price-num    { display: block; font-size: 1.5rem; font-weight: 900; color: var(--flash); }
.price-period { font-size: .78rem; color: var(--fg3); }
.pkg-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pkg-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .86rem; color: var(--fg2);
}
.pkg-features li svg { flex-shrink: 0; margin-top: 3px; stroke: var(--flash); }
.pkg-btn { width: 100%; justify-content: center; }

.pkg-blue  .pkg-name { color: #63b8ff; }
.pkg-purple .pkg-name { color: var(--ink-lt); }
.pkg-lime  .pkg-name { color: var(--flash); }

.packages-note {
  text-align: center; color: var(--fg3); font-size: .85rem; margin-top: 32px;
}

/* ═══════════════════════════════════════
   STATS BAND
   ═══════════════════════════════════════ */
.stats-band { background: var(--bg2); padding-block: 48px; }
.stats-row {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px;
}
.stat-item { text-align: center; }
.stat-n { display: block; font-size: 2.2rem; font-weight: 900; color: var(--flash); font-family: var(--f-en); }
.stat-l { font-size: .8rem; color: var(--fg3); }

/* ═══════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════ */
.portfolio-section { background: var(--bg2); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.portfolio-card {
  border-radius: 16px; padding: 28px;
  min-height: 180px; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.5); }
.port-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.03) 0%, transparent 60%);
  pointer-events: none;
}
.port-label  { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.port-name   { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.port-meta   { display: flex; justify-content: space-between; align-items: center; }
.port-tech   { font-size: .72rem; color: rgba(255,255,255,.5); font-family: var(--f-en); }
.port-year   { font-size: .72rem; color: rgba(255,255,255,.3); font-family: var(--f-en); }
.port-hover  {
  position: absolute; inset: 0; background: rgba(0,0,0,.65);
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 0; transition: opacity .25s;
}
.portfolio-card:hover .port-hover { opacity: 1; }

/* ═══════════════════════════════════════
   CTA / CONTACT
   ═══════════════════════════════════════ */
.cta-section { background: var(--bg); }
.cta-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 24px; padding: 48px;
  position: relative; overflow: hidden;
}
.cta-orb {
  position: absolute; width: 400px; height: 400px;
  background: var(--ink); border-radius: 50%; filter: blur(120px); opacity: .12;
  top: -100px; right: -100px; pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900;
  line-height: 1.2; margin: 12px 0 16px;
}
.text-flash { color: var(--flash); }
.cta-sub { color: var(--fg2); margin-bottom: 28px; font-size: .95rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact form */
.contact-form-wrap { position: relative; z-index: 1; }
.form-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 20px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--fg2); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--fg); border-radius: 10px; padding: 10px 14px;
  font-family: var(--f-ar); font-size: .88rem;
  transition: border-color .2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--ink-glow);
}
.form-response {
  margin-top: 12px; padding: 10px 14px; border-radius: 10px;
  font-size: .85rem; font-weight: 700;
}
.form-success { background: rgba(74,222,128,.1); color: var(--green); border: 1px solid rgba(74,222,128,.2); }
.form-error   { background: rgba(255,77,109,.1); color: var(--red);   border: 1px solid rgba(255,77,109,.2); }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
#site-footer { background: #06060d; border-top: 1px solid var(--border); padding-top: 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px; padding-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-tagline { font-size: .85rem; color: var(--fg3); max-width: 280px; }
.footer-social  { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--fg3); transition: color .2s, border-color .2s;
}
.footer-social a:hover { color: var(--fg); border-color: var(--fg3); }

.footer-col-title { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg3); margin-bottom: 16px; }
.footer-col ul    { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a  { font-size: .85rem; color: var(--fg3); transition: color .2s; }
.footer-col li a:hover { color: var(--fg); }

.footer-contact   { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li{ display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--fg3); }
.footer-contact li svg { flex-shrink: 0; }
.footer-contact li a { color: var(--fg3); transition: color .2s; }
.footer-contact li a:hover { color: var(--fg); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-block: 20px;
  text-align: center; color: var(--fg3); font-size: .82rem;
}
.footer-sep  { margin-inline: 8px; }
.footer-heart{ color: var(--red); }

/* ═══════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════ */
.will-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s, transform .5s;
}
.will-reveal.revealed { opacity: 1; transform: none; }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes pulse  { 0%,100%{opacity:1} 50%{opacity:.4} }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ═══════════════════════════════════════
   MOBILE (NEW CLASSES)
   ═══════════════════════════════════════ */
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-wrap     { grid-template-columns: 1fr; padding: 28px; }
  .hamburger    { display: flex; }
  .site-nav     { position: fixed; inset: 0; top: 64px;
                  background: rgba(9,9,15,.97); z-index: 800;
                  padding: 24px; overflow-y: auto;
                  transform: translateX(100%); transition: transform .3s; }
  .site-nav.nav-open { transform: none; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-list a { font-size: 1.1rem; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .hero-ctas, .cta-actions { flex-direction: column; }
  .services-grid, .packages-grid, .portfolio-grid { grid-template-columns: 1fr; }
}
