:root {
  --ink: #172033;
  --muted: #68738a;
  --purple: #7157f4;
  --blue: #4d83ff;
  --line: #e7eaf2;
  --soft: #f7f8fc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.65; background: #fff; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 44px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(231,234,242,.8); backdrop-filter: blur(16px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 850; font-size: 1.15rem; letter-spacing: -.6px; }
.brand span { color: var(--purple); }
.nav-links { display: flex; align-items: center; gap: 30px; color: #596278; font-size: .92rem; font-weight: 600; }
.nav-links a:hover, .footer a:hover { color: var(--purple); }
.nav-cta { padding: 10px 18px; border: 1px solid #dcd7ff; border-radius: 12px; color: var(--purple) !important; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.6rem; color: var(--ink); }
.hero { min-height: 625px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; padding-top: 54px; padding-bottom: 75px; }
.eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: 2px; color: var(--purple); margin: 0 0 18px; }
.status-dot { display: inline-block; width: 8px; height: 8px; background: #43c59e; border-radius: 50%; margin-right: 8px; box-shadow: 0 0 0 4px #e4fbf2; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.7rem, 5vw, 4.5rem); letter-spacing: -3px; line-height: 1.1; margin-bottom: 24px; }
.gradient-text { background: linear-gradient(110deg, #7157f4, #428df7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 560px; font-size: 1.08rem; color: var(--muted); line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 42px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 21px; border-radius: 12px; font-weight: 750; font-size: .92rem; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(120deg, #7157f4, #4d83ff); color: #fff; box-shadow: 0 10px 25px #7157f433; }
.button-secondary { border: 1px solid var(--line); background: #fff; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-meta div { display: grid; gap: 1px; }
.hero-meta strong { font-size: 1.15rem; }
.hero-meta span { font-size: .78rem; color: var(--muted); }
.hero-art { min-height: 410px; display: grid; place-items: center; position: relative; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: linear-gradient(135deg, #f0edff, #e5f1ff); filter: blur(1px); z-index: -2; }
.orbit { position: absolute; border: 1px solid #cfc8ff; border-radius: 50%; transform: rotate(-28deg); }
.orbit-one { width: 430px; height: 180px; }
.orbit-two { width: 370px; height: 270px; transform: rotate(48deg); border-color: #d5e3ff; }
.code-card { width: min(390px, 100%); background: #171b2c; border-radius: 18px; overflow: hidden; box-shadow: 0 28px 70px #29335b33; transform: rotate(-3deg); }
.code-top { height: 45px; display: flex; align-items: center; gap: 6px; padding: 0 16px; background: #20253a; }
.code-top > span { width: 8px; height: 8px; border-radius: 50%; background: #ff6c7b; }
.code-top > span:nth-child(2) { background: #ffc45b; }.code-top > span:nth-child(3) { background: #57d8a1; }
.code-top small { color: #a7aec5; margin-left: 10px; font-size: .72rem; }
.code-card pre { padding: 15px 24px 24px; color: #dce4ff; font-size: .91rem; line-height: 1.9; overflow: auto; }
.code-purple { color: #c4a5ff; }.code-green { color: #9be6c3; }.code-blue { color: #7dbbff; }.code-yellow { color: #ffdb8a; }
.floating-badge { position: absolute; display: flex; align-items: center; gap: 8px; padding: 11px 15px; background: #fff; border: 1px solid #edf0f7; border-radius: 14px; box-shadow: 0 12px 35px #25345b16; font-weight: 850; color: var(--purple); }
.floating-badge span { color: #3e4961; font-size: .78rem; }
.badge-code { top: 50px; right: -5px; }.badge-star { bottom: 45px; left: -12px; color: #ffad37; }
.section { padding-top: 100px; padding-bottom: 100px; }
.section-soft { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.section-heading h2, .contact-inner h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.2; letter-spacing: -1.5px; margin-bottom: 18px; }
.about-copy { color: var(--muted); }
.about-note { display: flex; gap: 15px; align-items: center; padding: 19px; margin-top: 25px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: .9rem; }
.about-note strong { color: var(--ink); }.note-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 12px; background: #f0edff; color: var(--purple); font-size: 1.3rem; }
.centered { text-align: center; max-width: 650px; margin: 0 auto 44px; }.section-intro { color: var(--muted); }
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.skill-card { border: 1px solid var(--line); border-radius: 18px; padding: 25px 21px; transition: transform .2s, box-shadow .2s; }
.skill-card:hover, .project-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px #28365a12; }
.skill-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.5rem; margin-bottom: 20px; }
.icon-purple { background: #f0edff; color: #7157f4; }.icon-blue { background: #eaf2ff; color: #4384f5; }.icon-green { background: #e6faf2; color: #23a77a; }.icon-orange { background: #fff2e5; color: #f39a3c; }
.skill-card h3, .project-info h3 { margin-bottom: 9px; font-size: 1.08rem; }.skill-card p, .project-info > p:not(.project-type) { color: var(--muted); font-size: .88rem; line-height: 1.75; }
.tag { display: inline-block; background: #f4f5fa; border-radius: 6px; padding: 4px 8px; margin: 3px 4px 0 0; font-size: .72rem; color: #5d6780; }
.projects-section { background: var(--soft); padding: 100px 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .2s, box-shadow .2s; }
.project-visual { height: 205px; margin: 14px 14px 0; border-radius: 12px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
.visual-web { background: linear-gradient(135deg, #e8e6ff, #dceeff); align-items: flex-start; padding-top: 0; }
.browser-bar { position: absolute; top: 0; width: 100%; height: 25px; background: #fff9; display: flex; gap: 5px; align-items: center; padding-left: 10px; }.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #a5a2d5; }
.mock-content { width: 72%; height: 120px; margin-top: 49px; background: #fff; border-radius: 8px; padding: 14px; box-shadow: 0 8px 20px #4e5b9418; }.mock-content b { display: inline-block; width: 42%; height: 8px; border-radius: 4px; background: #8a79f6; margin: 4px 0 13px; }.mock-content b:nth-child(2) { width: 23%; background: #c4c9dc; margin-left: 8px; }.mock-content span { display: block; height: 5px; width: 85%; margin: 7px 0; border-radius: 5px; background: #e7eaf3; }
.visual-code { flex-direction: column; background: linear-gradient(135deg, #202941, #3b3d70); color: #c5b7ff; }.visual-code > span { font-size: 4rem; font-weight: 900; }.visual-code small { color: #d7def7; }.mini-lines { width: 55%; margin-top: 12px; }.mini-lines i { display: block; height: 4px; margin: 7px; background: #7974c7; border-radius: 5px; }.mini-lines i:nth-child(2) { width: 70%; }.mini-lines i:nth-child(3) { width: 85%; }
.visual-data { background: linear-gradient(135deg, #dff9ef, #e0edff); flex-direction: column; }.chart-bars { display: flex; align-items: end; gap: 10px; height: 105px; }.chart-bars i { width: 24px; border-radius: 6px 6px 0 0; background: linear-gradient(#6f8cff, #8e7cf5); height: 40%; }.chart-bars i:nth-child(2) { height: 65%; }.chart-bars i:nth-child(3) { height: 50%; }.chart-bars i:nth-child(4) { height: 90%; }.chart-bars i:nth-child(5) { height: 75%; }.visual-data > span { margin-top: 10px; font-weight: 900; letter-spacing: 5px; color: #5b6d9b; font-size: .8rem; }
.project-info { padding: 22px 23px 25px; }.project-type { color: var(--purple); font-size: .68rem; letter-spacing: 1.5px; font-weight: 850; margin-bottom: 8px; }.project-tags { display: flex; gap: 7px; flex-wrap: wrap; }.project-tags span { color: #59657d; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; font-size: .7rem; }
.contact-section { padding: 100px 0; text-align: center; background: #fff; }.contact-inner { max-width: 720px; }.contact-inner > p:not(.eyebrow) { color: var(--muted); margin: 0 auto 26px; max-width: 530px; }.contact-inner small { display: block; color: #8a93a7; margin-top: 16px; font-size: .75rem; }
.footer { border-top: 1px solid var(--line); }.footer-inner { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }.footer p, .footer a:not(.brand) { margin: 0; color: var(--muted); font-size: .82rem; }
@media (max-width: 900px) { .hero { gap: 25px; }.skill-grid { grid-template-columns: repeat(2, 1fr); }.about-grid { gap: 40px; }.project-grid { grid-template-columns: 1fr 1fr; }.project-card:last-child { grid-column: span 2; } }
@media (max-width: 650px) { .container { width: min(100% - 32px, 520px); }.nav { min-height: 66px; }.menu-toggle { display: block; }.nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 66px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 15px 35px #18234518; flex-direction: column; align-items: stretch; gap: 12px; }.nav-links.open { display: flex; }.nav-links a { padding: 8px; }.hero { grid-template-columns: 1fr; padding-top: 65px; gap: 15px; }.hero-art { min-height: 350px; }.hero-art::before { width: 270px; height: 270px; }.orbit-one { width: 320px; }.orbit-two { width: 300px; }.code-card { width: min(340px, 94%); }.code-card pre { font-size: .8rem; }.badge-code { right: 0; top: 20px; }.badge-star { left: 0; bottom: 20px; }.hero-meta { gap: 16px; }.hero-meta span { max-width: 95px; }.section, .projects-section, .contact-section { padding: 70px 0; }.about-grid { grid-template-columns: 1fr; gap: 10px; }.skill-grid, .project-grid { grid-template-columns: 1fr; }.project-card:last-child { grid-column: auto; }.footer-inner { padding: 22px 0; flex-wrap: wrap; }.footer-inner p { order: 3; width: 100%; } h1 { letter-spacing: -2px; } }
