/* {{RIPER-5:
  Action: "Added"
  Task_ID: "#2"
  Authoring_Role: "LD"
  Principle_Applied: "Aether-Design-Glass-Effect, Aether-Design-Universal-Softness, Aether-Design-Fluid-Animation"
  Quality_Check: "Validates against Aether Philosophy component library"
}} */

/* ==========================================
   LogLens.tech - Aether Design System
   Design Philosophy: Liquid Glass
   ========================================== */

:root {
  /* Color Palette */
  --color-base: #0a0a0f;
  --color-glass: rgba(255, 255, 255, 0.05);
  --color-glass-hover: rgba(255, 255, 255, 0.08);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-strong: rgba(255, 255, 255, 0.2);
  
  --color-primary: #6366f1;
  --color-primary-light: #818cf8;
  --color-secondary: #8b5cf6;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  
  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.7);
  --color-text-muted: rgba(255, 255, 255, 0.5);
  
  /* Spacing */
  --radius-2xl: 1rem;
  --radius-full: 9999px;
  
  /* Animation */
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* ==========================================
   Global Styles
   ========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a0a2e 50%, #16213e 100%);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Glass Effect Base */
.glass {
  background: var(--color-glass);
  backdrop-filter: blur(20px) saturate(1.3) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.3) brightness(1.1);
  border: 1px solid var(--color-border);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px) saturate(1.4) brightness(1.15);
  -webkit-backdrop-filter: blur(30px) saturate(1.4) brightness(1.15);
  border: 1px solid var(--color-border-strong);
}

/* ==========================================
   Typography
   ========================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, #ffffff 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

/* ==========================================
   Navigation Bar (Glass Effect)
   ========================================== */

.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1200px;
  z-index: 1000;
  border-radius: var(--radius-2xl);
  transition: all var(--duration-normal) var(--transition-smooth);
}

.navbar.scrolled {
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.nav-link {
  position: relative;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-2xl);
  transition: all var(--duration-fast) var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-text-primary);
  background: var(--color-glass-hover);
}

.nav-link.active {
  color: var(--color-primary);
  background: var(--color-glass);
}

/* ==========================================
   Buttons (Aether Philosophy Compliant)
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-2xl);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration-normal) var(--transition-smooth);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
}

.btn-secondary:hover {
  background: var(--color-glass-hover);
  border-color: var(--color-border-strong);
}

.btn-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-cta:hover {
  box-shadow: 0 15px 50px rgba(99, 102, 241, 0.6);
  transform: translateY(-3px) scale(1.02);
}

/* ==========================================
   Cards (Glass Morphism)
   ========================================== */

.card {
  border-radius: var(--radius-2xl);
  padding: 2rem;
  transition: all var(--duration-normal) var(--transition-smooth);
  position: relative;
}

.card-glass {
  background: var(--color-glass);
  backdrop-filter: blur(20px) saturate(1.3) brightness(1.1);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-glass:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 50px rgba(99, 102, 241, 0.3);
  border-color: var(--color-border-strong);
}

.card-glass:hover::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
}

/* ==========================================
   Feature Icons (Rounded-2xl Container)
   ========================================== */

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  transition: all var(--duration-normal) var(--transition-smooth);
}

.feature-icon:hover {
  background: var(--color-glass-hover);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

/* ==========================================
   Badges (Rounded-full)
   ========================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--color-glass);
  border: 1px solid var(--color-border);
}

.badge-primary {
  background: rgba(99, 102, 241, 0.2);
  color: var(--color-primary-light);
  border-color: rgba(99, 102, 241, 0.3);
}

.badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--color-success);
  border-color: rgba(16, 185, 129, 0.3);
}

/* ==========================================
   Input Fields (Rounded-2xl)
   ========================================== */

.input-glass {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-2xl);
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-size: 1rem;
  transition: all var(--duration-fast) var(--transition-smooth);
}

.input-glass:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.input-glass::placeholder {
  color: var(--color-text-muted);
}

textarea.input-glass {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================
   Progress Bar (Rounded-full)
   ========================================== */

.progress-bar {
  width: 100%;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--color-glass);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width var(--duration-slow) var(--transition-smooth);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
  margin-top: 4rem;
  padding: 3rem 1rem;
  border-top: 1px solid var(--color-border);
}

/* ==========================================
   Animations
   ========================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp var(--duration-slow) var(--transition-smooth);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.7);
  }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 640px) {
  .navbar {
    top: 0.5rem;
    width: calc(100% - 1rem);
  }
  
  .card {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .btn-cta {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
}

/* ==========================================
   Utility Classes
   ========================================== */

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-primary {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.glow-secondary {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

