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

:root {
  --bg-darker:   #151413;
  --bg:          #191917;
  --bg-light:    #20201e;
  --bg-lighter:  #302d2b;
  --fg:          #f3f3f3;
  --fg-muted:    #5a5654;
  --accent:      #e95421;
  --accent-bright: #ff8142;
  --green:       #8fb04f;
  --teal:        #50cbc3;
  --purple:      #ad7fa8;
  --pink:        #e858bc;
  --yellow:      #f2c55c;
  --orange:      #f27e2a;
  --red:         #e85858;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  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(233, 84, 33, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 100%, rgba(173, 127, 168, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(25, 25, 23, 0.85);
  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 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

nav {
  display: flex;
  gap: 24px;
}

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

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

.page-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  text-align: center;
  padding: 140px 24px 80px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright), var(--orange), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  line-height: 1.15;
}

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

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--fg);
  box-shadow: 0 4px 20px rgba(233, 84, 33, 0.35);
}

.btn-primary:hover {
  background: var(--accent-bright);
  color: var(--fg);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(233, 84, 33, 0.5);
}

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

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

.btn-secondary svg {
  width: 20px;
  height: 20px;
}

.preview-container {
  max-width: 720px;
  margin: 48px auto 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 80px rgba(233, 84, 33, 0.08);
  animation: float 6s ease-in-out infinite;
}

.preview-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(233, 84, 33, 0.12) 0%, transparent 70%);
}

.preview-container img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

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

.features {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(21, 20, 19, 0.6) 30%, rgba(21, 20, 19, 0.6) 70%, transparent 100%);
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
}

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

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

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(233, 84, 33, 0.1);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.feature-card:nth-child(1) .feature-icon {
  background: rgba(233, 84, 33, 0.15);
  color: var(--accent);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(80, 203, 195, 0.15);
  color: var(--teal);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(143, 176, 79, 0.15);
  color: var(--green);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

.feature-card a {
  font-weight: 500;
}

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

footer a {
  color: var(--accent);
  font-weight: 500;
}

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

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

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

.hero p { animation-delay: 0.15s; }
.cta-buttons { animation-delay: 0.3s; }
.preview-container { animation-delay: 0.45s; }

@media (max-width: 768px) {
  .hero {
    padding: 120px 16px 60px;
  }

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

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

  .header-inner {
    padding: 0 16px;
  }

  nav {
    gap: 16px;
  }

  nav a {
    font-size: 0.85rem;
  }

  .features {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
}
