/* Gravex.app Landing Page Styles */

:root {
  --bg-color: #0d0e12;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent-color: #8b5cf6;
  /* Violet */
  --accent-glow: rgba(139, 92, 246, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-hover-bg: rgba(255, 255, 255, 0.08);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Gradients/Orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  z-index: -1;
}

.orb-1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  top: -20%;
  left: -10%;
  animation: float 20s infinite ease-in-out;
}

.orb-2 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  bottom: -10%;
  right: -10%;
  animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, 50px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Header */
header {
  padding: 2rem 0;
  display: flex;
  justify-content: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(to right, #fff, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Main Content */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: var(--card-hover-bg);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Product Section */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  margin-top: 2rem;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.arrow {
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card:hover .arrow {
  opacity: 1;
  transform: translateX(5px);
}

/* Footer */
footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Utilities */
.fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .orb-1,
  .orb-2 {
    opacity: 0.3;
  }
}