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

:root {
  /* Color Palette - Futuristic Theme */
  --primary-cyan: #00ccff;
  --primary-purple: #7b2ff7;
  --primary-green: #00ff88;
  --dark-bg: #0a0e27;
  --darker-bg: #050814;
  --card-bg: rgba(15, 23, 42, 0.8);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --glow-cyan: rgba(0, 204, 255, 0.5);
  --glow-purple: rgba(123, 47, 247, 0.5);
  --glow-green: rgba(0, 255, 136, 0.5);
}

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: var(--darker-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Language Toggle Button */
.language-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 60px;
  height: 40px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 204, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInDown 1s ease-out 0.2s both;
}

.language-toggle:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 30px var(--glow-cyan);
}

.language-toggle:active {
  transform: translateY(0) scale(0.98);
}

.flag-icon {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 4px;
  overflow: hidden;
}

/* Main Container */
.container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* Main Title */
.main-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary-cyan) 0%,
    var(--primary-purple) 50%,
    var(--primary-green) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Subtitle with Glitch Effect */
.subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  animation: fadeInUp 1s ease-out 0.5s both;
  color: var(--text-secondary);
}

.subtitle::before,
.subtitle::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.subtitle::before {
  animation: glitch-1 2.5s infinite;
  color: var(--primary-cyan);
  z-index: -1;
}

.subtitle::after {
  animation: glitch-2 2.5s infinite;
  color: var(--primary-purple);
  z-index: -2;
}

@keyframes glitch-1 {
  0%,
  100% {
    transform: translate(0);
    opacity: 0;
  }
  20% {
    transform: translate(-2px, 2px);
    opacity: 0.8;
  }
  21% {
    transform: translate(0);
    opacity: 0;
  }
}

@keyframes glitch-2 {
  0%,
  100% {
    transform: translate(0);
    opacity: 0;
  }
  60% {
    transform: translate(2px, -2px);
    opacity: 0.8;
  }
  61% {
    transform: translate(0);
    opacity: 0;
  }
}

/* Feature Pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.pill {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 204, 255, 0.3);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  animation: pillPop 0.5s ease-out both;
  animation-delay: calc(var(--delay, 0) * 0.1s);
  position: relative;
  overflow: hidden;
}

.pill::after {
  content: '→';
  position: absolute;
  right: 1rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--primary-cyan);
  font-weight: 700;
}

.pill:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 30px var(--glow-cyan);
  padding-right: 2.5rem;
}

.pill:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.pill-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes pillPop {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Plugin Showcase */
.plugin-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.plugin-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(123, 47, 247, 0.3);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.plugin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.plugin-card::after {
  content: 'Click to explore';
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  font-size: 0.75rem;
  color: #00ccff;
  opacity: 0;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plugin-card:hover::before {
  left: 100%;
}

.plugin-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--primary-purple);
  box-shadow: 0 20px 50px var(--glow-purple);
  padding-bottom: 3rem;
}

.plugin-card:hover::after {
  opacity: 0.7;
  transform: translateX(-50%) translateY(0);
}

.plugin-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-purple);
}

.plugin-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.plugin-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plugin-price {
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.3rem;
  font-family: 'Space Grotesk', sans-serif;
  margin-top: auto;
}

/* Project Overview */
.project-overview {
  width: 100%;
  max-width: 1000px;
  text-align: center;
  animation: fadeInUp 1s ease-out 1.3s both;
  margin: 2rem 0;
}

.overview-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(
    135deg,
    var(--primary-cyan),
    var(--primary-purple),
    var(--primary-green)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.overview-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  text-align: left;
}

.overview-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-item {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(0, 204, 255, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s ease;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.highlight-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.5s;
}

.highlight-item::after {
  content: '›';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) translateX(-5px);
  font-size: 1.5rem;
  color: var(--primary-cyan);
  opacity: 0;
  transition: all 0.3s ease;
  font-weight: 300;
}

.highlight-item:hover::before {
  left: 100%;
}

.highlight-item:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px var(--glow-cyan);
  padding-right: 3rem;
}

.highlight-item:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.highlight-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  color: var(--primary-cyan);
  filter: drop-shadow(0 0 10px var(--glow-cyan));
}

.highlight-icon svg {
  width: 100%;
  height: 100%;
}

.highlight-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.highlight-text strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
}

.highlight-text span {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Architecture Section */
.architecture-section {
  width: 100%;
  max-width: 1000px;
  animation: fadeInUp 1s ease-out 1.5s both;
  margin: 3rem 0;
}

.architecture-title {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  text-align: center;
}

.architecture-diagram {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(123, 47, 247, 0.3);
  border-radius: 20px;
  padding: 2rem;
  overflow-x: auto;
}

.architecture-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Tech Stack Section */
.tech-stack-section {
  width: 100%;
  max-width: 1200px;
  animation: fadeInUp 1s ease-out 1.7s both;
  margin: 3rem 0;
}

.tech-stack-title {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--primary-green);
  margin-bottom: 2rem;
  text-align: center;
}

.tech-categories {
  display: grid;
  gap: 1.5rem;
}

.tech-category {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.tech-category:hover {
  border-color: var(--primary-green);
  box-shadow: 0 10px 30px var(--glow-green);
}

.tech-category-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

/* Tech Stack */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  animation: fadeInUp 1s ease-out 1.5s both;
}

.tech-item {
  font-family: 'Space Grotesk', monospace;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: rgba(0, 204, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: rgba(0, 204, 255, 0.2);
  color: var(--primary-cyan);
  transform: translateY(-2px);
}

.tech-separator {
  color: var(--primary-cyan);
  opacity: 0.3;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.5rem;
  animation: fadeInUp 1s ease-out 1.7s both;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 204, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.social-link:hover {
  border-color: var(--primary-cyan);
  background: rgba(0, 204, 255, 0.1);
  color: var(--primary-cyan);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px var(--glow-cyan);
}

/* Stats Container */
.stats-container {
  display: flex;
  gap: 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 204, 255, 0.2);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  animation: fadeInUp 1s ease-out 1.1s both;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  width: 100%;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Space Grotesk', monospace;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  text-transform: uppercase;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .language-toggle {
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 34px;
  }

  .container {
    padding: 1.5rem 1rem;
    gap: 2rem;
    min-height: auto;
  }

  .main-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin-top: 2rem;
  }

  .subtitle {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
  }

  .feature-pills {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }

  .pill {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }

  .pill-icon {
    width: 1rem;
    height: 1rem;
  }

  .plugin-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0;
  }

  .plugin-card {
    padding: 1.25rem 1rem;
  }

  .plugin-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.5rem auto;
  }

  .plugin-name {
    font-size: 0.9rem;
  }

  .plugin-price {
    font-size: 1rem;
  }

  .overview-description {
    font-size: 1rem;
    text-align: center;
  }

  .overview-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .highlight-item {
    padding: 1.25rem;
  }

  .highlight-icon {
    width: 2rem;
    height: 2rem;
  }

  .architecture-diagram {
    padding: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .architecture-diagram svg {
    min-width: 320px;
    max-width: 100%;
  }

  .tech-category {
    padding: 1.25rem;
  }

  .tech-stack {
    gap: 0.5rem;
    font-size: 0.75rem;
    padding: 0 1rem;
  }

  .tech-item {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }

  .social-links {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .stats-container {
    position: static;
    transform: none;
    width: calc(100% - 2rem);
    max-width: 100%;
    margin: 2rem 1rem 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 15px;
  }

  .stat-item {
    padding: 0.75rem 0.5rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.6rem;
    margin-top: 0.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem 0.75rem;
    gap: 1.5rem;
  }

  .main-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .subtitle {
    font-size: 0.85rem;
  }

  .feature-pills {
    gap: 0.4rem;
  }

  .pill {
    padding: 0.4rem 0.7rem;
    font-size: 0.7rem;
  }

  .plugin-showcase {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .plugin-card {
    padding: 1.5rem 1rem;
  }

  .highlight-text strong {
    font-size: 1rem;
  }

  .highlight-text span {
    font-size: 0.85rem;
  }

  .architecture-diagram {
    padding: 0.25rem;
  }

  .architecture-diagram svg {
    min-width: 280px;
  }

  .tech-stack {
    gap: 0.4rem;
  }

  .tech-item {
    padding: 0.35rem 0.65rem;
    font-size: 0.7rem;
  }

  .social-link {
    width: 42px;
    height: 42px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .stats-container {
    grid-template-columns: 1fr 1fr;
    padding: 0.75rem;
    gap: 0.6rem;
    margin: 1.5rem 0.75rem 1.5rem 0.75rem;
    width: calc(100% - 1.5rem);
  }

  .stat-item {
    padding: 0.6rem 0.4rem;
  }

  .stat-value {
    font-size: 1.4rem;
  }

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

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  perspective: 1500px;
  max-width: 90%;
  width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 204, 255, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transform-style: preserve-3d;
  animation: flipIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes flipIn {
  0% {
    transform: rotateY(-90deg) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
}

.modal-overlay:not(.active) .modal-content {
  animation: flipOut 0.4s ease-in forwards;
}

@keyframes flipOut {
  0% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotateY(90deg) scale(0.8);
    opacity: 0;
  }
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 204, 255, 0.2);
}

.modal-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  filter: drop-shadow(0 0 10px var(--glow-cyan));
}

.modal-icon svg {
  width: 100%;
  height: 100%;
}

.modal-title {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-price {
  color: var(--primary-green);
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  margin-left: auto;
}

.modal-description {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-features {
  margin-bottom: 1.5rem;
}

.modal-features h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #22d3ee;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(0, 204, 255, 0.05);
  border: 1px solid rgba(0, 204, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(0, 204, 255, 0.1);
  border-color: rgba(0, 204, 255, 0.3);
  transform: translateX(5px);
}

.feature-check {
  color: var(--primary-green);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-text {
  flex: 1;
  color: #e2e8f0;
  line-height: 1.5;
}

.modal-tech-stack {
  margin-bottom: 1.5rem;
}

.modal-tech-stack h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: rgba(123, 47, 247, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #e2e8f0;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Space Grotesk', monospace;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(123, 47, 247, 0.3);
  border-color: #a78bfa;
  color: #ffffff;
  transform: scale(1.05);
}

.modal-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.modal-btn {
  flex: 1;
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.modal-btn-primary {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
  color: white;
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--glow-cyan);
}

.modal-btn-secondary {
  background: transparent;
  border: 2px solid rgba(34, 211, 238, 0.5);
  color: #22d3ee;
}

.modal-btn-secondary:hover {
  background: rgba(34, 211, 238, 0.15);
  border-color: #22d3ee;
}

.modal-close-hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
  .modal-container {
    max-width: 95%;
    max-height: 85vh;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .modal-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-price {
    margin-left: 0;
    font-size: 1.5rem;
  }

  .modal-description {
    font-size: 1rem;
  }

  .modal-features h3,
  .modal-tech-stack h3 {
    font-size: 1.1rem;
  }

  .feature-item {
    padding: 0.6rem;
  }

  .modal-cta {
    flex-direction: column;
  }

  .modal-btn {
    padding: 0.9rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 1.25rem;
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .modal-icon {
    width: 2rem;
    height: 2rem;
  }

  .feature-text {
    font-size: 0.9rem;
  }

  .tech-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-cyan), var(--primary-purple));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-purple), var(--primary-green));
}

/* Selection */
::selection {
  background: var(--primary-cyan);
  color: var(--darker-bg);
}

::-moz-selection {
  background: var(--primary-cyan);
  color: var(--darker-bg);
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 2rem 2rem 3rem 2rem;
  margin-top: auto;
  animation: fadeInUp 1s ease-out 1.9s both;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.footer-logo {
  text-decoration: none;
  transition: all 0.3s ease;
}

.huzk-logo {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(
    135deg,
    var(--primary-cyan) 0%,
    var(--primary-purple) 50%,
    var(--primary-green) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

.footer-logo:hover .huzk-logo {
  filter: drop-shadow(0 0 15px var(--glow-cyan));
  transform: scale(1.05);
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 1rem 2.5rem 1rem;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-text {
    font-size: 0.9rem;
  }

  .huzk-logo {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 1.25rem 0.75rem 2rem 0.75rem;
    gap: 1.25rem;
  }

  .footer-text {
    font-size: 0.85rem;
  }

  .huzk-logo {
    font-size: 1.2rem;
  }
}
