﻿/*
  Premium dark, product-grade 3D/motion-first theme
  - Default: dark, security-first aesthetic
  - Subtle depth, perspective, parallax; low-noise background grid
*/

:root {
  --bg: #05070d;
  --bg-2: #0c1220;
  --bg-3: #0f172a;
  --text: #f3f6ff;
  --muted: rgba(243, 246, 255, 0.76);
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(18, 26, 44, 0.82);
  --card-strong: rgba(17, 24, 39, 0.92);
  --glass: rgba(255, 255, 255, 0.06);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.35);
  --glow: 0 0 0 1px rgba(26, 200, 255, 0.18), 0 15px 40px rgba(26, 200, 255, 0.15);

  --primary: #0d3bff; /* deep blue */
  --accent: #1ac8ff;  /* electric cyan */
  --accent-soft: rgba(26, 200, 255, 0.12);

  --radius: 18px;
  --radius-lg: 22px;
  --max: 1180px;

  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-2: #e9ecf5;
  --bg-3: #dfe4f3;
  --text: #0c1220;
  --muted: rgba(12, 18, 32, 0.72);
  --line: rgba(0, 0, 0, 0.08);
  --card: rgba(255, 255, 255, 0.9);
  --card-strong: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.12);
  --glow: 0 0 0 1px rgba(13, 59, 255, 0.12), 0 14px 32px rgba(13, 59, 255, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 720px at 18% 10%, rgba(26, 200, 255, 0.08), transparent 52%),
              radial-gradient(1100px 680px at 86% 8%, rgba(13, 59, 255, 0.12), transparent 58%),
              linear-gradient(180deg, var(--bg-2), var(--bg));
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px;
  opacity: 0.18;
  transform: translateZ(0);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background: radial-gradient(900px 700px at 50% 10%, rgba(13, 59, 255, 0.14), transparent 55%);
  filter: blur(40px);
  opacity: 0.6;
  z-index: 0;
}

#typing-cursor {
  margin-left: 6px;
  animation: blink 1s infinite;
  color: #2563eb;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

a { color: inherit; text-decoration: none; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--card-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  z-index: 999;
}
.skip:focus { left: 12px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; position: relative; z-index: 1; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(16px);
}
[data-theme="light"] .header { background: rgba(246, 247, 251, 0.82); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.logo__mark {
  display: none;
}
.logo__thumb {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.logo__text { font-weight: 800; letter-spacing: -0.02em; }

.nav { display: flex; gap: 12px; align-items: center; }
.nav__link {
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.06); transform: translateY(-1px); }

.header__actions { display: flex; align-items: center; gap: 10px; }

.icon {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  padding: 9px 11px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 200ms ease;
}
.icon:hover { box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.icon:active { transform: translateY(1px); }
.icon--menu { display: none; }

.mobile { border-bottom: 1px solid var(--line); background: rgba(5,7,13,0.82); backdrop-filter: blur(10px); }
[data-theme="light"] .mobile { background: rgba(246,247,251,0.9); }
.mobile__inner { padding: 10px 0 16px; display: grid; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 220ms ease, background 220ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  border-color: rgba(26,200,255,0.4);
  background: linear-gradient(135deg, #0d3bff, #1ac8ff);
  color: #f9fbff;
  box-shadow: 0 16px 36px rgba(13, 59, 255, 0.35);
}

.hero {
  position: relative;
  padding: 64px 0 32px;
  min-height: 88vh;
  overflow: hidden;
}
.bg-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 30% 30%, rgba(26,200,255,0.14), transparent 60%),
    radial-gradient(1400px 820px at 80% 20%, rgba(13,59,255,0.16), transparent 65%),
    linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  opacity: 0.9;
  filter: saturate(1.1);
  transform: translate3d(var(--px,0), var(--py,0), 0);
}

.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; }
.hero__content { position: relative; padding: 16px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow-soft);
}
.pill__dot {
  width: 10px; height: 10px; border-radius: 99px;
  background: linear-gradient(135deg, #0d3bff, #1ac8ff);
  box-shadow: 0 8px 22px rgba(26,200,255,0.35);
}

.hero__title {
  margin: 14px 0 8px;
  letter-spacing: -0.04em;
}
.hero-title {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  white-space: pre-line;
}
.hero__lead { margin: 8px 0 0; color: var(--muted); line-height: 1.6; max-width: 680px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 12px 12px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
}
.metric__k { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.metric__v { margin-top: 6px; font-weight: 900; letter-spacing: -0.01em; }

.links-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.link { color: #9ddcff; font-weight: 800; text-decoration: none; position: relative; }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: linear-gradient(90deg, #0d3bff, #1ac8ff);
  opacity: 0.5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}
.link:hover::after { transform: scaleX(1); }

.link-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 220ms ease, background 200ms ease;
}
.link-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.link-btn:active { transform: translateY(1px) scale(0.99); }
.link-btn--linkedin {
  background: linear-gradient(135deg, #0a66c2, #2d9cff);
  color: #f8fbff;
  border-color: rgba(10,102,194,0.35);
  box-shadow: 0 14px 32px rgba(10,102,194,0.3);
}
.link-btn__icon {
  width: 16px; height: 16px; display: inline-block;
  background: currentColor;
  -webkit-mask-size: cover;
  mask-size: cover;
}
.icon--li {
  -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3Cpath d="M100.28 448H7.4V149.33h92.88zm-46.44-340a53.79 53.79 0 1153.79-53.78A53.8 53.8 0 0153.84 108zM447.9 448h-92.68V302.4c0-34.7-.7-79.23-48.26-79.23-48.3 0-55.7 37.72-55.7 76.7V448h-92.8V149.33h89.08v40.8h1.3c12.4-23.5 42.5-48.3 87.46-48.3 93.5 0 110.7 61.54 110.7 141.5z"/%3E%3C/svg%3E');
  mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3Cpath d="M100.28 448H7.4V149.33h92.88zm-46.44-340a53.79 53.79 0 1153.79-53.78A53.8 53.8 0 0153.84 108zM447.9 448h-92.68V302.4c0-34.7-.7-79.23-48.26-79.23-48.3 0-55.7 37.72-55.7 76.7V448h-92.8V149.33h89.08v40.8h1.3c12.4-23.5 42.5-48.3 87.46-48.3 93.5 0 110.7 61.54 110.7 141.5z"/%3E%3C/svg%3E');
}

.education {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: var(--shadow-soft);
}
.education__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0) 62%), linear-gradient(135deg, #0d3bff, #1ac8ff);
  box-shadow: var(--glow);
}
.education__body h3 { margin: 0 0 4px; letter-spacing: -0.01em; }
.education__body p { margin: 2px 0; color: var(--muted); }
.education__skills { margin-top: 8px; color: var(--text); font-weight: 800; }

.hero__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card-strong);
  box-shadow: var(--shadow);
  padding: 14px;
  transform-style: preserve-3d;
  perspective: 1200px;
  position: relative;
  overflow: hidden;
  max-width: 440px;
  margin-left: auto;
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(26,200,255,0.18), rgba(13,59,255,0.22));
  opacity: 0.7;
  z-index: 0;
}
.hero__card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius-lg) - 6px);
  background: linear-gradient(160deg, rgba(8,12,22,0.75), rgba(14,18,32,0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  z-index: 0;
}
.hero__card > * { position: relative; z-index: 1; }
[data-theme="light"] .hero__card {
  background: #f8f9ff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
[data-theme="light"] .hero__card::after {
  background: linear-gradient(160deg, rgba(255,255,255,0.82), rgba(243,245,255,0.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
[data-theme="light"] .hero__frame {
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}
.hero__card > * { position: relative; z-index: 1; }
.hero__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(26,200,255,0.14), rgba(13,59,255,0.18));
  border: 1px solid var(--line);
  aspect-ratio: 1.05 / 1;
  box-shadow: var(--glow);
}
.hero__frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.02);
}
.hero__glow { position: absolute; inset: 0; box-shadow: inset 0 0 60px rgba(0,0,0,0.45); pointer-events: none; }
.hero__cardBody { margin-top: 12px; }
.name { font-weight: 900; letter-spacing: -0.02em; font-size: 18px; }
.role { margin-top: 4px; color: var(--muted); font-weight: 700; }
.note { margin-top: 8px; color: var(--muted); line-height: 1.55; }

.section { padding: 32px 0; position: relative; }
.section__head h2 { margin: 6px 0 6px; font-size: 24px; letter-spacing: -0.02em; }
.section__head p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 720px; }
.eyebrow { color: #9ddcff; letter-spacing: 0.08em; font-weight: 800; font-size: 12px; text-transform: uppercase; margin: 0; }

.grid { display: grid; gap: 14px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,200,255,0.06), rgba(13,59,255,0.04));
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}
.panel:hover::after { opacity: 1; }
.panel__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 11px; border-radius: 999px; font-weight: 900; font-size: 12px;
  color: #0c1220; background: #9ddcff; box-shadow: var(--shadow-soft); white-space: nowrap;
}
.badge--soft { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tags--wrap { gap: 6px; }
.tag {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  font-weight: 800;
  font-size: 12.5px;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.panel__actions { margin-top: 12px; }

.tile { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-soft); padding: 16px; }
.tile h3 { margin: 0 0 10px; letter-spacing: -0.02em; }

.timeline { position: relative; padding-left: 28px; display: grid; gap: 16px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(26,200,255,0.2), rgba(255,255,255,0.08), rgba(255,255,255,0.05));
  opacity: 0.9;
}
.timeline__item { position: relative; }

.experience-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: 0 18px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(32px);
  opacity: 0;
  transition: transform 700ms cubic-bezier(.22,.61,.36,1), opacity 700ms ease, box-shadow 400ms ease, border-color 240ms ease;
  overflow: hidden;
}
.experience-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}
.experience-card.visible {
  transform: translateY(0);
  opacity: 1;
}
.experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.08);
  border-color: rgba(26,200,255,0.26);
}

.timeline__dot {
  position: absolute;
  left: -21px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #7a8ba6;
  box-shadow: 0 0 0 4px rgba(122,139,166,0.18);
  border: 2px solid var(--bg);
  transition: all 400ms ease;
}
.timeline__dot.active {
  background: #1ac8ff;
  box-shadow: 0 0 0 6px rgba(26,200,255,0.2), 0 10px 24px rgba(0,0,0,0.3);
}

.timeline__body { display: grid; gap: 6px; }
.timeline__when { color: #9ddcff; font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.timeline__item h3 { margin: 2px 0 2px; letter-spacing: -0.01em; font-weight: 900; }
.timeline__item p { margin: 0; color: var(--muted); line-height: 1.6; }

.timeline__item:nth-child(1) .timeline__dot {
  background: linear-gradient(135deg, #1ac8ff, #0d8bff);
  box-shadow: 0 0 0 6px rgba(26,200,255,0.28), 0 14px 32px rgba(0,0,0,0.32);
}
.timeline__item:nth-child(n+4) { opacity: 0.95; }
.timeline__item:nth-child(n+4) .timeline__dot { background: linear-gradient(135deg, rgba(26,200,255,0.65), rgba(13,59,255,0.7)); }

.js .experience-card { opacity: 0; transform: translateY(32px); }
.js .experience-card.is-visible { opacity: 1; transform: translateY(0); }
.js .timeline__dot { opacity: 0; transform: scale(0.92); }
.js .experience-card.is-visible .timeline__dot { opacity: 1; transform: scale(1); transition: opacity 380ms ease 60ms, transform 380ms ease 60ms, box-shadow 240ms ease; }

[data-theme="light"] .experience-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.82));
  box-shadow: 0 20px 40px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.6);
}
[data-theme="light"] .timeline__dot { border-color: #f6f7fb; box-shadow: 0 0 0 4px rgba(13,59,255,0.08); }
[data-theme="light"] .timeline::before { background: linear-gradient(180deg, rgba(13,59,255,0.28), rgba(13,59,255,0.08), rgba(13,59,255,0.04)); }

.glass { background: rgba(255,255,255,0.04); backdrop-filter: blur(12px); }
.contact .panel { min-height: 100%; }
.contact .panel { box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact form.panel { position: relative; overflow: hidden; }
.contact form.panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(900px 500px at 20% 10%, rgba(26,200,255,0.08), transparent 60%),
              linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
  opacity: 0.7;
  z-index: 0;
}
.contact form.panel > * { position: relative; z-index: 1; }

.contact-final {
  position: relative;
  padding: 86px 0;
  background: radial-gradient(1200px 900px at 22% 0%, rgba(13,59,255,0.07), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.06));
}

.contact-head { gap: 10px; }
.contact-title-wrap { position: relative; display: inline-block; padding-bottom: 6px; }
.contact-title {
  margin: 6px 0 0;
  font-size: clamp(2rem, 5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.contact-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78%;
  height: 2px;
  background: linear-gradient(90deg, rgba(26,200,255,0.35), rgba(255,255,255,0));
  border-radius: 99px;
  opacity: 0.9;
}
.contact-sub {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.55;
}

.contact-shell {
  position: relative;
  margin-top: 28px;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(14,20,34,0.82), rgba(16,24,40,0.9));
  box-shadow: 0 26px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}
.contact-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(700px 420px at 18% 18%, rgba(26,200,255,0.08), transparent 60%);
  opacity: 0.7;
}
.contact-shell > * { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: start;
}

.contact-info h3,
.contact-form h3 { margin: 0 0 10px; letter-spacing: -0.01em; font-size: 18px; }
.contact-rows { display: grid; gap: 12px; margin-top: 6px; }

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--text);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 200ms ease;
}
.contact-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(26,200,255,0.2); }
.contact-row__main { display: flex; align-items: center; gap: 12px; }
.contact-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26,200,255,0.45), rgba(13,59,255,0.6));
  box-shadow: 0 8px 18px rgba(13,59,255,0.25);
}
.contact-row__text { display: grid; gap: 4px; }
.contact-row__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 800; }
.contact-row__value { font-weight: 800; letter-spacing: -0.01em; }
.contact-row__cta { color: #9ddcff; font-weight: 800; font-size: 13px; }

.copy-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.copy-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: rgba(26,200,255,0.22); }
.copy-btn:active { transform: translateY(0); }

.trust-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.trust-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9ddcff;
  box-shadow: 0 0 0 6px rgba(157,220,255,0.12);
}
.trust-title { font-weight: 800; color: var(--text); }
.trust-copy { font-size: 13px; }

.contact-form {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form p { margin: 0 0 4px; }
.contact-form .btn { width: fit-content; margin-left: auto; }

[data-theme="light"] .contact-final {
  background: linear-gradient(180deg, #f7f9fc, #eef3ff);
}

[data-theme="light"] .contact-shell {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
[data-theme="light"] .contact-shell::after {
  background: radial-gradient(620px 380px at 18% 18%, rgba(13,59,255,0.08), transparent 60%);
  opacity: 0.5;
}

[data-theme="light"] .contact-row {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
[data-theme="light"] .contact-row:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: rgba(13,59,255,0.16);
}

[data-theme="light"] .trust-note {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

[data-theme="light"] .contact-form {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}
[data-theme="light"] input,
[data-theme="light"] textarea {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--text);
}
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder { color: rgba(0,0,0,0.45); }

.list { margin: 0; padding-left: 18px; display: grid; gap: 10px; }
.list strong { font-weight: 900; }
.list--2 { columns: 2; column-gap: 22px; }
.list--2 li { break-inside: avoid; margin-bottom: 10px; }

.field { display: grid; gap: 8px; margin-top: 10px; }
.field span { font-weight: 800; font-size: 13px; color: var(--muted); }
input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font: inherit;
}
input:focus, textarea:focus { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); border-color: rgba(26,200,255,0.4); }

.callout {
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-weight: 700;
}

.footer { padding: 20px 0 32px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); }

/* Motion + 3D */
.tilt { will-change: transform; transform-style: preserve-3d; perspective: 1200px; transition: transform 260ms ease, box-shadow 260ms ease; }
.tilt:hover { box-shadow: var(--shadow); }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

@media (max-width: 780px) {
  .nav { display: none; }
  .icon--menu { display: inline-flex; }
  .list--2 { columns: 1; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .contact-shell { padding: 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
