:root{
  --bg:#0b0f19;
  --bg2:#0e1528;

  /* Cards stay glassy, but text will be dark */
  --card:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.10);

  /* DARK TEXT SYSTEM */
  --text:#0b0f19;
  --muted:rgba(11,15,25,.70);

  --p1:#6d5efc; /* violet */
  --p2:#00d4ff; /* cyan */
  --p3:#ff4fd8; /* pink */
  --accent:#ffb703; /* warm accent */
  --shadow: 0 18px 45px rgba(0,0,0,.25);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;

  /* Keep your background exactly as you designed */
  background: radial-gradient(900px 600px at 20% 0%, rgba(109,94,252,.25), transparent 60%),
              radial-gradient(900px 600px at 80% 10%, rgba(0,212,255,.16), transparent 60%),
              radial-gradient(900px 600px at 70% 90%, rgba(255,79,216,.14), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg2));

  /* DARK TEXT now */
  color: var(--text);
}

.bg-app{background:transparent}
.text-secondary{color:var(--muted)!important}
.fw-800{font-weight:800}

.section-pad{padding: 90px 0}
@media (max-width: 991px){
  .section-pad{padding: 70px 0}
}

.text-grad{
  background: linear-gradient(90deg, var(--p2), var(--p1), var(--p3));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.divider{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(11,15,25,.18), transparent);
}
.text-light {
    --bs-text-opacity: 1;
    color: rgb(170 87 237) !important;
}
.name-in {
    color: #965af2;
}
/* NAV */
.nav-glass{
  transition: all .25s ease;
  backdrop-filter: blur(10px);

  /* Light navbar for dark text */
  background: rgba(255,255,255,.70);
  border-bottom: 1px solid rgba(11,15,25,.08);
}

.navbar .nav-link{
  color: rgba(11,15,25,.80) !important;
}
.navbar .nav-link:hover{
  color: rgba(11,15,25,1) !important;
}

.brand-dot{
  width:12px;height:12px;border-radius:999px;
  background: linear-gradient(135deg, var(--p2), var(--p1), var(--p3));
  box-shadow: 0 0 20px rgba(0,212,255,.35);
}

/* HERO */
.hero-section{
  min-height: 100vh;
  display:flex;
  align-items:center;
  padding: 110px 0 60px;
  position:relative;
  overflow:hidden;
}

.hero-bg{position:absolute; inset:0; pointer-events:none}

.grid-overlay{
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity:.12;
  mask-image: radial-gradient(circle at 50% 30%, black 0, transparent 70%);
}

.orb{
  position:absolute;
  border-radius:999px;
  filter: blur(30px);
  opacity:.9;
  animation: floaty 8s ease-in-out infinite;
}
.orb-1{width:420px;height:420px; left:-120px; top:-140px; background: rgba(109,94,252,.35)}
.orb-2{width:360px;height:360px; right:-120px; top:0px; background: rgba(0,212,255,.28); animation-delay: -2s}
.orb-3{width:460px;height:460px; right:10%; bottom:-220px; background: rgba(255,79,216,.18); animation-delay: -4s}

@keyframes floaty{
  0%,100%{transform: translateY(0) translateX(0) scale(1)}
  50%{transform: translateY(18px) translateX(8px) scale(1.03)}
}

/* Badge */
.badge-glow{
  padding: .55rem .9rem;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;

  background: rgba(255,255,255,.70);
  border: 1px solid rgba(11,15,25,.10);
  box-shadow: 0 0 24px rgba(0,212,255,.12);

  color: rgba(11,15,25,.9);
}

/* Chips */
.chip{
  display:inline-flex; align-items:center; gap:.35rem;
  padding: .45rem .7rem;
  border-radius: 999px;

  background: rgba(255,255,255,.70);
  border: 1px solid rgba(11,15,25,.10);

  color: rgba(11,15,25,.85);
  font-size: .9rem;
}

/* HERO CARD */
.hero-card{
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(11,15,25,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
  color: var(--text);
}

.hero-card:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(600px 200px at 20% 0%, rgba(0,212,255,.18), transparent 60%),
              radial-gradient(600px 200px at 90% 10%, rgba(109,94,252,.18), transparent 55%);
  opacity:.9;
  pointer-events:none;
}
.hero-card-inner{position:relative; padding: 22px}

/* Pills */
.pill{
  font-size:.82rem;
  padding:.35rem .65rem;
  border-radius:999px;
  border: 1px solid rgba(11,15,25,.12);
  background: rgba(255,255,255,.75);
  color: rgba(11,15,25,.85);
}
.pill-dark{
  background: rgba(11,15,25,.08);
}

/* Profile */
.profile-wrap{
  display:flex; align-items:center; gap:12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,15,25,.10);
}
.avatar{
  width:52px;height:52px;border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(0,212,255,.25), rgba(109,94,252,.25), rgba(255,79,216,.20));
  border: 1px solid rgba(11,15,25,.10);
}
.avatar-initials{font-weight:800; letter-spacing:.5px}

.mini-cards{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.mini{
  display:flex; gap:10px; align-items:center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,15,25,.10);
}
.mini-icon{
  width:38px;height:38px;border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,15,25,.10);
}
.mini-title{font-weight:700; font-size:.95rem; color: var(--text)}
.mini-sub{font-size:.82rem; color: rgba(11,15,25,.65)}

/* Buttons */
.btn-primary{
  background: linear-gradient(90deg, var(--p2), var(--p1));
  border: none;
  box-shadow: 0 12px 26px rgba(0,212,255,.16);
}
.btn-primary:hover{filter: brightness(1.05)}

/* Soft button must be readable */
.btn-soft{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,15,25,.12);
  color: rgba(11,15,25,.90);
}
.btn-soft:hover{
  background: rgba(255,255,255,.88);
  color: rgba(11,15,25,1);
}

/* Stats */
.hero-stats{
  display:flex; gap:14px; flex-wrap:wrap;
}
.stat{
  min-width: 140px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,15,25,.10);
  color: var(--text);
}
.stat-num{
  font-size: 1.35rem;
  font-weight: 800;
}
.stat-plus{font-size:.9rem; color: rgba(11,15,25,.60); margin-left:4px}
.stat-label{font-size:.85rem; color: rgba(11,15,25,.60)}

/* Scroll indicator */
.scroll-indicator{
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom: 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  text-decoration:none;
}
.mouse{
  width:26px;height:42px;border-radius:999px;
  border: 1px solid rgba(11,15,25,.25);
  position:relative;
}
.mouse:after{
  content:"";
  width:4px;height:8px;border-radius:999px;
  background: rgba(11,15,25,.70);
  position:absolute;
  left:50%; top:10px;
  transform: translateX(-50%);
  animation: wheel 1.35s ease-in-out infinite;
}
@keyframes wheel{
  0%{opacity:.2; transform: translateX(-50%) translateY(0)}
  60%{opacity:1}
  100%{opacity:.1; transform: translateX(-50%) translateY(12px)}
}

/* Glass cards */
.glass-card{
  border-radius: 22px;
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(11,15,25,.10);
  box-shadow: var(--shadow);
  color: var(--text);
}

.feature-card{
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(11,15,25,.10);
  transition: transform .18s ease, background .18s ease;
  height: 100%;
  color: var(--text);
}
.feature-card:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,.88);
}

.feature-icon{
  width:44px;height:44px;border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,15,25,.10);
  margin-bottom: 10px;
}

.tag{
  font-size:.85rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,15,25,.10);
  color: rgba(11,15,25,.85);
}

/* List check */
.list-check{padding-left: 0; list-style:none}
.list-check li{
  padding-left: 26px;
  position:relative;
  margin: 10px 0;
  color: rgba(11,15,25,.75);
}
.list-check li:before{
  content:"\F26E";
  font-family: "bootstrap-icons";
  position:absolute;
  left:0; top:2px;
  color: rgba(0,212,255,.85);
}

/* Skills bars */
.skill{margin-bottom: 14px}
.bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(11,15,25,.08);
  border: 1px solid rgba(11,15,25,.08);
  overflow:hidden;
  margin-top: 8px;
}
.bar span{
  display:block;
  height:100%;
  border-radius:999px;
  background: linear-gradient(90deg, var(--p2), var(--p1), var(--p3));
  width: 0;
  transition: width 1.1s ease;
}

/* Workflow steps */
.step{
  display:flex; gap:12px; align-items:flex-start;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,15,25,.10);
  margin-bottom: 10px;
  color: var(--text);
}
.step-num{
  width:40px;height:40px;border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(11,15,25,.10);
  font-weight:800;
  color: rgba(11,15,25,.95);
}

/* Timeline */
.timeline{
  position:relative;
  max-width: 980px;
  margin: 0 auto;
}
.timeline:before{
  content:"";
  position:absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(11,15,25,.14);
}
.timeline-item{
  position:relative;
  padding-left: 60px;
  margin-bottom: 18px;
}
.timeline-dot{
  width: 14px;height:14px;border-radius:999px;
  position:absolute;
  left: 11px;
  top: 22px;
  background: linear-gradient(135deg, var(--p2), var(--p1), var(--p3));
  box-shadow: 0 0 20px rgba(0,212,255,.22);
}
.timeline-card{
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(11,15,25,.10);
  box-shadow: var(--shadow);
  color: var(--text);
}

/* Filters */
.btn-filter{
  border-radius:999px;
  padding: .5rem 1rem;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,15,25,.10);
  color: rgba(11,15,25,.85);
}
.btn-filter:hover{
  background: rgba(255,255,255,.88);
  color: rgba(11,15,25,1);
}
.btn-filter.active{
  background: linear-gradient(90deg, var(--p2), var(--p1));
  border: none;
  color:#fff;
}

/* Work cards */
.work-card{
  display:block;
  text-decoration:none;
  border-radius: 22px;
  overflow:hidden;
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(11,15,25,.10);
  box-shadow: var(--shadow);
  transition: transform .2s ease, background .2s ease;
  color: var(--text);
}
.work-card:hover{
  transform: translateY(-5px);
  background: rgba(255,255,255,.88);
}
.work-thumb{
  height: 210px;
  background-size: cover;
  background-position:center;
  position:relative;
}
.work-thumb:after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.35));
}
.work-body{padding: 14px 16px}
.work-title{font-weight:800}
.work-sub{font-size:.92rem; color: rgba(11,15,25,.70)}
.work-tags{display:flex; gap:6px; flex-wrap:wrap; margin-top:10px}
.work-tags span{
  font-size:.78rem;
  padding:.3rem .55rem;
  border-radius:999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,15,25,.10);
  color: rgba(11,15,25,.85);
}

/* Placeholder thumbs (unchanged) */
.thumb-1{background-image: radial-gradient(600px 240px at 20% 10%, rgba(0,212,255,.35), transparent 60%), linear-gradient(135deg, rgba(109,94,252,.25), rgba(255,79,216,.18));}
.thumb-2{background-image: radial-gradient(600px 240px at 70% 20%, rgba(255,79,216,.30), transparent 60%), linear-gradient(135deg, rgba(0,212,255,.18), rgba(109,94,252,.20));}
.thumb-3{background-image: radial-gradient(600px 240px at 50% 0%, rgba(109,94,252,.35), transparent 60%), linear-gradient(135deg, rgba(0,212,255,.12), rgba(255,79,216,.18));}
.thumb-4{background-image: radial-gradient(600px 240px at 20% 80%, rgba(0,212,255,.25), transparent 60%), linear-gradient(135deg, rgba(255,183,3,.10), rgba(109,94,252,.22));}
.thumb-5{background-image: radial-gradient(600px 240px at 80% 30%, rgba(255,183,3,.14), transparent 60%), linear-gradient(135deg, rgba(0,212,255,.16), rgba(255,79,216,.18));}
.thumb-6{background-image: radial-gradient(600px 240px at 30% 20%, rgba(109,94,252,.28), transparent 60%), linear-gradient(135deg, rgba(255,79,216,.18), rgba(0,212,255,.14));}

/* Services */
.service-card{
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(11,15,25,.10);
  box-shadow: var(--shadow);
  transition: transform .18s ease;
  height: 100%;
  color: var(--text);
}
.service-card:hover{transform: translateY(-4px)}
.service-icon{
  width:46px;height:46px;border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,15,25,.10);
  margin-bottom: 10px;
}

/* Contact */
.contact-item{
  display:flex; gap:12px; align-items:center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(11,15,25,.10);
  margin-bottom: 10px;
  color: var(--text);
}
.contact-icon{
  width:42px;height:42px;border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,15,25,.10);
}

.link-pill{
  text-decoration:none;
  color: rgba(11,15,25,.92);
  font-size:.85rem;
  padding:.35rem .7rem;
  border-radius:999px;
  border: 1px solid rgba(11,15,25,.10);
  background: rgba(255,255,255,.75);
}
.link-pill:hover{
  background: rgba(255,255,255,.88);
  color: rgba(11,15,25,1);
}

/* Form controls */
.input-glass{
  background: rgba(255,255,255,.82)!important;
  border: 1px solid rgba(11,15,25,.12)!important;
  color: rgba(11,15,25,.95)!important;
}
.input-glass::placeholder{
  color: rgba(11,15,25,.50) !important;
}
.input-glass:focus{
  box-shadow: 0 0 0 .25rem rgba(0,212,255,.12)!important;
}

/* Footer */
.footer{
  border-top: 1px solid rgba(11,15,25,.10);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  color: rgba(11,15,25,.75);
}
.social{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px;
  border-radius: 14px;
  margin-left: 8px;
  border: 1px solid rgba(11,15,25,.10);
  background: rgba(255,255,255,.75);
  color: rgba(11,15,25,.90);
  text-decoration:none;
}
.social:hover{
  background: rgba(255,255,255,.88);
  color: rgba(11,15,25,1);
}

/* Reveal Animations */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.show{
  opacity: 1;
  transform: translateY(0);
}

/* Typing caret */
.typing-wrap{display:flex; gap:10px; align-items:center}
.typing{
  position:relative;
  padding-right: 12px;
}
.typing:after{
  content:"";
  position:absolute;
  right: 2px;
  top: 3px;
  width: 2px;
  height: 1.2em;
  background: rgba(11,15,25,.65);
  animation: blink .9s infinite;
}
@keyframes blink{50%{opacity:.2}}

/* Cursor Glow */
.cursor-glow{
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(0,212,255,.18), transparent 55%),
              radial-gradient(circle at 60% 60%, rgba(109,94,252,.16), transparent 55%),
              radial-gradient(circle at 50% 50%, rgba(255,79,216,.12), transparent 55%);
  transform: translate(-50%, -50%);
  filter: blur(14px);
  opacity: .55;
  z-index: 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto!important}
  .orb,.mouse:after,.typing:after{animation:none!important}
  .reveal{transition:none!important}
}
