/* ====================================================
   VV Theme - Main CSS (v2.1 - matches common.css exactly)
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&display=swap');

/* ── Variables (EXACT from design) ── */
:root {
  --bg:      #050505;
  --bg2:     #090909;
  --bgc:     #0d0d0d;
  --bgt:     #0b0b0b;
  --green:   #00ff41;
  --gdim:    #00cc33;
  --gg:      rgba(0,255,65,.1);
  --gb:      rgba(0,255,65,.3);
  --red:     #ff3333;
  --rg:      rgba(255,51,51,.1);
  --blue:    #00d4ff;
  --purple:  #bd00ff;
  --yellow:  #ffcc00;
  --t1:      #e8e8e8;
  --t2:      #777;
  --td:      #3d3d3d;
  --bd:      #151515;
  --bc:      #1e1e1e;
  --bg3:     #111111;
  --font:    'JetBrains Mono', 'Courier New', monospace;
  --hh:      66px;
  --fh:      52px;
  --r:       4px;
  --saffron: #FF9933;
  --white:   #FFFFFF;
  --igreen:  #138808;
  --chakra:  #000080;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t1);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
a { color: var(--green); text-decoration: none; transition: color .25s; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font); cursor: none; }
::selection { background: var(--green); color: #000; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }

/* ── Custom Cursor (EXACT from design) ── */
#vv-cur {
  width: 9px; height: 9px; background: var(--green);
  position: fixed; top: -20px; left: -20px;
  pointer-events: none; z-index: 99999;
  mix-blend-mode: screen; border-radius: 1px; transition: none;
}
#vv-ring {
  width: 30px; height: 30px; border: 1px solid var(--gb); border-radius: 50%;
  position: fixed; top: -30px; left: -30px;
  pointer-events: none; z-index: 99998;
  transition: width .2s, height .2s, border-color .2s;
}
body.chov #vv-cur { opacity: 0; }
body.chov #vv-ring { width: 48px; height: 48px; border-color: var(--green); }
@media (hover: none), (max-width: 768px) {
  #vv-cur, #vv-ring { display: none !important; }
  body { cursor: auto !important; }
}

/* ── Indian Flag Loader (EXACT from design) ── */
#vv-loader {
  position: fixed; inset: 0; background: var(--bg); z-index: 99990;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0; transition: opacity .7s ease;
}
#vv-loader.out { opacity: 0; pointer-events: none; }
.loader-flag-wrap {
  width: 120px; height: 120px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 6px rgba(5,5,5,.8), 0 0 40px rgba(255,153,51,.25), 0 0 80px rgba(19,136,8,.15);
  animation: flagPulse 2.5s ease-in-out infinite; position: relative; flex-shrink: 0;
}
.lf-top  { height: 33.34%; background: var(--saffron); }
.lf-mid  { height: 33.33%; background: var(--white); position: relative; display: flex; align-items: center; justify-content: center; }
.lf-bot  { height: 33.33%; background: var(--igreen); }
.chakra-svg {
  position: absolute; width: 60%; height: 60%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: chakraSpin 3s linear infinite;
}
.loader-name {
  margin-top: 1.6rem; font-size: 1.25rem; font-weight: 800; letter-spacing: 5px;
  text-transform: uppercase; color: var(--t1); text-align: center;
}
.loader-name .nv { color: var(--green); text-shadow: 0 0 15px rgba(0,255,65,.5); }
.loader-tag {
  margin-top: .4rem; font-size: .7rem; letter-spacing: 4px; color: var(--t2);
  text-transform: uppercase; text-align: center;
}
.loader-bar-wrap {
  margin-top: 1.2rem; width: 160px; height: 2px; background: var(--bc); border-radius: 1px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--saffron), var(--white), var(--igreen));
  animation: lbarFill 2s ease forwards; border-radius: 1px;
}
#loader-msg {
  margin-top: .6rem; font-size: .7rem; color: var(--td); letter-spacing: 2px;
}

/* ── Keyframes (EXACT from design) ── */
@keyframes flagPulse  { 0%,100%{transform:scale(1)} 50%{transform:scale(1.04)} }
@keyframes chakraSpin { from{transform:translate(-50%,-50%) rotate(0deg)} to{transform:translate(-50%,-50%) rotate(360deg)} }
@keyframes lbarFill   { 0%{width:0} 100%{width:100%} }
@keyframes blink      { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes gA         { 0%{clip-path:inset(40% 0 61% 0);transform:translate(-2px)} 40%{clip-path:inset(43% 0 1% 0);transform:translate(0)} 100%{clip-path:inset(58% 0 43% 0);transform:translate(0)} }
@keyframes gB         { 0%{clip-path:inset(24% 0 29% 0);transform:translate(2px)} 50%{clip-path:inset(89% 0 4% 0);transform:translate(0)} 100%{clip-path:inset(64% 0 2% 0);transform:translate(-1px)} }
@keyframes statusPulse{ 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.6);opacity:.6} }
@keyframes spin       { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes fadeUp     { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
@keyframes scanlineMove{ 0%{top:-5%} 100%{top:110%} }

/* ── HEADER (EXACT from design) ── */
.vv-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--hh);
  background: rgba(5,5,5,.96); border-bottom: 1px solid var(--bd);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  z-index: 8000; transition: border-color .3s, box-shadow .3s;
}
.vv-header.scrolled { border-bottom-color: var(--gb); box-shadow: 0 2px 24px rgba(0,255,65,.06); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 2rem; max-width: 1320px; margin: 0 auto;
}
/* Logo */
.vv-logo a { display: flex; align-items: center; gap: .4rem; text-decoration: none; }
.l-bracket { color: #2a2a2a; font-size: 1.1rem; }
.l-vv { color: var(--green); font-size: 1rem; font-weight: 800; text-shadow: 0 0 10px rgba(0,255,65,.4); }
.l-name { color: var(--t1); font-size: .8rem; font-weight: 700; letter-spacing: 2px; }
.l-cur { display: inline-block; width: 7px; height: 14px; background: var(--green); animation: blink 1s step-end infinite; margin-left: 2px; vertical-align: middle; }
/* Nav */
.vv-nav ul,
.vv-nav .vv-nav-list { display: flex; gap: 0; list-style: none; }
.vv-nav ul li a,
.vv-nav .vv-nav-list li a {
  display: block; padding: .42rem .85rem; font-size: .78rem; color: var(--t2);
  border-radius: var(--r); transition: all .22s; letter-spacing: .3px; position: relative;
}
.vv-nav ul li a:hover,
.vv-nav .vv-nav-list li a:hover,
.vv-nav ul li.active a,
.vv-nav .vv-nav-list li.active a,
.vv-nav .vv-nav-list li.current-menu-item a { color: var(--green); background: var(--gg); }
.vv-nav ul li.active a::after,
.vv-nav .vv-nav-list li.active a::after,
.vv-nav .vv-nav-list li.current-menu-item a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--green); border-radius: 1px;
  box-shadow: 0 0 6px var(--green);
}
/* CTA */
.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-cta a { font-size: .75rem; padding: .4rem 1rem; }
/* Hamburger */
.vv-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .5rem; }
.vv-burger span { display: block; width: 22px; height: 2px; background: var(--green); transition: all .25s; border-radius: 1px; }
.vv-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.vv-burger.open span:nth-child(2) { opacity: 0; }
.vv-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
/* Mobile nav */
.vv-mobile-nav {
  display: none; position: fixed; top: var(--hh); left: 0; right: 0; bottom: 0;
  background: rgba(5,5,5,.98); z-index: 7999; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.5rem;
}
.vv-mobile-nav.open { display: flex; }
.vv-mobile-nav a { font-size: 1.3rem; color: var(--t2); letter-spacing: 3px; transition: color .2s; }
.vv-mobile-nav a:hover, .vv-mobile-nav a.active { color: var(--green); }
.vv-mobile-nav .m-cta { margin-top: .5rem; }

/* ── FOOTER ── */
.vv-footer {
  background: var(--bg2); border-top: 1px solid var(--bd);
  height: var(--fh); display: flex; align-items: center;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 2rem; max-width: 1320px; margin: 0 auto; width: 100%;
  flex-wrap: wrap; gap: .5rem;
}
.footer-left { font-size: .72rem; color: var(--td); }
.footer-left span { color: var(--green); }
.footer-right { display: flex; gap: .8rem; }
.footer-right a { font-size: .7rem; color: var(--td); letter-spacing: 1px; transition: color .2s; }
.footer-right a:hover { color: var(--green); }

/* ── Buttons (EXACT from design - bordered style) ── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.5rem; font-family: var(--font); font-size: .8rem;
  letter-spacing: .5px; border-radius: var(--r); cursor: pointer;
  transition: all .28s; border: 1px solid transparent; position: relative; overflow: hidden;
}
.btn-g { color: var(--green); border-color: var(--green); background: transparent; box-shadow: 0 0 8px rgba(0,255,65,.08); }
.btn-g:hover { background: var(--green); color: #050505; box-shadow: 0 0 20px var(--gb); }
.btn-r { color: var(--red); border-color: var(--red); background: transparent; }
.btn-r:hover { background: var(--red); color: #050505; box-shadow: 0 0 20px var(--rg); }
.btn-o { color: var(--t2); border-color: var(--bc); background: transparent; }
.btn-o:hover { color: var(--t1); background: #151515; border-color: #2a2a2a; }
.btn-b { color: var(--blue); border-color: var(--blue); background: transparent; }
.btn-b:hover { background: var(--blue); color: #050505; }
.btn-sm { padding: .38rem .9rem; font-size: .74rem; }
.btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Tags (EXACT from design) ── */
.tag { display: inline-block; padding: .18rem .55rem; font-size: .68rem; border-radius: 2px; font-family: var(--font); letter-spacing: .3px; }
.tg  { color: var(--green); background: var(--gg); border: 1px solid var(--gb); }
.tr  { color: var(--red);   background: var(--rg); border: 1px solid rgba(255,51,51,.3); }
.tb  { color: var(--blue);  background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.28); }
.ty  { color: var(--yellow);background: rgba(255,204,0,.07); border: 1px solid rgba(255,204,0,.25); }
.tp2 { color: var(--purple);background: rgba(189,0,255,.07); border: 1px solid rgba(189,0,255,.25); }

/* ── Section Header (EXACT from design) ── */
.sec-hdr { margin-bottom: 3rem; }
.sec-lbl { display: inline-block; font-size: .7rem; color: var(--green); letter-spacing: 4px; text-transform: uppercase; margin-bottom: .4rem; }
.sec-lbl::before { content: '> '; }
.sec-tit { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.2; }
.sec-tit .ac, .ac { color: var(--green); }
.sec-div { width: 52px; height: 2px; background: var(--green); margin-top: .85rem; box-shadow: 0 0 8px var(--green); }
.sec-div.center { margin-left: auto; margin-right: auto; }

/* ── Terminal Cards (EXACT from design) ── */
.term-card { background: var(--bgt); border: 1px solid var(--bc); border-radius: 6px; overflow: hidden; }
.term-card .tbar,
.tbar {
  display: flex; align-items: center; gap: .4rem; padding: .65rem 1rem;
  background: #0f0f0f; border-bottom: 1px solid var(--bd);
}
.tbar-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.tbar-dot.r { background: #ff5f57; } .tbar-dot.y { background: #febc2e; } .tbar-dot.g { background: #28c840; }
.tbar-title { flex: 1; text-align: center; font-size: .7rem; color: var(--td); margin-left: -36px; }
.term-body { padding: 1.3rem 1.4rem; }
.about-term-body { font-size: .68rem; line-height: 2; }
.tl { display: flex; gap: .4rem; flex-wrap: wrap; line-height: 2; }
.tp { color: var(--green); flex-shrink: 0; }
.tc { color: var(--t1); }
.to { color: var(--t2); }
.to-g { color: var(--green); }
.to-b { color: var(--blue); }
.to-y { color: var(--yellow); }
.to-r { color: var(--red); }
.t-cur { display: inline-block; width: 8px; height: 1em; background: var(--green); vertical-align: text-bottom; animation: blink 1s step-end infinite; }
.t-key { color: var(--blue); min-width: 110px; display: inline-block; }
.t-colon { color: var(--td); margin: 0 .4rem; }
.t-val { color: var(--t1); }
.t-val.g { color: var(--green); }
.t-val.y { color: var(--yellow); }
.t-sep { color: var(--bc); font-size: .7rem; margin: .3rem 0; }

/* ── Scroll Reveal (EXACT from design - .75s, 24px, .1s delay steps) ── */
.rv, .rvl, .rvr { opacity: 0; transition: opacity .75s ease, transform .75s ease; }
.rv  { transform: translateY(24px); }
.rvl { transform: translateX(-24px); }
.rvr { transform: translateX(24px); }
.rv.in, .rvl.in, .rvr.in { opacity: 1; transform: none; }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s} .d4{transition-delay:.4s} .d5{transition-delay:.5s}

/* ── Glitch (EXACT from design - clip-path, not clip) ── */
.gl { position: relative; display: inline-block; }
.gl::before, .gl::after { content: attr(data-text); position: absolute; inset: 0; }
.gl.on::before { color: var(--red);  animation: gA .25s steps(1) forwards; }
.gl.on::after  { color: var(--blue); animation: gB .25s steps(1) forwards; }

/* ── Status dot ── */
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); margin-right: .4rem; animation: statusPulse 2s ease infinite; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: .3rem; }
.dot-g { background: var(--green); }
.dot-y { background: var(--yellow); }
.dot-r { background: var(--red); }

/* ── Layout ── */
.con { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.sp  { padding: 80px 0; }
.page-top { padding-top: var(--hh); }

/* Matrix canvas */
#vv-matrix { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .12; pointer-events: none; z-index: 0; }

/* Kali prompt colors (EXACT from design) */
.ph,  .hp-h  { color: var(--green); }
.pat, .hp-at { color: #252525; }
.pm,  .hp-m  { color: var(--blue); }
.pp,  .hp-p  { color: var(--purple); }
.pd,  .hp-d  { color: var(--t1); }
.hp-cmd, .hp-cmd { color: #2a2a2a; font-size: .7rem; margin-left: .4rem; }

/* ── Responsive (shared - from design) ── */
@media(max-width:1023px) {
  :root { --hh: 60px; --fh: 48px; }
  .header-cta { display: none; }
  .vv-nav { display: none; }
  .vv-burger { display: flex; }
}
@media(max-width:767px) {
  .con { padding: 0 1.25rem; }
  .sp { padding: 55px 0; }
}
@media(max-width:479px) { .sp { padding: 40px 0; } }
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ====================================================
   HOME PAGE
   ==================================================== */
.vv-screen-fit, .page-wrap {
  height: 100dvh; overflow: hidden; display: flex; flex-direction: column;
}
.hero {
  flex: 1; position: relative; display: flex; align-items: stretch;
  padding-top: var(--hh); padding-bottom: 0; min-height: 0; overflow: hidden;
}
.hero-scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,255,65,.012) 2px,rgba(0,255,65,.012) 4px);
  pointer-events: none; z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 2rem;
}
.hero-left { display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.hero-prompt { display: flex; align-items: center; gap: .35rem; font-size: .75rem; flex-wrap: wrap; }
.hero-name {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem); font-weight: 800;
  letter-spacing: -1px; line-height: 1.05; margin: .25rem 0; color: var(--t1);
}
.hero-name .vv, .hero-name .vv-green { color: var(--green); text-shadow: 0 0 25px rgba(0,255,65,.45); }
.hero-sub {
  font-size: clamp(.75rem, 1.5vw, .9rem); color: var(--t2);
  letter-spacing: 2px; text-transform: uppercase; display: flex; align-items: center;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: .4rem 0; }
.hero-socials { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .1rem; }
.hero-socials a {
  display: flex; align-items: center; gap: .3rem;
  font-size: .73rem; color: var(--td); padding: .32rem .7rem;
  border: 1px solid var(--bd); border-radius: var(--r); transition: all .25s;
}
.hero-socials a:hover { color: var(--green); border-color: var(--gb); background: var(--gg); }
.hero-availability { display: flex; align-items: center; gap: .5rem; font-size: .72rem; color: var(--td); margin-top: .2rem; }
.hero-right { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.profile-shell { position: relative; width: 340px; height: 340px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.profile-ring-outer {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(0,255,65,.2);
  animation: spin 20s linear infinite;
}
.profile-ring-outer::before {
  content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.profile-ring-inner { position: absolute; inset: 18px; border-radius: 50%; border: 1px solid rgba(0,255,65,.08); }
.profile-img {
  width: 260px; height: 260px; border-radius: 50%;
  background: linear-gradient(135deg, #101010, #1a1a1a);
  border: 2px solid rgba(0,255,65,.18);
  box-shadow: 0 0 60px rgba(0,255,65,.08), 0 0 120px rgba(0,0,0,.6), inset 0 0 40px rgba(0,0,0,.8);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.profile-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.profile-placeholder { text-align: center; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.profile-initials { font-size: 4.5rem; font-weight: 800; color: rgba(0,255,65,.12); line-height: 1; letter-spacing: -3px; display: block; }
.profile-hint { font-size: .62rem; color: var(--td); letter-spacing: 2px; text-transform: uppercase; margin-top: .4rem; }
.float-badge {
  position: absolute; background: var(--bgc); border: 1px solid var(--bc);
  border-radius: var(--r); padding: .45rem .75rem; font-size: .7rem;
  display: flex; align-items: center; gap: .4rem; box-shadow: 0 8px 24px rgba(0,0,0,.5);
  white-space: nowrap;
}
.float-badge.top-left  { top: 30px; left: -20px; border-color: var(--gb); }
.float-badge.bot-right { bottom: 30px; right: -20px; border-color: rgba(0,212,255,.3); }
.float-badge .fbi { font-size: .9rem; }
.float-badge .fbt { color: var(--t2); }
.float-badge .fbv { font-weight: 700; }
.float-badge.top-left .fbv { color: var(--green); }
.float-badge.bot-right .fbv { color: var(--blue); }

/* ====================================================
   ABOUT PAGE
   ==================================================== */
.about-banner {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--bd); padding: 3rem 1.5rem;
}
.about-banner-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 2.5rem; }
.banner-photo {
  width: 180px; height: 180px; border-radius: 50%; border: 2px solid var(--bc); overflow: hidden;
  background: var(--bgc); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
}
.banner-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.bi { font-size: 2.5rem; font-weight: 700; color: var(--green); }
.bp-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--bc); animation: spin 18s linear infinite; pointer-events: none;
}
.about-kali { font-size: .7rem; margin-bottom: .6rem; display: flex; gap: .1rem; flex-wrap: wrap; }
.banner-name { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: .4rem; }
.banner-title { font-size: .78rem; color: var(--t2); display: flex; align-items: center; margin-bottom: .7rem; }
.banner-tags { display: flex; flex-wrap: wrap; gap: .3rem; }

.about-content { padding: 4rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.about-bio .sec-lbl { margin-bottom: .4rem; }
.about-bio p { color: var(--t2); font-size: .8rem; line-height: 1.9; margin-bottom: .9rem; }
.about-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.astat-n { font-size: 1.6rem; font-weight: 700; color: var(--green); line-height: 1; }
.astat-l { font-size: .6rem; color: var(--td); margin-top: .2rem; }

.images-section { padding: 4rem 0; background: var(--bg2); }
.images-grid { display: grid; grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(2,240px); gap: 1rem; }
.img-card {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--bd); background: var(--bgc);
  display: flex; align-items: center; justify-content: center;
}
.img-icon { font-size: 2.5rem; opacity: .3; }
.img-replace-note { position: absolute; bottom: .5rem; left: 0; right: 0; text-align: center; font-size: .55rem; color: var(--td); }
.img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); padding: .7rem .8rem;
}
.img-label { font-size: .55rem; color: var(--green); letter-spacing: .15em; text-transform: uppercase; }
.img-title { font-size: .75rem; color: var(--t1); font-weight: 600; }

.skills-section { padding: 4rem 0; }
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.skill-cat { background: var(--bg2); border: 1px solid var(--bd); border-radius: var(--r); padding: 1.5rem; }
.skill-cat-title { font-size: .65rem; color: var(--green); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2rem; border-bottom: 1px solid var(--bd); padding-bottom: .6rem; }
.skill-item { margin-bottom: 1rem; }
.skill-header { display: flex; justify-content: space-between; font-size: .78rem; margin-bottom: .35rem; }
.sname { color: var(--t2); }
.skill-bar { height: 5px; background: var(--gg); border-radius: 2px; overflow: hidden; }
.skill-fill {
  height: 100%; width: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--gdim), var(--green));
  box-shadow: 0 0 8px rgba(0,255,65,.3);
  transition: width 1.4s ease;
}
.skill-fill.blue { background: linear-gradient(90deg, #008899, var(--blue)); box-shadow: 0 0 8px rgba(0,212,255,.3); }
.skill-fill.red  { background: linear-gradient(90deg, #cc2222, var(--red));  box-shadow: 0 0 8px rgba(255,51,51,.3); }

.timeline-section { padding: 4rem 0; background: var(--bg2); }
.tl-wrap { max-width: 700px; margin: 0 auto; position: relative; padding-left: 2rem; }
.tl-wrap::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--green), transparent); }
.tl-item { position: relative; padding: 0 0 2.5rem 1.5rem; }
.tl-item::before {
  content: ''; position: absolute; left: -7px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
}
.tl-date { font-size: .6rem; color: var(--green); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.tl-role { font-size: .9rem; font-weight: 600; color: var(--t1); margin-bottom: .2rem; }
.tl-org { font-size: .7rem; color: var(--td); margin-bottom: .5rem; }
.tl-desc { font-size: .75rem; color: var(--t2); line-height: 1.7; }

.personal-section { padding: 4rem 0; }
.interests-grid { display: grid; grid-template-columns: auto-fill; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 1rem; }
.interest-card {
  background: var(--bg2); border: 1px solid var(--bd); border-radius: var(--r);
  padding: 1.2rem 1.5rem; text-align: center;
  transition: border-color .25s, transform .25s;
}
.interest-card:hover { border-color: var(--bc); transform: translateY(-3px); }
.interest-icon { font-size: 1.5rem; margin-bottom: .4rem; }
.interest-name { font-size: .65rem; color: var(--t2); }

/* ====================================================
   PORTFOLIO PAGE
   ==================================================== */
.port-banner { padding: 3.5rem 1.5rem; background: var(--bg2); border-bottom: 1px solid var(--bd); }
.port-banner-inner { max-width: 900px; margin: 0 auto; }
.port-kali { font-size: .7rem; margin-bottom: .8rem; display: flex; gap: .1rem; flex-wrap: wrap; }
.port-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: .6rem; }
.port-sub { font-size: .78rem; color: var(--t2); max-width: 620px; margin-bottom: 1.5rem; line-height: 1.8; }
.port-meta { display: flex; gap: 2rem; flex-wrap: wrap; }
.pm-n { font-size: 1.5rem; font-weight: 700; color: var(--green); line-height: 1; }
.pm-l { font-size: .6rem; color: var(--td); }

.filter-bar { padding: 1.5rem 0; border-bottom: 1px solid var(--bd); margin-bottom: 2rem; }
.filter-tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.ftab {
  font-family: var(--font); font-size: .65rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: .4rem .85rem; border-radius: var(--r);
  border: 1px solid var(--bd); background: transparent; color: var(--td);
  transition: all .2s ease; cursor: pointer;
}
.ftab:hover { color: var(--t1); border-color: var(--bc); }
.ftab.active { background: var(--gg); color: var(--green); border-color: var(--gb); }

.port-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(340px,1fr)); gap: 1.2rem; padding-bottom: 3rem; }
.port-card {
  background: var(--bgt); border: 1px solid var(--bc); border-radius: var(--r); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.port-card:hover { border-color: var(--gb); transform: translateY(-3px); }
.port-card-header {
  background: #0f0f0f; padding: .55rem .8rem;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  border-bottom: 1px solid var(--bd);
}
.pc-msf { font-size: .55rem; color: var(--td); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.pc-badge { font-size: .5rem; font-weight: 700; letter-spacing: .1em; padding: .2rem .45rem; border-radius: 2px; flex-shrink: 0; }
.pcb-red    { background: var(--rg);              color: var(--red);    border: 1px solid rgba(255,51,51,.3); }
.pcb-blue   { background: rgba(0,212,255,.08);    color: var(--blue);   border: 1px solid rgba(0,212,255,.28); }
.pcb-yellow { background: rgba(255,204,0,.07);    color: var(--yellow); border: 1px solid rgba(255,204,0,.25); }
.pcb-green  { background: var(--gg);              color: var(--green);  border: 1px solid var(--gb); }

.port-card-body { padding: 1rem; }
.pc-cat { font-size: .55rem; color: var(--td); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .35rem; }
.pc-title { font-size: .82rem; font-weight: 600; color: var(--t1); margin-bottom: .5rem; line-height: 1.4; }
.pc-desc { font-size: .7rem; color: var(--t2); line-height: 1.7; margin-bottom: .7rem; }
.pc-tags { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: .7rem; }
.pc-tag { font-size: .55rem; background: rgba(0,212,255,.08); color: var(--blue); border: 1px solid rgba(0,212,255,.28); border-radius: 2px; padding: .15rem .4rem; }
.pc-meta { display: flex; align-items: center; justify-content: space-between; font-size: .6rem; color: var(--td); padding-top: .6rem; border-top: 1px solid var(--bd); }
.pc-status { display: flex; align-items: center; }

.port-cta { padding: 5rem 1.5rem; text-align: center; background: var(--bg2); border-top: 1px solid var(--bd); }
.port-cta-inner { max-width: 600px; margin: 0 auto; }
.port-cta-inner h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; margin-bottom: .8rem; }
.port-cta-inner p { font-size: .8rem; color: var(--t2); margin-bottom: 1.5rem; line-height: 1.8; }

/* ====================================================
   CONTACT PAGE
   ==================================================== */
.con-banner { padding: 3.5rem 1.5rem; background: var(--bg2); border-bottom: 1px solid var(--bd); }
.con-banner-inner { max-width: 900px; margin: 0 auto; }
.cbk { font-size: .7rem; margin-bottom: .8rem; display: flex; gap: .1rem; flex-wrap: wrap; }
.cb-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: .6rem; }
.cb-sub { font-size: .78rem; color: var(--t2); max-width: 620px; line-height: 1.8; }

.help-section { padding: 4rem 0; }
.help-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.help-card {
  background: var(--bg2); border: 1px solid var(--bd); border-radius: var(--r);
  padding: 1.5rem; transition: border-color .25s, transform .25s;
}
.help-card:hover { border-color: var(--bc); transform: translateY(-3px); }
.hc-icon { font-size: 1.5rem; margin-bottom: .7rem; }
.hc-title { font-size: .82rem; font-weight: 600; color: var(--t1); margin-bottom: .4rem; }
.hc-desc { font-size: .7rem; color: var(--t2); line-height: 1.7; }

.contact-main { padding: 4rem 0; background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }

.form-shell { background: var(--bg); border: 1px solid var(--bd); border-radius: var(--r); overflow: hidden; }
.form-header { background: var(--bgc); display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; }
.fh-dots { display: flex; gap: .35rem; }
.fh-dot { width: 10px; height: 10px; border-radius: 50%; }
.fh-dot.r { background: #ff5f57; } .fh-dot.y { background: #febc2e; } .fh-dot.g { background: #28c840; }
.fh-title { font-size: .6rem; color: var(--td); margin-left: .5rem; }
.form-body { padding: 1.5rem; }

.vv-contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fgroup { margin-bottom: 1rem; }
.fgroup label { display: block; font-size: .65rem; color: var(--td); letter-spacing: .06em; margin-bottom: .35rem; }
.fgroup input, .fgroup select, .fgroup textarea {
  width: 100%; background: var(--bgc); border: 1px solid var(--bd); border-radius: var(--r);
  color: var(--t1); font-family: var(--font); font-size: .75rem; padding: .6rem .8rem;
  transition: border-color .25s;
}
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus { outline: none; border-color: var(--gb); }
.fgroup select { cursor: pointer; }
.fgroup textarea { resize: vertical; }

/* CF7 */
.wpcf7-form .wpcf7-form-control-wrap,
.wpcf7-form p { margin-bottom: .9rem; }
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; background: var(--bgc); border: 1px solid var(--bd); border-radius: var(--r);
  color: var(--t1); font-family: var(--font); font-size: .75rem;
  padding: .6rem .8rem; transition: border-color .25s;
}
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--gb); }
.wpcf7-form input[type=submit] {
  color: var(--green); border: 1px solid var(--green); background: transparent;
  font-family: var(--font); font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .65rem 1.6rem; border-radius: var(--r); cursor: pointer; transition: all .28s;
}
.wpcf7-form input[type=submit]:hover { background: var(--green); color: #050505; box-shadow: 0 0 20px var(--gb); }

.form-note { font-size: .65rem; color: var(--td); margin-bottom: .8rem; }
.form-submit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.encrypt-note { font-size: .6rem; color: var(--td); }

.vv-form-success {
  background: rgba(0,255,65,.07); border: 1px solid var(--gb);
  border-radius: var(--r); padding: 2rem 1.5rem;
  text-align: center; color: var(--green); font-size: .85rem; line-height: 1.8;
}
.vv-form-error {
  background: rgba(230,0,0,.08); border: 1px solid rgba(230,0,0,.3);
  border-radius: var(--r); padding: .8rem 1rem;
  color: #ff4444; font-size: .78rem; margin-bottom: 1rem;
}

.contact-info { display: flex; flex-direction: column; gap: .9rem; }
.avail-badge {
  display: flex; align-items: center; gap: .8rem;
  background: var(--gg); border: 1px solid var(--gb);
  border-radius: var(--r); padding: .8rem 1rem;
}
.avail-txt { font-size: .8rem; font-weight: 600; color: var(--green); }
.avail-sub { font-size: .65rem; color: var(--t2); }

.ci-card { background: var(--bg); border: 1px solid var(--bd); border-radius: var(--r); padding: 1rem; }
.ci-icon { font-size: 1.1rem; margin-bottom: .3rem; }
.ci-label { font-size: .55rem; color: var(--td); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .25rem; }
.ci-val { font-size: .82rem; color: var(--t1); margin-bottom: .2rem; }
.ci-val a { color: var(--green); }
.ci-sub { font-size: .65rem; color: var(--td); }

.rt-card { background: var(--bg); border: 1px solid var(--bd); border-radius: var(--r); padding: 1rem; }
.rt-title { font-size: .55rem; color: var(--td); letter-spacing: .15em; text-transform: uppercase; margin-bottom: .7rem; }
.rt-item { display: flex; justify-content: space-between; align-items: center; padding: .35rem 0; border-bottom: 1px solid var(--bd); font-size: .68rem; }
.rt-item:last-child { border-bottom: none; }
.rtl { color: var(--t2); }
.rtv { color: var(--green); font-weight: 600; }

.social-grid { display: flex; flex-direction: column; gap: .4rem; }
.soc-link { display: flex; align-items: center; gap: .6rem; padding: .4rem; border-radius: 4px; transition: background .25s; color: inherit; }
.soc-link:hover { background: var(--gg); }
.soc-icon { font-size: 1rem; flex-shrink: 0; }
.soc-name { font-size: .72rem; color: var(--t1); }

/* ====================================================
   404 / INNER PAGES
   ==================================================== */
.inner-banner { padding: 3rem 1.5rem; background: var(--bg2); border-bottom: 1px solid var(--bd); }
.inner-banner-inner { max-width: 900px; margin: 0 auto; }
.inner-banner h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: .5rem; }
.inner-banner p { font-size: .8rem; color: var(--t2); max-width: 600px; line-height: 1.8; }

.not-found {
  min-height: calc(100dvh - var(--hh) - var(--fh));
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1.5rem;
}
.nf-code { font-size: 6rem; font-weight: 700; color: var(--gg); line-height: 1; margin-bottom: .5rem; }
.nf-title { font-size: 1.3rem; font-weight: 700; color: var(--t1); margin-bottom: .5rem; }
.nf-sub { font-size: .78rem; color: var(--t2); margin-bottom: 1.5rem; }

.page-main { padding: 3rem 0; min-height: calc(100dvh - var(--hh) - var(--fh)); }
.entry-content h1,.entry-content h2,.entry-content h3 { color: var(--t1); margin-bottom: .6rem; }
.entry-content p { color: var(--t2); font-size: .8rem; line-height: 1.8; margin-bottom: 1rem; }
.entry-content a { color: var(--green); }
.entry-content ul { list-style: disc; padding-left: 1.5rem; color: var(--t2); font-size: .8rem; }

/* ====================================================
   ELEMENTOR COMPATIBILITY
   (Elementor adds its own sections below theme content)
   ==================================================== */
.vv-extra-content { background: var(--bg); }

/* Elementor inherits our font and colors */
.elementor-section,
.elementor-container,
.elementor-widget-wrap { font-family: var(--font) !important; }

/* Ensure Elementor headings/text use theme colors */
.elementor-widget-heading .elementor-heading-title { color: var(--t1); }
.elementor-widget-text-editor { color: var(--t2); }

/* Elementor divider → green */
.elementor-divider-separator { border-color: var(--green) !important; }

/* Elementor button compatibility */
.elementor-button { font-family: var(--font) !important; border-radius: var(--r) !important; }

/* Elementor section background defaults */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: 1180px; }

/* Override Elementor's default white backgrounds when unset */
.elementor-element .elementor-widget-container { background: transparent; }

/* Elementor image widget */
.elementor-widget-image img { border-radius: var(--r); }

/* Make sure scrollbar stays consistent inside Elementor */
.elementor-editor-active body { cursor: auto !important; }
.elementor-editor-active #vv-cur,
.elementor-editor-active #vv-ring { display: none !important; }
