/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --bg-color: #080C14;
  --surface-color: rgba(17, 24, 39, 0.6);
  --border-color: rgba(255, 255, 255, 0.06);
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  
  --primary-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --secondary-gradient: linear-gradient(135deg, #0EA5E9 0%, #2563EB 100%);
  --accent-gradient: linear-gradient(135deg, #F97316 0%, #EC4899 100%);
  
  --glow-indigo: rgba(79, 70, 229, 0.35);
  --glow-emerald: rgba(16, 185, 129, 0.3);
  --glow-gold: rgba(245, 158, 11, 0.3);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --container-max: 1200px;
}

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

/* Background Glowing Blobs */
.blob-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: #4F46E5;
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: #7C3AED;
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: #F97316;
  bottom: -100px;
  right: 10%;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-color) solid 1px;
  transition: all 0.3s ease;
}

.header-container {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #FFFFFF 50%, #A5B4FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.nav-link:hover {
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-heading);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Pulse Animation */
.pulse-effect {
  position: relative;
}

.pulse-effect::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 14px;
  border: 2px solid #7C3AED;
  opacity: 0;
  animation: pulse 2s infinite;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* Hero Section */
.hero {
  padding: 80px 0;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: #A5B4FC;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #818CF8 0%, #C084FC 50%, #FB923C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

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

/* Mockup Frame & Screen */
.hero-visual {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.mockup-frame {
  width: 100%;
  max-width: 440px;
  background: #1E293B;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.mockup-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mockup-header {
  height: 40px;
  background: #0F172A;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-header .dot:nth-child(1) { background: #EF4444; }
.mockup-header .dot:nth-child(2) { background: #F59E0B; }
.mockup-header .dot:nth-child(3) { background: #10B981; }

.mockup-url {
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 16px;
  border-radius: 6px;
  margin-left: 20px;
  flex-grow: 0.5;
  text-align: center;
}

.mockup-screen {
  position: relative;
  aspect-ratio: 16/9;
  background: #0B0F19;
  overflow: hidden;
}

.mockup-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.mockup-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mockup-screen:hover .mockup-overlay {
  opacity: 1;
}

.play-icon {
  font-size: 40px;
  color: #FFFFFF;
  background: var(--primary-gradient);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding-left: 4px;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.mockup-screen:hover .play-icon {
  transform: scale(1);
}

/* Features Section */
.features {
  padding: 100px 0;
  border-top: var(--border-color) solid 1px;
  background: rgba(8, 12, 20, 0.4);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  padding: 40px 32px;
  border-radius: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
  background: var(--primary-gradient);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blue-glow { box-shadow: inset 0 0 12px var(--glow-indigo); }
.green-glow { box-shadow: inset 0 0 12px var(--glow-emerald); }
.gold-glow { box-shadow: inset 0 0 12px var(--glow-gold); }

.card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* About / Tech Section */
.about {
  padding: 100px 0;
  border-top: var(--border-color) solid 1px;
}

.about-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

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

.floating-brain {
  width: 200px;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brain-icon {
  width: 140px;
  height: 140px;
  border-radius: 35px;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
  animation: float 4s ease-in-out infinite;
}

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

.synapse {
  position: absolute;
  border: 1px dashed rgba(124, 58, 237, 0.3);
  border-radius: 50%;
  z-index: 1;
  animation: rotate 12s linear infinite;
}

.s1 { width: 220px; height: 220px; animation-duration: 10s; }
.s2 { width: 260px; height: 260px; animation-direction: reverse; animation-duration: 15s; }
.s3 { width: 300px; height: 300px; animation-duration: 20s; }

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.section-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: var(--border-color) solid 1px;
  background: rgba(8, 12, 20, 0.8);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-visual {
    order: -1;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .header-container {
    height: 70px;
  }
  
  .nav {
    display: none;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
}
