@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Color Palette - Cyber Enterprise */
  --bg-main: #0a0a0b;
  --bg-surface: #111113;
  --bg-card: #161618;
  
  --primary: #6366f1; /* Electric Indigo */
  --primary-glow: rgba(99, 102, 241, 0.3);
  --accent: #10b981; /* Emerald Neon */
  --accent-glow: rgba(16, 185, 129, 0.3);
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;
  
  --border: rgba(255, 255, 255, 0.06);
  --border-bright: rgba(255, 255, 255, 0.12);
  
  /* Gradients */
  --grad-linear: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  
  /* Spacing & Rails */
  --spacing-unit: 8px;
  --container-width: 1300px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Animation */
  --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* Utilities */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.badge {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ========================================
   BUTTON SYSTEM - Premium Design
   ======================================== */

/* Base Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

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

/* Primary Button - Gradient with Glow */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 
    0 4px 15px rgba(99, 102, 241, 0.3),
    0 0 0 0 rgba(99, 102, 241, 0.4);
  animation: pulse-shadow 2s infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(99, 102, 241, 0.4),
    0 0 40px rgba(99, 102, 241, 0.3);
}

@keyframes pulse-shadow {
  0%, 100% {
    box-shadow: 
      0 4px 15px rgba(99, 102, 241, 0.3),
      0 0 0 rgba(99, 102, 241, 0);
  }
  50% {
    box-shadow: 
      0 4px 15px rgba(99, 102, 241, 0.3),
      0 0 20px rgba(99, 102, 241, 0.2);
  }
}

/* Secondary Button - Glassmorphic */
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-bright);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(99, 102, 241, 0.2);
}

/* Accent Button - Emerald Glow */
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 
    0 4px 15px rgba(16, 185, 129, 0.3),
    0 0 0 0 rgba(16, 185, 129, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(16, 185, 129, 0.4),
    0 0 40px rgba(16, 185, 129, 0.3);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-bright);
}

/* Button Sizes */
.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 22px 50px;
  font-size: 1.15rem;
  font-weight: 700;
}

/* Button with Icon */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-icon svg,
.btn-icon i {
  transition: transform 0.3s ease;
}

.btn-icon:hover svg,
.btn-icon:hover i {
  transform: translateX(4px);
}

/* Disabled State */
.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Loading State */
.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Button Group */
.btn-group {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    padding: 0 24px;
    width: 100%;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem !important; }
  h2 { font-size: 2rem !important; }
  
  .hero {
    padding: 140px 0 80px;
    min-height: auto;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%; /* Full width buttons on mobile usually look better */
    justify-content: center;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
  }
  
  .btn-xl {
    padding: 16px 36px;
    font-size: 1.05rem;
  }
}

/* ------------------------------------------------------------------
   NEW FEATURE SHOWCASE (Cleaner, Split Layout)
   ------------------------------------------------------------------ */
.feature-showcase {
  background: rgba(255, 255, 255, 0.02); /* Very subtle glass */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 60px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* Content takes more space */
  gap: 60px;
  align-items: center;
}

/* Create a background glow effect */
.feature-showcase::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Left Content */
.feature-content {
  position: relative;
  z-index: 2;
}

.feature-badge {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-main-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom right, #fff, #aaa);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 90%;
}

.feature-actions {
  display: flex;
  gap: 15px;
}

/* Right Visuals (Metrics List) */
.feature-metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 25px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.metric-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.metric-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.05);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* RESPONSIVE (Mobile/Tablet) */
@media (max-width: 900px) {
  .feature-showcase {
    padding: 30px;
  }

  .feature-grid {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 40px;
  }

  .feature-main-title {
    font-size: 2.2rem;
  }

  .feature-description {
    font-size: 1rem;
    max-width: 100%;
  }

  /* Make metrics grid-like on mobile for compactness? 
     Or keep stacked. Stacked is fine but maybe too tall.
     Let's Keep valid list interaction.
  */
  .feature-metrics {
    gap: 15px;
  }
  
  .metric-item {
    padding: 15px;
  }
}
