/* ============================================
   TPC Services — Dark Futuristic Theme
   ============================================ */

/* --- Local Fonts --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/inter-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/inter-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --border: #1e1e2e;
  --border-hover: #2e2e44;
  --text-primary: #e8e8f0;
  --text-secondary: #8888a4;
  --text-muted: #5a5a74;
  --accent: #7c5cfc;
  --accent-light: #a78bfa;
  --accent-dark: #5b3fd4;
  --accent-glow: rgba(124, 92, 252, 0.15);
  --gradient: linear-gradient(135deg, #7c5cfc, #a78bfa, #c4b5fd);
  --gradient-bg: linear-gradient(135deg, rgba(124, 92, 252, 0.08), rgba(167, 139, 250, 0.04));
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--text-primary);
}

img {
  max-width: 100%;
  display: block;
}

/* --- Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* --- Scroll Animations --- */
.animate-target {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-target.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }
.animate-in:nth-child(5) { transition-delay: 0.4s; }
.animate-in:nth-child(6) { transition-delay: 0.5s; }
.animate-in:nth-child(7) { transition-delay: 0.6s; }
.animate-in:nth-child(8) { transition-delay: 0.7s; }

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.nav--scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(1) brightness(1.5);
  transition: transform var(--transition);
}

.nav__logo:hover .nav__logo-img {
  opacity: 1;
  filter: grayscale(1) brightness(0.5) sepia(1) hue-rotate(210deg) saturate(5) brightness(0.8);
  transform: scale(1.05);
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav__link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 252, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 252, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
  opacity: 0.08;
  animation: glow-pulse 8s ease-in-out infinite alternate;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: #a78bfa;
  bottom: -100px;
  left: -100px;
  opacity: 0.06;
  animation: glow-pulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes glow-pulse {
  0% { transform: scale(1); opacity: 0.06; }
  100% { transform: scale(1.3); opacity: 0.12; }
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-secondary);
  transition: all var(--transition);
}

.badge:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.hero__greeting {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 4px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero__description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 92, 252, 0.3);
}

.btn--primary:hover {
  background: var(--accent-light);
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 92, 252, 0.5);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn__arrow {
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* Hero code card */
.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-slow);
  animation: card-float 6s ease-in-out infinite;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 80px rgba(124, 92, 252, 0.1);
}

.hero__card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--border);
}

.hero__card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: auto;
  border: 1.5px solid var(--border-hover);
  opacity: 0.7;
  transition: opacity var(--transition);
}

.hero__card:hover .hero__card-avatar {
  opacity: 1;
}

.hero__card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-hover);
}

.hero__card-dot:nth-child(1) { background: #ff5f57; }
.hero__card-dot:nth-child(2) { background: #febc2e; }
.hero__card-dot:nth-child(3) { background: #28c840; }

.hero__chat {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  overflow-y: auto;
  max-height: 320px;
}

.chat-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
  padding: 10px 16px;
  color: var(--text-secondary);
  max-width: 95%;
  opacity: 0;
  transform: translateY(8px);
  animation: bubble-in 0.3s ease forwards;
  word-break: break-word;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-bubble .chat-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink-cursor 0.6s step-end infinite;
}

.chat-bubble .chat-cursor.hidden {
  display: none;
}

@keyframes bubble-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.chat-bubble .chat-emoji {
  margin-right: 6px;
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 120px 0;
  position: relative;
}

.section__header {
  margin-bottom: 60px;
}

.section__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ============================================
   About
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about__text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.about__text strong {
  color: var(--text-primary);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.stat:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__plus {
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.stat__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.highlight-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.highlight-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(124, 92, 252, 0.08);
}

.highlight-card__icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  filter: grayscale(1) brightness(1.5);
}

.highlight-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.highlight-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Services
   ============================================ */
.services {
  background: var(--bg-secondary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.service-card__tags li {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  padding: 3px 10px;
  background: var(--accent-glow);
  color: var(--accent-light);
  border-radius: 100px;
  border: 1px solid rgba(124, 92, 252, 0.15);
}

/* ============================================
   Experience / Timeline
   ============================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border), transparent);
}

.timeline__item {
  position: relative;
  padding-bottom: 40px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  transition: all var(--transition);
  z-index: 1;
}

.timeline__item:hover .timeline__marker {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.timeline__content {
  position: relative;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
}

.timeline__company-logo {
  position: absolute;
  top: 16px;
  right: 16px;
  height: 22px;
  width: auto;
  opacity: 0.12;
  filter: grayscale(1) brightness(3);
  pointer-events: none;
  transition: opacity var(--transition);
}

.timeline__item:hover .timeline__company-logo {
  opacity: 0.25;
}

.timeline__item:hover .timeline__content {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.timeline__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline__company {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-light);
}

.timeline__date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.timeline__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.timeline__tags span {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  padding: 2px 10px;
  background: var(--accent-glow);
  color: var(--accent-light);
  border-radius: 100px;
  border: 1px solid rgba(124, 92, 252, 0.15);
}

/* Timeline project sub-items */
.timeline__projects {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline__project {
  padding-left: 14px;
  border-left: 2px solid var(--border);
  font-size: 0.8125rem;
  line-height: 1.6;
  transition: border-color var(--transition);
}

.timeline__project:hover {
  border-left-color: var(--accent);
}

.timeline__project-label {
  color: var(--text-primary);
  font-weight: 600;
}

.timeline__project-desc {
  color: var(--text-muted);
}

/* ============================================
   Skills
   ============================================ */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.skills__category {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.skills__category:hover {
  border-color: var(--border-hover);
}

.skills__category-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-size: 0.8125rem;
  padding: 6px 14px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: default;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* ============================================
   Contact
   ============================================ */
.contact {
  background: var(--bg-secondary);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__intro {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__icon {
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: all var(--transition);
}

.contact__item:hover .contact__icon {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.contact__label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact__item a,
.contact__item span {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.contact__social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* ============================================
   Languages
   ============================================ */
.languages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.language-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}

.language-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.language-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.language-card__level {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.language-card__bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.language-card__fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contact Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: all var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__card {
    max-width: 380px;
    text-align: left;
    margin: 0 auto;
  }

  .hero__chat {
    min-height: 52px;
    max-height: 52px;
    padding: 8px 12px;
    gap: 6px;
    font-size: 0.6875rem;
  }

  .hero__chat .chat-bubble {
    padding: 6px 10px;
    border-radius: 8px 8px 8px 2px;
    font-size: 0.6875rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .languages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 80px;
    min-height: auto;
  }

  .hero__container {
    gap: 24px;
  }

  .hero__card {
    max-width: 100%;
  }

  .hero__chat {
    min-height: 68px;
    max-height: 68px;
    padding: 10px 12px;
    font-size: 0.6875rem;
    line-height: 1.5;
  }

  .hero__chat .chat-bubble {
    padding: 6px 10px;
    font-size: 0.6875rem;
  }

  .hero__description {
    font-size: 0.875rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 4px;
    transition: right var(--transition);
  }

  .nav__links--open {
    right: 0;
  }

  .nav__link {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .section {
    padding: 80px 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .about__highlights {
    grid-template-columns: 1fr;
  }

  .about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat__number {
    font-size: 1.75rem;
  }

  .skills__grid {
    grid-template-columns: 1fr;
  }

  .languages__grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline__marker {
    left: -28px;
    width: 10px;
    height: 10px;
  }

  .hero__scroll {
    display: none;
  }

  .footer__content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.25rem;
  }

  .hero__container {
    gap: 16px;
  }

  .hero__badges .badge {
    font-size: 0.625rem;
    padding: 4px 10px;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .timeline__content {
    padding: 18px 20px;
  }
}
