@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #000000;
  --glass-bg: rgba(255, 255, 255, 0.025);
  --glass-border: rgba(255, 255, 255, 0.08);
  --primary-glow: #00f2ff;
  --accent-glow: #a855f7;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --gradient-primary: linear-gradient(135deg, #00f2ff, #a855f7);
  --shadow-glow: 0 25px 50px -12px rgba(0, 242, 255, 0.25);
  --shadow-glow-hover: 0 35px 70px -12px rgba(0, 242, 255, 0.4);
}

/* BASE RESET & SCROLL */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ORBITAL BACKGROUND SYSTEM */
.orbitals {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    /* Primary orbs */
    radial-gradient(circle at 15% 25%, rgba(0, 242, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(168, 85, 247, 0.18) 0%, transparent 50%),
    /* Secondary orbs */
    radial-gradient(circle at 60% 10%, rgba(0, 242, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 30% 85%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    /* Background */
    var(--bg-primary);
  animation: orbitalShift 25s ease-in-out infinite;
}

@keyframes orbitalShift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.02) rotate(90deg); }
  50% { transform: scale(0.98) rotate(180deg); }
  75% { transform: scale(1.01) rotate(270deg); }
}

/* FLOATING PARTICLES */
.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

.particle:nth-child(1) {
  width: 4px; height: 4px; top: 20%; left: 10%; animation-duration: 20s;
}
.particle:nth-child(2) {
  width: 6px; height: 6px; top: 60%; right: 15%; animation-duration: 25s; animation-delay: -5s;
}
.particle:nth-child(3) {
  width: 3px; height: 3px; bottom: 30%; left: 80%; animation-duration: 18s; animation-delay: -10s;
}

@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-20px) translateX(10px) rotate(180deg); opacity: 1; }
  100% { transform: translateY(0) translateX(0) rotate(360deg); opacity: 0.6; }
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(25px);
  background: rgba(10, 10, 15, 0.95);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.2rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.8rem 0;
  backdrop-filter: blur(40px);
  background: rgba(10, 10, 15, 0.98);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 4px 20px rgba(0, 242, 255, 0.3));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
  filter: drop-shadow(0 8px 32px rgba(0, 242, 255, 0.6));
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-glow);
  transform: translateY(-2px);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--gradient-primary);
  color: #000;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-glow-hover);
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 2.5rem 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 6rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  animation: heroSlideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 650px;
  line-height: 1.75;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin: 4rem 0 3rem;
}

.stat {
  opacity: 0;
  transform: translateY(40px);
  animation: statRise 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stat:nth-child(1) { animation-delay: 0.2s; }
.stat:nth-child(2) { animation-delay: 0.4s; }
.stat:nth-child(3) { animation-delay: 0.6s; }

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

@keyframes statRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  animation: heroFloat 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.mockup-container {
  width: 420px;
  height: 860px;
  position: relative;
  perspective: 1200px;
}

.mockup-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(30px);
  border-radius: 48px;
  border: 1px solid var(--glass-border);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    var(--shadow-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-visual:hover .mockup-frame {
  transform: rotateX(8deg) rotateY(5deg) translateY(-12px);
}

.mockup-glow {
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 0deg, 
    rgba(0, 242, 255, 0.2), 
    transparent 40%, 
    rgba(168, 85, 247, 0.15) 70%);
  border-radius: 50%;
  animation: mockupRotate 12s linear infinite;
  filter: blur(40px);
}

@keyframes mockupRotate {
  to { transform: rotate(360deg); }
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-pill {
  padding: 0.5rem 1.2rem;
  background: var(--gradient-primary);
  color: #000;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 242, 255, 0.3);
}

.chat-section {
  height: 500px;
  overflow: hidden;
}

.chat-bubble {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateX(30px);
  animation: chatSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.chat-bubble.ai {
  border-color: rgba(0, 242, 255, 0.4);
  background: rgba(0, 242, 255, 0.08);
}

.chat-sender {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.chat-sender.guest { color: var(--text-secondary); }
.chat-sender.ai { color: var(--primary-glow); }

.chat-bubble:nth-child(1) { animation-delay: 0.8s; }
.chat-bubble:nth-child(2) { animation-delay: 1.6s; }

@keyframes chatSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* SECTION STYLES */
.section {
  padding: 140px 0;
  max-width: 1440px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  animation: underlineDraw 1s 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes underlineDraw {
  to { width: 120px; }
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* FEATURE GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-24px) rotateX(3deg);
  border-color: rgba(0, 242, 255, 0.4);
  box-shadow: var(--shadow-glow-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  opacity: 0;
  transform: scale(0.8);
  animation: iconBounce 1s 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes iconBounce {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-list {
  text-align: left;
  list-style: none;
}

.feature-list li {
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-20px);
  animation: listSlide 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.feature-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-glow);
  font-weight: bold;
  font-size: 1.2rem;
}

.feature-list li:nth-child(1) { animation-delay: 0.2s; }
.feature-list li:nth-child(2) { animation-delay: 0.3s; }
.feature-list li:nth-child(3) { animation-delay: 0.4s; }

@keyframes listSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, 
    rgba(0, 242, 255, 0.12), 
    rgba(168, 85, 247, 0.1));
  backdrop-filter: blur(30px);
  border: 1px solid rgba(0, 242, 255, 0.3);
  border-radius: 36px;
  padding: 6rem 4rem;
  text-align: center;
  margin: 8rem 2.5rem;
  position: relative;
  overflow: hidden;
  animation: ctaFloat 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, 
    rgba(0, 242, 255, 0.2) 0%, 
    transparent 50%);
  animation: ctaGlowShift 8s linear infinite;
}

@keyframes ctaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes ctaGlowShift {
  0% { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(50%) rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-subtitle {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* FORM ELEMENTS */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 4rem;
}

.form-group {
  margin-bottom: 2.5rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-glow);
  box-shadow: 0 0 0 4px rgba(0, 242, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
  color: var(--text-secondary);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 6rem 0 4rem;
  text-align: center;
  color: var(--text-secondary);
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-glow);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  
  .hero-visual {
    justify-content: center;
  }
  
  .mockup-container {
    width: 360px;
    height: 740px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 100px 1.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .cta-section {
    margin: 4rem 1.5rem;
    padding: 4rem 2rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}
