/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #fffafa;
  --text-color: #111827;
}

.dark {
  --bg-color: #0f172a;
  --text-color: #f1f5f9;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Add top padding to account for fixed navbar */
main {
  padding-top: 4rem;
  min-height: calc(100vh - 4rem);
}

/* Smooth transitions for dark mode */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Navbar Component Styles */

.ui-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.dark .ui-navbar {
  background-color: rgba(15, 23, 42, 0.8);
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

.ui-navbar-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .ui-navbar-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-navbar-container {
    padding: 0 2rem;
  }
}

.ui-navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

/* Brand/Logo */
.ui-navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to right, #9333ea, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.ui-navbar-brand:hover {
  opacity: 0.8;
}

/* Desktop Navigation */
.ui-navbar-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .ui-navbar-desktop {
    display: flex;
  }
}

.ui-navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ui-navbar-link {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.dark .ui-navbar-link {
  color: #cbd5e1;
}

.ui-navbar-link:hover {
  color: #9333ea;
}

.dark .ui-navbar-link:hover {
  color: #c084fc;
}

.ui-navbar-link.active {
  color: #9333ea;
}

.dark .ui-navbar-link.active {
  color: #c084fc;
}

/* Icon Buttons */
.ui-navbar-icon-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: #f3f4f6;
  color: #374151;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark .ui-navbar-icon-btn {
  background-color: #1e293b;
  color: #cbd5e1;
}

.ui-navbar-icon-btn:hover {
  background-color: #e5e7eb;
}

.dark .ui-navbar-icon-btn:hover {
  background-color: #334155;
}

.ui-navbar-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Language Dropdown */
.ui-navbar-dropdown {
  position: relative;
}

.ui-navbar-lang-btn,
.ui-navbar-lang-btn-mobile {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background-color: #f3f4f6;
  color: #374151;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.dark .ui-navbar-lang-btn,
.dark .ui-navbar-lang-btn-mobile {
  background-color: #1e293b;
  color: #cbd5e1;
}

.ui-navbar-lang-btn:hover,
.ui-navbar-lang-btn-mobile:hover {
  background-color: #e5e7eb;
}

.dark .ui-navbar-lang-btn:hover,
.dark .ui-navbar-lang-btn-mobile:hover {
  background-color: #334155;
}

.ui-navbar-lang-btn-mobile {
  padding: 0.5rem;
}

.ui-navbar-lang-code {
  font-size: 0.875rem;
}

.ui-navbar-chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.ui-navbar-chevron.rotate {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.ui-navbar-dropdown-menu {
  position: absolute;
  right: 0;
  margin-top: 0.5rem;
  width: 12rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  z-index: 20;
}

.dark .ui-navbar-dropdown-menu {
  background-color: #1e293b;
  border-color: #334155;
}

.ui-navbar-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  color: #374151;
  text-decoration: none;
}

.dark .ui-navbar-dropdown-item {
  color: #cbd5e1;
}

.ui-navbar-dropdown-item:hover {
  background-color: #faf5ff;
}

.dark .ui-navbar-dropdown-item:hover {
  background-color: #334155;
}

.ui-navbar-dropdown-item.active {
  background-color: #faf5ff;
  color: #9333ea;
}

.dark .ui-navbar-dropdown-item.active {
  background-color: #334155;
  color: #c084fc;
}

.ui-navbar-flag {
  font-size: 1.25rem;
  line-height: 1;
}

.ui-navbar-lang-info {
  flex: 1;
}

.ui-navbar-lang-name {
  font-weight: 500;
}

.ui-navbar-lang-code-small {
  font-size: 0.75rem;
  color: #6b7280;
}

.dark .ui-navbar-lang-code-small {
  color: #94a3b8;
}

.ui-navbar-checkmark {
  color: #9333ea;
}

.dark .ui-navbar-checkmark {
  color: #c084fc;
}

/* Mobile Menu */
.ui-navbar-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .ui-navbar-mobile {
    display: none;
  }
}

.ui-navbar-menu-btn {
  padding: 0.5rem;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark .ui-navbar-menu-btn {
  color: #cbd5e1;
}

.ui-navbar-mobile-menu {
  display: block;
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .ui-navbar-mobile-menu {
    display: none;
  }
}

.ui-navbar-mobile-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
}

.dark .ui-navbar-mobile-link {
  color: #cbd5e1;
}

.ui-navbar-mobile-link:hover {
  color: #9333ea;
}

.dark .ui-navbar-mobile-link:hover {
  color: #c084fc;
}

.ui-navbar-mobile-link.active {
  color: #9333ea;
}

.dark .ui-navbar-mobile-link.active {
  color: #c084fc;
}

/* Alpine.js Transitions */
[x-cloak] {
  display: none !important;
}

/* Hero Section */
.ui-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}

/* Background Gradient */
.ui-hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #faf5ff, #fce7f3, #ffffff);
  z-index: -10;
  transition: background 0.3s;
}

:root.dark .ui-hero-bg-gradient {
  /* background: linear-gradient(to bottom right, #0f172a, #1e293b, #0f172a); */
  /* background: linear-gradient(to bottom right, #0f172a, #1e293b, #010714); */
  background: linear-gradient(to bottom right, #0f172a, #0b1321, #010714);
}

/* Animated Grid Pattern */
.ui-hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: -10;
  opacity: 0.03;
  background-image:
    linear-gradient(to right, #9333ea 1px, transparent 1px),
    linear-gradient(to bottom, #9333ea 1px, transparent 1px);
  background-size: 4rem 4rem;
}

:root.dark .ui-hero-grid-pattern {
  opacity: 0.05;
}

/* Floating Gradient Orbs */
.ui-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3rem);
  mix-blend-mode: multiply;
  opacity: 0.3;
  animation: pulse 3s ease-in-out infinite;
}

:root.dark .ui-hero-orb {
  mix-blend-mode: soft-light;
  opacity: 0.2;
}

.ui-hero-orb-1 {
  top: 5rem;
  right: 5rem;
  width: 24rem;
  height: 24rem;
  background-color: #d8b4fe;
}

:root.dark .ui-hero-orb-1 {
  background-color: rgba(147, 51, 234, 0.3);
}

.ui-hero-orb-2 {
  bottom: 5rem;
  left: 5rem;
  width: 24rem;
  height: 24rem;
  background-color: #fbcfe8;
  animation-delay: 1s;
}

:root.dark .ui-hero-orb-2 {
  background-color: rgba(219, 39, 119, 0.3);
}

.ui-hero-orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37.5rem;
  height: 37.5rem;
  background: linear-gradient(to right, #e9d5ff, #fbcfe8);
  animation-delay: 2s;
}

:root.dark .ui-hero-orb-3 {
  background: linear-gradient(to right, rgba(147, 51, 234, 0.2), rgba(219, 39, 119, 0.2));
  opacity: 0.1;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.4;
  }
}

:root.dark @keyframes pulse {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.3;
  }
}

/* Floating Icons */
.ui-hero-float-icon {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.ui-hero-float-icon-1 {
  top: 8rem;
  left: 10%;
}

.ui-hero-float-icon-2 {
  top: 12rem;
  right: 15%;
  animation-delay: 1s;
}

.ui-hero-float-icon-3 {
  bottom: 8rem;
  right: 10%;
  animation-delay: 2s;
}

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

.ui-hero-float-card {
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3e8ff;
}

:root.dark .ui-hero-float-card {
  background-color: rgba(15, 23, 42, 0.8);
  border-color: rgba(147, 51, 234, 0.5);
}

.ui-hero-float-card .ui-hero-icon {
  width: 2rem;
  height: 2rem;
  color: #9333ea;
}

:root.dark .ui-hero-float-card .ui-hero-icon {
  color: #c084fc;
}

/* Content Container */
.ui-hero-content {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .ui-hero-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-hero-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Badge */
.ui-hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, #9333ea, #db2777);
  color: white;
  border-radius: 9999px;
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.ui-hero-badge:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.ui-hero-badge-shine {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.7s;
}

.ui-hero-badge:hover .ui-hero-badge-shine {
  transform: translateX(100%);
}

.ui-hero-badge-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ui-hero-badge-pulse {
  position: relative;
  display: flex;
  height: 0.75rem;
  width: 0.75rem;
}

.ui-hero-badge-pulse-ring {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background-color: white;
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ui-hero-badge-pulse-dot {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  height: 0.75rem;
  width: 0.75rem;
  background-color: white;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Title */
.ui-hero-title {
  margin-bottom: 0rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ui-hero-title-greeting {
  display: block;
  font-size: 2.25rem;
  font-weight: normal;
  color: #4b5563;
  animation: fadeIn 0.8s ease-out;
}

:root.dark .ui-hero-title-greeting {
  color: #94a3b8;
}

@media (min-width: 640px) {
  .ui-hero-title-greeting {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .ui-hero-title-greeting {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .ui-hero-title-greeting {
    font-size: 4.5rem;
  }
}

.ui-hero-title-name {
  position: relative;
  top: -2rem;
  display: block;
  font-size: 3rem;
  background: linear-gradient(to right, #9333ea, #db2777, #9333ea);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.025em;
  animation: fadeIn 0.8s ease-out, gradient 3s linear infinite;
}

@media (min-width: 640px) {
  .ui-hero-title-name {
    font-size: 3.75rem;
  }
}

@media (min-width: 768px) {
  .ui-hero-title-name {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-hero-title-name {
    font-size: 6rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradient {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Description */
.ui-hero-description {
  position: relative;
  top: -1rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: #4b5563;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  /* line-height: 1.625; */
}

:root.dark .ui-hero-description {
  color: #cbd5e1;
}

.ui-hero-description p {
  margin: 0;
}

.ui-hero-highlight {
  color: #9333ea;
  font-weight: 600;
  text-decoration: underline;
  position: relative;
  z-index: 10;
}

:root.dark .ui-hero-highlight {
  color: #c084fc;
}

/* CTA Buttons */
.ui-hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.ui-hero-cta-primary,
.ui-hero-cta-secondary {
  font-size: 1.125rem;
  padding: 1.05rem 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.ui-hero-cta-primary {
  padding: 1.05rem 1.75rem;
}

.ui-hero-cta-primary:hover,
.ui-hero-cta-secondary:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.ui-hero-cta-primary {
  background: linear-gradient(to right, #9333ea, #db2777);
  color: #d7caca;
  font-weight: 600;
}

.ui-hero-cta-text {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ui-hero-cta-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
}

.ui-hero-cta-primary:hover .ui-hero-cta-icon {
  transform: translateX(0.25rem);
}

.ui-hero-cta-secondary:hover .ui-hero-cta-icon {
  transform: rotate(12deg);
}

.ui-hero-cta-primary-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #db2777, #9333ea);
  opacity: 0;
  transition: opacity 0.3s;
}

.ui-hero-cta-primary:hover .ui-hero-cta-primary-overlay {
  opacity: 1;
}

.ui-hero-cta-secondary {
  background-color: transparent;
  border: 2px solid #d1d5db;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

:root.dark .ui-hero-cta-secondary {
  border-color: #475569;
  color: #cbd5e1;
}

.ui-hero-cta-secondary:hover {
  border-color: #9333ea;
  color: #9333ea;
  background-color: #faf5ff;
}

:root.dark .ui-hero-cta-secondary:hover {
  border-color: #c084fc;
  color: #c084fc;
  background-color: rgba(147, 51, 234, 0.1);
}

/* Social Links */
.ui-hero-social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.ui-hero-social-link {
  padding: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid #e5e7eb;
  color: #374151;
  transition: all 0.3s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

:root.dark .ui-hero-social-link {
  background-color: rgba(30, 41, 59, 0.5);
  border-color: #475569;
  color: #cbd5e1;
}

.ui-hero-social-link:hover {
  border-color: #9333ea;
  background-color: white;
  color: #9333ea;
  transform: scale(1.1) translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

:root.dark .ui-hero-social-link:hover {
  border-color: #c084fc;
  background-color: #1e293b;
  color: #c084fc;
}

.ui-hero-social-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Scroll Indicator */
.ui-hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-25%);
  }
}

.ui-hero-scroll-outer {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid #9ca3af;
  border-radius: 9999px;
  padding: 0.25rem;
}

:root.dark .ui-hero-scroll-outer {
  border-color: #475569;
}

.ui-hero-scroll-inner {
  width: 0.375rem;
  height: 0.75rem;
  background-color: #9ca3af;
  border-radius: 9999px;
  margin: 0 auto;
  animation: pulse 2s ease-in-out infinite;
}

:root.dark .ui-hero-scroll-inner {
  background-color: #475569;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ui-hero-float-icon {
    display: none;
  }

  .ui-hero-orb {
    width: 16rem;
    height: 16rem;
  }

  .ui-hero-orb-3 {
    width: 24rem;
    height: 24rem;
  }
}

/* Experience Section */
.ui-experience-section {
  padding: 5rem 1rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .ui-experience-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-experience-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Header */
.ui-experience-section-header {
  margin-bottom: 3rem;
}

.ui-experience-section-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ui-experience-section-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .ui-experience-section-title {
    font-size: 1.5rem;
  }
}

.ui-experience-section-title-gradient {
  background: linear-gradient(to right, #9333ea, #db2777);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ui-experience-section-line {
  width: 5rem;
  height: 0.25rem;
  background: linear-gradient(to right, #9333ea, #db2777);
  border-radius: 9999px;
}

/* Download Button */
.ui-experience-section-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.25rem;
  padding: 0.5rem 1rem;
  border: 2px solid #d1d5db;
  background-color: #ffffff;
  color: #111827;
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.ui-experience-section-download-btn:hover {
  border-color: #9333ea;
  color: #9333ea;
  background-color: #faf5ff;
}

.ui-experience-section-download-btn:focus-visible {
  ring: 3px solid rgba(147, 51, 234, 0.2);
  border-color: #9333ea;
}

.ui-experience-section-download-btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.dark .ui-experience-section-download-btn {
  border-color: #475569;
  background-color: rgba(30, 41, 59, 0.3);
  color: #cbd5e1;
}

.dark .ui-experience-section-download-btn:hover {
  border-color: #a78bfa;
  color: #a78bfa;
  background-color: rgba(88, 28, 135, 0.3);
}

.ui-experience-section-download-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Card */
.ui-experience-section-card {
  display: block;
  border: 2px solid #cbcdd1ff;
  border-radius: 1rem;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.5rem;
}

.ui-experience-section-card:last-of-type {
  margin-bottom: 0;
}

:root.dark .ui-experience-section-card {
  background-color: #1e293b;
  border-color: #334155;
}

.ui-experience-section-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: #e9d5ff;
  transform: translateY(-2px);
}

:root.dark .ui-experience-section-card:hover {
  border-color: #581c87;
}

.ui-experience-section-card-content {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .ui-experience-section-card-content {
    padding: 2rem;
  }
}

/* Card Header */
.ui-experience-section-card-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .ui-experience-section-card-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.ui-experience-section-card-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ui-experience-section-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, #9333ea, #db2777);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.ui-experience-section-card:hover .ui-experience-section-card-icon {
  transform: scale(1.1);
}

.ui-experience-section-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.ui-experience-section-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #111827;
  transition: color 0.3s;
}

:root.dark .ui-experience-section-card-title {
  color: white;
}

.ui-experience-section-card:hover .ui-experience-section-card-title {
  color: #9333ea;
}

:root.dark .ui-experience-section-card:hover .ui-experience-section-card-title {
  color: #c084fc;
}

.ui-experience-section-card-company {
  color: #4b5563;
  margin: 0;
}

:root.dark .ui-experience-section-card-company {
  color: #cbd5e1;
}

/* Card Meta */
.ui-experience-section-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .ui-experience-section-card-meta {
    text-align: right;
  }
}

.ui-experience-section-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4b5563;
}

:root.dark .ui-experience-section-card-meta-item {
  color: #94a3b8;
}

.ui-experience-section-card-meta-icon {
  width: 1rem;
  height: 1rem;
}

/* Card Description */
.ui-experience-section-card-description {
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

:root.dark .ui-experience-section-card-description {
  color: #cbd5e1;
}

/* Tech Badges */
.ui-experience-section-card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ui-experience-section-card-tech-badge {
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.375rem;
  background-color: #e9e3f0ff;
  color: #7e22ce;
  transition: background-color 0.2s;
}

:root.dark .ui-experience-section-card-tech-badge {
  background-color: #3c0366;
  color: #e9d5ff;
}

.ui-experience-section-card-tech-badge:hover {
  background-color: #f3e8ff;
}

:root.dark .ui-experience-section-card-tech-badge:hover {
  background-color: rgba(88, 28, 135, 0.7);
}

/* Card Footer */
.ui-experience-section-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.3s;
}

:root.dark .ui-experience-section-card-footer {
  color: #64748b;
}

.ui-experience-section-card:hover .ui-experience-section-card-footer {
  color: #9333ea;
}

:root.dark .ui-experience-section-card:hover .ui-experience-section-card-footer {
  color: #c084fc;
}

.ui-experience-section-card-footer-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s;
}

.ui-experience-section-card:hover .ui-experience-section-card-footer-icon {
  transform: translateX(0.125rem);
}

/* Projects Section */
.ui-projects-section {
  padding: 5rem 1rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .ui-projects-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-projects-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Header */
.ui-projects-section-header {
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ui-projects-section-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .ui-projects-section-title {
    font-size: 1.5rem;
  }
}

.ui-projects-section-title-gradient {
  background: linear-gradient(to right, #9333ea, #db2777);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ui-projects-section-line {
  width: 5rem;
  height: 0.25rem;
  background: linear-gradient(to right, #9333ea, #db2777);
  border-radius: 9999px;
}

/* View All Button */
.ui-projects-section-view-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: transparent;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

:root.dark .ui-projects-section-view-all {
  border-color: #475569;
  color: #cbd5e1;
}

.ui-projects-section-view-all:hover {
  background-color: #f9fafb;
}

:root.dark .ui-projects-section-view-all:hover {
  background-color: #334155;
}

.ui-projects-section-view-all-icon {
  width: 1rem;
  height: 1rem;
}

.ui-projects-section-view-all-desktop {
  display: none;
}

@media (min-width: 640px) {
  .ui-projects-section-view-all-desktop {
    display: flex;
  }
}

/* Grid */
.ui-projects-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .ui-projects-section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Card */
.ui-projects-section-card {
  position: relative;
  border: 2px solid #cbcdd1ff;
  border-radius: 1rem;
  background-color: white;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}

/* Real anchor stretched over the whole card so clicking anywhere navigates,
   same pattern as .ui-projects-card-link on the /projects listing page. */
.ui-projects-section-card-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
}

:root.dark .ui-projects-section-card {
  background-color: #1e293b;
  border-color: #334155;
}

.ui-projects-section-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: #e9d5ff;
}

:root.dark .ui-projects-section-card:hover {
  border-color: #581c87;
}

/* Card Image */
.ui-projects-section-card-image-wrapper {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.ui-projects-section-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ui-projects-section-card:hover .ui-projects-section-card-image {
  transform: scale(1.1);
}

.ui-projects-section-card-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.ui-projects-section-card:hover .ui-projects-section-card-overlay {
  opacity: 0.2;
}

/* Gradient overlays */
.ui-projects-section-gradient-from-blue-500 {
  background: linear-gradient(to bottom right, #3b82f6, #06b6d4);
}

.ui-projects-section-gradient-from-purple-500 {
  background: linear-gradient(to bottom right, #a855f7, #ec4899);
}

.ui-projects-section-gradient-from-orange-500 {
  background: linear-gradient(to bottom right, #f97316, #ef4444);
}

.ui-projects-section-gradient-from-green-500 {
  background: linear-gradient(to bottom right, #22c55e, #10b981);
}

/* Card Content */
.ui-projects-section-card-content {
  padding: 1.5rem;
}

.ui-projects-section-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
}

:root.dark .ui-projects-section-card-title {
  color: white;
}

.ui-projects-section-card-description {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.5;
}

:root.dark .ui-projects-section-card-description {
  color: #cbd5e1;
}

/* Tags */
.ui-projects-section-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ui-projects-section-card-tag {
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.375rem;
  background-color: #e9e3f0ff;
  color: #7e22ce;
}

:root.dark .ui-projects-section-card-tag {
  background-color: #3c0366;
  color: #e9d5ff;
}

/* Actions */
.ui-projects-section-card-actions {
  display: flex;
  gap: 0.75rem;
  position: relative;
  z-index: 20;
}

.ui-projects-section-card-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

.ui-projects-section-card-btn-icon {
  width: 1rem;
  height: 1rem;
}

.ui-projects-section-card-btn-secondary {
  border: 1px solid #d1d5db;
  background-color: transparent;
  color: #374151;
}

:root.dark .ui-projects-section-card-btn-secondary {
  border-color: #475569;
  color: #cbd5e1;
}

.ui-projects-section-card-btn-secondary:hover {
  background-color: #f9fafb;
}

:root.dark .ui-projects-section-card-btn-secondary:hover {
  background-color: #334155;
}

.ui-projects-section-card-btn-primary {
  background: linear-gradient(to right, #9333ea, #db2777);
  color: white;
  border: none;
}

.ui-projects-section-card-btn-primary:hover {
  background: linear-gradient(to right, #7e22ce, #be185d);
}

/* Mobile View All */
.ui-projects-section-view-all-mobile {
  text-align: center;
}

.ui-projects-section-view-all-mobile-btn {
  width: 100%;
}

@media (min-width: 640px) {
  .ui-projects-section-view-all-mobile {
    display: none;
  }
}

/* Blog Preview Section */
.ui-blogs-section {
  padding: 5rem 1rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .ui-blogs-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-blogs-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Header */
.ui-blogs-section-header {
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ui-blogs-section-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .ui-blogs-section-title {
    font-size: 1.5rem;
  }
}

.ui-blogs-section-title-gradient {
  background: linear-gradient(to right, #9333ea, #db2777);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ui-blogs-section-line {
  width: 5rem;
  height: 0.25rem;
  background: linear-gradient(to right, #9333ea, #db2777);
  border-radius: 9999px;
}

/* View All Button */
.ui-blogs-section-view-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: transparent;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

:root.dark .ui-blogs-section-view-all {
  border-color: #475569;
  color: #cbd5e1;
}

.ui-blogs-section-view-all:hover {
  background-color: #f9fafb;
}

:root.dark .ui-blogs-section-view-all:hover {
  background-color: #334155;
}

.ui-blogs-section-view-all-icon {
  width: 1rem;
  height: 1rem;
}

.ui-blogs-section-view-all-desktop {
  display: none;
}

@media (min-width: 640px) {
  .ui-blogs-section-view-all-desktop {
    display: flex;
  }
}

/* Grid */
.ui-blogs-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .ui-blogs-section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Card */
.ui-blogs-section-card {
  display: block;
  border: 2px solid #cbcdd1ff;
  border-radius: 1rem;
  background-color: white;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  cursor: pointer;
  text-decoration: none;
}

:root.dark .ui-blogs-section-card {
  background-color: #1e293b;
  border-color: #334155;
}

.ui-blogs-section-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: #e9d5ff;
}

:root.dark .ui-blogs-section-card:hover {
  border-color: #581c87;
}

/* Card Image */
.ui-blogs-section-card-image-wrapper {
  position: relative;
  height: 14rem;
  overflow: hidden;
}

.ui-blogs-section-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ui-blogs-section-card:hover .ui-blogs-section-card-image {
  transform: scale(1.1);
}

/* Category Badge */
.ui-blogs-section-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #111827;
  font-weight: 500;
}

:root.dark .ui-blogs-section-card-category {
  background-color: rgba(30, 41, 59, 0.9);
  color: white;
}

/* Card Content */
.ui-blogs-section-card-content {
  padding: 1.5rem;
}

.ui-blogs-section-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
  transition: color 0.3s;
}

:root.dark .ui-blogs-section-card-title {
  color: white;
}

.ui-blogs-section-card:hover .ui-blogs-section-card-title {
  color: #9333ea;
}

:root.dark .ui-blogs-section-card:hover .ui-blogs-section-card-title {
  color: #c084fc;
}

.ui-blogs-section-card-excerpt {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.5;
}

:root.dark .ui-blogs-section-card-excerpt {
  color: #cbd5e1;
}

/* Metadata */
.ui-blogs-section-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #6b7280;
}

:root.dark .ui-blogs-section-card-meta {
  color: #94a3b8;
}

.ui-blogs-section-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.ui-blogs-section-card-meta-icon {
  width: 1rem;
  height: 1rem;
}

/* Mobile View All */
.ui-blogs-section-view-all-mobile {
  text-align: center;
}

.ui-blogs-section-view-all-mobile-btn {
  width: 100%;
}

@media (min-width: 640px) {
  .ui-blogs-section-view-all-mobile {
    display: none;
  }
}

/* Footer Section */
.ui-footer {
  background-color: #111827;
  color: white;
  padding: 3rem 1rem;
  transition: all 0.3s;
}

:root.dark .ui-footer {
  background-color: #020617;
}

@media (min-width: 640px) {
  .ui-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Container */
.ui-footer-container {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

/* Title */
.ui-footer-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .ui-footer-title {
    font-size: 2rem;
  }
}

/* Description */
.ui-footer-description {
  color: #9ca3af;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

:root.dark .ui-footer-description {
  color: #94a3b8;
}

/* CTA Button */
.ui-footer-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(to right, #9333ea, #db2777);
  border-radius: 0.5rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.ui-footer-cta:hover {
  background: linear-gradient(to right, #7e22ce, #be185d);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
}

/* Copyright */
.ui-footer-copyright {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #1f2937;
  color: #6b7280;
}

:root.dark .ui-footer-copyright {
  border-top-color: #1e293b;
  color: #64748b;
}

.ui-footer-copyright p {
  margin: 0;
  font-size: 0.875rem;
}

/* Contact Page */
.ui-contact-page {
  min-height: 100vh;
  padding-top: 5rem;
  background: linear-gradient(to bottom, white, #faf5ff, #fce7f3);
  transition: background 0.3s;
}

:root.dark .ui-contact-page {
  background: linear-gradient(to bottom, #0f172a, #1e293b, #0f172a);
}

/* Back Button */
.ui-contact-back-wrapper {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

@media (min-width: 640px) {
  .ui-contact-back-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-contact-back-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.ui-contact-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #4b5563;
  background-color: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  margin-left: -1rem;
}

:root.dark .ui-contact-back-button {
  color: #cbd5e1;
  border-color: #475569;
}

.ui-contact-back-button:hover {
  background-color: #f9fafb;
}

:root.dark .ui-contact-back-button:hover {
  background-color: #1e293b;
}

.ui-contact-back-icon {
  width: 1rem;
  height: 1rem;
}

/* Hero Section */
.ui-contact-hero {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 1rem;
}

.ui-contact-hero-title {
  margin-bottom: 1.5rem;
  font-size: 3rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .ui-contact-hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 768px) {
  .ui-contact-hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-contact-hero-title {
    font-size: 6rem;
  }
}

.ui-contact-hero-title-gradient {
  background: linear-gradient(to right, #9333ea, #db2777);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ui-contact-hero-subtitle {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .ui-contact-hero-subtitle {
    font-size: 1.5rem;
  }
}

:root.dark .ui-contact-hero-subtitle {
  color: #cbd5e1;
}

/* Contact Info Cards */
.ui-contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .ui-contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .ui-contact-info-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-contact-info-grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.ui-contact-info-card {
  padding: 2rem;
  text-align: center;
  background-color: white;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  transition: all 0.3s;
}

:root.dark .ui-contact-info-card {
  background-color: #1e293b;
  border-color: #334155;
}

.ui-contact-info-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: #e9d5ff;
}

:root.dark .ui-contact-info-card:hover {
  border-color: #581c87;
}

.ui-contact-info-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom right, #9333ea, #db2777);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-contact-info-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.ui-contact-info-title {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

:root.dark .ui-contact-info-title {
  color: white;
}

.ui-contact-info-link {
  font-size: 1.25rem;
  color: #9333ea;
  text-decoration: none;
  transition: color 0.3s;
  word-break: break-all;
}

:root.dark .ui-contact-info-link {
  color: #a855f7;
}

.ui-contact-info-link:hover {
  color: #db2777;
}

:root.dark .ui-contact-info-link:hover {
  color: #ec4899;
}

.ui-contact-info-text {
  font-size: 1.25rem;
  color: #4b5563;
}

.ui-contact-info-copy-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ui-contact-info-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  background-color: rgba(147, 51, 234, 0.1);
  border: none;
  border-radius: 0.375rem;
  color: #9333ea;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

:root.dark .ui-contact-info-copy-btn {
  color: #a855f7;
}

.ui-contact-info-copy-btn:hover {
  background-color: rgba(147, 51, 234, 0.18);
  color: #db2777;
}

:root.dark .ui-contact-info-copy-btn:hover {
  color: #ec4899;
}

.ui-contact-info-copy-btn svg {
  width: 1rem;
  height: 1rem;
}

:root.dark .ui-contact-info-text {
  color: #cbd5e1;
}

/* Content Grid */
.ui-contact-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

@media (min-width: 1024px) {
  .ui-contact-content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .ui-contact-content-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-contact-content-grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Contact Form Card */
.ui-contact-form-card {
  padding: 2rem;
  background-color: white;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
}

:root.dark .ui-contact-form-card {
  background-color: #1e293b;
  border-color: #334155;
}

.ui-contact-form-title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}

:root.dark .ui-contact-form-title {
  color: white;
}

/* Alert Messages */
.ui-contact-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.ui-contact-alert-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

:root.dark .ui-contact-alert-success {
  background-color: #14532d;
  color: #86efac;
  border-color: #166534;
}

.ui-contact-alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

:root.dark .ui-contact-alert-error {
  background-color: #7f1d1d;
  color: #fca5a5;
  border-color: #991b1b;
}

.ui-contact-alert-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.ui-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ui-contact-form-field {
  display: flex;
  flex-direction: column;
}

.ui-contact-form-label {
  margin-bottom: 0.5rem;
  color: #374151;
  font-weight: 500;
}

:root.dark .ui-contact-form-label {
  color: #cbd5e1;
}

.ui-contact-form-input,
.ui-contact-form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: white;
  color: #111827;
  transition: all 0.2s;
}

:root.dark .ui-contact-form-input,
:root.dark .ui-contact-form-textarea {
  background-color: #0f172a;
  border-color: #475569;
  color: white;
}

.ui-contact-form-input:focus,
.ui-contact-form-textarea:focus {
  outline: none;
  border-color: #9333ea;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.ui-contact-form-input:disabled,
.ui-contact-form-textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ui-contact-form-textarea {
  resize: vertical;
  min-height: 150px;
  font-family: inherit;
}

.ui-contact-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1.5rem 2rem;
  background: linear-gradient(to right, #9333ea, #db2777);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.ui-contact-form-submit:hover:not(:disabled) {
  background: linear-gradient(to right, #7e22ce, #be185d);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
}

.ui-contact-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ui-contact-form-submit-loading {
  pointer-events: none;
}

.ui-contact-form-submit-icon,
.ui-contact-form-submit-spinner {
  width: 1.25rem;
  height: 1.25rem;
}

.ui-contact-form-submit-spinner {
  animation: spin 1s linear infinite;
}

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

/* Sidebar */
.ui-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Social Card */
.ui-contact-social-card {
  padding: 2rem;
  background-color: white;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
}

:root.dark .ui-contact-social-card {
  background-color: #1e293b;
  border-color: #334155;
}

.ui-contact-social-title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}

:root.dark .ui-contact-social-title {
  color: white;
}

.ui-contact-social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ui-contact-social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.ui-contact-social-link:hover {
  background-color: #faf5ff;
}

:root.dark .ui-contact-social-link:hover {
  background-color: #334155;
}

.ui-contact-social-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom right, #9333ea, #db2777);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ui-contact-social-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.ui-contact-social-name {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

:root.dark .ui-contact-social-name {
  color: white;
}

.ui-contact-social-handle {
  color: #6b7280;
  font-size: 0.875rem;
}

:root.dark .ui-contact-social-handle {
  color: #94a3b8;
}

/* Availability Card */
.ui-contact-availability-card {
  padding: 2rem;
  background: linear-gradient(to bottom right, #9333ea, #db2777);
  border-radius: 1rem;
  border: 2px solid transparent;
}

.ui-contact-availability-title {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
}

.ui-contact-availability-description {
  color: #e9d5ff;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.ui-contact-availability-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Projects Page */
.ui-projects-page {
  min-height: 100vh;
  padding-top: 5rem;
  background: linear-gradient(to bottom, white, #faf5ff);
  transition: background 0.3s;
}

:root.dark .ui-projects-page {
  background: linear-gradient(to bottom, #0f172a, #1e293b);
}

/* Back Button */
.ui-projects-back-wrapper {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

@media (min-width: 640px) {
  .ui-projects-back-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-projects-back-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.ui-projects-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #4b5563;
  background-color: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  margin-left: -1rem;
}

:root.dark .ui-projects-back-button {
  color: #cbd5e1;
  border-color: #475569;
}

.ui-projects-back-button:hover {
  background-color: #f9fafb;
}

:root.dark .ui-projects-back-button:hover {
  background-color: #1e293b;
}

.ui-projects-back-icon {
  width: 1rem;
  height: 1rem;
}

/* Header */
.ui-projects-header {
  max-width: 80rem;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .ui-projects-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-projects-header {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.ui-projects-title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .ui-projects-title {
    font-size: 3rem;
  }
}

.ui-projects-title-gradient {
  background: linear-gradient(to right, #9333ea, #db2777);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ui-projects-description {
  color: #4b5563;
  max-width: 42rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

:root.dark .ui-projects-description {
  color: #cbd5e1;
}

.ui-projects-line {
  width: 5rem;
  height: 0.25rem;
  background: linear-gradient(to right, #9333ea, #db2777);
  border-radius: 9999px;
}

/* Projects Grid */
.ui-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

@media (min-width: 768px) {
  .ui-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ui-projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) {
  .ui-projects-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-projects-grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Project Card */
.ui-projects-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  background-color: white;
  overflow: hidden;
  transition: all 0.3s;
}

:root.dark .ui-projects-card {
  background-color: #1e293b;
  border-color: #334155;
}

.ui-projects-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: #e9d5ff;
}

:root.dark .ui-projects-card:hover {
  border-color: #581c87;
}

/* Real anchor stretched over the whole card so clicking anywhere navigates
   like a native link click (no JS). aria-hidden + tabindex="-1" in the
   markup keep it out of the accessibility tree and tab order - the visible
   "Details" button remains the one real accessible path to the same URL.
   The secondary (Code) button sits above it via z-index: 1. */
.ui-projects-card-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
}

/* Card Image */
.ui-projects-card-image-wrapper {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.ui-projects-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ui-projects-card:hover .ui-projects-card-image {
  transform: scale(1.1);
}

.ui-projects-card-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.ui-projects-card:hover .ui-projects-card-overlay {
  opacity: 0.2;
}

/* Gradient Overlays */
.ui-projects-gradient-from-blue-500 {
  background: linear-gradient(to bottom right, #3b82f6, #06b6d4);
}

.ui-projects-gradient-from-purple-500 {
  background: linear-gradient(to bottom right, #a855f7, #ec4899);
}

.ui-projects-gradient-from-orange-500 {
  background: linear-gradient(to bottom right, #f97316, #ef4444);
}

.ui-projects-gradient-from-green-500 {
  background: linear-gradient(to bottom right, #22c55e, #10b981);
}

.ui-projects-gradient-from-violet-500 {
  background: linear-gradient(to bottom right, #8b5cf6, #a855f7);
}

.ui-projects-gradient-from-emerald-500 {
  background: linear-gradient(to bottom right, #10b981, #14b8a6);
}

/* Card Content */
.ui-projects-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ui-projects-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
}

:root.dark .ui-projects-card-title {
  color: white;
}

.ui-projects-card-description {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.5;
  flex: 1;
}

:root.dark .ui-projects-card-description {
  color: #cbd5e1;
}

/* Tech Tags */
.ui-projects-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ui-projects-card-tag {
  padding: 0.25rem 0.75rem;
  background-color: #faf5ff;
  color: #7e22ce;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}

:root.dark .ui-projects-card-tag {
  background-color: rgba(139, 92, 246, 0.1);
  color: #c084fc;
}

/* Action Buttons */
.ui-projects-card-actions {
  display: flex;
  gap: 0.75rem;
  z-index: 20;
}

.ui-projects-card-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.ui-projects-card-button-secondary {
  background-color: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
}

:root.dark .ui-projects-card-button-secondary {
  border-color: #475569;
  color: #cbd5e1;
}

.ui-projects-card-button-secondary:hover {
  background-color: #f9fafb;
}

:root.dark .ui-projects-card-button-secondary:hover {
  background-color: #334155;
}

.ui-projects-card-button-primary {
  background: linear-gradient(to right, #9333ea, #db2777);
  color: white;
  border: none;
}

.ui-projects-card-button-primary:hover {
  background: linear-gradient(to right, #7e22ce, #be185d);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

.ui-projects-card-button-icon {
  width: 1rem;
  height: 1rem;
}

/* Blogs Page */
.ui-blogs-page {
  min-height: 100vh;
  padding-top: 5rem;
  background: linear-gradient(to bottom, white, #faf5ff);
  transition: background 0.3s;
}

:root.dark .ui-blogs-page {
  background: linear-gradient(to bottom, #0f172a, #1e293b);
}

/* Back Button */
.ui-blogs-back-wrapper {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

@media (min-width: 640px) {
  .ui-blogs-back-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-blogs-back-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.ui-blogs-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #4b5563;
  background-color: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  margin-left: -1rem;
}

:root.dark .ui-blogs-back-button {
  color: #cbd5e1;
  border-color: #475569;
}

.ui-blogs-back-button:hover {
  background-color: #f9fafb;
}

:root.dark .ui-blogs-back-button:hover {
  background-color: #1e293b;
}

.ui-blogs-back-icon {
  width: 1rem;
  height: 1rem;
}

/* Header */
.ui-blogs-header {
  max-width: 80rem;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .ui-blogs-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-blogs-header {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.ui-blogs-title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .ui-blogs-title {
    font-size: 3rem;
  }
}

.ui-blogs-title-gradient {
  background: linear-gradient(to right, #9333ea, #db2777);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ui-blogs-description {
  color: #4b5563;
  max-width: 42rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

:root.dark .ui-blogs-description {
  color: #cbd5e1;
}

.ui-blogs-line {
  width: 5rem;
  height: 0.25rem;
  background: linear-gradient(to right, #9333ea, #db2777);
  border-radius: 9999px;
}

/* Blogs Grid */
.ui-blogs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

@media (min-width: 768px) {
  .ui-blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ui-blogs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) {
  .ui-blogs-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-blogs-grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Blog Card */
.ui-blogs-card {
  display: flex;
  flex-direction: column;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  background-color: white;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
}

:root.dark .ui-blogs-card {
  background-color: #1e293b;
  border-color: #334155;
}

.ui-blogs-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: #e9d5ff;
}

:root.dark .ui-blogs-card:hover {
  border-color: #581c87;
}

/* Card Image */
.ui-blogs-card-image-wrapper {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.ui-blogs-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ui-blogs-card:hover .ui-blogs-card-image {
  transform: scale(1.1);
}

/* Category Badge */
.ui-blogs-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #111827;
  font-weight: 500;
}

:root.dark .ui-blogs-card-category {
  background-color: rgba(30, 41, 59, 0.9);
  color: white;
}

/* Card Content */
.ui-blogs-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ui-blogs-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
  transition: color 0.3s;
}

:root.dark .ui-blogs-card-title {
  color: white;
}

.ui-blogs-card:hover .ui-blogs-card-title {
  color: #9333ea;
}

:root.dark .ui-blogs-card:hover .ui-blogs-card-title {
  color: #c084fc;
}

.ui-blogs-card-excerpt {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.5;
  flex: 1;
}

:root.dark .ui-blogs-card-excerpt {
  color: #cbd5e1;
}

/* Card Bottom Section */
.ui-blogs-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Tags */
.ui-blogs-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ui-blogs-card-tag {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  background-color: #faf5ff;
  color: #7e22ce;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}

:root.dark .ui-blogs-card-tag {
  background-color: rgba(139, 92, 246, 0.1);
  color: #c084fc;
}

.ui-blogs-card-tag-icon {
  width: 0.75rem;
  height: 0.75rem;
}

/* Metadata */
.ui-blogs-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
}

:root.dark .ui-blogs-card-meta {
  border-color: #475569;
  color: #94a3b8;
}

.ui-blogs-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.ui-blogs-card-meta-icon {
  width: 1rem;
  height: 1rem;
}

/* Project Detail Page */
.ui-project-detail-page {
  min-height: 100vh;
  padding-top: 5rem;
  background: linear-gradient(to bottom, white, #faf5ff);
  transition: background 0.3s;
}

:root.dark .ui-project-detail-page {
  background: linear-gradient(to bottom, #0f172a, #1e293b);
}

/* Container */
.ui-project-detail-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .ui-project-detail-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-project-detail-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Back Button */
.ui-project-detail-back-wrapper {
  margin-bottom: 2rem;
}

.ui-project-detail-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #4b5563;
  background-color: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  margin-left: -1rem;
}

:root.dark .ui-project-detail-back-button {
  color: #cbd5e1;
  border-color: #475569;
}

.ui-project-detail-back-button:hover {
  background-color: #f9fafb;
}

:root.dark .ui-project-detail-back-button:hover {
  background-color: #1e293b;
}

.ui-project-detail-back-icon {
  width: 1rem;
  height: 1rem;
}

/* Hero Section */
.ui-project-detail-hero {
  margin-bottom: 3rem;
}

/* Tags */
.ui-project-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ui-project-detail-tag {
  padding: 0.25rem 0.75rem;
  background-color: #faf5ff;
  color: #7e22ce;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

:root.dark .ui-project-detail-tag {
  background-color: rgba(139, 92, 246, 0.1);
  color: #c084fc;
}

/* Title */
.ui-project-detail-title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .ui-project-detail-title {
    font-size: 3rem;
  }
}

.ui-project-detail-title-gradient {
  background: linear-gradient(to right, #9333ea, #db2777);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */
.ui-project-detail-description {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 2rem;
  max-width: 48rem;
}

@media (min-width: 768px) {
  .ui-project-detail-description {
    font-size: 1.25rem;
  }
}

:root.dark .ui-project-detail-description {
  color: #cbd5e1;
}

/* Action Buttons */
.ui-project-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ui-project-detail-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.ui-project-detail-button-icon {
  width: 1rem;
  height: 1rem;
}

.ui-project-detail-button-primary {
  background: linear-gradient(to right, #9333ea, #db2777);
  color: white;
  border: none;
}

.ui-project-detail-button-primary:hover {
  background: linear-gradient(to right, #7e22ce, #be185d);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

.ui-project-detail-button-secondary {
  background-color: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
}

:root.dark .ui-project-detail-button-secondary {
  border-color: #475569;
  color: #cbd5e1;
}

.ui-project-detail-button-secondary:hover {
  background-color: #f9fafb;
}

:root.dark .ui-project-detail-button-secondary:hover {
  background-color: #475569;
}

/* Stats Cards */
.ui-project-detail-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .ui-project-detail-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ui-project-detail-stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

:root.dark .ui-project-detail-stat-card {
  background-color: #1e293b;
  border-color: #334155;
}

.ui-project-detail-stat-icon {
  width: 2rem;
  height: 2rem;
  color: #9333ea;
  flex-shrink: 0;
}

:root.dark .ui-project-detail-stat-icon {
  color: #c084fc;
}

.ui-project-detail-stat-content {
  flex: 1;
}

.ui-project-detail-stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

:root.dark .ui-project-detail-stat-label {
  color: #94a3b8;
}

.ui-project-detail-stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

:root.dark .ui-project-detail-stat-value {
  color: white;
}

/* Project Image */
.ui-project-detail-image-wrapper {
  margin-bottom: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ui-project-detail-image {
  width: 100%;
  height: 25rem;
  object-fit: cover;
}

@media (min-width: 640px) {
  .ui-project-detail-image {
    height: 31.25rem;
  }
}

/* Content Grid */
.ui-project-detail-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .ui-project-detail-content {
    grid-template-columns: 2fr 1fr;
  }
}

/* Main Content */
.ui-project-detail-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ui-project-detail-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ui-project-detail-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}

:root.dark .ui-project-detail-section-title {
  color: white;
}

.ui-project-detail-section-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
}

:root.dark .ui-project-detail-section-text {
  color: #cbd5e1;
}

.ui-project-detail-section-text p {
  margin-bottom: 1rem;
}

.ui-project-detail-section-text p:last-child {
  margin-bottom: 0;
}

.ui-project-detail-section-text ul,
.ui-project-detail-section-text ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.ui-project-detail-section-text li {
  margin-bottom: 0.5rem;
}

.ui-project-detail-section-text strong {
  font-weight: 600;
  color: #111827;
}

:root.dark .ui-project-detail-section-text strong {
  color: white;
}

.ui-project-detail-section-text a {
  color: #9333ea;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.ui-project-detail-section-text a:hover {
  color: #db2777;
}

:root.dark .ui-project-detail-section-text a {
  color: #c084fc;
}

:root.dark .ui-project-detail-section-text a:hover {
  color: #f472b6;
}

.ui-project-detail-section-text code {
  background-color: #f3f4f6;
  color: #9d174d;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}

:root.dark .ui-project-detail-section-text code {
  background-color: #1e293b;
  color: #f472b6;
}

/* Sidebar */
.ui-project-detail-sidebar {
  position: relative;
}

.ui-project-detail-features-card {
  background-color: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .ui-project-detail-features-card {
    position: sticky;
    top: 6rem;
  }
}

:root.dark .ui-project-detail-features-card {
  background-color: #1e293b;
  border-color: #334155;
}

.ui-project-detail-features-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

:root.dark .ui-project-detail-features-title {
  color: white;
}

.ui-project-detail-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ui-project-detail-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1rem;
  color: #4b5563;
}

:root.dark .ui-project-detail-feature-item {
  color: #cbd5e1;
}

.ui-project-detail-feature-check {
  color: #9333ea;
  font-weight: bold;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

:root.dark .ui-project-detail-feature-check {
  color: #c084fc;
}

/* Divider */
.ui-project-detail-divider {
  width: 6rem;
  height: 0.25rem;
  background: linear-gradient(90deg, #9333ea 0%, #ec4899 100%);
  border-radius: 9999px;
  margin: 0 auto 3rem auto;
}

/* Extended Write-up (markdown) */
.ui-project-detail-writeup {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 3rem;
}

:root.dark .ui-project-detail-writeup {
  color: #cbd5e1;
}

.ui-project-detail-writeup figure {
  margin: 2rem 0;
}

.ui-project-detail-writeup h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

:root.dark .ui-project-detail-writeup h2 {
  color: white;
}

.ui-project-detail-writeup h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

:root.dark .ui-project-detail-writeup h3 {
  color: white;
}

.ui-project-detail-writeup p {
  margin-bottom: 1rem;
}

.ui-project-detail-writeup ul,
.ui-project-detail-writeup ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.ui-project-detail-writeup li {
  margin-bottom: 0.5rem;
}

.ui-project-detail-writeup strong {
  font-weight: 600;
  color: #111827;
}

:root.dark .ui-project-detail-writeup strong {
  color: white;
}

.ui-project-detail-writeup img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 2rem 0;
  display: block;
}

.ui-project-detail-writeup a {
  color: #9333ea;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.ui-project-detail-writeup a:hover {
  color: #db2777;
}

:root.dark .ui-project-detail-writeup a {
  color: #c084fc;
}

:root.dark .ui-project-detail-writeup a:hover {
  color: #f472b6;
}

.ui-project-detail-writeup code {
  background-color: #f3f4f6;
  color: #b11616;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: "Courier New", monospace;
}

:root.dark .ui-project-detail-writeup code {
  background-color: #1e293b;
  color: #f472b6;
}

.ui-project-detail-writeup pre {
  background-color: #1e293b;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  font-family: "Courier New", monospace;
  font-size: 1.25rem;
  line-height: 1.5;
}

.ui-project-detail-writeup pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
}

:root.dark .ui-project-detail-writeup pre code {
  background-color: transparent;
  color: inherit;
}

.ui-project-detail-writeup blockquote {
  border-left: 4px solid #9333ea;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6b7280;
}

:root.dark .ui-project-detail-writeup blockquote {
  border-color: #c084fc;
  color: #94a3b8;
}

/* CTA Section */
.ui-project-detail-cta {
  background: linear-gradient(to right, #9333ea, #db2777);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  color: white;
}

@media (min-width: 768px) {
  .ui-project-detail-cta {
    padding: 3rem;
  }
}

.ui-project-detail-cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.ui-project-detail-cta-description {
  font-size: 1rem;
  line-height: 1.75;
  color: #f3e8ff;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.ui-project-detail-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: #9333ea;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
}

.ui-project-detail-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Not Found */
.ui-project-detail-not-found {
  font-size: 1.25rem;
  color: #6b7280;
  text-align: center;
  padding: 3rem 0;
}

:root.dark .ui-project-detail-not-found {
  color: #94a3b8;
}

/* Blog Page (Single Post) */
.ui-blog-page {
  min-height: 100vh;
  padding-top: 5rem;
  background: linear-gradient(to bottom, white, #faf5ff);
  transition: background 0.3s;
}

:root.dark .ui-blog-page {
  background: linear-gradient(to bottom, #0f172a, #1e293b);
}

/* Container */
.ui-blog-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .ui-blog-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-blog-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Back Button */
.ui-blog-back-wrapper {
  margin-bottom: 2rem;
}

.ui-blog-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #4b5563;
  background-color: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  margin-left: -1rem;
}

:root.dark .ui-blog-back-button {
  color: #cbd5e1;
  border-color: #475569;
}

.ui-blog-back-button:hover {
  background-color: #f9fafb;
}

:root.dark .ui-blog-back-button:hover {
  background-color: #1e293b;
}

.ui-blog-back-icon {
  width: 1rem;
  height: 1rem;
}

/* Article Header */
.ui-blog-header {
  margin-bottom: 3rem;
}

/* Category Badge */
.ui-blog-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #faf5ff;
  color: #7e22ce;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

:root.dark .ui-blog-category {
  background-color: rgba(139, 92, 246, 0.1);
  color: #c084fc;
}

/* Title */
.ui-blog-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .ui-blog-title {
    font-size: 3rem;
  }
}

:root.dark .ui-blog-title {
  color: white;
}

/* Metadata */
.ui-blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: #6b7280;
}

:root.dark .ui-blog-meta {
  color: #94a3b8;
}

.ui-blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.ui-blog-meta-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Tags */
.ui-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ui-blog-tag {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  background-color: #faf5ff;
  color: #7e22ce;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

:root.dark .ui-blog-tag {
  background-color: rgba(139, 92, 246, 0.1);
  color: #c084fc;
}

.ui-blog-tag-icon {
  width: 0.75rem;
  height: 0.75rem;
}

/* Featured Image */
.ui-blog-image-wrapper {
  margin-bottom: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ui-blog-image {
  width: 100%;
  height: 25rem;
  object-fit: cover;
}

/* Article Content - Prose Styling */
.ui-blog-content {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 3rem;
}

:root.dark .ui-blog-content {
  color: #cbd5e1;
}

.ui-blog-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

:root.dark .ui-blog-content h2 {
  color: white;
}

.ui-blog-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

:root.dark .ui-blog-content h3 {
  color: white;
}

.ui-blog-content p {
  margin-bottom: 1rem;
}

.ui-blog-content ul,
.ui-blog-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.ui-blog-content li {
  margin-bottom: 0.5rem;
}

.ui-blog-content strong {
  font-weight: 600;
  color: #111827;
}

:root.dark .ui-blog-content strong {
  color: white;
}

.ui-blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 2rem 0;
  display: block;
}

.ui-blog-content figure {
  margin: 2rem 0;
}

.ui-blog-content figure svg {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.ui-blog-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  font-style: italic;
  color: #6b7280;
  margin-top: 0.75rem;
}

:root.dark .ui-blog-content figcaption {
  color: #94a3b8;
}

.ui-blog-content a {
  color: #9333ea;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.ui-blog-content a:hover {
  color: #db2777;
}

:root.dark .ui-blog-content a {
  color: #c084fc;
}

:root.dark .ui-blog-content a:hover {
  color: #f472b6;
}

.ui-blog-content code {
  background-color: #f3f4f6;
  color: #b11616;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: "Courier New", monospace;
}

:root.dark .ui-blog-content code {
  background-color: #1e293b;
  color: #f472b6;
}

.ui-blog-content pre {
  background-color: #1e293b;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  font-family: "Courier New", monospace;
  font-size: 1.25rem;
  line-height: 1.5;
}

.ui-blog-content pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
}

:root.dark .ui-blog-content pre code {
  background-color: transparent;
  color: inherit;
}

.ui-blog-content blockquote {
  border-left: 4px solid #9333ea;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6b7280;
}

:root.dark .ui-blog-content blockquote {
  border-color: #c084fc;
  color: #94a3b8;
}

/* Content Placeholder */
.ui-blog-placeholder {
  text-align: center;
  padding: 3rem 0;
  color: #6b7280;
}

:root.dark .ui-blog-placeholder {
  color: #94a3b8;
}

.ui-blog-placeholder-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

:root.dark .ui-blog-placeholder-title {
  color: white;
}

.ui-blog-placeholder-message {
  font-size: 1rem;
  line-height: 1.5;
}

/* CTA Section */
.ui-blog-cta {
  background: linear-gradient(to right, #9333ea, #db2777);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  color: white;
}

@media (min-width: 768px) {
  .ui-blog-cta {
    padding: 3rem;
  }
}

.ui-blog-cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.ui-blog-cta-description {
  font-size: 1rem;
  line-height: 1.75;
  color: #f3e8ff;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.ui-blog-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.ui-blog-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: #9333ea;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
}

.ui-blog-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Not Found */
.ui-blog-not-found {
  font-size: 1.25rem;
  color: #6b7280;
  text-align: center;
  padding: 3rem 0;
}

:root.dark .ui-blog-not-found {
  color: #94a3b8;
}

/* Syntax highlighting for code blocks in .ui-blog-content / .ui-project-detail-writeup.
   Targets highlight.js's token classes, applied server-side in markdown.service.ts.
   Code blocks always render on a fixed dark background regardless of site theme
   (see .ui-blog-content pre / .ui-project-detail-writeup pre), so these colors
   don't need separate light/dark variants. */

.hljs-keyword,
.hljs-selector-tag,
.hljs-section,
.hljs-link {
  color: #c084fc;
}

.hljs-string,
.hljs-title,
.hljs-name,
.hljs-type,
.hljs-attribute,
.hljs-symbol,
.hljs-bullet,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
  color: #f472b6;
}

.hljs-comment,
.hljs-quote,
.hljs-deletion,
.hljs-meta {
  color: #64748b;
}

.hljs-number,
.hljs-regexp,
.hljs-literal {
  color: #fbbf24;
}

.hljs-built_in,
.hljs-builtin-name {
  color: #60a5fa;
}

.hljs-tag {
  color: #e2e8f0;
}

.hljs-tag .hljs-name {
  color: #c084fc;
}

.hljs-tag .hljs-attr {
  color: #f472b6;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: 700;
}

/* Experience Detail Page Styles */

.ui-experience-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #faf5ff 0%, #fce7f3 50%, #ffffff 100%);
  padding-top: 6rem;
  padding-bottom: 3rem;
  transition: background-color 0.3s ease;
}

.dark .ui-experience-page {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.ui-experience-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .ui-experience-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ui-experience-container {
    padding: 0 2rem;
  }
}

/* Back Button */
.ui-experience-back-wrapper {
  margin-bottom: 2rem;
}

.ui-experience-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.95rem;
}

.ui-experience-back-button:hover {
  background-color: #faf5ff;
  color: #9333ea;
}

.dark .ui-experience-back-button:hover {
  background-color: #1e293b;
  color: #a78bfa;
}

.ui-experience-back-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Header */
.ui-experience-header {
  margin-bottom: 3rem;
}

.ui-experience-header-main {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ui-experience-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 25px -5px rgba(147, 51, 234, 0.3);
}

.ui-experience-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: white;
}

.ui-experience-header-content {
  flex: 1;
}

.ui-experience-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .ui-experience-title {
    font-size: 2.5rem;
  }
}

.ui-experience-title-gradient {
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ui-experience-company {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.dark .ui-experience-company {
  color: #cbd5e1;
}

.ui-experience-company a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.ui-experience-company a:hover {
  color: #9333ea;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dark .ui-experience-company a:hover {
  color: #c084fc;
}

.ui-experience-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-tertiary);
}

.ui-experience-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.ui-experience-meta-item svg {
  width: 1.25rem;
  height: 1.25rem;
}

.ui-experience-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

/* Technologies */
.ui-experience-technologies {
  margin-bottom: 2rem;
}

.ui-experience-technologies-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.ui-experience-technologies-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ui-experience-tech-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background-color: #faf5ff;
  color: #7e22ce;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.ui-experience-tech-badge:hover {
  background-color: #f3e8ff;
}

.dark .ui-experience-tech-badge {
  background-color: rgba(147, 51, 234, 0.15);
  color: #c4b5fd;
}

.dark .ui-experience-tech-badge:hover {
  background-color: rgba(147, 51, 234, 0.25);
}

.ui-experience-divider {
  width: 6rem;
  height: 0.25rem;
  background: linear-gradient(90deg, #9333ea 0%, #ec4899 100%);
  border-radius: 9999px;
}

/* Accomplishments */
.ui-experience-accomplishments {
  margin-bottom: 3rem;
}

.ui-experience-accomplishments-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.ui-experience-accomplishments-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Card */
.ui-experience-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.ui-experience-card:hover {
  border-color: #f3e8ff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dark .ui-experience-card {
  background-color: rgba(30, 41, 59, 0.5);
}

.dark .ui-experience-card:hover {
  border-color: rgba(147, 51, 234, 0.5);
}

.ui-experience-card-content {
  padding: 2rem;
}

/* Card Header */
.ui-experience-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ui-experience-card-icon {
  padding: 0.625rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.ui-experience-card-icon[data-index="0"] {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

.ui-experience-card-icon[data-index="1"] {
  background: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
}

.ui-experience-card-icon[data-index="2"] {
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

.ui-experience-card-icon[data-index="3"] {
  background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
}

.ui-experience-card-icon[data-index="4"] {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.ui-experience-card-icon[data-index="5"] {
  background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
}

.ui-experience-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.ui-experience-card-header-text {
  flex: 1;
}

.ui-experience-card-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.dark .ui-experience-card-title {
  color: #f8fafc;
}

.ui-experience-card-description {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* Card Sections */
.ui-experience-card-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-left: 3.5rem;
}

@media (max-width: 640px) {
  .ui-experience-card-sections {
    padding-left: 0;
  }
}

.ui-experience-card-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ui-experience-card-section-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #9333ea;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dark .ui-experience-card-section-title {
  color: #c084fc;
}

.ui-experience-card-section-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ui-experience-card-section-text p {
  margin-bottom: 1rem;
}

.ui-experience-card-section-text p:last-child {
  margin-bottom: 0;
}

.ui-experience-card-section-text strong {
  font-weight: 700;
  color: #111827;
}

.dark .ui-experience-card-section-text strong {
  color: #f8fafc;
}

.ui-experience-card-section-text code {
  background-color: #f1f5f9;
  color: #1f2937;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}

.dark .ui-experience-card-section-text code {
  background-color: #334155;
  color: #e2e8f0;
}

.ui-experience-card-section-text a {
  color: #db2777;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.ui-experience-card-section-text a:hover {
  color: #9333ea;
}

.dark .ui-experience-card-section-text a {
  color: #f472b6;
}

.dark .ui-experience-card-section-text a:hover {
  color: #c084fc;
}

/* Results List */
.ui-experience-card-results {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ui-experience-card-results li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.ui-experience-card-bullet {
  color: var(--text-tertiary);
  margin-top: 0.25rem;
}

/* Card Link */
.ui-experience-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: 1.5rem;
  margin-left: 3.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: none;
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.ui-experience-card-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(147, 51, 234, 0.4);
  filter: brightness(1.05);
}

.ui-experience-card-link:active {
  transform: translateY(0);
}

.ui-experience-card-link-icon {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 640px) {
  .ui-experience-card-link {
    margin-left: 0;
  }
}

/* Footer */
.ui-experience-footer {
  margin-top: 3rem;
  text-align: center;
}

.ui-experience-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
  color: white;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.ui-experience-cta-button:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.ui-experience-cta-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Not Found */
.ui-experience-not-found {
  text-align: center;
  font-size: 1.5rem;
  color: var(--text-secondary);
  padding: 4rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ui-experience-page {
    padding-top: 5rem;
  }

  .ui-experience-header-main {
    flex-direction: column;
  }

  .ui-experience-title {
    font-size: 1.5rem;
  }

  .ui-experience-company {
    font-size: 1.125rem;
  }

  .ui-experience-description {
    font-size: 1rem;
  }

  .ui-experience-card-content {
    padding: 1.5rem;
  }

  .ui-experience-card-header {
    flex-direction: column;
  }
}

/* Service Down page */
.service-down-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, #faf5ff 0%, rgba(252, 231, 243, 0.4) 50%, #ffffff 100%);
}

.dark .service-down-container {
  background: linear-gradient(to bottom right, #0f172a, #0b1321, #010714);
}

/* Theme toggle */
.service-down-theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
}

/* Background orbs */
.service-down-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.service-down-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.service-down-orb-1 {
  top: 5rem;
  left: 2.5rem;
  width: 24rem;
  height: 24rem;
  background-color: #d8b4fe;
  animation: service-down-orb-float 8s ease-in-out infinite;
}

.dark .service-down-orb-1 {
  background-color: rgba(147, 51, 234, 0.3);
}

.service-down-orb-2 {
  bottom: 5rem;
  right: 2.5rem;
  width: 24rem;
  height: 24rem;
  background-color: #fbcfe8;
  animation: service-down-orb-float 8s ease-in-out infinite 1s;
}

.dark .service-down-orb-2 {
  background-color: rgba(219, 39, 119, 0.3);
}

/* Card */
.service-down-card {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  width: 100%;
  padding: 2rem 1.75rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  animation: service-down-fade-in 0.6s ease-out;
}

.dark .service-down-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

@media (min-width: 768px) {
  .service-down-card {
    padding: 2.5rem;
  }
}

/* Icon */
.service-down-icon-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: service-down-scale-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.service-down-pulse-ring {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 7rem;
  height: 7rem;
  background: rgba(147, 51, 234, 0.25);
  border-radius: 50%;
  animation: service-down-pulse 1.5s ease-out infinite;
}

.service-down-icon-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(219, 39, 119, 0.2));
  filter: blur(40px);
  border-radius: 50%;
}

.service-down-icon {
  position: relative;
  background: linear-gradient(135deg, #9333ea 0%, #db2777 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  animation: service-down-wiggle 2s ease-in-out infinite;
}

.service-down-icon-svg {
  width: 4rem;
  height: 4rem;
  stroke: white;
  display: block;
}

/* Title */
.service-down-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  text-align: center;
  animation: service-down-fade-in 0.6s ease-out 0.3s both;
}

@media (min-width: 768px) {
  .service-down-title {
    font-size: 3rem;
  }
}

/* Subtitle */
.service-down-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
  text-align: center;
  animation: service-down-fade-in 0.6s ease-out 0.4s both;
}

.dark .service-down-subtitle {
  color: #94a3b8;
}

/* Alert */
.service-down-alert {
  background: linear-gradient(135deg, rgba(250, 245, 255, 0.8) 0%, rgba(252, 231, 243, 0.8) 100%);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(216, 180, 254, 0.5);
  animation: service-down-fade-in 0.6s ease-out 0.5s both;
}

.dark .service-down-alert {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.service-down-alert-text {
  color: #374151;
  line-height: 1.625;
  text-align: center;
  margin-bottom: 1rem;
}

.dark .service-down-alert-text {
  color: #cbd5e1;
}

/* Status indicator */
.service-down-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(254, 226, 226, 0.8);
  border-radius: 0.75rem;
  border: 1px solid rgba(252, 165, 165, 0.5);
}

.dark .service-down-status {
  background: rgba(127, 29, 29, 0.25);
  border: 1px solid rgba(185, 28, 28, 0.4);
}

.service-down-status-dot {
  width: 0.75rem;
  height: 0.75rem;
  background: #ef4444;
  border-radius: 50%;
  flex-shrink: 0;
  animation: service-down-pulse-dot 1.5s ease-in-out infinite;
}

.service-down-status-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin: 0;
}

.dark .service-down-status-text {
  color: #d1d5db;
}

.service-down-status-value {
  font-weight: 700;
  color: #dc2626;
}

.dark .service-down-status-value {
  color: #f87171;
}

/* Actions */
.service-down-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: service-down-fade-in 0.6s ease-out 0.6s both;
}

@media (min-width: 640px) {
  .service-down-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.service-down-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.service-down-btn:hover {
  transform: scale(1.05);
}

.service-down-btn:active {
  transform: scale(0.95);
}

.service-down-btn-primary {
  background: linear-gradient(to right, #9333ea, #db2777);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.4);
}

.service-down-btn-primary:hover {
  box-shadow: 0 20px 25px -5px rgba(147, 51, 234, 0.5);
}

.service-down-refresh-icon {
  animation: service-down-spin 2s linear infinite;
}

.service-down-btn-secondary {
  background-color: transparent;
  border: 2px solid #d1d5db;
  color: #374151;
}

.dark .service-down-btn-secondary {
  border-color: #475569;
  color: #cbd5e1;
}

.service-down-btn-secondary:hover {
  border-color: #9333ea;
  color: #9333ea;
  background-color: #faf5ff;
}

.dark .service-down-btn-secondary:hover {
  border-color: #c084fc;
  color: #c084fc;
  background-color: rgba(147, 51, 234, 0.1);
}

.service-down-arrow-icon {
  transition: transform 0.2s ease;
}

.service-down-btn-secondary:hover .service-down-arrow-icon {
  transform: translateX(-4px);
}

/* Contact */
.service-down-contact {
  text-align: center;
  animation: service-down-fade-in 0.6s ease-out 0.7s both;
}

.service-down-contact-title {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.dark .service-down-contact-title {
  color: #94a3b8;
}

.service-down-contact-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.service-down-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.dark .service-down-contact-link {
  background-color: rgba(30, 41, 59, 0.5);
  border-color: #475569;
  color: #cbd5e1;
}

.service-down-contact-link:hover {
  border-color: #9333ea;
  color: #9333ea;
  transform: scale(1.05);
}

.dark .service-down-contact-link:hover {
  border-color: #c084fc;
  color: #c084fc;
}

.service-down-contact-icon {
  flex-shrink: 0;
}

/* Animations */
@keyframes service-down-orb-float {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

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

@keyframes service-down-scale-in {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes service-down-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes service-down-wiggle {
  0% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-5deg) scale(1.05);
  }
  50% {
    transform: rotate(5deg) scale(1);
  }
  75% {
    transform: rotate(-5deg) scale(1.05);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

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

@keyframes service-down-pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.5;
  }
}

/* ===== Container ===== */
.not-found-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(250, 245, 255, 0.5) 50%,
    rgba(252, 231, 243, 0.4) 100%
  );
}

.dark .not-found-container {
  background: linear-gradient(to bottom right, #0f172a, #0b1321, #010714);
}

/* ===== Theme toggle ===== */
.not-found-theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
}

/* ===== Background orbs ===== */
.not-found-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.not-found-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.not-found-orb-1 {
  top: 80px;
  left: 40px;
  width: 288px;
  height: 288px;
  background: rgba(216, 180, 254, 0.3);
  animation: not-found-orb-1-anim 8s ease-in-out infinite;
}

.dark .not-found-orb-1 {
  background: rgba(147, 51, 234, 0.15);
}

.not-found-orb-2 {
  bottom: 80px;
  right: 40px;
  width: 384px;
  height: 384px;
  background: rgba(251, 207, 232, 0.3);
  animation: not-found-orb-2-anim 8s ease-in-out infinite;
}

.dark .not-found-orb-2 {
  background: rgba(219, 39, 119, 0.15);
}

.not-found-orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 384px;
  height: 384px;
  background: rgba(233, 213, 255, 0.2);
  animation: not-found-orb-3-anim 10s ease-in-out infinite;
}

.dark .not-found-orb-3 {
  background: rgba(147, 51, 234, 0.08);
}

/* ===== Floating elements ===== */
.not-found-floating {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  display: none;
}

@media (min-width: 1024px) {
  .not-found-floating {
    display: block;
  }
}

.not-found-float {
  position: absolute;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.15);
}

.dark .not-found-float {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(30, 41, 59, 0.4);
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.3);
}

.not-found-float-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-color);
}

.not-found-float-1 {
  top: 15%;
  left: 8%;
  animation: not-found-float 4s ease-in-out infinite;
  animation-delay: 0s;
}

.not-found-float-2 {
  top: 35%;
  left: 12%;
  animation: not-found-float 4s ease-in-out infinite;
  animation-delay: 0.2s;
}

.not-found-float-3 {
  top: 55%;
  left: 6%;
  animation: not-found-float 4s ease-in-out infinite;
  animation-delay: 0.4s;
}

.not-found-float-4 {
  top: 25%;
  right: 10%;
  animation: not-found-float 4s ease-in-out infinite;
  animation-delay: 0.1s;
}

.not-found-float-5 {
  top: 45%;
  right: 15%;
  animation: not-found-float 4s ease-in-out infinite;
  animation-delay: 0.3s;
}

.not-found-float-6 {
  top: 65%;
  right: 8%;
  animation: not-found-float 4s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* ===== Main content ===== */
.not-found-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  width: 100%;
  padding: 96px 24px;
  padding-top: 0 !important;
  text-align: center;
}

@media (min-width: 640px) {
  .not-found-content {
    padding: 128px 24px;
  }
}

@media (min-width: 1024px) {
  .not-found-content {
    padding: 160px 24px;
  }
}

/* ===== Badge ===== */
.not-found-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  animation: not-found-fade-down 0.5s ease-out both;
}

.not-found-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.1);
}

.dark .not-found-badge {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(30, 41, 59, 0.3);
}

.not-found-badge-icon {
  color: #9333ea;
  flex-shrink: 0;
}

.dark .not-found-badge-icon {
  color: #c084fc;
}

.not-found-badge-text {
  font-size: 0.875rem;
  color: #374151;
}

.dark .not-found-badge-text {
  color: #d1d5db;
}

/* ===== 404 Number ===== */
.not-found-number {
  font-size: 9rem;
  line-height: 1;
  font-weight: 800;
  margin: 0 0 24px 0;
  background: linear-gradient(to right, #9333ea, #db2777, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: not-found-scale-in 0.6s ease-out 0.1s both;
}

.dark .not-found-number {
  background: linear-gradient(to right, #c084fc, #f472b6, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (min-width: 640px) {
  .not-found-number {
    font-size: 12rem;
  }
}

@media (min-width: 1024px) {
  .not-found-number {
    font-size: 16rem;
  }
}

/* ===== Heading ===== */
.not-found-heading {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 24px 0;
  animation: not-found-fade-up 0.5s ease-out 0.2s both;
}

.not-found-heading-gradient {
  background: linear-gradient(to right, #9333ea, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark .not-found-heading-gradient {
  background: linear-gradient(to right, #c084fc, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (min-width: 640px) {
  .not-found-heading {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .not-found-heading {
    font-size: 3.75rem;
  }
}

/* ===== Description ===== */
.not-found-description {
  max-width: 672px;
  margin: 0 auto 48px auto;
  font-size: 1.25rem;
  line-height: 1.625;
  color: #4b5563;
  animation: not-found-fade-up 0.5s ease-out 0.3s both;
}

.dark .not-found-description {
  color: #cbd5e1;
}

/* ===== Action buttons ===== */
.not-found-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  animation: not-found-fade-up 0.5s ease-out 0.4s both;
}

@media (min-width: 640px) {
  .not-found-actions {
    flex-direction: row;
  }
}

.not-found-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.not-found-btn:hover {
  transform: scale(1.05);
}

.not-found-btn:active {
  transform: scale(0.95);
}

.not-found-btn-icon {
  flex-shrink: 0;
}

.not-found-btn-outline {
  border: 2px solid #d8b4fe;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  color: #9333ea;
}

.dark .not-found-btn-outline {
  border: 2px solid #6b21a8;
  background: rgba(30, 41, 59, 0.5);
  color: #c084fc;
}

.not-found-btn-outline:hover {
  background: rgba(250, 245, 255, 0.8);
}

.dark .not-found-btn-outline:hover {
  background: rgba(88, 28, 135, 0.2);
}

.not-found-btn-primary {
  background: linear-gradient(to right, #9333ea, #db2777);
  color: #ffffff;
  box-shadow:
    0 20px 25px -5px rgba(147, 51, 234, 0.3),
    0 8px 10px -6px rgba(219, 39, 119, 0.2);
}

.not-found-btn-primary:hover {
  color: white;
  background: linear-gradient(to right, #7e22ce, #be185d);
  box-shadow:
    0 25px 50px -12px rgba(147, 51, 234, 0.4),
    0 12px 20px -6px rgba(219, 39, 119, 0.3);
  text-decoration: none;
}

/* ===== Decorative bottom bars ===== */
.not-found-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 384px;
  margin: 80px auto 0 auto;
  animation: not-found-fade-bars 0.8s ease-out 0.6s both;
}

.not-found-bar {
  height: 8px;
  border-radius: 9999px;
}

.not-found-bar-1 {
  background: linear-gradient(to right, #d8b4fe, #9333ea);
}

.dark .not-found-bar-1 {
  background: linear-gradient(to right, #9333ea, #7e22ce);
}

.not-found-bar-2 {
  background: linear-gradient(to right, #f9a8d4, #db2777);
}

.dark .not-found-bar-2 {
  background: linear-gradient(to right, #db2777, #be185d);
}

.not-found-bar-3 {
  background: linear-gradient(to right, #e9d5ff, #c084fc);
}

.dark .not-found-bar-3 {
  background: linear-gradient(to right, #c084fc, #a855f7);
}

/* ===== Animations ===== */
@keyframes not-found-orb-1-anim {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

@keyframes not-found-orb-2-anim {
  0%,
  100% {
    transform: scale(1.2);
    opacity: 0.5;
  }
  50% {
    transform: scale(1);
    opacity: 0.3;
  }
}

@keyframes not-found-orb-3-anim {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.4;
  }
}

@keyframes not-found-float {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-10px);
  }
}

@keyframes not-found-fade-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes not-found-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes not-found-scale-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes not-found-fade-bars {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.3;
  }
}
