
:root {

  --bg-primary: #0a0d14;
  --bg-secondary: #0f172a;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-input: #111827;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #06b6d4;
  --border-card: rgba(255, 255, 255, 0.1);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-invert: #0a0d14;

  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
  --accent-glow: rgba(6, 182, 212, 0.25);
  --indigo-glow: rgba(99, 102, 241, 0.2);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.2);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --nav-height: 74px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-input: #ffffff;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-focus: #0284c7;
  --border-card: rgba(0, 0, 0, 0.08);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-invert: #ffffff;

  --accent-cyan: #0284c7;
  --accent-indigo: #4f46e5;
  --accent-emerald: #059669;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
  --accent-glow: rgba(2, 132, 199, 0.15);
  --indigo-glow: rgba(79, 70, 229, 0.15);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body::before {
  content: '';
  position: fixed;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--indigo-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

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

button, input, textarea {
  font-family: inherit;
}

ul {
  list-style: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-card);
}

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

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono);
}

.logo-bracket {
  color: var(--accent-cyan);
}

.logo-slash {
  color: var(--accent-indigo);
}

.logo-name {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.nav-logo:hover .logo-name {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-fast);
  border-radius: var(--radius-pill);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-resume-pill {
  padding: 5px 14px !important;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-pill);
  color: var(--accent-cyan) !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast) !important;
}

.nav-resume-pill::after {
  display: none !important;
}

.nav-resume-pill:hover {
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn,
.theme-toggle-btn,
.mobile-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.15rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover,
.theme-toggle-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.theme-icon-sun {
  display: none;
}
.theme-icon-moon {
  display: block;
}

[data-theme="light"] .theme-icon-sun {
  display: block;
}
[data-theme="light"] .theme-icon-moon {
  display: none;
}

.mobile-toggle-btn {
  display: none;
}

.page-view {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  min-height: calc(100vh - var(--nav-height) - 160px);
  padding-top: calc(var(--nav-height) + 20px);
  padding-bottom: 60px;
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: page-fade-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#page-home {
  padding-top: 0;
}

.home-gateways-section {
  padding: 40px 0 80px;
}

.gateways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.gateway-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.gateway-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg);
}

.gateway-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  transition: all var(--transition-fast);
}

.gateway-card:hover .gateway-icon {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.gateway-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.gateway-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.gateway-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.gateway-card:hover .gateway-link {
  gap: 10px;
}

.hero-section {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 24px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.greeting-prefix {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0;
  margin-bottom: 6px;
}

.developer-name {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.typewriter-container {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  min-height: 38px;
  display: flex;
  align-items: center;
}

.typewriter-prefix {
  color: var(--text-secondary);
  margin-right: 8px;
}

.typewriter-text {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.typewriter-cursor {
  color: var(--accent-cyan);
  font-weight: 300;
  animation: blink-cursor 0.9s infinite;
}

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

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-accent {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.avatar-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.avatar-glow {
  position: absolute;
  inset: -10px;
  background: var(--accent-gradient);
  border-radius: var(--radius-lg);
  filter: blur(25px);
  opacity: 0.35;
  z-index: 1;
}

.avatar-card {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: center;
}

.avatar-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.avatar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.avatar-dot.red { background-color: #ef4444; }
.avatar-dot.yellow { background-color: #f59e0b; }
.avatar-dot.green { background-color: #10b981; }

.avatar-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.avatar-image-container {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 6px;
  background: var(--accent-gradient);
  box-shadow: var(--shadow-glow);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  background-color: var(--bg-secondary);
}

.avatar-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.avatar-role {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 16px;
}

.tech-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.tech-mini-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.home-gateways-section {
  padding-top: 0;
  padding-bottom: 90px;
}

.recruiter-pitch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.recruiter-pitch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
}

.pitch-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.pitch-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.pitch-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.pitch-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pitch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 24px;
}

.pitch-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pitch-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pitch-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pitch-value.highlight-green {
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.gateway-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.gateway-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
}

.gateway-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.gateway-card:hover .gateway-icon {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: scale(1.08);
}

.gateway-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.gateway-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.gateway-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition-fast);
}

.gateway-card:hover .gateway-link {
  gap: 8px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  min-width: 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  word-break: break-word;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  word-break: break-word;
}

.section-line {
  width: 56px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: var(--radius-pill);
  margin: 16px auto 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.about-text-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.about-headline {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  color: var(--text-primary);
  word-break: break-word;
}

.about-paragraph {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.7;
  word-break: break-word;
}

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

.about-quick-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.spec-item:hover {
  border-color: var(--accent-cyan);
}

.spec-icon {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  margin-top: 2px;
}

.spec-title {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

.spec-value a {
  color: var(--accent-cyan);
}

.about-visual-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.about-photo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.about-photo-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
}

.about-photo-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 22px rgba(6, 182, 212, 0.35);
  position: relative;
  background: var(--bg-secondary);
}

.about-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

.about-photo-caption h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.about-photo-caption p {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 8px;
}

.about-location-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.about-location-tag i {
  color: #ef4444;
  font-size: 0.85rem;
}

.code-editor-card {
  background: #0d1117;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.editor-header {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  background: #161b22;
  border-bottom: 1px solid #30363d;
  min-width: 0;
  box-sizing: border-box;
}

.window-buttons {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-close { background-color: #ff5f56; }
.dot-minimize { background-color: #ffbd2e; }
.dot-maximize { background-color: #27c93f; }

.editor-filename {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #8b949e;
  margin-left: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editor-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.editor-code {
  padding: 18px 16px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  color: #c9d1d9;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.editor-code code {
  display: block;
  min-width: 0;
  max-width: 100%;
}

.code-keyword { color: #ff7b72; font-weight: 600; }
.code-string { color: #a5d6ff; }
.code-number { color: #79c0ff; }
.code-boolean { color: #ff7b72; }

.education-card-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.education-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.education-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-gradient);
}

.education-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}

.edu-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.85rem;
  box-shadow: var(--shadow-glow);
}

.edu-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.edu-degree {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.edu-institution {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.edu-meta-badge {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.edu-timeline, .edu-grade {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.edu-timeline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.edu-grade {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald);
}

.edu-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.edu-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.highlight-item i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  margin-top: 2px;
}

.resume-showcase-card {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.resume-showcase-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.resume-badge-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.badge-pill-ats,
.badge-pill-clean {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.badge-pill-ats {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald);
}

.badge-pill-clean {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--accent-cyan);
}

.resume-showcase-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.resume-text-col {
  flex: 1;
  min-width: 280px;
}

.resume-headline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.resume-subtext {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.resume-action-col {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.skills-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.skill-category-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.category-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.language-icon { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.styling-icon { background: rgba(99, 102, 241, 0.15); color: var(--accent-indigo); }
.tools-icon { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.ai-icon { background: rgba(168, 85, 247, 0.15); color: #c084fc; }

.category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.skill-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.skill-name-wrap i {
  font-size: 1.2rem;
}

.color-html { color: #e34f26; }
.color-css { color: #1572b6; }
.color-js { color: #f7df1e; }
.color-tailwind { color: #38bdf8; }
.color-bootstrap { color: #7952b3; }
.color-responsive { color: #10b981; }
.color-git { color: #f05032; }
.color-storage { color: #ec4899; }
.color-api { color: #8b5cf6; }
.color-gemini { color: #38bdf8; }
.color-prompt { color: #10b981; }

.skill-level {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

[data-theme="light"] .skill-bar {
  background: rgba(0, 0, 0, 0.08);
}

.skill-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: var(--radius-pill);
  transition: width 1s ease-in-out;
}

.fill-95 { width: 95%; }
.fill-90 { width: 90%; }
.fill-85 { width: 85%; }
.fill-80 { width: 80%; }

.projects-search-wrapper {
  max-width: 620px;
  margin: 0 auto 30px;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 18px 6px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.search-input-box:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-icon {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-right: 12px;
  flex-shrink: 0;
}

.search-input-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.95rem;
  padding: 8px 0;
}

.search-input-box input::placeholder {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.clear-search-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
  margin-left: 8px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.clear-search-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.projects-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
}

.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.no-projects-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
}

.no-projects-found .empty-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.no-projects-found .empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.no-projects-found .empty-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 450px;
  margin: 0 auto 20px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg);
}

.project-banner {
  height: 120px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(99, 102, 241, 0.15) 100%);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}

.project-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.project-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
  transition: all var(--transition-fast);
}

[data-theme="light"] .project-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(79, 70, 229, 0.08) 100%);
}

[data-theme="light"] .project-category-badge {
  background: #ffffff;
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.3);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .project-icon-indicator {
  color: #0284c7;
  opacity: 0.85;
}

.project-icon-indicator {
  font-size: 2rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

[data-theme="light"] .project-tag {
  background: rgba(0, 0, 0, 0.04);
}

.project-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.project-actions .btn {
  flex: 1;
}

.projects-cta-box {
  margin-top: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cta-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.recruiter-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.recruiter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.recruiter-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}

.r-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: var(--shadow-glow);
}

.r-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.r-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-info-card,
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.contact-info-heading,
.form-heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  word-break: break-word;
}

.contact-info-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  word-break: break-word;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  width: 100%;
  min-width: 0;
}

.contact-method-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-method-item:hover {
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

.method-main-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.method-main-link:hover .method-value {
  color: var(--accent-cyan);
}

.method-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.method-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.method-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.method-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
  transition: color var(--transition-fast);
}

.copy-inline-btn,
.open-external-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  text-decoration: none;
}

.copy-inline-btn:hover,
.open-external-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.copy-inline-btn.copied {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.copy-tooltip {
  position: absolute;
  top: -30px;
  right: 50%;
  transform: translateX(50%);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.copy-inline-btn:hover .copy-tooltip,
.copy-inline-btn.copied .copy-tooltip {
  opacity: 1;
  transform: translateX(50%) translateY(-2px);
}

.whatsapp-item:hover {
  border-color: #25D366;
}

.whatsapp-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}

.telegram-item:hover {
  border-color: #229ED9;
}

.telegram-icon {
  background: rgba(34, 158, 217, 0.15);
  color: #229ED9;
}

.whatsapp-circle:hover {
  background: #25D366 !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
}

.telegram-circle:hover {
  background: #229ED9 !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.4) !important;
}

.contact-socials-box {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.social-box-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.social-links-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
}

.social-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  flex-shrink: 0;
}

.social-circle-btn:hover {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.input-icon {
  position: absolute;
  left: 16px;
  font-size: 1.1rem;
  color: var(--text-muted);
  pointer-events: none;
}

.textarea-icon {
  top: 16px;
}

.input-wrap input,
.input-wrap textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 13px 16px 13px 44px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-wrap textarea {
  resize: vertical;
  min-height: 100px;
}

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

.field-error {
  font-size: 0.8rem;
  color: #ef4444;
  min-height: 16px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: 1px solid #20BA5A;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-telegram {
  background: #229ED9;
  color: #ffffff;
  border: 1px solid #1E8EC4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 18px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.btn-telegram:hover {
  background: #1E8EC4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
}

.form-delivery-note {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

[data-theme="light"] .form-delivery-note {
  background: rgba(2, 132, 199, 0.06);
  border-color: rgba(2, 132, 199, 0.2);
}

.note-icon {
  color: var(--accent-cyan);
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.delivery-note-text {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  text-align: left;
  flex: 1;
}

.delivery-note-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.spin-animation {
  animation: spin 0.9s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.toast-box {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald);
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  animation: fade-in 0.3s ease;
}

.toast-box.show {
  display: flex;
}

.toast-box.toast-success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald);
}

.toast-box.toast-info {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan);
}

.toast-box.toast-warning {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #f59e0b;
}

.toast-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 30px;
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}

.footer-brand .logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.footer-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 24px;
}

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

.copyright-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    background-color: #0b0f19 !important; 
    border-bottom: 2px solid var(--accent-cyan);
    border-top: 1px solid var(--border-subtle);
    padding: 20px 20px 28px;
    display: none;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.98);
    z-index: 99999 !important;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  [data-theme="light"] .nav-menu {
    background-color: #ffffff !important; 
    border-bottom: 2px solid var(--accent-cyan);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  }

  .nav-menu.open {
    display: flex !important;
    animation: menu-slide 0.22s ease-out forwards;
  }

  @keyframes menu-slide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-list {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }

  .nav-link {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-fast);
  }

  [data-theme="light"] .nav-link {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(6, 182, 212, 0.16) !important;
    border-color: rgba(6, 182, 212, 0.45) !important;
    color: var(--accent-cyan) !important;
    transform: translateX(4px);
  }

  .nav-link::after {
    display: none !important; 
  }

  .nav-resume-pill {
    margin-top: 10px;
    background: var(--accent-gradient) !important;
    color: #ffffff !important;
    justify-content: center;
    border-color: transparent !important;
    box-shadow: 0 4px 14px var(--accent-glow);
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 30px);
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2.2rem, 5.5vw, 2.85rem);
  }

  .typewriter-container {
    justify-content: center;
    font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  }

  .hero-description {
    margin: 0 auto 28px;
    max-width: 600px;
  }

  .hero-cta-group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .recruiter-pitch-card .pitch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
  }

  .gateways-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .about-text-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .about-visual-column {
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .about-photo-card {
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .code-editor-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    min-width: 0;
    box-sizing: border-box;
  }

  .education-card {
    padding: 24px 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .resume-showcase-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .resume-action-col {
    width: 100%;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .skills-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 26px 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.45rem);
  }

  .typewriter-container {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .education-card {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .edu-icon-col {
    display: none; 
  }

  .skills-categories-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
    gap: 20px;
  }

  .about-quick-specs {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .projects-cta-box .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .section-container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .about-headline {
    font-size: 1.25rem;
    word-break: break-word;
  }

  .about-paragraph {
    font-size: 0.95rem;
    word-break: break-word;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .recruiter-pitch-card {
    padding: 20px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .recruiter-pitch-card .pitch-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pitch-item {
    text-align: left;
    width: 100%;
    box-sizing: border-box;
  }

  .gateways-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }

  .code-editor-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }

  .editor-code {
    padding: 14px 12px;
    font-size: 0.78rem;
  }

  .projects-filter-bar {
    gap: 6px;
    margin-bottom: 24px;
  }

  .filter-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .filter-count {
    padding: 2px 5px;
    font-size: 0.7rem;
  }

  .edu-heading-row {
    flex-direction: column;
    gap: 8px;
  }

  .resume-action-col {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .resume-action-col .btn {
    width: 100%;
    justify-content: center;
  }

  .project-actions {
    flex-direction: column;
    gap: 8px;
  }

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

  .contact-info-card,
  .contact-form-card {
    padding: 20px 14px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .contact-method-item {
    padding: 10px 12px;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .method-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .method-label {
    font-size: 0.7rem;
  }

  .method-value {
    font-size: 0.84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .copy-inline-btn,
  .open-external-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .social-circle-btn {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }

  .form-submit-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .form-submit-row .btn,
  .form-submit-row .btn-whatsapp,
  .form-submit-row .btn-telegram {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
  }

  .form-delivery-note {
    font-size: 0.78rem;
    padding: 10px 12px;
  }
}

@media (max-width: 440px) {
  .logo-name {
    font-size: 1.1rem;
  }

  .nav-actions {
    gap: 6px;
  }

  .social-icon-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .theme-toggle-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .mobile-toggle-btn {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .stat-card {
    padding: 8px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
  }

  .avatar-card-wrapper {
    max-width: 270px;
  }

  .avatar-image-container {
    width: 130px;
    height: 130px;
  }

  .about-photo-card {
    max-width: 250px;
    padding: 18px 14px;
  }

  .about-photo-frame {
    width: 120px;
    height: 120px;
  }
}
