:root {
  --bg: #030712;
  --fg: #f9fafb;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.5);
  --secondary: #94a3b8;
  --card-bg: rgba(17, 24, 39, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --gradient-2: linear-gradient(to right, #818cf8, #c084fc);
  --glass: rgba(15, 23, 42, 0.8);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-up {
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Layout Elements */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: var(--glass);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--accent-glow);
  overflow: hidden;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--fg);
}

/* Hero */
.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

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

.hero p {
  font-size: 1.25rem;
  color: var(--secondary);
  max-width: 650px;
  margin: 0 auto 48px;
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 25px -5px var(--accent-glow);
}

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

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Features */
.features {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
  display: block;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.card p {
  color: var(--secondary);
}

/* Interactive Preview */
.preview-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.05));
}

.preview-box {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.preview-placeholder {
  color: var(--secondary);
  font-style: italic;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--secondary);
  max-width: 300px;
  margin-top: 16px;
}

.footer-links-grid {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  margin-bottom: 24px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: var(--secondary);
  font-size: 0.85rem;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-content { flex-direction: column; gap: 40px; }
  .footer-links-grid { gap: 40px; }
  .hero h1 { font-size: 3.5rem; }
  .grid { grid-template-columns: 1fr; }
}
