@import url('https://fonts.googleapis.com/css2?family=Bungee+Shade&family=Permanent+Marker&family=Space+Mono:wght@400;700&display=swap');

/* Custom cursor */
#cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-1) 0%, transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
  filter: blur(5px);
  opacity: 0.7;
}

body:active #cursor-follower {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--color-2) 0%, transparent 70%);
}

#grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at var(--grid-highlight-x) var(--grid-highlight-y), 
      rgba(255, 53, 94, 0.1) 0%, 
      transparent 20%);
  pointer-events: none;
  z-index: -1;
  --grid-highlight-x: -100px;
  --grid-highlight-y: -100px;
}

/* Background shapes */
.background-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  transition: transform 3s var(--transition-bounce);
  opacity: 0.3;
  filter: blur(2px);
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--color-1);
  top: 10%;
  left: 5%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: blob-morph 15s infinite ease-in-out alternate;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--color-2);
  bottom: 10%;
  right: 5%;
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  animation: blob-morph 12s infinite ease-in-out alternate-reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--color-3);
  top: 50%;
  right: 10%;
  border-radius: 50% 50% 70% 30% / 30% 30% 70% 70%;
  animation: blob-morph 18s infinite ease-in-out alternate;
}

.shape-4 {
  width: 250px;
  height: 250px;
  background: var(--color-5);
  bottom: 20%;
  left: 10%;
  border-radius: 30% 70% 30% 70% / 70% 30% 70% 30%;
  animation: blob-morph 20s infinite ease-in-out alternate-reverse;
}

.shape-5 {
  width: 180px;
  height: 180px;
  background: var(--color-4);
  top: 20%;
  right: 30%;
  border-radius: 60% 40% 40% 60% / 60% 40% 60% 40%;
  animation: blob-morph 15s infinite ease-in-out alternate;
}

/* Glitch text effect */
.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text.glitching {
  animation: text-glitch 0.3s infinite;
}

.glow-container {
  position: relative;
}

.glow-container::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background: radial-gradient(circle at 50% 50%, 
    rgba(255, 53, 94, 0.1) 0%, 
    transparent 70%);
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.glow-container:hover::before {
  opacity: 1;
}

:root {
  --color-1: #ff355e;
  --color-2: #14f5f0;
  --color-3: #ffcc00;
  --color-4: #07e833;
  --color-5: #8a2be2;
  --bg-dark: #191230;
  --bg-light: #f9f3ff;
  --text-light: #f9f3ff;
  --text-dark: #191230;
  --card-1: rgba(255, 53, 94, 0.1);
  --card-2: rgba(20, 245, 240, 0.1);
  --card-3: rgba(255, 204, 0, 0.1);
  --card-4: rgba(7, 232, 51, 0.1);
  --card-5: rgba(138, 43, 226, 0.1);
  --font-display: 'Bungee Shade', cursive;
  --font-title: 'Permanent Marker', cursive;
  --font-body: 'Space Mono', monospace;
  --transition-bounce: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  --transition-smooth: cubic-bezier(0.33, 1, 0.68, 1);
}

/* Advanced Animation Keyframes */
@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 5px var(--color-1)) brightness(1);
  }
  25% {
    filter: drop-shadow(0 0 15px var(--color-2)) brightness(1.2);
  }
  50% {
    filter: drop-shadow(0 0 25px var(--color-3)) brightness(1.5);
  }
  75% {
    filter: drop-shadow(0 0 15px var(--color-4)) brightness(1.2);
  }
}

@keyframes float-rotate {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-15px) rotate(5deg);
  }
  66% {
    transform: translateY(10px) rotate(-3deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  25% { transform: rotate(3deg) scale(1.05); }
  50% { transform: rotate(-3deg) scale(1.1); }
  75% { transform: rotate(3deg) scale(1.05); }
}

@keyframes text-glitch {
  0%, 100% { 
    text-shadow: 
      0.05em 0 0 var(--color-1),
      -0.05em -0.025em 0 var(--color-2),
      0.025em 0.025em 0 var(--color-4);
    transform: skew(0deg);
  }
  25% {
    text-shadow: 
      -0.05em 0 0 var(--color-5),
      0.025em -0.015em 0 var(--color-3),
      -0.05em -0.05em 0 var(--color-2);
    transform: skew(1deg);
  }
  50% {
    text-shadow: 
      0.025em 0.05em 0 var(--color-3),
      -0.05em 0 0 var(--color-4),
      0 -0.05em 0 var(--color-1);
    transform: skew(-1deg);
  }
  75% {
    text-shadow: 
      -0.05em -0.025em 0 var(--color-2),
      0.025em 0.025em 0 var(--color-5),
      -0.05em -0.05em 0 var(--color-3);
    transform: skew(2deg);
  }
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes blob-morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 50% 60% 30% 70% / 30% 40% 70% 60%;
  }
  75% {
    border-radius: 60% 40% 70% 30% / 70% 30% 50% 40%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

@keyframes shape-shift {
  0% {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  }
  25% {
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  }
  50% {
    clip-path: circle(50% at 50% 50%);
  }
  75% {
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  }
  100% {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  }
}

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

::selection {
  background: var(--color-1);
  color: var(--text-light);
  text-shadow: 2px 2px 0 var(--color-5);
}

html {
  height: 100%;
  scroll-behavior: smooth;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ff355e'><circle cx='12' cy='12' r='10' stroke='white' stroke-width='2'/></svg>") 12 12, auto;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-dark);
  background: 
    radial-gradient(circle at 20% 30%, var(--card-1) 0%, transparent 20%),
    radial-gradient(circle at 80% 20%, var(--card-3) 0%, transparent 20%),
    radial-gradient(circle at 40% 80%, var(--card-2) 0%, transparent 15%),
    radial-gradient(circle at 75% 60%, var(--card-5) 0%, transparent 15%),
    var(--bg-light);
  background-attachment: fixed;
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
  perspective: 1000px;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23191230' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E"),
    linear-gradient(45deg, transparent 0%, rgba(138, 43, 226, 0.05) 100%);
  z-index: -1;
  pointer-events: none;
}

.content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  transform-style: preserve-3d;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

.page-title {
  font-family: var(--font-display);
  font-size: 4rem;
  margin-bottom: 50px;
  color: var(--color-5);
  text-align: center;
  position: relative;
  display: inline-block;
  letter-spacing: 2px;
  transform: rotate(-2deg);
  animation: text-glitch 10s infinite alternate;
}

h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: var(--color-3);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100px;
  height: 8px;
  background: linear-gradient(90deg, var(--color-1), var(--color-3));
  border-radius: 4px;
  transform: skew(-20deg);
}

h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-1);
}

p {
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.8;
}

.highlight {
  position: relative;
  color: var(--color-4);
  font-weight: bold;
  display: inline-block;
  transform: rotate(-1deg);
  padding: 0 5px;
}

.highlight::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 10px;
  background-color: var(--color-3);
  bottom: 0;
  left: 0;
  z-index: -1;
  opacity: 0.5;
}

/* Header and Navigation */
header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  padding: 30px 0;
  border-bottom: 8px solid;
  border-image: linear-gradient(90deg, var(--color-1), var(--color-2), var(--color-3), var(--color-4), var(--color-5)) 1;
  transform-style: preserve-3d;
}

.logo-container {
  display: flex;
  align-items: center;
  transform: translateZ(20px);
  animation: float-rotate 8s infinite var(--transition-bounce);
}

.logo {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  animation: shape-shift 10s infinite alternate;
  filter: hue-rotate(0deg);
  transition: filter 0.5s var(--transition-bounce);
}

.logo:hover {
  filter: hue-rotate(180deg);
  animation: wiggle 0.8s var(--transition-bounce);
}

.site-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  font-weight: normal;
  white-space: nowrap;
}

.site-title span {
  display: inline-block;
  animation: pulse-glow 8s infinite alternate;
}

nav {
  transform: translateZ(10px);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

.nav-link {
  font-family: var(--font-title);
  color: var(--text-dark);
  text-decoration: none;
  padding: 10px 15px;
  position: relative;
  transition: all 0.3s var(--transition-bounce);
  z-index: 1;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--card-1);
  transform: skew(-10deg);
  z-index: -1;
  opacity: 0;
  transition: all 0.3s var(--transition-bounce);
}

.nav-link:hover {
  color: var(--color-1);
  transform: scale(1.1) translateY(-5px);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link.active {
  color: var(--color-1);
}

.nav-link.active::before {
  opacity: 1;
  background: var(--card-1);
  border-bottom: 3px solid var(--color-1);
}

.nav-link:nth-child(2n)::before { background: var(--card-2); }
.nav-link:nth-child(3n)::before { background: var(--card-3); }
.nav-link:nth-child(4n)::before { background: var(--card-4); }
.nav-link:nth-child(5n)::before { background: var(--card-5); }

.nav-link:nth-child(2n):hover { color: var(--color-2); }
.nav-link:nth-child(3n):hover { color: var(--color-3); }
.nav-link:nth-child(4n):hover { color: var(--color-4); }
.nav-link:nth-child(5n):hover { color: var(--color-5); }

.nav-link:nth-child(2n).active { color: var(--color-2); }
.nav-link:nth-child(3n).active { color: var(--color-3); }
.nav-link:nth-child(4n).active { color: var(--color-4); }
.nav-link:nth-child(5n).active { color: var(--color-5); }

.nav-link:nth-child(2n).active::before { background: var(--card-2); border-color: var(--color-2); }
.nav-link:nth-child(3n).active::before { background: var(--card-3); border-color: var(--color-3); }
.nav-link:nth-child(4n).active::before { background: var(--card-4); border-color: var(--color-4); }
.nav-link:nth-child(5n).active::before { background: var(--card-5); border-color: var(--color-5); }

/* Main Content */
main {
  min-height: 70vh;
  margin-bottom: 100px;
  position: relative;
  transform-style: preserve-3d;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  transform: translateZ(20px);
}

.section-header h2 {
  display: inline-block;
  padding: 0 20px;
  transform: rotate(-2deg);
}

.section-header p {
  max-width: 700px;
  margin: 20px auto;
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* Cards and Containers */
.card {
  position: relative;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  transition: all 0.4s var(--transition-bounce);
  overflow: hidden;
  transform-style: preserve-3d;
  transform: translateZ(0);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--color-1), var(--color-2), var(--color-3), var(--color-4), var(--color-5));
  background-size: 400% 400%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s var(--transition-smooth);
  animation: gradient-flow 10s ease infinite;
}

.card:hover {
  transform: translateZ(50px) scale(1.05) rotate(1deg);
  box-shadow: 
    0 10px 30px rgba(138, 43, 226, 0.2),
    0 0 0 2px rgba(255, 255, 255, 0.8);
}

.card:hover::before {
  opacity: 0.1;
}

.card:nth-child(1) { border-color: var(--color-1); }
.card:nth-child(2) { border-color: var(--color-2); }
.card:nth-child(3) { border-color: var(--color-3); }
.card:nth-child(4) { border-color: var(--color-4); }
.card:nth-child(5) { border-color: var(--color-5); }

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  transition: all 0.3s var(--transition-bounce);
  transform: translateZ(30px);
}

.card:nth-child(1) .card-icon { color: var(--color-1); }
.card:nth-child(2) .card-icon { color: var(--color-2); }
.card:nth-child(3) .card-icon { color: var(--color-3); }
.card:nth-child(4) .card-icon { color: var(--color-4); }
.card:nth-child(5) .card-icon { color: var(--color-5); }

.card:hover .card-icon {
  transform: translateZ(30px) scale(1.2) rotate(10deg);
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
  transform-style: preserve-3d;
}

/* Images and Media */
.content-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  transition: all 0.4s var(--transition-bounce);
  animation: blob-morph 10s infinite ease-in-out;
  transform: translateZ(40px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.content-image:hover {
  transform: translateZ(60px) scale(1.05);
  filter: 
    drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3)) 
    brightness(1.1);
}

.floating-element {
  animation: float-rotate 8s infinite ease-in-out;
}

/* Buttons and Links */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 1.1rem;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition-bounce);
  z-index: 1;
  transform: translateZ(20px);
}

.btn-primary {
  background: linear-gradient(45deg, var(--color-1), var(--color-5));
  color: var(--text-light);
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--color-3), var(--color-4));
  z-index: -1;
  transition: all 0.4s var(--transition-bounce);
  opacity: 0;
}

.btn-primary:hover {
  transform: translateZ(20px) scale(1.05) rotate(-2deg);
  box-shadow: 
    0 10px 25px rgba(138, 43, 226, 0.3),
    0 0 0 3px rgba(255, 53, 94, 0.3);
}

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

.btn-primary:active {
  transform: translateZ(20px) scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--color-3);
  border: 2px solid var(--color-3);
}

.btn-secondary:hover {
  background: var(--card-3);
  color: var(--color-3);
  transform: translateZ(20px) scale(1.05) rotate(2deg);
  box-shadow: 
    0 10px 25px rgba(255, 204, 0, 0.2),
    0 0 0 3px rgba(255, 204, 0, 0.3);
}

/* Forms and Inputs */
form {
  position: relative;
  z-index: 1;
}

.form-field {
  margin-bottom: 30px;
  position: relative;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all 0.3s var(--transition-bounce);
  transform-origin: left;
}

input, textarea {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(138, 43, 226, 0.2);
  border-radius: 10px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s var(--transition-smooth);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-1);
  box-shadow: 0 0 0 4px rgba(255, 53, 94, 0.2);
  background: white;
}

.form-field:hover label {
  color: var(--color-1);
  transform: scale(1.05);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button[type="submit"] {
  background: linear-gradient(45deg, var(--color-1), var(--color-5));
  color: var(--text-light);
  font-family: var(--font-title);
  font-size: 1.1rem;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s var(--transition-bounce);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--color-3), var(--color-4));
  z-index: -1;
  transition: all 0.4s var(--transition-bounce);
  opacity: 0;
}

button[type="submit"]:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 
    0 10px 25px rgba(138, 43, 226, 0.3),
    0 0 0 3px rgba(255, 53, 94, 0.3);
}

button[type="submit"]:hover::before {
  opacity: 1;
}

button[type="submit"]:active {
  transform: scale(0.98);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
}

.checkbox-field input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

/* Tags and Labels */
.tag {
  display: inline-block;
  background: var(--card-3);
  color: var(--color-3);
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-right: 8px;
  margin-bottom: 8px;
  transform: rotate(-2deg);
  transform-origin: center;
  transition: all 0.3s var(--transition-bounce);
}

.tag:hover {
  transform: rotate(2deg) scale(1.1);
  background: var(--card-5);
  color: var(--color-5);
}

/* Success Messages */
.success-message {
  background: rgba(7, 232, 51, 0.1);
  color: var(--color-4);
  padding: 25px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  animation: pulse-glow 6s infinite;
}

.success-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-4);
}

.success-icon {
  font-size: 2rem;
  color: var(--color-4);
  margin-bottom: 15px;
  animation: wiggle 2s infinite var(--transition-bounce);
}

/* Footer */
footer {
  text-align: center;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--color-1), var(--color-2), var(--color-3), var(--color-4), var(--color-5));
}

.footer-content {
  position: relative;
  z-index: 1;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--color-1), var(--color-5));
  opacity: 0;
  transition: all 0.3s var(--transition-bounce);
  z-index: -1;
}

.social-icon:hover {
  transform: rotate(15deg) scale(1.2);
}

.social-icon:hover::before {
  opacity: 1;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  margin-bottom: 80px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M321.39 56.44c58-10.79 114.16-30.13 172-41.86 82.39-16.72 168.19-17.73 250.45-.39C823.78 31 906.67 72 985.66 92.83c70.05 18.48 146.53 26.09 214.34 3V0H0v27.35a600.21 600.21 0 00321.39 29.09z' fill='%23ffffff' opacity='0.1'/%3E%3C/svg%3E");
  background-size: cover;
  z-index: -1;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 30px;
  transform: translateZ(40px);
}

.hero-description {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  transform: translateZ(20px);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  transform: translateZ(30px);
}

/* Features Section */
.features-section {
  position: relative;
  padding: 80px 0;
  margin-bottom: 80px;
  transform-style: preserve-3d;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, var(--card-2) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, var(--card-4) 0%, transparent 30%);
  z-index: -1;
  border-radius: 30px;
}

/* Showcase Section */
.showcase-section {
  position: relative;
  padding: 80px 0;
  margin-bottom: 80px;
  transform-style: preserve-3d;
}

.showcase-content {
  display: flex;
  align-items: center;
  gap: 50px;
  transform-style: preserve-3d;
}

.showcase-image, .showcase-details {
  flex: 1;
  transform-style: preserve-3d;
}

.feature-list {
  list-style: none;
  margin: 25px 0;
  font-weight: bold;
}

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
}

.feature-list i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--color-4);
  font-size: 1.2rem;
}

.tags {
  margin-top: 30px;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  margin-bottom: 80px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--card-1), var(--card-5));
  z-index: -1;
  border-radius: 30px;
}

.cta-content {
  position: relative;
  z-index: 1;
  transform: translateZ(20px);
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.cta-content p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 
    opacity 0.8s var(--transition-smooth), 
    transform 0.8s var(--transition-bounce);
}

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--color-1), var(--color-5));
  border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-title {
    font-size: 3rem;
  }
  
  .hero-tagline {
    font-size: 2.8rem;
  }
  
  .showcase-content {
    flex-direction: column;
  }
  
  .about-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .logo-container {
    margin-bottom: 10px;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .grid-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}