/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a12;
  --bg-alt: #10101c;
  --accent-1: #7c3aed;
  --accent-2: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --text-main: #f4f4f7;
  --text-muted: #9a9ab0;
  --card-bg: #14141f;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-full: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  padding: 16px 36px;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.5);
}

.btn-large {
  padding: 18px 42px;
  font-size: 1.15rem;
}

.btn-nav {
  background: var(--accent-gradient);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
}

.arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.pulse {
  position: relative;
  animation: pulse-glow 2.4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35), 0 0 0 0 rgba(124, 58, 237, 0.4);
  }
  50% {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.55), 0 0 0 10px rgba(124, 58, 237, 0);
  }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 18, 0.7);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.logo span {
  color: var(--accent-2);
}

.logo.small {
  font-size: 1.1rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 200px 0 120px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #c4b5fd;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  max-width: 780px;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.hero-note {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Features ===== */
.features {
  padding: 100px 0;
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.4);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 110px 0;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.18), transparent 60%);
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 160px 0 90px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .btn-nav {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}
