:root {
  --bg: #050816;
  --bg-alt: #070b1d;
  --bg-soft: #0b1024;
  --primary: #3b82f6;
  --primary-soft: rgba(59, 130, 246, 0.18);
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.18);
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --card-bg: rgba(15, 23, 42, 0.8);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
  --shadow-glow-blue: 0 0 60px rgba(56, 189, 248, 0.4);
  --shadow-glow-orange: 0 0 60px rgba(249, 115, 22, 0.35);
  --transition-fast: 180ms ease-out;
  --transition-med: 260ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

body.theme-light {
  --bg: #f3f4f6;
  --bg-alt: #e5e7eb;
  --bg-soft: #e5e7eb;
  --text: #111827;
  --text-soft: #4b5563;
  --border-subtle: rgba(148, 163, 184, 0.6);
  --card-bg: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(249, 115, 22, 0.10), transparent 55%),
    radial-gradient(circle at 50% 120%, rgba(16, 185, 129, 0.10), transparent 60%),
    #f9fafb;
}


main {
  flex: 1 0 auto;
}

.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.4), #020617);
  opacity: 0;
  pointer-events: none;
  transform: scaleX(0.8) translateY(20px);
  transform-origin: center;
  transition: opacity 280ms ease, transform 280ms ease;
  z-index: 30;
}

.page-transition-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.3), transparent 40%),
    linear-gradient(300deg, rgba(249, 115, 22, 0.3), transparent 40%);
  mix-blend-mode: screen;
  opacity: 0.8;
}

body.page-exit .page-transition-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: scaleX(1) translateY(0);
}

body.page-enter {
  animation: page-enter 420ms ease-out;
}

@keyframes page-enter {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 55%),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 55%),
    rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

body.theme-light .site-header {
  background: rgba(249, 250, 251, 0.92);
  border-bottom-color: rgba(209, 213, 219, 0.9);
}

 .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
  gap: 1.5rem;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #e5e7eb, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #020617;
  box-shadow: 0 10px 30px rgba(8, 47, 73, 0.85);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-name {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-role {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.5);
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform var(--transition-fast), opacity var(--transition-fast),
    top var(--transition-fast);
}

.nav-toggle-bar::before {
  top: -5px;
}

.nav-toggle-bar::after {
  top: 5px;
}

body.nav-open .nav-toggle {
  background: #0b1120;
  border-color: #38bdf8;
  transform: translateY(1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.95);
}

body.nav-open .nav-toggle-bar {
  background: transparent;
}

body.nav-open .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.main-nav a {
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
  transition: color var(--transition-fast);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width var(--transition-fast);
}

.main-nav a:hover {
  color: #e5e7eb;
}

.main-nav a:hover::after {
  width: 100%;
}

 .header-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-switcher {
  display: inline-flex;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 500;
  font-family: inherit;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0b1120;
  transform: translateY(-1px);
}

.theme-switcher {
  display: inline-flex;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
}

.theme-btn {
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 500;
  font-family: inherit;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast);
}

.theme-btn.active {
  background: rgba(249, 250, 251, 0.9);
  color: #020617;
  transform: translateY(-1px);
}

body.theme-light .lang-switcher,
body.theme-light .theme-switcher {
  background: #f9fafb;
  border-color: rgba(209, 213, 219, 0.9);
  box-shadow: 0 10px 25px rgba(148, 163, 184, 0.4);
}

body.theme-light .lang-btn,
body.theme-light .theme-btn {
  color: #4b5563;
}

body.theme-light .theme-btn.active {
  background: #111827;
  color: #f9fafb;
}

.hero {
  padding: 3rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #38bdf8;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: clamp(2.5rem, 3.2vw, 3.1rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.hero-title span:last-child {
  display: block;
}

.hero-gradient {
  background: linear-gradient(120deg, #38bdf8, #22c55e, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 1.4rem;
  color: var(--text-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #020617;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.7);
}

.btn.primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 20px 55px rgba(37, 99, 235, 0.9);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.7);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 1);
  border-color: var(--primary);
  transform: translateY(-1px);
}

body.theme-light .btn.ghost {
  background: #ffffff;
  color: #111827;
  border-color: rgba(209, 213, 219, 0.9);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.45);
}

body.theme-light .btn.ghost:hover {
  background: #f3f4f6;
  border-color: #3b82f6;
}

.btn-full {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  color: var(--text-soft);
}

.meta-value {
  color: #e5e7eb;
}

body.theme-light .meta-label {
  color: #6b7280;
}

body.theme-light .meta-value {
  color: #111827;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-card {
  position: relative;
  padding: 1.8rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.14), transparent 55%),
    rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.55);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

body.theme-light .hero-card {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.12), transparent 55%),
    #ffffff;
  border-color: rgba(209, 213, 219, 0.9);
}

.hero-grid {
  position: absolute;
  inset: -20%;
  opacity: 0.12;
  background-image: linear-gradient(to right, rgba(148, 163, 184, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.6) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black 0, transparent 70%);
}

.hero-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.6;
}

.hero-glow-blue {
  background: rgba(56, 189, 248, 0.9);
  top: -40px;
  right: -50px;
  box-shadow: var(--shadow-glow-blue);
}

.hero-glow-orange {
  background: rgba(249, 115, 22, 0.9);
  bottom: -70px;
  left: -40px;
  box-shadow: var(--shadow-glow-orange);
}

.device-stack {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
}

.device {
  position: relative;
}

.pc {
  transform: translateY(8px);
}

.pc-front {
  width: 140px;
  height: 150px;
  border-radius: 16px;
  background: linear-gradient(145deg, #020617, #0f172a);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
  padding: 0.9rem 0.9rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

body.theme-light .pc-front {
  background: linear-gradient(145deg, #e5e7eb, #d1d5db);
  border-color: rgba(209, 213, 219, 0.9);
  box-shadow: 0 16px 36px rgba(148, 163, 184, 0.7);
}

.pc-fan {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.9);
  margin-bottom: auto;
  position: relative;
  overflow: hidden;
}

.pc-fan::before,
.pc-fan::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 80%;
  height: 2px;
  background: rgba(148, 163, 184, 0.9);
  transform-origin: left center;
}

.pc-fan::after {
  transform: rotate(90deg);
}

.fan-spin {
  animation: fan-spin 2.2s linear infinite;
}

@keyframes fan-spin {
  to {
    transform: rotate(360deg);
  }
}

.pc-led {
  width: 30px;
  height: 5px;
  border-radius: 999px;
  margin-top: 0.2rem;
}

.pc-led-red {
  background: radial-gradient(circle at 10% 0%, #fecaca, #ef4444);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.8);
}

.pc-led-blue {
  background: radial-gradient(circle at 10% 0%, #bfdbfe, #3b82f6);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.9);
}

.pc-label {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  color: var(--text-soft);
}

.laptop {
  transform-origin: center;
}

.floating {
  animation: float 4.5s ease-in-out infinite;
}

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

.laptop-screen {
  width: 170px;
  height: 110px;
  border-radius: 14px 14px 6px 6px;
  background: radial-gradient(circle at top, #0f172a, #020617);
  border: 1px solid rgba(148, 163, 184, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

body.theme-light .laptop-screen {
  background: radial-gradient(circle at top, #e5e7eb, #d1d5db);
  border-color: rgba(209, 213, 219, 0.9);
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.7);
}

.laptop-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.18), transparent 40%),
    radial-gradient(circle at bottom, rgba(249, 115, 22, 0.13), transparent 55%);
  mix-blend-mode: screen;
}

.screen-code {
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 2.2rem;
  color: #38bdf8;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.9);
}

.screen-error {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fecaca;
  text-shadow: 0 0 14px rgba(248, 113, 113, 0.75);
}

.laptop-base {
  width: 190px;
  height: 10px;
  margin: 0.15rem auto 0;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(90deg, #020617, #111827, #020617);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.9);
}

body.theme-light .laptop-base {
  background: linear-gradient(90deg, #e5e7eb, #d1d5db, #e5e7eb);
  box-shadow: 0 6px 12px rgba(148, 163, 184, 0.8);
}

.laptop-label {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  text-align: right;
  color: var(--text-soft);
}

.badge {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.7rem;
}

body.theme-light .badge {
  background: rgba(249, 250, 251, 0.95);
  border-color: rgba(209, 213, 219, 0.9);
}

.badge-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.badge-name {
  font-weight: 600;
}

.section {
  padding: 3.25rem 0 3.5rem;
  position: relative;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), #020617);
}

body.theme-light .section-alt {
  background: #e5e7eb;
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-header {
  text-align: left;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: #38bdf8;
  margin-bottom: 0.35rem;
}

.section h2 {
  margin: 0;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 1.7rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.about-photo-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-photo-frame {
  border-radius: var(--radius-xl);
  padding: 0.35rem;
  background: radial-gradient(circle at top left, #38bdf8, transparent 55%),
    radial-gradient(circle at bottom right, #f97316, transparent 55%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.about-photo-frame img {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius-xl) - 4px);
  object-fit: cover;
}

.about-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
}

body.theme-light .chip {
  background: #f9fafb;
  border-color: rgba(209, 213, 219, 0.9);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.highlight {
  min-width: 95px;
}

.highlight-number {
  display: block;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #f97316;
}

.highlight-label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.1rem 1.1rem 1.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.95);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med), background var(--transition-med);
}

body.theme-light .service-card {
  background: radial-gradient(circle at top, #ffffff, #e5e7eb);
  border-color: rgba(209, 213, 219, 0.9);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.45);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.8);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 1);
}

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

.service-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.service-icon-blue {
  background: var(--primary-soft);
  color: #38bdf8;
}

.service-icon-orange {
  background: var(--accent-soft);
  color: #f97316;
}

.service-icon-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.service-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.service-card p {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.service-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.2rem;
}

.service-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-size: 0.7rem;
}

.skills-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.skills-column {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
}

body.theme-light .skills-column {
  background: #ffffff;
  border-color: rgba(209, 213, 219, 0.9);
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.4);
}

.skills-subtitle {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
}

.skill-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.skill-tag {
  font-size: 0.74rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
}

body.theme-light .skill-tag {
  background: #f9fafb;
  border-color: rgba(209, 213, 219, 0.9);
}

.skill-meter {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.meter-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.9);
  overflow: hidden;
  margin-top: 0.4rem;
}

.meter-fill {
  height: 100%;
  border-radius: inherit;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 900ms ease-out 180ms;
}

.meter-fill-blue {
  background: linear-gradient(90deg, #38bdf8, #3b82f6);
}

.meter-fill-orange {
  background: linear-gradient(90deg, #f97316, #eab308);
}

.lang-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.lang-list li + li {
  margin-top: 0.25rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), #020617);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.98);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

body.theme-light .project-card {
  background: radial-gradient(circle at top, #ffffff, #e5e7eb);
  border-color: rgba(209, 213, 219, 0.9);
  box-shadow: 0 16px 36px rgba(148, 163, 184, 0.45);
}

.project-logo {
  margin: 0 0 0.5rem;
}

.project-logo img {
  max-height: 70px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.9));
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    conic-gradient(from 180deg, rgba(56, 189, 248, 0.12), transparent 40%, rgba(249, 115, 22, 0.12), transparent 80%);
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity 260ms ease, transform 8000ms linear;
  pointer-events: none;
  mix-blend-mode: screen;
}

.project-card:hover::before {
  opacity: 1;
  transform: rotate(1turn);
}

.project-card-muted {
  opacity: 0.85;
}

.project-badge {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.project-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.project-card p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.project-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-soft);
}

.project-meta span {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

body.theme-light .project-meta {
  color: #4b5563;
}

body.theme-light .project-meta span {
  background: #f9fafb;
  border-color: rgba(209, 213, 219, 0.9);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-text {
  font-size: 0.95rem;
  color: var(--text-soft);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.contact-value {
  display: block;
  font-size: 0.9rem;
  color: #e5e7eb;
  text-decoration: none;
}

body.theme-light .contact-label {
  color: #6b7280;
}

body.theme-light .contact-value {
  color: #111827;
}

.contact-value:hover {
  color: #38bdf8;
}

.contact-note {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.contact-form {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 1.1rem 1.2rem 1.3rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.98);
}

body.theme-light .contact-form {
  background: #ffffff;
  border-color: rgba(209, 213, 219, 0.9);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.5);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.form-field label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), transform var(--transition-fast);
}

body.theme-light .form-field input,
body.theme-light .form-field select,
body.theme-light .form-field textarea {
  background: #f9fafb;
  border-color: rgba(209, 213, 219, 0.9);
  color: #111827;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
  background: rgba(15, 23, 42, 0.98);
  transform: translateY(-1px);
}

body.theme-light .form-field input:focus,
body.theme-light .form-field select:focus,
body.theme-light .form-field textarea:focus {
  background: #ffffff;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  min-height: 1em;
}

.form-status--success {
  color: #4ade80;
}

.form-status--error {
  color: #f97373;
}

.site-footer {
  padding: 1.25rem 0 1.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), #020617);
}

body.theme-light .site-footer {
  background: #f3f4f6;
  border-top-color: rgba(209, 213, 219, 0.9);
}

body.theme-light .footer-inner {
  color: #6b7280;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.scroll-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.95);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast),
    background var(--transition-fast);
  z-index: 15;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: rgba(15, 23, 42, 1);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.meter-fill.reveal--visible {
  transform: scaleX(1);
}

@media (max-width: 960px) {
  .container {
    padding: 0 1.1rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .skills-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 1rem;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 25;
  }

  .header-inner {
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .header-controls {
    gap: 0.4rem;
  }

  .lang-switcher,
  .theme-switcher {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  body.nav-open .main-nav {
    position: fixed;
    left: 0.9rem;
    right: 0.9rem;
    top: 3.5rem;
    background: var(--bg-soft);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 0.9rem 0.7rem;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.nav-open .lang-switcher,
  body.nav-open .theme-switcher {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .main-nav a {
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    width: 100%;
  }

  .main-nav a:hover {
    background: rgba(15, 23, 42, 0.9);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 6vw, 2.4rem);
  }

  .hero-lead {
    font-size: 0.92rem;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .skills-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-card {
    padding: 1.3rem 1.1rem;
  }

  .laptop-screen {
    width: 150px;
    height: 96px;
  }

  .pc-front {
    width: 125px;
    height: 140px;
  }
}
