:root {
  /* Brand */
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --primary-light: #818CF8;
  
  /* Semantic */
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  
  /* Neutrals */
  --background: #09090B;
  --card: #18181B;
  --border: #27272A;
  
  /* Text */
  --text: #FAFAFA;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  
  /* Utilities */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 999px;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Background Mesh */
.mesh-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  opacity: 0.6;
}

.blob {
  position: absolute;
  filter: blur(80px);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(99, 102, 241, 0.15); /* Primary */
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.1); /* Indigo/Purple mix */
  bottom: -300px;
  left: -200px;
  animation-duration: 25s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

.brand-logo {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
}

.brand-icon {
  height: 32px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.badge {
  display: inline-flex;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.highlight {
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn svg {
  margin-right: 4px;
}

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-wrapper {
  position: relative;
  animation: floatApp 6s infinite ease-in-out;
}

@keyframes floatApp {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

.phone-mockup {
  border-radius: 40px;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 0 1px var(--border);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: rgba(24, 24, 27, 0.85); /* Card with opacity */
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  animation: floatCard 4s infinite ease-in-out;
  z-index: 10;
}

.floating-card-1 {
  top: 60px;
  left: -80px;
  animation-delay: 1s;
}

.floating-card-2 {
  bottom: 80px;
  right: -60px;
  animation-delay: 2s;
}

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

.card-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-text {
  display: flex;
  flex-direction: column;
}

.card-text strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.card-text span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Features */
.features {
  padding: 120px 24px;
}

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 64px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

/* CTA Section */
.cta-section {
  padding: 80px 24px;
}

.cta-box {
  background: linear-gradient(135deg, var(--card), #1F1F25);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--primary);
  filter: blur(120px);
  opacity: 0.2;
  border-radius: 50%;
}

.cta-box h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
  position: relative;
  z-index: 10;
}

.cta-box p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.6;
  position: relative;
  z-index: 10;
}

.cta-btn {
  position: relative;
  z-index: 10;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: rgba(9, 9, 11, 0.5);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 20px;
}

.footer-brand .brand-icon {
  margin-right: 8px;
}

.footer-desc {
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 250px;
  font-size: 14px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
    gap: 80px;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .floating-card-1 {
    left: -20px;
  }
  
  .floating-card-2 {
    right: -20px;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none;
  }
  
  .cta-box h2 {
    font-size: 32px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .floating-card {
    display: none;
  }
}
