/* ═══════════════════════════════════════════════════════════════
   LIQUID GLASS PREMIUM DESIGN SYSTEM
   © Claymore & Colt LLC - Metamorphic Holdings
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg-gradient-start: #0f1f3d;
  --bg-gradient-mid: #1a2f52;
  --bg-gradient-end: #0a1628;

  --glass-base: rgba(30, 58, 95, 0.25);
  --glass-elevated: rgba(45, 74, 110, 0.35);
  --glass-elevated-hover: rgba(59, 130, 246, 0.15);

  --border-default: rgba(59, 130, 246, 0.12);
  --border-hover: rgba(59, 130, 246, 0.3);
  --border-glow: rgba(59, 130, 246, 0.5);

  --text-primary: rgba(255, 255, 255, 0.98);
  --text-secondary: rgba(255, 255, 255, 0.70);
  --text-muted: rgba(255, 255, 255, 0.45);

  --accent-blue-start: #3b82f6;
  --accent-blue-end: #60a5fa;
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --accent-green: #10b981;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.5);

  --glow-blue: 0 0 40px rgba(59, 130, 246, 0.3);
  --glow-cyan: 0 0 60px rgba(6, 182, 212, 0.4);

  --blur-sm: blur(16px);
  --blur-md: blur(24px);
  --blur-lg: blur(40px);

  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

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

body {
  background: #0a1628;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Animated Gradient Mesh Background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0f1f3d 0%, #1a2f52 50%, #0a1628 100%);
  z-index: -3;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* Tech Grid Overlay */
.tech-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  opacity: 0.4;
}

/* Floating Particles */
.particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(59, 130, 246, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
  animation: float linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 15s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-duration: 20s; animation-delay: 2s; }
.particle:nth-child(3) { left: 40%; animation-duration: 18s; animation-delay: 4s; }
.particle:nth-child(4) { left: 60%; animation-duration: 22s; animation-delay: 1s; }
.particle:nth-child(5) { left: 75%; animation-duration: 17s; animation-delay: 3s; }
.particle:nth-child(6) { left: 90%; animation-duration: 19s; animation-delay: 5s; }

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Noise Texture */
.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* Enhanced Glass Cards */
.glass-card {
  position: relative;
  background: var(--glass-elevated);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.glass-card-hoverable {
  cursor: pointer;
}

.glass-card-hoverable:hover {
  background: var(--glass-elevated-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--glow-blue);
  transform: translateY(-8px);
}

.glass-card-hoverable:hover::before {
  opacity: 1;
}

.glass-card-hoverable:hover::after {
  opacity: 1;
}

/* Buttons */
.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  padding: 16px 40px;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.glass-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glass-btn:hover::before {
  opacity: 1;
}

.glass-btn-primary {
  background: linear-gradient(135deg, var(--accent-blue-start) 0%, var(--accent-blue-end) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: var(--shadow-sm), var(--glow-blue);
  position: relative;
}

.glass-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue-start) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.glass-btn-primary:hover {
  box-shadow: var(--shadow-md), var(--glow-cyan);
  transform: translateY(-2px) scale(1.02);
}

.glass-btn-primary:hover::after {
  opacity: 1;
}

.glass-btn-secondary {
  background: var(--glass-elevated);
  backdrop-filter: var(--blur-md);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.glass-btn-secondary:hover {
  background: var(--glass-elevated-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md), var(--glow-blue);
  transform: translateY(-2px);
}

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 120px 0;
}

.hero {
  padding: 160px 0 140px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

.hero h1 {
  font-size: 72px;
  font-weight: 900;
  margin-bottom: 32px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(59, 130, 246, 0.3);
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.1); }
}

.hero .subtitle {
  font-size: 22px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.7;
  font-weight: 400;
}

.cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.pill {
  display: inline-block;
  font-size: 13px;
  padding: 8px 18px;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  color: var(--text-muted);
  margin: 0 8px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

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

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

.section-header h2 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header .intro {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.card-content {
  padding: 40px;
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-blue-start), var(--accent-blue-end));
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  transition: all 0.4s ease;
}

.glass-card-hoverable:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}

.card-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15.5px;
}

.card-content ul {
  margin-top: 20px;
  padding-left: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 15.5px;
}

.card-content li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.card-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent-blue-end);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-blue-end);
}

/* Glass Navigation */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-elevated);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  border-bottom: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
}

.glass-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
}

.glass-nav .logo {
  height: 42px;
}

.glass-nav nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

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

.glass-nav a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Footer */
.footer {
  padding: 80px 0 60px;
  text-align: center;
  border-top: 1px solid var(--border-default);
  margin-top: 120px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue-end), transparent);
}

.footer-brand {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 14px;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--accent-blue-end);
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
}

.footer-legal {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }
  .hero .subtitle {
    font-size: 18px;
  }
  .section-header h2 {
    font-size: 36px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .cta-group {
    flex-direction: column;
  }
  .glass-btn {
    width: 100%;
  }
  .glass-nav nav {
    display: none;
  }
}
