:root {
  --bg: #080b14;
  --bg-soft: #0d1220;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: #121827;
  --text: #f5f7ff;
  --muted: #a7afc0;
  --line: rgba(255, 255, 255, 0.1);
  --primary: #8b5cf6;
  --primary-2: #22d3ee;
  --accent: #a3e635;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --container: 1180px;
}

html[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-soft: #ffffff;
  --surface: rgba(17, 24, 39, 0.045);
  --surface-strong: #ffffff;
  --text: #111827;
  --muted: #5f6878;
  --line: rgba(17, 24, 39, 0.11);
  --shadow: 0 24px 80px rgba(19, 28, 48, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
body.menu-open { overflow: hidden; }
::selection { background: var(--primary); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 120px 0; }
.section-alt { background: var(--bg-soft); }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .027;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(139,92,246,.12), transparent 65%);
  transform: translate(-50%, -50%);
}

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90;
  transition: .3s ease;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: -.02em; }
.brand-mark {
  display: grid; place-items: center; width: 41px; height: 41px; border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; font-size: .82rem;
  box-shadow: 0 10px 30px rgba(139,92,246,.28);
}
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--muted); font-size: .92rem; font-weight: 600; transition: .2s ease; position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--primary-2)); transition: .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.theme-toggle {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); cursor: pointer; transition: .2s ease;
}
.theme-toggle:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--primary) 60%, var(--line)); }
.theme-toggle svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sun-icon { display: none; }
html[data-theme="light"] .moon-icon { display: none; }
html[data-theme="light"] .sun-icon { display: block; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--text); transition: .25s ease; }

.hero { min-height: 100svh; display: grid; align-items: center; padding-top: 155px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.orb-one { width: 580px; height: 580px; right: -180px; top: -130px; background: radial-gradient(circle, rgba(34,211,238,.13), transparent 68%); }
.orb-two { width: 500px; height: 500px; left: -280px; bottom: -220px; background: radial-gradient(circle, rgba(139,92,246,.18), transparent 68%); }
.eyebrow, .section-kicker { color: var(--primary-2); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-transform: none; letter-spacing: 0; color: var(--muted); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(163,230,53,.1); animation: pulse 2s infinite; }
.intro { margin: 28px 0 0; font-size: 1.06rem; color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; }
.hero h1 { margin: 0; font-size: clamp(4rem, 8vw, 7.1rem); line-height: .98; letter-spacing: -.065em; }
.gradient-text { background: linear-gradient(120deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h2 { min-height: 46px; margin: 24px 0 20px; font-size: clamp(1.45rem, 2.5vw, 2.15rem); letter-spacing: -.035em; }
.typing-text { color: var(--primary-2); }
.typing-text::after { content: "|"; margin-left: 4px; color: var(--primary); animation: blink .8s steps(1) infinite; }
.hero-copy { max-width: 660px; margin-bottom: 30px; color: var(--muted); font-size: 1.06rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 700; cursor: pointer; transition: .23s ease; }
.btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { color: white; background: linear-gradient(135deg, var(--primary), #6d5dfc 50%, var(--primary-2)); box-shadow: 0 15px 38px rgba(109,93,252,.28); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 45px rgba(109,93,252,.34); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-3px); }
.hero-meta { display: flex; gap: 38px; margin-top: 42px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; }
.hero-meta span { color: var(--muted); font-size: .78rem; }
.hero-visual { position: relative; min-height: 590px; display: grid; place-items: center; }
.visual-card { width: min(100%, 460px); min-height: 535px; padding: 18px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); box-shadow: var(--shadow); backdrop-filter: blur(16px); transform: rotate(2deg); }
.visual-topbar { display: flex; gap: 7px; }
.visual-topbar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.portrait-wrap { position: relative; min-height: 415px; display: grid; place-items: center; overflow: hidden; border-radius: 23px; margin-top: 17px; background: linear-gradient(150deg, rgba(139,92,246,.16), rgba(34,211,238,.08)); }
.portrait { width: 220px; height: 220px; display: grid; place-items: center; border-radius: 42% 58% 60% 40% / 42% 45% 55% 58%; color: white; font-family: "Space Grotesk", sans-serif; font-size: 5rem; font-weight: 700; letter-spacing: -.08em; background: linear-gradient(145deg, #7c3aed, #4338ca 54%, #0891b2); box-shadow: 0 30px 70px rgba(44,27,105,.5); animation: morph 7s ease-in-out infinite; }

.portrait.profile-photo {
  width: 82%;
  height: 88%;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 30px 70px rgba(12, 18, 36, .42);
  animation: none;
  letter-spacing: 0;
}

.portrait-ring { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.ring-one { width: 320px; height: 320px; animation: rotate 16s linear infinite; }
.ring-two { width: 385px; height: 385px; border-style: dashed; animation: rotate 24s linear infinite reverse; }
.floating-tag { position: absolute; padding: 7px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: white; background: rgba(9,13,26,.76); backdrop-filter: blur(12px); font-size: .72rem; font-weight: 700; box-shadow: 0 10px 35px rgba(0,0,0,.22); }
.tag-one { left: 28px; top: 70px; animation: float 4s ease-in-out infinite; }
.tag-two { right: 20px; top: 170px; animation: float 5s ease-in-out infinite .5s; }
.tag-three { left: 52px; bottom: 55px; animation: float 4.5s ease-in-out infinite 1s; }
.visual-caption { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 18px 8px 0; }
.visual-caption span { color: var(--muted); font-size: .72rem; }
.visual-caption strong { max-width: 220px; text-align: right; font-family: "Space Grotesk", sans-serif; font-size: .92rem; line-height: 1.35; }
.mini-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 15px; background: color-mix(in srgb, var(--surface-strong) 88%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(15px); }
.mini-card-one { left: -20px; bottom: 82px; }
.mini-card-two { right: -35px; top: 88px; }
.mini-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: white; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.mini-card strong, .mini-card small { display: block; }
.mini-card strong { font-size: .82rem; }
.mini-card small { color: var(--muted); font-size: .68rem; }

.trust-strip { padding: 24px 0; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 25px; animation: marquee 24s linear infinite; }
.marquee-track span { color: var(--muted); font-family: "Space Grotesk", sans-serif; font-size: .9rem; font-weight: 700; }
.marquee-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

.section-heading { max-width: 720px; }
.section-heading h2 { margin: 13px 0 18px; font-size: clamp(2.3rem, 4.7vw, 4.3rem); line-height: 1.08; letter-spacing: -.055em; }
.section-heading p { color: var(--muted); }
.section-heading.centered { margin-inline: auto; text-align: center; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; align-items: start; }
.about-copy .lead { color: var(--text); font-size: 1.35rem; font-weight: 500; line-height: 1.55; }
.about-copy > p:not(.lead) { color: var(--muted); }
.about-highlights { margin-top: 38px; border-top: 1px solid var(--line); }
.about-highlights article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.about-highlights article > span { color: var(--primary-2); font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.about-highlights h3 { margin-bottom: 5px; font-size: 1.08rem; }
.about-highlights p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 55px; }
.service-card { position: relative; min-height: 350px; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); transition: .3s ease; }
.service-card::before { content: ""; position: absolute; inset: auto 0 0; height: 0; background: linear-gradient(180deg, transparent, rgba(139,92,246,.12)); transition: .35s ease; }
.service-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--primary) 48%, var(--line)); box-shadow: var(--shadow); }
.service-card:hover::before { height: 100%; }
.service-card > * { position: relative; z-index: 1; }
.service-number { position: absolute; right: 24px; top: 22px; color: var(--muted); font: 600 .73rem "Space Grotesk", sans-serif; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; font-size: 1.25rem; background: linear-gradient(135deg, rgba(139,92,246,.2), rgba(34,211,238,.16)); border: 1px solid var(--line); }
.service-card h3 { margin: 25px 0 11px; font-size: 1.3rem; }
.service-card p, .service-card li { color: var(--muted); font-size: .9rem; }
.service-card ul { margin: 20px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 5px 0; }
.service-card li::before { content: "✓"; margin-right: 9px; color: var(--primary-2); }

.skills-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; color: var(--primary-2); font-weight: 700; }
.text-link span { transition: .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.skills-panel { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.skill-item + .skill-item { margin-top: 25px; }
.skill-info { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .88rem; font-weight: 650; }
.skill-info strong { color: var(--primary-2); font-size: .8rem; }
.skill-track { height: 8px; overflow: hidden; border-radius: 99px; background: var(--line); }
.skill-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--primary-2)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.tool-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.tool-cloud span, .project-meta span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); font-size: .7rem; font-weight: 700; }

.projects-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.filter-btn { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: .78rem; font-weight: 700; transition: .2s ease; }
.filter-btn:hover, .filter-btn.active { color: white; border-color: transparent; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 55px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); transition: .3s ease; }
.project-card.hidden { display: none; }
.project-card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--primary) 50%, var(--line)); box-shadow: var(--shadow); }
.project-preview { height: 310px; display: grid; place-items: center; overflow: hidden; padding: 34px; background: linear-gradient(140deg, rgba(139,92,246,.16), rgba(34,211,238,.08)); }
.project-card.featured .project-preview { height: 355px; }
.project-content { padding: 28px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.project-content h3 { margin: 17px 0 9px; font-size: 1.4rem; }
.project-content p { color: var(--muted); font-size: .92rem; }
.project-content a { display: inline-flex; gap: 8px; color: var(--primary-2); font-size: .83rem; font-weight: 800; }
.project-content a span { transition: .2s ease; }
.project-content a:hover span { transform: translate(3px,-3px); }

.mock-browser, .dashboard-ui, .chat-ui, .ads-ui, .landing-ui, .seo-ui { width: 100%; height: 100%; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; overflow: hidden; color: white; background: rgba(7,10,20,.78); box-shadow: 0 30px 60px rgba(0,0,0,.28); transform: perspective(800px) rotateX(3deg) rotateY(-4deg); }
.browser-bar { display: flex; gap: 5px; align-items: center; height: 24px; padding: 0 10px; background: rgba(255,255,255,.08); }
.browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.4); }
.store-layout { padding: 16px; }
.store-nav, .store-hero span, .store-products b { display: block; border-radius: 5px; background: rgba(255,255,255,.12); }
.store-nav { width: 38%; height: 8px; }
.store-hero { height: 125px; margin: 14px 0; padding: 18px; border-radius: 8px; background: linear-gradient(135deg, #4338ca, #0891b2); }
.store-hero span:first-child { width: 42%; height: 13px; background: rgba(255,255,255,.72); }
.store-hero span:last-child { width: 28%; height: 8px; margin-top: 12px; }
.store-products { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.store-products b { height: 55px; }
.dashboard-ui, .chat-ui, .ads-ui { display: grid; grid-template-columns: 23% 1fr; }
.dashboard-ui aside, .chat-ui aside, .ads-sidebar { padding: 15px 10px; border-right: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); }
.dashboard-ui aside span, .chat-ui aside i { display: block; height: 7px; margin-bottom: 15px; border-radius: 4px; background: rgba(255,255,255,.12); }
.dashboard-ui main { padding: 16px; }
.dash-top, .ads-head { width: 45%; height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); }
.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 16px 0; }
.dash-stats b { height: 48px; border-radius: 7px; background: linear-gradient(135deg, rgba(139,92,246,.35), rgba(34,211,238,.2)); }
.dash-table { padding: 10px; border-radius: 8px; background: rgba(255,255,255,.04); }
.dash-table i { display: block; height: 7px; margin: 10px 0; border-radius: 4px; background: rgba(255,255,255,.11); }
.chat-ui aside div { width: 28px; height: 28px; margin-bottom: 15px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.chat-ui main { display: grid; grid-template-rows: 35px 1fr 30px; padding: 10px; }
.chat-ui header, .chat-ui footer { border-radius: 6px; background: rgba(255,255,255,.07); }
.chat-ui section { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 12px; }
.chat-ui section span { width: 62%; height: 23px; border-radius: 8px 8px 8px 2px; background: rgba(255,255,255,.11); }
.chat-ui section span:nth-child(even) { align-self: flex-end; width: 48%; background: linear-gradient(135deg, rgba(139,92,246,.68), rgba(34,211,238,.48)); border-radius: 8px 8px 2px 8px; }
.ads-main { padding: 16px; }
.ads-chart { height: 110px; margin: 23px 0 15px; padding: 12px; border-radius: 9px; color: var(--primary-2); background: rgba(255,255,255,.045); }
.ads-chart svg { width: 100%; height: 100%; }
.ads-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ads-row span { height: 36px; border-radius: 6px; background: rgba(255,255,255,.08); }
.landing-ui { display: grid; grid-template-columns: 1fr .8fr; padding: 25px; align-items: center; }
.landing-copy b, .landing-copy span { display: block; border-radius: 4px; background: rgba(255,255,255,.15); }
.landing-copy b { width: 80%; height: 14px; margin-bottom: 14px; background: rgba(255,255,255,.7); }
.landing-copy span { height: 7px; margin: 9px 0; }
.landing-copy span:nth-child(3) { width: 75%; }
.landing-copy button { width: 80px; height: 24px; margin-top: 14px; border: 0; border-radius: 6px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.landing-art { position: relative; height: 150px; }
.landing-art i { position: absolute; border-radius: 18px; background: linear-gradient(135deg, #7c3aed, #0891b2); }
.landing-art i:nth-child(1) { inset: 18px 15px 22px 25px; transform: rotate(8deg); }
.landing-art i:nth-child(2) { width: 45px; height: 45px; top: 5px; right: 0; border-radius: 50%; background: #a3e635; }
.landing-art i:nth-child(3) { width: 32px; height: 32px; left: 3px; bottom: 5px; background: #fb7185; }
.seo-ui header { height: 27px; background: rgba(255,255,255,.07); }
.seo-body { display: grid; grid-template-columns: 100px 1fr; gap: 24px; align-items: center; padding: 35px 25px; }
.score-ring { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; border: 9px solid var(--accent); font: 700 1.2rem "Space Grotesk",sans-serif; }
.seo-lines i { display: block; height: 8px; margin: 12px 0; border-radius: 5px; background: rgba(255,255,255,.12); }
.seo-lines i:nth-child(2), .seo-lines i:nth-child(4) { width: 72%; }

.experience-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 9px; bottom: 14px; width: 1px; background: var(--line); }
.timeline article { position: relative; display: grid; grid-template-columns: 115px 1fr; gap: 25px; padding: 0 0 43px 35px; }
.timeline-dot { position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border: 3px solid var(--bg); border-radius: 50%; background: var(--primary-2); box-shadow: 0 0 0 1px var(--primary-2); }
.timeline-date { padding-top: 3px; color: var(--primary-2); font-size: .78rem; font-weight: 800; }
.timeline-body { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.timeline-body h3 { margin-bottom: 8px; }
.timeline-body p { color: var(--muted); font-size: .9rem; }
.timeline-body > span { color: var(--primary-2); font-size: .75rem; font-weight: 800; }

.contact-section { overflow: hidden; background: var(--bg-soft); }
.contact-orb { position: absolute; width: 700px; height: 700px; right: -320px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.17), transparent 67%); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.contact-copy h2 { margin: 15px 0 20px; font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: 1.05; letter-spacing: -.06em; }
.contact-copy > p { color: var(--muted); }
.contact-list { margin-top: 35px; }
.contact-list > * { display: flex; align-items: center; gap: 14px; padding: 13px 0; }
.contact-list > * > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.contact-list small, .contact-list strong { display: block; }
.contact-list small { color: var(--muted); font-size: .7rem; }
.contact-list strong { font-size: .88rem; }
.contact-form { position: relative; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--surface-strong) 90%, transparent); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 17px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 7px; padding: 14px 15px; color: var(--text); border: 1px solid var(--line); border-radius: 12px; outline: none; background: var(--surface); transition: .2s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(139,92,246,.1); }
.contact-form option { color: #111827; }
.contact-form textarea { resize: vertical; min-height: 145px; }
.form-submit { width: 100%; border: 0; }
.form-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: .68rem; }
.form-note.success { color: var(--accent); }
.form-note.error { color: var(--danger); }

.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { min-height: 100px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.footer-grid p { margin: 0; color: var(--muted); font-size: .78rem; text-align: center; }
.footer-links { display: flex; gap: 22px; justify-content: flex-end; color: var(--muted); font-size: .78rem; }
.footer-links a:hover { color: var(--text); }
.whatsapp-float, .back-to-top { position: fixed; z-index: 80; display: grid; place-items: center; border: 0; color: white; cursor: pointer; box-shadow: 0 14px 35px rgba(0,0,0,.28); transition: .25s ease; }
.whatsapp-float { right: 22px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%; background: #22c55e; font-size: 1.35rem; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.04); }
.back-to-top { right: 28px; bottom: 87px; width: 41px; height: 41px; border-radius: 12px; opacity: 0; visibility: hidden; background: var(--surface-strong); border: 1px solid var(--line); color: var(--text); }
.back-to-top.visible { opacity: 1; visibility: visible; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(163,230,53,0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes morph { 0%,100% { border-radius: 42% 58% 60% 40% / 42% 45% 55% 58%; } 50% { border-radius: 58% 42% 40% 60% / 55% 58% 42% 45%; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1050px) {
  .hero-grid, .about-grid, .skills-grid, .experience-grid, .contact-grid { gap: 55px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-card-two { right: -10px; }
  .mini-card-one { left: -5px; }
}

@media (max-width: 860px) {
  .section { padding: 90px 0; }
  .nav-toggle { display: block; z-index: 2; }
  .nav-menu { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 27px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s ease; }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; }
  .nav-menu .nav-link { font-size: 1.3rem; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 125px; }
  .hero-grid, .about-grid, .skills-grid, .experience-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero-copy, .hero-actions, .hero-meta { justify-content: center; margin-inline: auto; }
  .hero-visual { min-height: 540px; }
  .about-grid, .skills-grid, .experience-grid, .contact-grid { gap: 45px; }
  .projects-heading { align-items: flex-start; flex-direction: column; }
  .project-filters { justify-content: flex-start; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-preview, .project-card.featured .project-preview { height: 330px; }
  .footer-grid { grid-template-columns: 1fr; padding: 27px 0; text-align: center; }
  .footer-grid .brand, .footer-links { justify-content: center; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 75px 0; }
  .hero h1 { font-size: clamp(3.5rem, 18vw, 5.2rem); }
  .hero h2 { font-size: 1.25rem; min-height: 65px; }
  .hero-meta { gap: 22px; }
  .hero-meta strong { font-size: 1.1rem; }
  .hero-meta span { font-size: .65rem; }
  .hero-visual { min-height: 470px; }
  .visual-card { min-height: 450px; }
  .portrait-wrap { min-height: 340px; }
  .portrait { width: 175px; height: 175px; font-size: 4rem; }
  .ring-one { width: 265px; height: 265px; }
  .ring-two { width: 315px; height: 315px; }
  .mini-card { transform: scale(.9); }
  .mini-card-two { right: -5px; top: 64px; }
  .mini-card-one { left: -5px; bottom: 56px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .skills-panel, .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .project-preview, .project-card.featured .project-preview { height: 255px; padding: 22px; }
  .experience-grid { gap: 35px; }
  .timeline article { grid-template-columns: 1fr; gap: 9px; padding-left: 30px; }
  .timeline-body { padding: 20px; }
  .whatsapp-float { width: 49px; height: 49px; right: 15px; bottom: 15px; }
  .back-to-top { right: 19px; bottom: 75px; }
}

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