/* ============================================================
   GITTO MATHEW — PORTFOLIO
   style.css — design system, layout & components
   Theme: Futuristic Electronics Engineering
   ============================================================ */

/* ============ 1. Design tokens ============ */
:root {
  /* Colors */
  --bg: #050816;                    /* deep space navy           */
  --bg-2: #0a1230;                  /* elevated surface          */
  --bg-3: #0e1a3f;                  /* panels                    */
  --card: rgba(14, 24, 60, 0.55);   /* glassmorphism card        */
  --card-hover: rgba(20, 34, 82, 0.72);
  --line: rgba(120, 160, 255, 0.16);
  --line-strong: rgba(0, 229, 255, 0.45);

  --text: #e8efff;
  --text-soft: #aab6dd;
  --text-dim: #6b7aa8;

  --primary: #3d8bff;               /* electric blue             */
  --primary-bright: #5ba1ff;
  --secondary: #00e5ff;             /* cyan                      */
  --accent: #2e9bff;                /* neon blue                 */
  --violet: #7c4dff;
  --danger: #ff5470;
  --success: #34d399;

  /* Gradients */
  --grad-main: linear-gradient(135deg, #3d8bff 0%, #00e5ff 100%);
  --grad-accent: linear-gradient(135deg, #2e9bff 0%, #7c4dff 100%);
  --grad-text: linear-gradient(120deg, #5ba1ff, #00e5ff 55%, #3d8bff);

  /* Effects */
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 40px rgba(0, 10, 40, 0.55);
  --glow: 0 0 24px rgba(0, 229, 255, 0.35);
  --glow-soft: 0 0 60px rgba(61, 139, 255, 0.22);

  /* Shape & type */
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --nav-h: 72px;
  --transition: 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============ 2. Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle ambient glow behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(61, 139, 255, 0.14), transparent 60%),
    radial-gradient(50rem 36rem at -10% 30%, rgba(0, 229, 255, 0.09), transparent 60%),
    radial-gradient(45rem 45rem at 55% 110%, rgba(124, 77, 255, 0.08), transparent 60%);
  pointer-events: none;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
code { font-family: var(--font-mono); }

::selection { background: rgba(0, 229, 255, 0.28); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--secondary));
  border-radius: 8px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-bright); }

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ 3. Utilities ============ */
.container { width: min(1180px, 92%); margin-inline: auto; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.glass {
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Section headers */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.12);
  margin-bottom: 1.1rem;
}
.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.section__sub { color: var(--text-soft); font-size: 1.02rem; }

/* ============ 4. Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem 1.7rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Primary — electric gradient with shine sweep */
.btn--primary {
  background: var(--grad-main);
  color: #04102b;
  box-shadow: 0 8px 28px rgba(0, 190, 255, 0.35);
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.btn--primary:hover { box-shadow: 0 10px 38px rgba(0, 229, 255, 0.5); transform: translateY(-2px); }
.btn--primary:hover::after { left: 130%; }

/* Outline — glowing cyan border */
.btn--outline {
  border-color: var(--line-strong);
  color: var(--secondary);
  background: rgba(0, 229, 255, 0.05);
}
.btn--outline:hover {
  background: rgba(0, 229, 255, 0.12);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

/* Ghost */
.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { border-color: var(--line-strong); color: var(--secondary); transform: translateY(-2px); }

.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.86rem; border-radius: 10px; }
.btn--block { width: 100%; }

/* ============ 5. Skip link & scroll progress ============ */
.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  transition: top 0.3s ease;
}
.skip-link:focus { top: 12px; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 900;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad-main);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
  transition: width 0.08s linear;
}

/* ============ 6. Loader ============ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; width: min(320px, 80vw); }
.loader__chip {
  width: 84px; height: 84px;
  margin: 0 auto 1.4rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--secondary);
  font-size: 2.2rem;
  border: 2px solid var(--line-strong);
  box-shadow: var(--glow), inset 0 0 24px rgba(0, 229, 255, 0.15);
  animation: loaderSpin 1.6s linear infinite;
}
.loader__text { font-family: var(--font-mono); color: var(--text-soft); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.loader__accent { color: var(--secondary); }
.loader__track { height: 6px; border-radius: 100px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.loader__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad-main);
  border-radius: 100px;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.8);
  transition: width 0.18s ease;
}
.loader__percent { margin-top: 0.7rem; font-family: var(--font-mono); color: var(--secondary); font-size: 0.95rem; }

/* ============ 7. Custom cursor ============ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1500;
  mix-blend-mode: screen;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0, 229, 255, 0.6);
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.cursor-ring.is-hover {
  width: 58px; height: 58px;
  border-color: var(--secondary);
  background: rgba(0, 229, 255, 0.08);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============ 8. Navbar ============ */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 800;
  height: var(--nav-h);
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.navbar.is-scrolled {
  background: rgba(5, 8, 22, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.nav__logo-icon {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  color: var(--secondary);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}
.nav__logo-icon svg { width: 20px; height: 20px; }
.nav__logo-dot { color: var(--secondary); }

.nav__links { display: flex; align-items: center; gap: 0.4rem; }
.nav__link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.92rem;
  color: var(--text-soft);
  border-radius: 8px;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--grad-main);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  box-shadow: 0 0 8px var(--secondary);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__actions { display: none; align-items: center; gap: 0.8rem; }
.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--card);
}
.nav__toggle svg { width: 22px; height: 22px; }

/* ============ 9. Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 20% 20%, rgba(61, 139, 255, 0.1), transparent 60%),
    radial-gradient(70% 55% at 85% 85%, rgba(0, 229, 255, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(5, 8, 22, 0.5), rgba(5, 8, 22, 0) 30%, rgba(5, 8, 22, 0.4) 90%, var(--bg) 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 2rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-soft);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--card);
  backdrop-filter: blur(8px);
  margin-bottom: 1.4rem;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
  animation: blink 1.8s ease-in-out infinite;
}
.hero__title { font-family: var(--font-head); line-height: 1.05; margin-bottom: 1.1rem; }
.hero__hello { display: block; font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 500; color: var(--text-soft); margin-bottom: 0.35rem; }
.hero__name {
  display: block;
  font-size: clamp(2.6rem, 7.5vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.25));
}

/* Typing roles */
.hero__roles {
  display: flex;
  align-items: center;
  min-height: 2.2rem;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: var(--secondary);
  margin-bottom: 1.2rem;
}
.hero__roles-label { color: var(--text-soft); }
.hero__typed { min-width: 1ch; }
.hero__caret {
  display: inline-block;
  width: 2px;
  height: 1.3em;
  margin-left: 6px;
  background: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
  animation: blink 0.85s step-end infinite;
}

.hero__desc {
  color: var(--text-soft);
  max-width: 560px;
  font-size: 1.05rem;
  margin-bottom: 1.9rem;
}
.hero__desc strong { color: var(--text); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

.hero__socials { display: flex; gap: 0.7rem; }
.social-btn {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text-soft);
  transition: all var(--transition);
}
.social-btn svg { width: 19px; height: 19px; }
.social-btn:hover {
  color: var(--secondary);
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

/* --- Stylized IC card --- */
.hero__side { position: relative; display: grid; place-items: center; }
.chip-card { position: relative; width: 260px; height: 260px; display: grid; place-items: center; }
.chip-card__glow {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.25), transparent 70%);
  filter: blur(10px);
  animation: pulseGlow 4s ease-in-out infinite;
}
.chip-card__core {
  position: relative;
  z-index: 2;
  width: 150px; height: 150px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: linear-gradient(160deg, rgba(61, 139, 255, 0.16), rgba(0, 229, 255, 0.06));
  border: 2px solid var(--line-strong);
  box-shadow: var(--glow), inset 0 0 30px rgba(0, 229, 255, 0.12);
  animation: floatY 6s ease-in-out infinite;
}
.chip-card__label { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--text); }
.chip-card__sub { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.25em; color: var(--secondary); }
.chip-card__pin {
  position: absolute;
  background: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
  border-radius: 2px;
  z-index: 1;
}
.pin--t { top: 34px; left: 50%; transform: translateX(-50%); width: 10px; height: 26px; }
.pin--b { bottom: 34px; left: 50%; transform: translateX(-50%); width: 10px; height: 26px; }
.pin--l { left: 34px; top: 50%; transform: translateY(-50%); width: 26px; height: 10px; }
.pin--r { right: 34px; top: 50%; transform: translateY(-50%); width: 26px; height: 10px; }
.chip-card__orbit {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(0, 229, 255, 0.25);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}
.chip-card__orbit::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 12px var(--secondary);
}
.orbit--2 {
  inset: 22px;
  border-style: dotted;
  border-color: rgba(124, 77, 255, 0.35);
  animation-duration: 26s;
  animation-direction: reverse;
}
.chip-card__float {
  position: absolute;
  z-index: 3;
  color: var(--secondary);
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.8));
  animation: floatY 4s ease-in-out infinite;
}
.chip-card__float svg { width: 20px; height: 20px; }
.chip-card__float--1 { top: 14px; right: 30px; }
.chip-card__float--2 { bottom: 18px; left: 26px; animation-delay: 1.2s; }

/* --- Hero stats --- */
.hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.stat {
  text-align: center;
  padding: 1.1rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.stat:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--glow-soft); }
.stat__value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat__label { font-size: 0.82rem; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }

/* --- Scroll indicator --- */
.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.hero__scroll:hover { color: var(--secondary); }
.hero__mouse {
  width: 26px; height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__wheel {
  width: 4px; height: 8px;
  border-radius: 4px;
  background: var(--secondary);
  animation: wheel 1.8s ease-in-out infinite;
}

/* ============ 10. About ============ */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}
.about__bio { padding: clamp(1.6rem, 3.5vw, 2.4rem); }
.about__heading { font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.3; margin-bottom: 1.1rem; }
.about__bio p { color: var(--text-soft); margin-bottom: 1rem; }
.about__bio p strong { color: var(--text); }
.about__tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.4rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--secondary);
  font-size: 0.86rem;
  overflow: hidden;
  white-space: nowrap;
}
.about__tagline svg { width: 17px; height: 17px; flex-shrink: 0; }

.about__side { display: flex; flex-direction: column; gap: 1rem; }
.fact-card { display: flex; gap: 1rem; padding: 1.15rem 1.3rem; transition: transform var(--transition), border-color var(--transition); }
.fact-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.fact-card__icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(61, 139, 255, 0.2), rgba(0, 229, 255, 0.12));
  border: 1px solid var(--line-strong);
  color: var(--secondary);
}
.fact-card__icon svg { width: 20px; height: 20px; }
.fact-card__body h4 { font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 0.25rem; }
.fact-card__body p { color: var(--text-soft); font-size: 0.9rem; }
.fact-card__meta { display: inline-flex; align-items: center; gap: 5px; margin-top: 0.45rem; font-size: 0.78rem; color: var(--text-dim); font-family: var(--font-mono); }
.fact-card__meta strong { color: var(--secondary); }
.fact-card__meta svg { width: 13px; height: 13px; flex-shrink: 0; }

/* About — profile photo (lazy-loaded, placeholder) */
.profile-card { padding: 0.9rem; text-align: center; }
.profile-card img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1;
  margin: 0 auto 0.6rem;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--glow-soft);
}
.profile-card__caption { font-size: 0.74rem; color: var(--text-dim); }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.55rem; }
.chip {
  font-size: 0.76rem;
  padding: 4px 11px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(61, 139, 255, 0.08);
  color: var(--text-soft);
  transition: all var(--transition);
}
.chip:hover { border-color: var(--line-strong); color: var(--secondary); box-shadow: 0 0 10px rgba(0, 229, 255, 0.15); transform: translateY(-2px); }

/* ============ 11. Skills ============ */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.skill-card { padding: 1.5rem; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.skill-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--glow-soft); }
.skill-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 1.1rem; }
.skill-card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(61, 139, 255, 0.22), rgba(0, 229, 255, 0.1));
  border: 1px solid var(--line-strong);
  color: var(--secondary);
}
.skill-card__icon svg { width: 20px; height: 20px; }
.skill-card__title { font-family: var(--font-head); font-size: 1.08rem; }
.skill-card__count { font-size: 0.78rem; color: var(--text-dim); font-family: var(--font-mono); }

.skill-row { margin-bottom: 0.9rem; }
.skill-row:last-child { margin-bottom: 0; }
.skill-row__top { display: flex; justify-content: space-between; font-size: 0.86rem; margin-bottom: 6px; }
.skill-row__name { color: var(--text); }
.skill-row__pct { color: var(--secondary); font-family: var(--font-mono); font-size: 0.78rem; }
.skill-bar {
  height: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.skill-bar__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 100px;
  background: var(--grad-main);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
  transition: width 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============ 12. Projects ============ */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.project-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.project-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--glow-soft); }
.project-card:hover::before { transform: scaleX(1); }
.project-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.project-card__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(61, 139, 255, 0.22), rgba(0, 229, 255, 0.1));
  border: 1px solid var(--line-strong);
  color: var(--secondary);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.12);
}
.project-card__icon svg { width: 22px; height: 22px; }
.project-card__links { display: flex; gap: 8px; }
.project-card__links a {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  transition: all var(--transition);
}
.project-card__links a svg { width: 16px; height: 16px; }
.project-card__links a:hover { color: var(--secondary); border-color: var(--line-strong); box-shadow: var(--glow); }
.project-card__title { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 0.5rem; }
.project-card__desc { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 1rem; flex-grow: 1; }
.project-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--secondary);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.06);
}

/* ============ 13. Education timeline ============ */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 2.4rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 13px; top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary), rgba(0, 229, 255, 0.08));
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}
.timeline__item { position: relative; margin-bottom: 2.2rem; }
.timeline__item:last-child { margin-bottom: 0; }
.timeline__node {
  position: absolute;
  left: -2.4rem;
  top: 18px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 2px solid var(--secondary);
  color: var(--secondary);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.5);
  z-index: 1;
}
.timeline__node svg { width: 13px; height: 13px; }
.timeline__card { padding: 1.5rem; transition: transform var(--transition), border-color var(--transition); }
.timeline__card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.timeline__period {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--secondary);
  margin-bottom: 0.6rem;
}
.timeline__period svg { width: 14px; height: 14px; }
.timeline__title { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 0.2rem; }
.timeline__org { color: var(--primary-bright); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; }
.timeline__desc { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 0.8rem; }
.timeline__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  color: var(--secondary);
  background: rgba(0, 229, 255, 0.07);
}
.timeline__badge strong { color: var(--secondary); }
.timeline__badge--future { border-color: rgba(124, 77, 255, 0.5); color: var(--violet); background: rgba(124, 77, 255, 0.08); }
.timeline__badge svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ============ 14. Certifications ============ */
.certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.cert-card { padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; transition: transform var(--transition), border-color var(--transition); }
.cert-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.cert-card__icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.2), rgba(61, 139, 255, 0.12));
  border: 1px solid rgba(124, 77, 255, 0.4);
  color: var(--violet);
}
.cert-card__icon svg { width: 21px; height: 21px; }
.cert-card__org { font-family: var(--font-mono); font-size: 0.75rem; color: var(--violet); letter-spacing: 0.08em; text-transform: uppercase; }
.cert-card__title { font-family: var(--font-head); font-size: 1.02rem; margin: 0.25rem 0 0.4rem; }
.cert-card__meta { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-dim); }
.cert-card__meta svg { width: 14px; height: 14px; color: var(--success, #34d399); }
.cert-card--upcoming { opacity: 0.75; border-style: dashed; }
.cert-card--upcoming .cert-card__meta svg { color: var(--text-dim); }

/* ============ 15. Achievements ============ */
.achievements__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.ach-card { padding: 1.5rem; position: relative; overflow: hidden; transition: transform var(--transition), border-color var(--transition); }
.ach-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.ach-card__num {
  position: absolute;
  top: 0.6rem; right: 1rem;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(61, 139, 255, 0.12);
  line-height: 1;
}
.ach-card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(61, 139, 255, 0.1));
  border: 1px solid var(--line-strong);
  color: var(--secondary);
  margin-bottom: 0.9rem;
}
.ach-card__icon svg { width: 20px; height: 20px; }
.ach-card__title { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 0.4rem; }
.ach-card__desc { color: var(--text-soft); font-size: 0.9rem; }
.ach-card--pending { border-style: dashed; opacity: 0.7; }

/* ============ 16. GitHub ============ */
.github__panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
}
.github__heatmap {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 3px;
}
.github__heatmap i {
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, background 0.3s ease;
}
.github__heatmap i:hover { transform: scale(1.35); }
.github__legend { display: flex; align-items: center; gap: 4px; margin: 0.8rem 0 0.6rem; font-size: 0.72rem; color: var(--text-dim); justify-content: flex-end; }
.github__legend i { width: 11px; height: 11px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); }
.github__legend i:nth-child(2) { background: rgba(61, 139, 255, 0.35); }
.github__legend i:nth-child(3) { background: rgba(61, 139, 255, 0.55); }
.github__legend i:nth-child(4) { background: rgba(0, 229, 255, 0.6); }
.github__legend i:nth-child(5) { background: rgba(0, 229, 255, 0.9); }
.github__note { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-dim); margin-top: 0.4rem; }
.github__note svg { width: 16px; height: 16px; color: var(--secondary); }
.github__right { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.github__stat-card {
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.github__stat-num { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--secondary); }
.github__stat-label { font-size: 0.85rem; color: var(--text-soft); }
.github__stat-label em { color: var(--text-dim); font-style: normal; font-size: 0.75rem; }
.github__cta { margin-top: 0.4rem; }

/* ============ 17. Resume ============ */
.resume__wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.resume__preview {
  perspective: 1200px;
}
.resume__doc {
  background: linear-gradient(160deg, #0e1838, #0a1230);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem;
  box-shadow: var(--shadow-md), 0 0 40px rgba(61, 139, 255, 0.15);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.resume__preview:hover .resume__doc { transform: rotateY(0) rotateX(0); box-shadow: var(--shadow-md), 0 0 50px rgba(0, 229, 255, 0.2); }
.resume__doc-head { margin-bottom: 1.2rem; }
.resume__doc-head h3 { font-family: var(--font-head); font-size: 1.5rem; }
.resume__doc-head p { color: var(--secondary); font-size: 0.85rem; margin-bottom: 0.8rem; }
.resume__doc-rule { display: block; height: 2px; background: var(--grad-main); border-radius: 2px; box-shadow: 0 0 10px rgba(0, 229, 255, 0.5); }
.resume__doc-body section { margin-bottom: 1rem; }
.resume__doc-body h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 0.3rem; }
.resume__doc-body p { font-size: 0.86rem; color: var(--text-soft); }
.resume__doc-body strong { color: var(--text); }

.resume__cta h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 0.5rem; }
.resume__cta p { color: var(--text-soft); margin-bottom: 1.5rem; }
.resume__buttons { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ============ 18. Contact ============ */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
a.contact-card:hover { transform: translateX(6px); border-color: var(--line-strong); box-shadow: var(--glow-soft); }
.contact-card__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(61, 139, 255, 0.2), rgba(0, 229, 255, 0.1));
  border: 1px solid var(--line-strong);
  color: var(--secondary);
}
.contact-card__icon svg { width: 19px; height: 19px; }
.contact-card__body h4 { font-family: var(--font-head); font-size: 0.98rem; }
.contact-card__body p { font-size: 0.86rem; color: var(--text-soft); word-break: break-word; }
.contact-card__arrow { margin-left: auto; color: var(--text-dim); width: 18px; height: 18px; transition: all var(--transition); }
a.contact-card:hover .contact-card__arrow { color: var(--secondary); transform: translate(2px, -2px); }

.contact__form { padding: clamp(1.6rem, 3.5vw, 2.2rem); }
.contact__form-title { font-family: var(--font-head); font-size: 1.35rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.84rem; color: var(--text-soft); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14), var(--glow);
  background: rgba(255, 255, 255, 0.05);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 84, 112, 0.14); }
.field__error { display: none; font-size: 0.78rem; color: var(--danger); margin-top: 5px; }
.field.is-invalid .field__error { display: block; }
.contact__form-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 1rem; font-size: 0.78rem; color: var(--text-dim); }
.contact__form-note svg { width: 14px; height: 14px; color: var(--secondary); }

/* ============ 19. Footer ============ */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(10, 18, 48, 0.6));
  padding: 3rem 0 1.6rem;
  margin-top: 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.footer__brand p { color: var(--text-dim); font-size: 0.88rem; margin-top: 0.8rem; max-width: 260px; }
.footer__col h4 { font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 0.9rem; color: var(--text); }
.footer__col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color var(--transition), transform var(--transition);
}
.footer__col a:hover { color: var(--secondary); transform: translateX(4px); }
.footer__socials { display: flex; gap: 8px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer__bottom svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; color: var(--danger); }
.footer__visitors svg { color: var(--secondary); }
.footer__visitors em { font-style: normal; font-size: 0.72rem; }

/* ============ 20. Back to top ============ */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 700;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line-strong);
  color: var(--secondary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s ease;
  box-shadow: var(--glow);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: rgba(0, 229, 255, 0.15); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ============ 21. Toast ============ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 1600;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.9rem;
  box-shadow: var(--shadow-md), var(--glow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  max-width: 90vw;
  text-align: center;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast.is-error { border-color: var(--danger); box-shadow: 0 0 20px rgba(255, 84, 112, 0.3); }

/* ============ 22. Chatbot ============ */
.chatbot { position: fixed; right: 20px; bottom: 20px; z-index: 850; }
.chatbot__toggle {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-main);
  color: #04102b;
  box-shadow: 0 8px 30px rgba(0, 190, 255, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.chatbot__toggle:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 36px rgba(0, 229, 255, 0.55); }
.chatbot__toggle svg { width: 24px; height: 24px; }
.chatbot__toggle .chatbot__toggle-close { display: none; }
.chatbot.is-open .chatbot__toggle .chatbot__toggle-open { display: none; }
.chatbot.is-open .chatbot__toggle .chatbot__toggle-close { display: block; }
.chatbot__ping {
  position: absolute;
  top: -2px; right: -2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--danger);
  border: 2px solid var(--bg);
  animation: blink 1.8s ease-in-out infinite;
}

.chatbot__panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 130px));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 14, 36, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md), var(--glow-soft);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.97);
  transform-origin: bottom right;
  transition: all 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.chatbot.is-open .chatbot__panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.chatbot__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(61, 139, 255, 0.12), rgba(0, 229, 255, 0.05));
}
.chatbot__avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-main);
  color: #04102b;
}
.chatbot__avatar svg { width: 20px; height: 20px; }
.chatbot__head-text { flex-grow: 1; }
.chatbot__head-text strong { font-family: var(--font-head); font-size: 1rem; display: block; }
.chatbot__status { display: flex; align-items: center; gap: 6px; font-size: 0.74rem; color: var(--text-dim); }
.chatbot__status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success, #34d399); box-shadow: 0 0 8px var(--success, #34d399); }
.chatbot__close {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--text-soft);
  transition: all var(--transition);
}
.chatbot__close:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.chatbot__close svg { width: 18px; height: 18px; }

.chatbot__body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
}
.chatbot__msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  animation: msgIn 0.3s ease both;
  white-space: pre-wrap;
  word-break: break-word;
}
.chatbot__msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--text-soft);
}
.chatbot__msg--user {
  align-self: flex-end;
  background: var(--grad-main);
  color: #04102b;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.chatbot__msg--typing { display: flex; gap: 4px; align-items: center; padding: 12px 16px; }
.chatbot__msg--typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  animation: typingDot 1.2s ease-in-out infinite;
}
.chatbot__msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.chatbot__msg--typing i:nth-child(3) { animation-delay: 0.3s; }

.chatbot__settings { padding: 14px 16px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.chatbot__settings-title { font-size: 0.82rem; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.chatbot__field { display: block; margin-bottom: 10px; }
.chatbot__field span { display: block; font-size: 0.74rem; color: var(--text-dim); margin-bottom: 5px; }
.chatbot__field input, .chatbot__field select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.85rem;
}
.chatbot__field input:focus, .chatbot__field select:focus { outline: none; border-color: var(--secondary); }
.chatbot__getkey { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 0.76rem; color: var(--secondary); }
.chatbot__getkey svg { width: 13px; height: 13px; flex-shrink: 0; }

.chatbot__suggestions {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  scrollbar-width: none;
}
.chatbot__suggestions::-webkit-scrollbar { display: none; }
.chatbot__suggestion {
  flex-shrink: 0;
  font-size: 0.76rem;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition);
}
.chatbot__suggestion:hover { border-color: var(--line-strong); color: var(--secondary); box-shadow: var(--glow); }

.chatbot__form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line);
}
.chatbot__form input {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.88rem;
}
.chatbot__form input:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12); }
.chatbot__send {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad-main);
  color: #04102b;
  transition: transform var(--transition), box-shadow var(--transition);
}
.chatbot__send:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.chatbot__send:disabled { opacity: 0.5; cursor: not-allowed; }
.chatbot__send svg { width: 18px; height: 18px; }
