/* ============================================================
   STYLE.CSS - Premium Portfolio Experience
   Award-Winning Frontend Engine
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

::selection {
  background: var(--accent-primary);
  color: var(--text-inverse);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* ============================================================
   BACKGROUND SYSTEM - Living, Breathing Environment
   ============================================================ */

.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#particleCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 30%, var(--aurora-1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, var(--aurora-2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, var(--aurora-3) 0%, transparent 60%);
  animation: auroraDrift 20s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0% { transform: translateX(-5%) translateY(-3%) scale(1.1); opacity: 0.8; }
  50% { transform: translateX(3%) translateY(2%) scale(1.05); opacity: 1; }
  100% { transform: translateX(-2%) translateY(-1%) scale(1.15); opacity: 0.9; }
}

.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================================
   SKELETON LOADER
   ============================================================ */

.skeleton-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.skeleton-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.skeleton-prism {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: prismRotate 2s linear infinite, prismPulse 1.5s ease-in-out infinite;
  box-shadow: var(--shadow-glow);
}

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

@keyframes prismPulse {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.7; transform: scale(1.1) rotate(180deg); }
}

.skeleton-text {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================================
   NAVBAR - Floating Crystal Glass
   ============================================================ */

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-navbar);
  backdrop-filter: blur(var(--blur-lg)) saturate(1.8);
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(1.8);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  padding: 10px 24px;
  width: calc(100% - 64px);
  max-width: 1100px;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  background: var(--bg-glass-strong);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.1em;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-base);
}

.nav-logo:hover {
  color: var(--accent-primary);
  transform: scale(1.05);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
  border-radius: var(--radius-md);
  z-index: -1;
}

.nav-links a:hover {
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.nav-links a:hover::before {
  opacity: 1;
}

.nav-links a.active {
  color: var(--accent-primary);
  background: var(--bg-glass);
  box-shadow: var(--shadow-glow);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
}

.coffee-btn {
  font-size: 1.2rem !important;
  padding: 8px 12px !important;
}

.coffee-btn:hover {
  transform: translateY(-2px) rotate(5deg) !important;
}

.theme-toggle {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
}

.theme-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--accent-gradient);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 0;
}

.theme-toggle::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.4s ease;
  z-index: -1;
}

.theme-toggle:hover {
  color: var(--text-inverse);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow), 0 0 30px var(--accent-glow);
  transform: scale(1.15) rotate(10deg);
}

.theme-toggle:hover::before {
  width: 160%;
  height: 160%;
}

.theme-toggle:hover::after {
  opacity: 0.6;
}

.theme-toggle:active {
  transform: scale(0.95) rotate(0deg);
}

.theme-icon {
  display: inline-block;
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0 4px var(--accent-glow));
}

.theme-toggle:hover .theme-icon {
  transform: scale(1.2) rotate(-15deg);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.theme-toggle:active .theme-icon {
  transform: scale(0.9) rotate(5deg);
}

/* Premium theme toggle tooltip */
.theme-toggle {
  position: relative;
}

.theme-toggle::after {
  content: 'Theme Studio';
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 6px 12px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(var(--blur-md));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  box-shadow: var(--shadow-md);
  letter-spacing: 0.05em;
}

.theme-toggle:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

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

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* ============================================================
   THEME STUDIO - Floating Theme Switcher
   ============================================================ */

.theme-studio-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-studio-overlay.active {
  opacity: 1;
  visibility: visible;
}

.theme-studio {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(var(--blur-xl)) saturate(1.5);
  -webkit-backdrop-filter: blur(var(--blur-xl)) saturate(1.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-studio-overlay.active .theme-studio {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.theme-studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.theme-studio-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.theme-studio-close {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.theme-studio-close:hover {
  background: var(--accent-primary);
  color: var(--text-inverse);
  transform: rotate(90deg);
  border-color: var(--accent-primary);
}

.theme-studio-section {
  margin-bottom: 28px;
}

.theme-studio-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

@media (max-width: 768px) {
  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .theme-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.theme-preview-card {
  position: relative;
  padding: 14px 12px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-subtle);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition-base);
  overflow: hidden;
}

.theme-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 0;
}

.theme-preview-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.theme-preview-card:hover::before {
  opacity: 0.05;
}

.theme-preview-card.active {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-glow);
}

.theme-preview-card.active::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: var(--accent-primary);
  color: var(--text-inverse);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 2;
}

.theme-preview-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.theme-preview-color {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.theme-preview-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  text-align: center;
}

.theme-preview-mode {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  z-index: 10;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: 32px;
  box-shadow: var(--shadow-glow);
  animation: badgeFloat 3s ease-in-out infinite;
}

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

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulseRing 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

@keyframes pulseRing {
  0% { transform: scale(1); box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px transparent; }
  100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; }
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-name span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.hero-location svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-primary);
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS - Premium Liquid Glass
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  isolation: isolate;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-inverse);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.btn-secondary:hover {
  color: var(--text-inverse);
  border-color: var(--border-glow);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-view, .btn-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-view {
  background: var(--accent-gradient);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-view:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-code {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-code:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.btn:hover .wave {
  opacity: 1;
}

.whatsapp-btn {
  margin-top: 16px;
}

/* ============================================================
   SCROLL INDICATOR
   ============================================================ */

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  animation: scrollText 2s ease-in-out infinite;
}

@keyframes scrollText {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: var(--radius-full);
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: var(--radius-full);
  animation: mouseScroll 2s ease-in-out infinite;
}

@keyframes mouseScroll {
  0% { top: 8px; opacity: 1; }
  100% { top: 24px; opacity: 0; }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  backdrop-filter: blur(var(--blur-sm));
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  margin: 0 auto;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: var(--shadow-glow);
}

.section-divider::before { left: -16px; }
.section-divider::after { right: -16px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about {
  position: relative;
  z-index: 10;
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
}

.about-image-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity var(--transition-base);
  z-index: 1;
  pointer-events: none;
}

.about-image-frame:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.about-image-frame:hover::before {
  opacity: 0.15;
}

.about-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.about-image-frame:hover img {
  transform: scale(1.05);
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.highlight {
  color: var(--accent-primary);
  font-weight: 600;
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0.4;
  border-radius: var(--radius-full);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-glow);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-primary);
  margin-bottom: 8px;
  text-shadow: 0 0 20px var(--accent-glow);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================================================
   EDUCATION SECTION
   ============================================================ */

.education {
  position: relative;
  z-index: 10;
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.education-container {
  position: relative;
}

.education-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.education-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-glow);
}

.education-card:hover::before {
  transform: scaleY(1);
}

.education-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.education-content {
  flex: 1;
}

.education-degree {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.education-institution {
  font-size: 1rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.education-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.education-location svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-primary);
}

.education-status {
  margin-bottom: 16px;
}

.status-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-glow);
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glow);
}

.education-location-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.education-location-link:hover {
  gap: 12px;
  text-shadow: 0 0 10px var(--accent-glow);
}

.education-location-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.link-arrow {
  transition: transform var(--transition-fast);
}

.education-location-link:hover .link-arrow {
  transform: translateX(4px);
}

.education-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-gradient);
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
  animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { transform: scale(1.3); box-shadow: 0 0 0 8px transparent; }
}

.timeline-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  border-radius: var(--radius-full);
}

/* ============================================================
   SKILLS SECTION
   ============================================================ */

.skills {
  position: relative;
  z-index: 10;
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.skill-category {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.skill-category:hover::before {
  opacity: 1;
}

.skill-category:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-glow);
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.skill-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px var(--accent-glow));
  transition: transform var(--transition-bounce);
}

.skill-category:hover .skill-icon {
  transform: scale(1.2) rotate(-5deg);
}

.skill-category-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.skill-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.skill-tag:hover {
  color: var(--text-inverse);
  border-color: var(--border-glow);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

.skill-tag:hover::before {
  opacity: 1;
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */

.projects {
  position: relative;
  z-index: 10;
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Trust Section */
.trust-section {
  margin-bottom: 64px;
}

.trust-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(var(--blur-lg));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.trust-card:hover {
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--border-glow);
}

.trust-edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0.7;
}

.trust-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.trust-header {
  text-align: center;
  margin-bottom: 40px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.trust-pulse {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulseRing 2s ease-in-out infinite;
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.trust-divider {
  width: 40px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  margin: 0 auto;
}

.trust-identity {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.identity-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.identity-lang {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.identity-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
}

.trust-manifesto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.manifesto-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.manifesto-item:hover {
  transform: translateX(8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.manifesto-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.manifesto-item:hover .manifesto-icon {
  transform: scale(1.3) rotate(10deg);
}

.manifesto-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.trust-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-stat {
  padding: 20px;
  background: var(--bg-glass);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.trust-stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.trust-stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-primary);
  margin-bottom: 4px;
  text-shadow: 0 0 15px var(--accent-glow);
}

.trust-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Search */
.search-container {
  margin-bottom: 40px;
}

.search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.search-input {
  width: 100%;
  padding: 16px 48px 16px 52px;
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-base);
}

.search-input::placeholder {
  color: var(--text-muted);
}

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

.search-input:focus + .search-icon,
.search-wrapper:focus-within .search-icon {
  color: var(--accent-primary);
}

.search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  opacity: 0;
  visibility: hidden;
}

.search-clear.visible {
  opacity: 1;
  visibility: visible;
}

.search-clear:hover {
  color: var(--accent-primary);
  background: var(--bg-glass-hover);
}

.search-results-count {
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.no-results {
  text-align: center;
  padding: 60px 24px;
  display: none;
}

.no-results.visible {
  display: block;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.no-results h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-muted);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
  z-index: 1;
}

.project-card:hover::before {
  opacity: 0.5;
}

.project-card:hover {
  transform: translateY(-10px) rotate(0.5deg);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--border-glow);
}

.glow-orb {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.project-card:hover .glow-orb {
  opacity: 0.6;
}

.project-image {
  height: 180px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-image svg {
  width: 60px;
  height: 60px;
  stroke: var(--accent-primary);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.6;
  transition: all var(--transition-base);
}

.project-card:hover .project-image svg {
  transform: scale(1.1);
  opacity: 1;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.project-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.project-content {
  padding: 28px;
  position: relative;
  z-index: 2;
}

.project-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.project-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.project-tech span {
  padding: 4px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.project-card:hover .project-tech span {
  border-color: var(--border-glow);
  color: var(--accent-primary);
}

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

.project-badge {
  margin-top: 16px;
  padding: 8px 16px;
  background: var(--accent-glow);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  display: inline-block;
}

.project-note {
  margin-top: 12px;
  padding: 12px;
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-primary);
}

.project-note small {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   FOCUS SECTION
   ============================================================ */

.focus {
  position: relative;
  z-index: 10;
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.focus-item {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.focus-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.focus-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-glow);
}

.focus-item:hover::before {
  transform: scaleX(1);
}

.focus-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform var(--transition-bounce);
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.focus-item:hover .focus-icon {
  transform: scale(1.3) rotate(-5deg);
}

.focus-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.focus-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact {
  position: relative;
  z-index: 10;
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-container {
  perspective: 1000px;
}

.contact-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(var(--blur-lg));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.contact-card:hover::before {
  opacity: 0.5;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--border-glow);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-card > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.contact-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  transform: scaleY(0);
  transition: transform var(--transition-fast);
}

.contact-link:hover {
  color: var(--text-primary);
  transform: translateX(8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  background: var(--bg-glass-hover);
}

.contact-link:hover::before {
  transform: scaleY(1);
}

.contact-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
  transition: all var(--transition-fast);
}

.contact-link:hover svg {
  fill: var(--accent-primary);
  filter: drop-shadow(0 0 8px var(--accent-glow));
  transform: scale(1.2);
}

/* ============================================================
   COFFEE SECTION
   ============================================================ */

.coffee-section {
  position: relative;
  z-index: 10;
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.coffee-container {
  perspective: 1000px;
}

.coffee-intro-card,
.coffee-inquiry-card,
.coffee-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(var(--blur-lg));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.coffee-intro-card:hover,
.coffee-inquiry-card:hover,
.coffee-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--border-glow);
}

.coffee-intro-icon,
.coffee-inquiry-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  text-align: center;
  filter: drop-shadow(0 0 15px var(--accent-glow));
  animation: iconFloat 3s ease-in-out infinite;
}

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

.coffee-intro-card h3,
.coffee-inquiry-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 20px;
}

.coffee-intro-card p,
.coffee-inquiry-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.coffee-intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

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

.intro-stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.intro-stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-primary);
  margin-bottom: 4px;
  text-shadow: 0 0 15px var(--accent-glow);
}

.intro-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.inquiry-cta-text {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 24px 0;
}

.whatsapp-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Coffee Payment Card */
.coffee-card {
  text-align: center;
}

.edge-highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
}

.mouse-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.coffee-card:hover .mouse-glow {
  opacity: 0.4;
}

.coffee-flag {
  width: 80px;
  height: 50px;
  margin: 0 auto 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-glass);
}

.coffee-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coffee-messages {
  margin-bottom: 24px;
}

.coffee-msg {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.coffee-msg.kannada { color: var(--accent-primary); }
.coffee-msg.hindi { color: var(--accent-secondary); }
.coffee-msg.english { color: var(--text-muted); font-size: 0.9rem; }

.coffee-qr {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  padding: 16px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.coffee-qr:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-glow);
}

.coffee-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.coffee-instruction {
  margin-bottom: 24px;
}

.coffee-instruction p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.coffee-instruction strong {
  color: var(--accent-primary);
}

.coffee-footer {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.coffee-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

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

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  position: relative;
  z-index: 10;
  padding: 40px 24px;
  text-align: center;
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border-top: 1px solid var(--border-subtle);
  margin-top: 80px;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.heart {
  color: #ef4444;
  display: inline-block;
  animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
}

/* ============================================================
   ANIMATIONS - Section Reveals & Micro-interactions
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }
.stagger-9 { transition-delay: 0.9s; }
.stagger-10 { transition-delay: 1.0s; }
.stagger-11 { transition-delay: 1.1s; }
.stagger-12 { transition-delay: 1.2s; }
.stagger-13 { transition-delay: 1.3s; }
.stagger-14 { transition-delay: 1.4s; }
.stagger-15 { transition-delay: 1.5s; }
.stagger-16 { transition-delay: 1.6s; }
.stagger-17 { transition-delay: 1.7s; }
.stagger-18 { transition-delay: 1.8s; }
.stagger-19 { transition-delay: 1.9s; }
.stagger-20 { transition-delay: 2.0s; }
.stagger-21 { transition-delay: 2.1s; }
.stagger-22 { transition-delay: 2.2s; }
.stagger-23 { transition-delay: 2.3s; }
.stagger-24 { transition-delay: 2.4s; }
.stagger-25 { transition-delay: 2.5s; }
.stagger-26 { transition-delay: 2.6s; }
.stagger-27 { transition-delay: 2.7s; }
.stagger-28 { transition-delay: 2.8s; }
.stagger-29 { transition-delay: 2.9s; }
.stagger-30 { transition-delay: 3.0s; }
.stagger-31 { transition-delay: 3.1s; }
.stagger-32 { transition-delay: 3.2s; }
.stagger-33 { transition-delay: 3.3s; }
.stagger-34 { transition-delay: 3.4s; }
.stagger-35 { transition-delay: 3.5s; }

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent-primary);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

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

/* Magnetic hover effect base */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Glass shine effect */
.glass-shine {
  position: relative;
  overflow: hidden;
}

.glass-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.03) 40%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 60%,
    transparent 70%
  );
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.glass-shine:hover::after {
  transform: translateX(100%) rotate(45deg);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 32px);
    padding: 12px 20px;
    top: 12px;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: calc(100% - 32px);
    max-width: 400px;
    flex-direction: column;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(var(--blur-xl));
    -webkit-backdrop-filter: blur(var(--blur-xl));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 20px;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-xl);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav-links a {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

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

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .education-timeline {
    display: none;
  }

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

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

  .trust-manifesto {
    grid-template-columns: 1fr;
  }

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

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

  .coffee-intro-stats {
    grid-template-columns: 1fr;
  }

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

  .theme-studio {
    padding: 24px;
  }

  .contact-card {
    padding: 32px 24px;
  }

  .coffee-intro-card,
  .coffee-inquiry-card,
  .coffee-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .trust-footer {
    grid-template-columns: 1fr;
  }

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

  .hero-name {
    font-size: 2.2rem;
  }

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

/* Ultra-wide screens */
@media (min-width: 1920px) {
  .about,
  .skills,
  .projects,
  .focus,
  .contact,
  .coffee-section,
  .education {
    max-width: 1400px;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bg-overlay {
    animation: none;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .project-card,
  .skill-category,
  .focus-item,
  .stat-card,
  .contact-card,
  .education-card {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  .bg-canvas,
  .bg-overlay,
  .bg-noise,
  .navbar,
  .scroll-indicator,
  .theme-studio-overlay,
  .skeleton-loader {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
