:root {
  --primary: #7e57c2;
  --primary-light: #b39ddb;
  --secondary: #263238;
  --bg: #0d1117;
  --surface: #161b22;
  --text: #ffffff;
  --text-muted: #8b949e;
  --border: rgba(255, 255, 255, 0.1);
  --gradient: linear-gradient(135deg, #7e57c2 0%, #b39ddb 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --font-main: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Glow effects */
.glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.2;
  mix-blend-mode: screen;
}

.glow-1 {
  top: -100px;
  right: -100px;
  background-color: var(--primary);
  animation: float 20s infinite alternate;
}

.glow-2 {
  bottom: -100px;
  left: -100px;
  background-color: #2196f3;
  animation: float 25s infinite alternate-reverse;
}

@keyframes float {
  from { transform: translate(0, 0); }
  to { transform: translate(100px, 100px); }
}

/* Nav */
nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

/* Hero */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero {
  padding-top: 5rem;
  padding-bottom: 2rem;
}

h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s, transform 1s;
}

h1.active {
  opacity: 1;
  transform: translateY(0);
}

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

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s 0.2s, transform 1s 0.2s;
}

.subtitle.active {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(126, 87, 194, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(126, 87, 194, 0.6);
}

.btn-secondary {
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary-light);
  color: white;
}

.btn-hero {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  background: white;
  color: var(--bg);
}

.btn-hero:hover {
  background: var(--primary-light);
}

.cta-group {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.version-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* Mockup */
.mockup-section {
  width: 100%;
  max-width: 900px;
  margin-top: 4rem;
}

.mockup-container {
  perspective: 1200px;
}

.mockup-frame {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  transform: rotateX(15deg) translateY(-20px);
  box-shadow: var(--shadow);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mockup-container:hover .mockup-frame {
  transform: rotateX(0deg) translateY(0);
}

.mockup-screen {
  background: var(--surface);
  border-radius: 16px;
  min-height: 400px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.placeholder-content .p-header {
  height: 20px;
  width: 40%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 2rem;
}

.placeholder-content .p-card {
  height: 60px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.placeholder-content .p-card.small {
  height: 40px;
  width: 80%;
  margin-top: 1rem;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  nav { padding: 1rem; }
  .nav-links { display: none; }
  .mockup-frame { transform: none; }
}
