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

:root {
  --bg-darker: #000000;
  --bg: #050505;
  --bg-light: #1a1a1a;
  --bg-lighter: #2a2a2a;
  --fg: #ffffff;
  --fg-muted: #808080;
  --accent: #ff3c00;
  --accent-light: #ff7a4d;
  --accent-glow: rgba(255, 60, 0, 0.15);
  --gold: #ffcc00;
  --cyan: #d4d4d4;
}

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

::selection {
  background: var(--accent);
  color: var(--fg);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-darker);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--accent);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--fg);
  font-weight: 800;
  font-size: 1.25rem;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 160px 2rem 100px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--fg);
}

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

.btn-secondary {
  background: var(--bg-light);
  color: var(--fg);
  border: 1px solid var(--bg-lighter);
}

.btn-secondary:hover {
  background: var(--bg-lighter);
  transform: translateY(-2px);
}

.btn-secondary img,
.btn-primary img {
  width: 18px;
  height: 18px;
}

/* Preview */
.preview-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 80px var(--accent-glow);
  animation: float 6s ease-in-out infinite;
}

.preview-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, var(--accent-glow), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.preview-container img {
  width: 100%;
  display: block;
}

/* Features */
.features {
  padding: 100px 2rem;
  background: linear-gradient(to bottom, transparent, var(--bg), transparent);
  position: relative;
  z-index: 1;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--fg);
}

.features-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-light);
  border: 1px solid var(--bg-lighter);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 40px var(--accent-glow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 300;
  border-top: 1px solid var(--bg-light);
  position: relative;
  z-index: 1;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 400;
}

footer a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotateX(0);
  }
  50% {
    transform: translateY(-8px) rotateX(2deg);
  }
}

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

.feature-card {
  animation: fadeUp 0.6s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

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

  .hero {
    padding: 120px 1.5rem 60px;
  }

  .features {
    padding: 60px 1.5rem;
  }

  .features h2 {
    font-size: 2rem;
  }

  .header-inner {
    padding: 0 1rem;
  }

  nav {
    gap: 1rem;
  }

  .preview-container {
    max-width: 100%;
  }
}
