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

:root {
  --color-base: #0A0A0A;
  --color-base-light: #1C1C1E;
  --color-base-muted: #2A2A2A;
  --color-accent: #FF6A00;
  --color-white: #FFFFFF;
  color-scheme: dark;
}

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

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-base);
  color: var(--color-white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

::selection {
  background: rgba(255, 106, 0, 0.4);
  color: #fff;
}

/* Digital Grid Background */
.digital-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px;
  animation: gridDrift 14s linear infinite;
}

.minecraft-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px),
    linear-gradient(135deg, rgba(255, 106, 0, 0.3), transparent);
  background-size: 24px 24px, 400px 400px;
  animation: gridDrift 12s linear infinite;
}

@keyframes gridDrift {
  from {
    background-position: 0px 0px, 0px 0px;
  }
  to {
    background-position: 80px 80px, 80px 80px;
  }
}

/* Glow Effects */
.glow-dot {
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.7);
}

.shadow-glow {
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.45);
}

/* Animations */
@keyframes pulseSlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.animate-pulse-slow {
  animation: pulseSlow 3s ease-in-out infinite;
}

/* Section Divider */
.section-divider {
  height: 64px;
  width: 100%;
  background: linear-gradient(120deg, rgba(10,10,10,1) 0%, rgba(28,28,30,1) 50%, rgba(10,10,10,1) 100%);
  transform: skewY(3deg);
}

.section-divider.reverse {
  transform: skewY(-3deg);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  transition: all 0.5s;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar-content {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.navbar-brand {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--color-white);
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (min-width: 1024px) {
  .navbar-nav {
    display: flex;
  }
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.btn-primary {
  border-radius: 9999px;
  border: 1px solid var(--color-accent);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.45);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background: var(--color-accent);
  color: #000;
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.7);
  transform: scale(1.05);
}

/* Container */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-base);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  animation: gridDrift 14s linear infinite;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 106, 0, 0.2), transparent 60%);
  opacity: 0.7;
}

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

/* Cards */
.card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.card-featured {
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.45);
  border-color: rgba(255, 106, 0, 0.4);
}

/* Pricing Cards */
.pricing-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  text-align: left;
  position: relative;
}

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

.pricing-card.featured {
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.45);
  border-color: rgba(255, 106, 0, 0.4);
}

/* Product Page Styles */
.product-hero {
  padding: 8rem 0 4rem;
  background: var(--color-base);
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
}

.product-specs {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.4);
}

.spec-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-value {
  font-weight: 600;
  color: var(--color-white);
}

/* Checkout Section */
.checkout-section {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  margin: 2rem 0;
}

.checkout-price {
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-white);
}

.checkout-price span {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.btn-checkout {
  width: 100%;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.45);
}

.btn-checkout:hover {
  box-shadow: 0 0 30px rgba(255, 106, 0, 0.7);
  transform: scale(1.02);
}

/* Stripe Placeholder */
.stripe-placeholder {
  margin: 2rem 0;
  padding: 2rem;
  border: 2px dashed rgba(255, 106, 0, 0.3);
  border-radius: 16px;
  background: rgba(255, 106, 0, 0.05);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  color: var(--color-white);
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

/* Footer */
.footer {
  background: #000;
  padding: 4rem 0 2rem;
}

.footer-content {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-brand {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}

/* Utilities */
.text-accent {
  color: var(--color-accent);
}

.text-muted {
  color: rgba(255, 255, 255, 0.6);
}

.bg-base {
  background: var(--color-base);
}

.bg-base-light {
  background: var(--color-base-light);
}

.section {
  padding: 6rem 0;
}

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

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

