:root{
  --bg: #0b0f1a;
  --bg-deep: #070b13;
  --card: rgba(255,255,255,0.06);
  --card-2: rgba(255,255,255,0.08);
  --stroke: rgba(255,255,255,0.12);
  --text: #e6f0ff;
  --muted: #9db0d0;
  --accent: #7ef9ff;
  --accent-2: #9b7bff;
  --danger: #ff6b6b;
  --green: #25d366;
  --shadow: 0 10px 30px rgba(0,0,0,0.35), 0 2px 10px rgba(0,0,0,0.2);
  --radius: 16px;
  --radius-lg: 22px;
  --gap: 20px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(126,249,255,0.1), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(155,123,255,0.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.hero{
  position:relative;
  height:100vh;
  overflow:hidden;
  border-bottom:1px solid var(--stroke);
}
.hero-carousel{
  width:100%;
  height:100%;
  position:relative;
}
.slides{
  position:relative;
  width:100%;
  height:100%;
}
.slide{
  position:absolute;
  inset:0;
  background-image:var(--bg);
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.03);
  transition:opacity .8s ease, transform 1.6s cubic-bezier(.2,.6,.2,1);
}
.slide.is-active{
  opacity:1;
  transform:scale(1);
}
.slide .overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(7,11,19,.35), rgba(7,11,19,.65));
  backdrop-filter:saturate(120%) blur(0.5px);
}
.slide-content{
  position:absolute;
  left:8vw;
  bottom:14vh;
  max-width:720px;
  z-index:2;
}
.brand{
  margin:0 0 10px;
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing:.2px;
  background:linear-gradient(90deg, #fff, var(--accent), #b9a4ff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:800;
}
.slogan{
  margin:0 0 22px;
  font-size: clamp(16px, 2.2vw, 22px);
  color:var(--muted);
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;border-radius:12px;border:1px solid transparent;
  font-weight:600;letter-spacing:.2px;cursor:pointer;user-select:none;
  transition:all .25s ease; backdrop-filter: blur(8px);
}
.btn-primary{
  background:linear-gradient(135deg, var(--accent), #56d4ff);
  color:#071018; box-shadow:0 10px 20px rgba(126,249,255,0.25);
}
.btn-primary:hover{transform:translateY(-2px)}
.btn-secondary{
  background:var(--card); color:var(--text); border-color:var(--stroke);
}
.btn-secondary:hover{background:var(--card-2)}
.btn-outline{
  background:transparent; border-color:var(--accent); color:#c9f8ff;
}
.btn-outline:hover{background:rgba(126,249,255,0.08)}
.btn-ghost{
  background:transparent; border:1px solid var(--stroke); color:var(--text); padding:10px 14px;border-radius:10px;
}
.btn-ghost:hover{border-color:var(--accent); color:var(--accent)}
.nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;
  display:grid;place-items:center; border:1px solid var(--stroke);
  background:rgba(8,12,20,0.4); color:#eaf6ff; cursor:pointer; z-index:3;
  transition:all .2s ease; box-shadow:var(--shadow)
}
.nav:hover{background:rgba(8,12,20,0.6); border-color:rgba(255,255,255,0.2)}
.nav.prev{left:20px}
.nav.next{right:20px}
.dots{
  position:absolute; left:50%; transform:translateX(-50%); bottom:42px; display:flex; gap:10px; z-index:3;
  padding:8px 12px; border-radius:999px; background:rgba(7,11,19,0.35); border:1px solid var(--stroke); backdrop-filter: blur(8px);
}
.dot{
  width:10px;height:10px;border-radius:50%;border:1px solid rgba(255,255,255,0.4);
  background:rgba(255,255,255,0.2); cursor:pointer; transition:all .2s ease;
}
.dot.is-active{background:linear-gradient(135deg, var(--accent), #b9a4ff); border-color:transparent; width:24px; border-radius:999px}
.scroll-hint{
  position:absolute; left:50%; transform:translateX(-50%); bottom:10px; font-size:12px; color:#bcd0f2; letter-spacing:.4px; opacity:.9;
  display:flex; align-items:center; gap:8px;
}
.scroll-hint .arrow{animation:float 1.6s ease-in-out infinite}
@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(3px)}100%{transform:translateY(0)}}
.content{
  max-width:1320px;
  margin: 40px auto 80px;
  padding:0 24px;
  display:grid;
  grid-template-columns: 360px minmax(0,1fr);
  gap:24px;
}
.sidebar{
  position:sticky;
  top:24px;
  height:fit-content;
}
.profile-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border:1px solid var(--stroke);
  border-radius:var(--radius-lg);
  padding:24px;
  box-shadow:var(--shadow);
  backdrop-filter: blur(10px);
}
.avatar-wrap{
  position:relative; width:110px; height:110px; margin-bottom:14px;
}
.avatar{
  width:110px;height:110px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,0.8); box-shadow:0 6px 20px rgba(0,0,0,0.35)
}
.status-dot{
  position:absolute; right:6px; bottom:8px; width:14px; height:14px; background:linear-gradient(180deg, #57ffb1, #25d366);
  border-radius:50%; border:2px solid #0b1020; box-shadow:0 0 0 3px rgba(37,211,102,0.2)
}
.name{margin:6px 0 4px; font-size:26px; letter-spacing:.3px}
.title{margin:0 0 10px; color:var(--accent); font-weight:600}
.bio{margin:0 0 18px; color:var(--muted)}
.contacts{display:flex; flex-direction:column; gap:10px; margin:12px 0 16px}
.contact-item{
  display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:12px;
  border:1px solid var(--stroke); background:var(--card); transition:all .2s ease;
}
.contact-item:hover{border-color:var(--accent); transform:translateY(-1px)}
.contact-item svg{width:18px;height:18px;fill:#cbe7ff}
.cta-group{display:flex; gap:10px; margin:8px 0 16px; flex-wrap:wrap}
.info-card{
  margin-top:14px; padding:16px; border-radius:14px; border:1px solid var(--stroke); background:rgba(255,255,255,0.04)
}
.info-title{margin:0 0 10px; font-size:14px; color:#cfe4ff; letter-spacing:.3px}
.chips{display:flex; flex-wrap:wrap; gap:8px}
.chip{
  font-size:12px; padding:6px 10px; border-radius:999px; color:#cde8ff;
  border:1px solid rgba(126,249,255,0.35); background:rgba(126,249,255,0.08)
}
.portfolio{
  min-width:0;
}
.section-title{
  margin:2px 0 16px; font-size:22px; letter-spacing:.2px; color:#dfeaff
}
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:20px;
}
@media (min-width: 1200px){
  .grid{grid-template-columns: repeat(3, minmax(0,1fr))}
}
@media (max-width: 1080px){
  .content{grid-template-columns: 1fr}
  .sidebar{position:relative; top:auto}
}
@media (max-width: 720px){
  .grid{grid-template-columns: 1fr}
  .brand{font-size: clamp(28px, 8vw, 48px)}
}
.project-card{
  display:flex; flex-direction:column; overflow:hidden; border-radius:16px;
  border:1px solid var(--stroke); background:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  transition:transform .22s ease, box-shadow .22s ease;
}
.project-card:hover{transform:translateY(-4px); box-shadow:0 18px 40px rgba(0,0,0,0.35)}
.project-media{position:relative; aspect-ratio: 16/10; overflow:hidden}
.project-media img{width:100%; height:100%; object-fit:cover; transform:scale(1.02); transition:transform .6s ease}
.project-card:hover .project-media img{transform:scale(1.08)}
.badge{
  position:absolute; left:12px; top:12px; padding:6px 10px; border-radius:999px;
  background:rgba(7,11,19,0.6); border:1px solid var(--stroke); color:#cfe8ff; font-size:12px; backdrop-filter: blur(6px)
}
.project-body{padding:14px 14px 16px}
.project-title{margin:6px 0 6px; font-size:18px}
.project-desc{margin:0 0 12px; color:#b7c9e6}
.meta{display:flex; gap:10px; color:#99acc9; font-size:12px; margin-bottom:8px; flex-wrap:wrap}
.actions{display:flex; gap:10px; flex-wrap:wrap}
.footer{
  border-top:1px solid var(--stroke);
  padding:20px 24px 40px;
  background:rgba(0,0,0,0.25);
}
.footer-inner{
  max-width:1320px; margin:0 auto; padding:0 0 8px;
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap
}
.foot-left{color:#d7e7ff}
.foot-right{display:flex; align-items:center; gap:10px; color:#a9bfdf}
.foot-right a{color:#cfe0ff; border-bottom:1px dashed transparent}
.foot-right a:hover{color:var(--accent); border-color:var(--accent)}
.foot-copy{max-width:1320px; margin:0 auto; color:#7f93b3; font-size:12px}
