@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary: #2563eb;
  --primary-glow: #1d4ed8;
  --accent: #00f2fe;
  --bg-dark: #0a0a0c;
  --text-main: #f8f9fa;
  --text-muted: #a0a0a5;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(12px);

  /* Spacing & Borders */
  --radius-lg: 24px;
  --radius-md: 12px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* Modern Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-4 {
  gap: 4rem;
}

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

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

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

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-padding {
  padding: 8rem 2rem;
}

/* Section Spacing */
.wv-spacer .inner {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Enhanced Animations */
.animate-fade-up,
.glass-card,
.section-heading {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Staggered Delays for Cards */
.grid-auto-fit .glass-card:nth-child(1) {
  transition-delay: 0.1s;
}

.grid-auto-fit .glass-card:nth-child(2) {
  transition-delay: 0.2s;
}

.grid-auto-fit .glass-card:nth-child(3) {
  transition-delay: 0.3s;
}

/* Components */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  text-shadow: 0 0 10px var(--accent);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.mobile-menu-list {
  list-style: none;
  text-align: center;
  padding: 0;
}

.mobile-nav-link {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--accent);
}

.no-scroll {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: white;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.5);
}

.btn-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: white;
  backdrop-filter: var(--glass-blur);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: var(--primary-glow);
}

/* Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  height: 100%;
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Sections */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.2), transparent 40%),
    radial-gradient(circle at bottom left, rgba(29, 78, 216, 0.1), var(--bg-dark));
  padding-top: var(--header-height);
}

.hero-visual {
  position: relative;
  perspective: 1000px;
}

.hero-glow {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(100px);
  opacity: 0.3;
  background: var(--accent);
  z-index: 1;
}

.hero-img {
  position: relative;
  z-index: 2;
  width: 100%;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-visual:hover .hero-img {
  transform: rotateY(0) rotateX(0);
}

/* Pricing */
.pricing-card.featured {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: var(--radius-md);
  color: white;
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.site-footer {
  background: #050507;
  border-top: 1px solid var(--glass-border);
  padding: 6rem 0 2rem;
}

.social-links a {
  color: var(--text-muted);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-padding {
    padding: 4rem 1.5rem;
  }

  .grid-auto-fit {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }

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

  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 6rem;
    min-height: auto;
  }

  .hero-visual {
    margin-bottom: 2rem;
    width: 100%;
  }

  .hero-img {
    max-width: 80%;
  }

  .flex.gap-4 {
    flex-direction: column;
    gap: 2rem;
  }

  .glass-card {
    padding: 1.5rem;
  }
}