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

:root {
  --bg-darker: #010508;
  --bg-dark: #030A0D;
  --bg: #051014;
  --bg-light: #0A1A20;
  --bg-lighter: #0D2424;
  --fg: #E8E8E8;
  --fg-muted: #7C3626;
  --accent-cyan: #2A7F7F;
  --accent-green: #3A9F7F;
  --accent-orange: #F47C20;
  --accent-pink: #FF6B4A;
  --accent-purple: #A85A3A;
  --accent-red: #E05545;
  --accent-yellow: #F4A020;
  --accent-cream: #B8856D;
}

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

::selection {
  background: var(--accent-orange);
  color: var(--bg-darker);
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(244, 124, 32, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 50%, rgba(42, 127, 127, 0.05) 0%, transparent 50%),
              radial-gradient(ellipse 50% 40% at 20% 80%, rgba(168, 90, 58, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ── Header ── */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 16, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--accent-orange);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

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

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

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

main {
  position: relative;
  z-index: 1;
  padding-top: 64px;
}

/* ── Hero ── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-pink) 30%, var(--accent-cream) 60%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 800px;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

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

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

.btn-primary {
  background: var(--accent-orange);
  color: var(--bg-darker);
  box-shadow: 0 4px 20px rgba(244, 124, 32, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244, 124, 32, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  border: 1px solid rgba(232, 232, 232, 0.15);
}

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

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

/* ── Preview ── */

.preview-container {
  position: relative;
  margin: 2rem auto 0;
  max-width: 720px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(244, 124, 32, 0.08);
  animation: float 6s ease-in-out infinite;
}

.preview-container::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 10%;
  width: 80%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(244, 124, 32, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

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

/* ── Features ── */

.features {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-dark) 50%, var(--bg) 100%);
  padding: 5rem 2rem;
  text-align: center;
}

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

.feature-card {
  background: rgba(10, 26, 32, 0.6);
  border: 1px solid rgba(232, 232, 232, 0.06);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(244, 124, 32, 0.12);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

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

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

/* ── Footer ── */

footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 300;
}

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

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

/* ── Animations ── */

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

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

/* ── Responsive ── */

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

  header .logo span {
    display: none;
  }

  .hero {
    padding: 4rem 1rem 2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .features {
    padding: 3rem 1rem;
  }

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

  .preview-container {
    margin: 1.5rem 1rem 0;
  }
}
