/* ============== ROOT & RESET ============== */
:root{
  --bg-0: #05070f;
  --bg-1: #0a0f1f;
  --bg-2: #0f1629;
  --bg-card: rgba(20,27,50,0.55);
  --bg-card-2: rgba(15,22,41,0.75);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #e7ecf5;
  --text-dim: #9aa6bf;
  --text-muted: #6c7891;
  --accent: #d4af37;       /* gold */
  --accent-2: #f5d06f;
  --green: #22c55e;
  --blue: #2eb8ff;
  --purple: #a855f7;
  --red: #ef4444;
  --grad-primary: linear-gradient(135deg,#d4af37 0%,#f5d06f 45%,#b8860b 100%);
  --grad-accent: linear-gradient(135deg,#22c55e,#2eb8ff);
  --grad-cool: linear-gradient(135deg,#0ea5e9,#6366f1,#a855f7);
  --shadow-glow: 0 10px 40px rgba(212,175,55,0.25);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.4s cubic-bezier(.4,0,.2,1);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:'Vazirmatn',system-ui,-apple-system,sans-serif;
  background:var(--bg-0);
  color:var(--text);
  direction:rtl;
  overflow-x:hidden;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  position:relative;
  min-height:100vh;
}
body::before{
  content:"";
  position:fixed;inset:0;
  background:
    radial-gradient(ellipse 80% 50% at 80% -10%, rgba(212,175,55,0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 10%, rgba(46,184,255,0.08), transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 120%, rgba(34,197,94,0.06), transparent 60%);
  z-index:-2;
  pointer-events:none;
}
a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
::selection{background:var(--accent);color:#000}

/* scrollbar */
::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-track{background:var(--bg-1)}
::-webkit-scrollbar-thumb{background:linear-gradient(var(--accent),#8b6f1d);border-radius:10px}

/* ============== CANVAS BACKGROUND ============== */
#bgCanvas{
  position:fixed;
  inset:0;
  z-index:-1;
  opacity:0.55;
  pointer-events:none;
}

/* ============== CURSOR GLOW ============== */
.cursor-glow{
  position:fixed;
  width:450px;height:450px;
  background:radial-gradient(circle,rgba(212,175,55,0.12) 0%,transparent 65%);
  border-radius:50%;
  pointer-events:none;
  z-index:1;
  transform:translate(-50%,-50%);
  transition:width .3s,height .3s;
  mix-blend-mode:screen;
}

/* ============== PRELOADER ============== */
.preloader{
  position:fixed;inset:0;
  background:var(--bg-0);
  z-index:9999;
  display:flex;align-items:center;justify-content:center;
  flex-direction:column;gap:20px;
  transition:opacity .8s,visibility .8s;
}
.preloader.loaded{opacity:0;visibility:hidden}
.loader-ring{
  width:80px;height:80px;border-radius:50%;
  border:3px solid transparent;
  border-top-color:var(--accent);
  border-right-color:var(--accent);
  animation:spin 1s linear infinite;
}
.loader-text{
  font-size:2rem;font-weight:900;letter-spacing:4px;
  animation:pulse 1.4s ease-in-out infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

/* ============== LAYOUT ============== */
.container{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
}
.section{
  padding:120px 0;
  position:relative;
}

/* ============== GLASS CARD ============== */
.glass-card{
  background:var(--bg-card);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:30px;
  position:relative;
  overflow:hidden;
  transition:transform var(--transition),border-color var(--transition),box-shadow var(--transition);
}
.glass-card::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,0.04),transparent 50%);
  pointer-events:none;
  border-radius:inherit;
}
.glass-card:hover{
  transform:translateY(-6px);
  border-color:rgba(212,175,55,0.35);
  box-shadow:0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,175,55,0.2);
}

/* ============== NAVBAR ============== */
.navbar{
  position:fixed;top:0;left:0;right:0;
  z-index:200;
  padding:18px 0;
  transition:all var(--transition);
  backdrop-filter:blur(0);
}
.navbar.scrolled{
  padding:12px 0;
  background:rgba(5,7,15,0.8);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
.nav-container{
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
  display:flex;align-items:center;justify-content:space-between;
}
.logo-mark{
  font-size:1.7rem;font-weight:900;letter-spacing:1px;
  background:var(--grad-primary);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}
.logo-mark span{color:var(--text);-webkit-text-fill-color:var(--text);background:none}

.nav-links{
  display:flex;gap:6px;align-items:center;
}
.nav-links a{
  display:inline-block;
  padding:8px 16px;
  border-radius:10px;
  font-size:.92rem;font-weight:500;
  color:var(--text-dim);
  position:relative;
  transition:var(--transition);
}
.nav-links a:hover{color:var(--accent);background:rgba(212,175,55,0.08)}
.nav-links a.active{color:var(--accent)}

.hamburger{display:none;flex-direction:column;gap:5px;width:30px;z-index:210}
.hamburger span{
  width:100%;height:2px;background:var(--text);border-radius:2px;
  transition:var(--transition);
}
.hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ============== HERO ============== */
.hero{
  min-height:100vh;
  display:flex;align-items:center;
  padding:140px 0 80px;
  position:relative;
  overflow:hidden;
}
.hero-grid-overlay{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(212,175,55,0.04) 1px,transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 40%,black 40%,transparent 90%);
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 40%,black 40%,transparent 90%);
  z-index:-1;
}
.hero-glow{
  position:absolute;border-radius:50%;filter:blur(120px);
  z-index:-1;
  animation:float 8s ease-in-out infinite;
}
.hero-glow-1{
  width:500px;height:500px;
  background:radial-gradient(circle,rgba(212,175,55,0.25),transparent 70%);
  top:-100px;right:-100px;
}
.hero-glow-2{
  width:450px;height:450px;
  background:radial-gradient(circle,rgba(46,184,255,0.18),transparent 70%);
  bottom:-100px;left:-100px;
  animation-delay:-4s;
}
@keyframes float{
  0%,100%{transform:translate(0,0)}
  50%{transform:translate(30px,-20px)}
}

.hero-container{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:60px;
  align-items:center;
}

.hero-badge{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 16px;
  background:rgba(34,197,94,0.1);
  border:1px solid rgba(34,197,94,0.3);
  color:#86efac;
  border-radius:100px;
  font-size:.85rem;font-weight:500;
  margin-bottom:24px;
}
.pulse-dot{
  width:8px;height:8px;background:#22c55e;border-radius:50%;
  box-shadow:0 0 0 0 rgba(34,197,94,0.7);
  animation:pulseRing 1.8s infinite;
}
@keyframes pulseRing{
  0%{box-shadow:0 0 0 0 rgba(34,197,94,0.7)}
  70%{box-shadow:0 0 0 10px rgba(34,197,94,0)}
  100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}
}

.hero-title{
  font-size:clamp(2.5rem,6vw,4.6rem);
  font-weight:900;
  line-height:1.15;
  margin-bottom:20px;
  letter-spacing:-1px;
}
.gradient-text{
  background:var(--grad-primary);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
  position:relative;
}

.hero-role{
  font-size:clamp(1.1rem,2vw,1.5rem);
  color:var(--text-dim);
  margin-bottom:24px;
  font-weight:500;
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
}
.role-static{color:var(--text-dim)}
.role-typed{color:var(--accent);font-weight:700}
.cursor-blink{color:var(--accent);animation:blink 1s infinite;font-weight:300}
@keyframes blink{50%{opacity:0}}

.hero-desc{
  font-size:1.05rem;color:var(--text-dim);
  max-width:580px;
  margin-bottom:34px;
  line-height:2;
}

.hero-stats{
  display:flex;align-items:center;gap:30px;
  margin-bottom:40px;
  flex-wrap:wrap;
}
.stat{text-align:center}
.stat-num{
  font-size:2.2rem;font-weight:900;
  background:var(--grad-primary);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
  line-height:1;
}
.stat-label{font-size:.85rem;color:var(--text-muted);margin-top:4px}
.divider-v{width:1px;height:40px;background:var(--border)}

.hero-cta{
  display:flex;gap:14px;flex-wrap:wrap;
  margin-bottom:36px;
}

.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:14px 28px;
  border-radius:14px;
  font-weight:600;font-size:.98rem;
  transition:var(--transition);
  position:relative;
  overflow:hidden;
}
.btn-primary{
  background:var(--grad-primary);
  color:#1a1400;
  box-shadow:var(--shadow-glow);
}
.btn-primary::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,0.3) 50%,transparent 70%);
  transform:translateX(-100%);
  transition:transform .6s;
}
.btn-primary:hover::after{transform:translateX(100%)}
.btn-primary:hover{
  transform:translateY(-3px) scale(1.02);
  box-shadow:0 15px 45px rgba(212,175,55,0.4);
}
.btn-ghost{
  border:1px solid var(--border-strong);
  color:var(--text);
  background:rgba(255,255,255,0.03);
}
.btn-ghost:hover{
  border-color:var(--accent);
  background:rgba(212,175,55,0.08);
  transform:translateY(-3px);
}
.btn-lg{padding:18px 36px;font-size:1.05rem}

.hero-socials{
  display:flex;gap:12px;
}
.hero-socials a{
  width:46px;height:46px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);
  border-radius:12px;
  color:var(--text-dim);
  font-size:1.05rem;
  transition:var(--transition);
  background:rgba(255,255,255,0.02);
}
.hero-socials a:hover{
  color:var(--accent);border-color:var(--accent);
  transform:translateY(-4px);
  background:rgba(212,175,55,0.08);
  box-shadow:0 10px 25px rgba(212,175,55,0.2);
}

/* profile visual */
.hero-visual{display:flex;align-items:center;justify-content:center;position:relative}
.profile-frame{
  position:relative;width:420px;height:520px;max-width:100%;
}
.profile-img-wrap{
  position:absolute;
  width:340px;height:440px;
  left:50%;top:50%;transform:translate(-50%,-50%);
  border-radius:30px;
  overflow:hidden;
  border:2px solid rgba(212,175,55,0.4);
  z-index:2;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 8px rgba(212,175,55,0.08),
    0 0 60px rgba(212,175,55,0.2);
}
.profile-img{
  width:100%;height:100%;object-fit:cover;
  filter:saturate(1.05) contrast(1.02);
}
.profile-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 40%,rgba(5,7,15,0.7) 100%);
}
.profile-ring{
  position:absolute;
  left:50%;top:50%;transform:translate(-50%,-50%);
  width:380px;height:480px;
  border-radius:35px;
  border:1px dashed rgba(212,175,55,0.3);
  animation:rotateCW 40s linear infinite;
}
.profile-ring-2{
  width:420px;height:520px;
  border:1px solid rgba(46,184,255,0.15);
  animation:rotateCCW 60s linear infinite;
}
@keyframes rotateCW{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes rotateCCW{to{transform:translate(-50%,-50%) rotate(-360deg)}}

.profile-orbit{
  position:absolute;inset:0;
  animation:rotateCW 30s linear infinite;
}
.orbit-dot{
  position:absolute;
  width:48px;height:48px;
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;
  background:rgba(20,27,50,0.85);
  backdrop-filter:blur(10px);
  border:1px solid var(--border);
  box-shadow:0 10px 25px rgba(0,0,0,0.4);
}
.orbit-dot i{color:var(--accent)}
.dot-1{top:-10px;left:50%;transform:translateX(-50%)}
.dot-2{right:-10px;top:50%;transform:translateY(-50%);color:var(--blue)}
.dot-2 i{color:var(--blue)}
.dot-3{bottom:-10px;left:50%;transform:translateX(-50%)}
.dot-4{left:-10px;top:50%;transform:translateY(-50%)}
.dot-4 i{color:var(--green)}

.floating-card{
  position:absolute;
  display:flex;align-items:center;gap:12px;
  padding:12px 18px;
  background:rgba(15,22,41,0.9);
  backdrop-filter:blur(20px);
  border:1px solid var(--border-strong);
  border-radius:14px;
  z-index:3;
  box-shadow:0 20px 40px rgba(0,0,0,0.4);
  animation:floatCard 5s ease-in-out infinite;
}
.card-top{top:60px;right:-10px}
.card-bottom{bottom:80px;left:-20px;animation-delay:-2.5s}
.floating-card i{
  width:38px;height:38px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;
}
.card-top i{background:rgba(34,197,94,0.15);color:var(--green)}
.card-bottom i{background:rgba(212,175,55,0.15);color:var(--accent)}
.fc-title{font-weight:700;font-size:.9rem}
.fc-sub{font-size:.78rem;color:var(--text-muted);margin-top:2px}
@keyframes floatCard{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-12px)}
}

/* scroll indicator */
.scroll-indicator{
  position:absolute;bottom:30px;left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:8px;
  color:var(--text-muted);font-size:.8rem;
  animation:bounce 2s infinite;
}
.mouse{
  width:24px;height:38px;
  border:2px solid var(--text-muted);border-radius:12px;
  position:relative;
}
.wheel{
  position:absolute;top:6px;left:50%;transform:translateX(-50%);
  width:3px;height:8px;background:var(--accent);border-radius:3px;
  animation:wheel 1.5s infinite;
}
@keyframes wheel{
  0%{top:6px;opacity:1}
  100%{top:20px;opacity:0}
}
@keyframes bounce{
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(-8px)}
}

/* ============== SECTION HEADERS ============== */
.section-header{
  text-align:center;
  margin-bottom:70px;
}
.section-tag{
  display:inline-block;
  padding:6px 16px;
  background:rgba(212,175,55,0.1);
  border:1px solid rgba(212,175,55,0.25);
  color:var(--accent);
  border-radius:100px;
  font-size:.82rem;font-weight:600;
  margin-bottom:16px;
  letter-spacing:.5px;
}
.section-title{
  font-size:clamp(1.8rem,4vw,2.8rem);
  font-weight:900;
  margin-bottom:14px;
  line-height:1.2;
}
.section-sub{
  color:var(--text-dim);
  font-size:1.02rem;
  max-width:600px;margin:0 auto;
}

/* ============== ABOUT ============== */
.about-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:40px;
  align-items:start;
}
.about-text p{
  color:var(--text-dim);
  font-size:1rem;
  margin-bottom:18px;
  line-height:2;
}
.about-text strong{color:var(--text);font-weight:700}
.about-text em{color:var(--accent);font-style:normal;font-weight:600}
.hl{
  color:var(--accent);
  font-weight:600;
  position:relative;
}
.about-tags{
  display:flex;flex-wrap:wrap;gap:10px;
  margin-top:28px;
}
.about-tags span{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border);
  border-radius:100px;
  font-size:.85rem;color:var(--text-dim);
  transition:var(--transition);
}
.about-tags span:hover{
  border-color:var(--accent);color:var(--accent);
  transform:translateY(-2px);
}
.about-tags i{color:var(--accent)}

.philosophy-card{height:100%}
.philo-icon{
  width:60px;height:60px;border-radius:16px;
  background:var(--grad-primary);
  color:#1a1400;
  display:flex;align-items:center;justify-content:center;
  font-size:1.6rem;
  margin-bottom:20px;
  box-shadow:var(--shadow-glow);
}
.philosophy-card h3{
  font-size:1.3rem;font-weight:800;margin-bottom:14px;
}
.philosophy-card p{
  color:var(--text-dim);line-height:2;margin-bottom:24px;
}
.philosophy-card strong{color:var(--accent)}
.philo-values{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;
}
.val{
  display:flex;align-items:center;gap:10px;
  padding:12px;
  background:rgba(255,255,255,0.03);
  border-radius:12px;
  font-size:.9rem;
  transition:var(--transition);
}
.val i{color:var(--accent)}
.val:hover{background:rgba(212,175,55,0.08);transform:translateX(-4px)}

/* ============== TIMELINE / EXPERIENCE ============== */
.timeline{
  position:relative;
  max-width:900px;margin:0 auto;
  padding-right:40px;
}
.timeline::before{
  content:"";
  position:absolute;
  right:19px;top:0;bottom:0;
  width:2px;
  background:linear-gradient(180deg,var(--accent),rgba(212,175,55,0.1));
}
.tl-item{
  position:relative;
  margin-bottom:40px;
}
.tl-dot{
  position:absolute;
  right:-40px;top:30px;
  width:40px;height:40px;
  background:var(--bg-1);
  border:2px solid var(--accent);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:var(--accent);
  font-size:.95rem;
  z-index:2;
  box-shadow:0 0 20px rgba(212,175,55,0.4);
}
.tl-card{padding:28px}
.tl-header{
  display:flex;justify-content:space-between;
  align-items:flex-start;flex-wrap:wrap;gap:10px;
  margin-bottom:16px;
  padding-bottom:16px;
  border-bottom:1px solid var(--border);
}
.tl-header h3{font-size:1.25rem;font-weight:800;color:var(--text)}
.tl-company{color:var(--accent);font-size:.95rem;margin-top:6px;display:flex;align-items:center;gap:8px}
.tl-date{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 14px;
  background:rgba(212,175,55,0.1);
  border-radius:100px;
  font-size:.85rem;color:var(--accent);white-space:nowrap;
}
.tl-desc{color:var(--text-dim);margin-bottom:16px}
.tl-list{margin-bottom:18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tl-list li{
  display:flex;align-items:flex-start;gap:10px;
  color:var(--text-dim);font-size:.92rem;
}
.tl-list i{color:var(--green);margin-top:6px;font-size:.8rem}
.tl-tags{display:flex;gap:8px;flex-wrap:wrap}
.tl-tags span{
  padding:5px 12px;
  background:rgba(46,184,255,0.08);
  border:1px solid rgba(46,184,255,0.2);
  color:var(--blue);
  border-radius:100px;
  font-size:.78rem;font-weight:500;
}

/* ============== SKILLS ============== */
.skills-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
  margin-bottom:60px;
}
.skill-group{padding:32px}
.sg-head{
  display:flex;align-items:center;gap:16px;
  margin-bottom:24px;
}
.sg-icon{
  width:56px;height:56px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  color:white;font-size:1.3rem;
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}
.sg-head h3{font-size:1.25rem;font-weight:800}
.skill-chips{
  display:flex;flex-wrap:wrap;gap:10px;
}
.skill-chips span{
  padding:9px 16px;
  background:rgba(255,255,255,0.04);
  border:1px solid var(--border);
  border-radius:10px;
  font-size:.88rem;color:var(--text-dim);
  transition:var(--transition);
  cursor:default;
}
.skill-chips span:hover{
  border-color:var(--accent);
  color:var(--accent);
  background:rgba(212,175,55,0.08);
  transform:translateY(-3px);
}

.soft-skills{
  background:var(--bg-card);
  backdrop-filter:blur(18px);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:40px;
}
.ss-title{
  display:flex;align-items:center;gap:10px;
  font-size:1.3rem;font-weight:800;
  margin-bottom:24px;
}
.ss-title i{color:var(--accent)}
.ss-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:12px;
}
.ss-item{
  display:flex;align-items:center;gap:10px;
  padding:14px 18px;
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border);
  border-radius:12px;
  transition:var(--transition);
}
.ss-item i{color:var(--accent);font-size:1rem;width:20px;text-align:center}
.ss-item:hover{
  border-color:var(--accent);
  background:rgba(212,175,55,0.08);
  transform:translateY(-3px);
}

/* ============== CERTIFICATES ============== */
.cert-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}
.cert-card{
  padding:28px;
  background:var(--bg-card);
  backdrop-filter:blur(18px);
  border:1px solid var(--border);
  border-radius:var(--radius);
  text-align:center;
  transition:var(--transition);
  position:relative;
  overflow:hidden;
}
.cert-card::before{
  content:"";
  position:absolute;top:0;right:0;left:0;height:3px;
  background:var(--grad-primary);
  transform:scaleX(0);transform-origin:right;
  transition:transform .5s;
}
.cert-card:hover::before{transform:scaleX(1);transform-origin:left}
.cert-card:hover{
  transform:translateY(-8px);
  border-color:rgba(212,175,55,0.35);
  box-shadow:0 20px 40px rgba(0,0,0,0.4);
}
.cert-icon{
  width:64px;height:64px;border-radius:18px;
  background:linear-gradient(135deg,rgba(212,175,55,0.15),rgba(212,175,55,0.05));
  border:1px solid rgba(212,175,55,0.3);
  color:var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-size:1.5rem;
  margin:0 auto 18px;
  transition:var(--transition);
}
.cert-card:hover .cert-icon{
  transform:rotate(-8deg) scale(1.1);
  background:var(--grad-primary);
  color:#1a1400;
}
.cert-card h4{
  font-size:1.05rem;font-weight:700;margin-bottom:8px;
}
.cert-card p{
  color:var(--text-muted);font-size:.85rem;
}

/* ============== EDUCATION ============== */
.edu-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:24px;
  max-width:900px;margin:0 auto;
}
.edu-card{
  text-align:center;padding:40px 30px;
}
.edu-year{
  display:inline-block;
  padding:6px 20px;
  background:var(--grad-accent);
  color:white;
  border-radius:100px;
  font-size:.9rem;font-weight:700;
  margin-bottom:16px;
}
.edu-card h3{font-size:1.4rem;font-weight:800;margin-bottom:12px}
.edu-card p{color:var(--text-dim);line-height:2}

/* ============== VISION / INTERESTS ============== */
.interests-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-bottom:40px;
}
.interest-card{
  display:flex;align-items:center;gap:14px;
  padding:20px;
  background:var(--bg-card);
  backdrop-filter:blur(18px);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  transition:var(--transition);
  cursor:default;
}
.interest-card i{
  width:44px;height:44px;flex-shrink:0;
  border-radius:12px;
  background:linear-gradient(135deg,rgba(212,175,55,0.15),rgba(212,175,55,0.05));
  border:1px solid rgba(212,175,55,0.25);
  color:var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;
  transition:var(--transition);
}
.interest-card span{font-weight:600;font-size:.95rem}
.interest-card:hover{
  transform:translateY(-4px);
  border-color:var(--accent);
  background:rgba(212,175,55,0.05);
}
.interest-card:hover i{
  background:var(--grad-primary);color:#1a1400;
  transform:rotate(-10deg) scale(1.1);
}

.vision-quote{
  padding:50px;
  text-align:center;
  position:relative;
  margin-bottom:40px;
}
.quote-ic{
  font-size:3rem;
  color:var(--accent);
  opacity:.3;
  margin-bottom:20px;
}
.vision-quote p{
  font-size:1.1rem;
  color:var(--text-dim);
  line-height:2.2;
  max-width:800px;margin:0 auto;
  font-style:italic;
}

.teach-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:24px;
}
.teach-head{
  display:flex;align-items:center;gap:14px;
  margin-bottom:20px;
}
.teach-head i{
  width:48px;height:48px;border-radius:12px;
  background:var(--grad-cool);
  display:flex;align-items:center;justify-content:center;
  color:white;font-size:1.2rem;
}
.teach-head h3{font-size:1.2rem;font-weight:800}
.teach-card ul li{
  display:flex;align-items:flex-start;gap:10px;
  color:var(--text-dim);
  padding:10px 0;
  border-bottom:1px dashed var(--border);
}
.teach-card ul li:last-child{border-bottom:none}
.teach-card ul li i{color:var(--accent);margin-top:8px;font-size:.75rem}

/* ============== CONTACT ============== */
.contact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
  margin-bottom:40px;
}
.contact-card{
  padding:36px 30px;
  text-align:center;
  transition:var(--transition);
}
.contact-card:hover{transform:translateY(-8px)}
.cc-icon{
  width:68px;height:68px;border-radius:20px;
  display:flex;align-items:center;justify-content:center;
  color:white;font-size:1.6rem;
  margin:0 auto 18px;
  box-shadow:0 15px 35px rgba(0,0,0,0.3);
}
.cc-label{
  font-size:.85rem;color:var(--text-muted);
  text-transform:uppercase;letter-spacing:1px;
  margin-bottom:6px;
}
.cc-val{font-size:1rem;font-weight:600;color:var(--text);word-break:break-all}

.contact-cta{
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;flex-wrap:wrap;
  padding:40px;
  background:linear-gradient(135deg,rgba(212,175,55,0.08),rgba(212,175,55,0.02));
  border:1px solid rgba(212,175,55,0.2);
}
.contact-cta h3{
  font-size:1.4rem;font-weight:800;margin-bottom:8px;
}
.contact-cta p{color:var(--text-dim)}

/* ============== FOOTER ============== */
.footer{
  padding:60px 0 30px;
  border-top:1px solid var(--border);
  background:rgba(5,7,15,0.6);
  margin-top:60px;
}
.footer-container{
  display:flex;flex-direction:column;align-items:center;gap:24px;
  text-align:center;
}
.footer-brand p{color:var(--text-muted);font-size:.9rem;max-width:500px;margin-top:10px}
.footer-socials{display:flex;gap:12px}
.footer-socials a{
  width:44px;height:44px;border-radius:12px;
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color:var(--text-dim);
  transition:var(--transition);
}
.footer-socials a:hover{
  color:var(--accent);border-color:var(--accent);
  transform:translateY(-3px);
  background:rgba(212,175,55,0.08);
}
.footer-copy{
  color:var(--text-muted);font-size:.82rem;
  padding-top:24px;
  border-top:1px solid var(--border);
  width:100%;
}

/* ============== BACK TO TOP ============== */
.back-to-top{
  position:fixed;
  bottom:30px;left:30px;
  width:48px;height:48px;
  background:var(--grad-primary);
  color:#1a1400;
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;
  z-index:150;
  opacity:0;visibility:hidden;
  transform:translateY(20px);
  transition:var(--transition);
  box-shadow:var(--shadow-glow);
}
.back-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.back-to-top:hover{transform:translateY(-4px) scale(1.05)}

/* ============== REVEAL ANIMATIONS ============== */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:opacity .9s cubic-bezier(.4,0,.2,1),transform .9s cubic-bezier(.4,0,.2,1);
}
.reveal.visible{opacity:1;transform:translateY(0)}
.delay-1{transition-delay:.1s}
.delay-2{transition-delay:.2s}
.delay-3{transition-delay:.3s}
.delay-4{transition-delay:.4s}
.delay-5{transition-delay:.5s}
.delay-6{transition-delay:.6s}

/* ============== RESPONSIVE ============== */
@media (max-width:1024px){
  .hero-container{grid-template-columns:1fr;gap:60px;text-align:center}
  .hero-desc{margin:0 auto 34px}
  .hero-badge{margin:0 auto 24px}
  .hero-stats,.hero-cta,.hero-socials{justify-content:center}
  .hero-visual{order:-1}
  .profile-frame{width:360px;height:460px}
  .profile-img-wrap{width:280px;height:380px}
  .profile-ring{width:320px;height:420px}
  .profile-ring-2{width:360px;height:460px}
  .about-grid{grid-template-columns:1fr;gap:30px}
  .card-top{right:-20px}
  .card-bottom{left:-20px}
}

@media (max-width:768px){
  .section{padding:80px 0}
  .container{padding:0 18px}

  /* nav */
  .nav-links{
    position:fixed;
    top:0;right:-100%;
    width:78%;height:100vh;
    flex-direction:column;
    background:rgba(10,15,31,0.98);
    backdrop-filter:blur(30px);
    padding:100px 30px 30px;
    gap:6px;
    transition:right .4s cubic-bezier(.4,0,.2,1);
    border-left:1px solid var(--border);
    z-index:205;
    align-items:stretch;
  }
  .nav-links.open{right:0}
  .nav-links a{padding:14px 18px;font-size:1rem;border-radius:12px}
  .hamburger{display:flex}

  /* hero */
  .hero{padding:110px 0 60px}
  .hero-title{font-size:2.4rem}
  .hero-stats{gap:16px}
  .stat-num{font-size:1.6rem}
  .divider-v{height:30px}
  .hero-cta{flex-direction:column;align-items:stretch}
  .btn{justify-content:center}
  .profile-frame{width:300px;height:380px}
  .profile-img-wrap{width:230px;height:310px;border-radius:24px}
  .profile-ring{width:270px;height:350px}
  .profile-ring-2{width:300px;height:380px}
  .orbit-dot{width:40px;height:40px;font-size:.9rem;border-radius:10px}
  .floating-card{padding:10px 14px}
  .card-top{top:30px;right:-10px}
  .card-bottom{bottom:40px;left:-10px}
  .floating-card i{width:32px;height:32px;font-size:.85rem}
  .fc-title{font-size:.82rem}
  .fc-sub{font-size:.7rem}

  /* timeline */
  .timeline{padding-right:30px}
  .timeline::before{right:14px}
  .tl-dot{right:-30px;width:32px;height:32px;font-size:.8rem;top:24px}
  .tl-header{flex-direction:column;gap:10px}
  .tl-list{grid-template-columns:1fr}
  .tl-card{padding:22px}

  /* skills */
  .skills-grid{grid-template-columns:1fr;gap:18px}
  .skill-group{padding:24px}
  .soft-skills{padding:24px}
  .ss-grid{grid-template-columns:1fr 1fr}

  /* edu */
  .edu-grid{grid-template-columns:1fr}
  .edu-card{padding:30px 22px}

  /* interests */
  .interests-grid{grid-template-columns:1fr}
  .vision-quote{padding:30px 22px}
  .vision-quote p{font-size:.98rem;line-height:2}
  .teach-grid{grid-template-columns:1fr}

  /* contact */
  .contact-cta{flex-direction:column;text-align:center;padding:30px 22px}
  .contact-cta .btn{width:100%;justify-content:center}

  /* about */
  .philo-values{grid-template-columns:1fr}
  .about-tags{gap:8px}
  .about-tags span{font-size:.78rem;padding:6px 12px}

  .back-to-top{bottom:20px;left:20px;width:44px;height:44px}
}

@media (max-width:480px){
  .hero-title{font-size:2rem}
  .section-title{font-size:1.7rem}
  .hero-stats{gap:12px}
  .stat{min-width:80px}
  .ss-grid{grid-template-columns:1fr}
  .cert-grid{grid-template-columns:1fr 1fr}
  .cert-card{padding:20px}
  .cert-icon{width:52px;height:52px;font-size:1.2rem}
  .cert-card h4{font-size:.92rem}
}

/* Reduce motion */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}
