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

:root {
  --bg-darker: #06110C;
  --bg-dark: #0A1812;
  --bg: #0D1F17;
  --bg-light: #142C22;
  --bg-lighter: #1C3A2D;
  --fg: #F0F5F1;
  --fg-muted: #5A8F70;
  --cyan: #3ECF8E;
  --green: #33B074;
  --orange: #E8A84C;
  --pink: #CF6B8E;
  --purple: #9B8AE0;
  --red: #E05D57;
  --yellow: #E0D94C;
  --selection: #1C3A2D;
}

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

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(62, 207, 142, 0.06) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(155, 138, 224, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 24, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(62, 207, 142, 0.15);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.header-logo:hover {
  color: var(--cyan);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

nav a:hover {
  color: var(--cyan);
}

nav a.nav-highlight {
  color: var(--pink);
  font-weight: 600;
}

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

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 40%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.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;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: var(--bg-darker);
  box-shadow: 0 4px 20px rgba(62, 207, 142, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(62, 207, 142, 0.45);
  color: var(--bg-darker);
}

.btn-secondary {
  background: rgba(28, 58, 45, 0.5);
  color: var(--fg);
  border: 1px solid rgba(62, 207, 142, 0.25);
}

.btn-secondary:hover {
  background: rgba(28, 58, 45, 0.8);
  border-color: rgba(62, 207, 142, 0.5);
  color: var(--fg);
}

.btn-primary svg,
.btn-secondary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Preview */
.preview-container {
  max-width: 800px;
  margin: 3rem auto 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(62, 207, 142, 0.15);
  animation: float 6s ease-in-out infinite;
}

.preview-container::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: radial-gradient(ellipse at 50% 0%, rgba(62, 207, 142, 0.2), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

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

/* Features */
.features {
  padding: 100px 2rem;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
  position: relative;
  z-index: 1;
}

.features h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.feature-card {
  background: rgba(20, 44, 34, 0.5);
  border: 1px solid rgba(62, 207, 142, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 207, 142, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: rgba(62, 207, 142, 0.12);
  color: var(--cyan);
}

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

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

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

footer a {
  color: var(--cyan);
  font-weight: 600;
}

footer a:hover {
  color: var(--green);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.hero h1,
.hero p,
.cta-buttons {
  animation: fadeUp 0.8s ease-out forwards;
}

.hero p {
  animation-delay: 0.15s;
  animation-fill-mode: both;
}

.cta-buttons {
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 0 1rem;
  }

  nav {
    gap: 1rem;
  }

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

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .features {
    padding: 60px 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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