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

:root {
  --bg-color: #050505;
  --surface-color: rgba(20, 20, 20, 0.6);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  
  --accent-primary: #8b5cf6; /* Purple */
  --accent-secondary: #3b82f6; /* Blue */
  --accent-tertiary: #f59e0b; /* Gold */
  
  --glow-primary: rgba(139, 92, 246, 0.5);
  --glow-secondary: rgba(59, 130, 246, 0.5);
  
  --font-main: 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Effects */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  border-radius: 50%;
  opacity: 0.4;
  top: -100px;
  left: -100px;
  animation: float 10s infinite alternate ease-in-out;
}

.bg-glow.secondary {
  background: radial-gradient(circle, var(--glow-secondary) 0%, transparent 70%);
  top: 40%;
  right: -200px;
  left: auto;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section {
  padding: 100px 0;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
  background: rgba(5, 5, 5, 0.7);
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 32px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  color: #fff;
  box-shadow: 0 10px 20px -10px var(--glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -10px var(--glow-primary);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--surface-color);
  color: #fff;
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}

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

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
}

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

/* App UI Mockup */
.mockup-container {
  margin-top: 80px;
  perspective: 1000px;
}

.mockup {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 24px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(20px);
  transform: rotateX(5deg) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mockup.active {
  transform: rotateX(0deg) scale(1);
}

.mockup-header {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #333;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
  height: 400px;
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-weight: 500;
  border: 1px dashed var(--surface-border);
  position: relative;
  /* overflow: hidden; Removed to allow badges to break out */
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Social Proof */
.social-proof {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.avatars {
  display: flex;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-color);
  background-size: cover;
  background-position: center;
  margin-left: -12px;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar.plus {
  background: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  border-color: var(--surface-border);
}

.social-proof p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(139, 92, 246, 0.2);
  animation: float-badge 6s infinite ease-in-out;
  color: #fff;
  z-index: 10;
  text-align: left;
}

.floating-badge .icon {
  font-size: 24px;
}

.floating-badge .text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.floating-badge .text strong {
  font-size: 16px;
  color: var(--accent-secondary);
  font-weight: 700;
}

.floating-badge .text span {
  font-size: 12px;
  color: var(--text-secondary);
}

.badge-1 {
  top: 40px;
  left: -40px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 40px;
  right: -40px;
  animation-delay: 2s;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Features Grid (Bento Box) */
.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

/* Detailed Feature Rows */
.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 40px 0;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-row-image {
  flex: 1;
  min-height: 480px;
  position: relative;
}

.feature-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.feature-row-text {
  flex: 1;
  padding: 80px;
}

.feature-row-text h3 {
  font-size: 32px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-row-text p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.feature-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: #fff;
}

.feature-ul li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--glow-primary);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
}

/* Workflow Section */
.workflow {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 40px;
}

.workflow-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  font-size: 80px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Pricing */
.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.toggle-wrapper {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 30px;
  padding: 4px;
  display: flex;
  position: relative;
}

.toggle-btn {
  padding: 10px 24px;
  border-radius: 26px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1;
}

.toggle-btn.active {
  color: #fff;
}

.toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  border-radius: 26px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card {
  background: var(--surface-color);
  border: 2px solid var(--accent-primary);
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price {
  font-size: 56px;
  font-weight: 800;
  margin: 20px 0;
  transition: all 0.3s;
}

.price span {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-features {
  text-align: left;
  margin: 32px 0;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-check {
  color: var(--accent-primary);
  font-weight: bold;
}

/* Footer */
footer {
  border-top: 1px solid var(--surface-border);
  padding: 40px 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Responsive */
@media (max-width: 900px) {
  .feature-showcase { gap: 40px; }
  .feature-row, .feature-row:nth-child(even) {
    flex-direction: column;
  }
  .feature-row-image { min-height: 300px; width: 100%; }
  .feature-row-text { padding: 40px 24px; }
  
  .workflow-step, .workflow-step:nth-child(even) {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .hero-cta {
    flex-direction: column;
  }
  .nav-links {
    display: none;
  }
}
