/* 
  AIRevenueLift - Modern Premium Aesthetic
  Colors: Obsidian Black, Pure White, Deep Blue, Cyan/Violet Accents
*/

:root {
  /* Core Palette */
  --bg-color: #05060A; /* Extremely dark black/blue */
  --bg-darker: #020204;
  --surface-color: rgba(22, 26, 40, 0.6);
  --surface-border: rgba(255, 255, 255, 0.08);
  
  --primary-accent: #0A4DFF;
  --primary-glow: rgba(10, 77, 255, 0.4);
  --secondary-accent: #00F0FF;
  
  --text-main: #FFFFFF;
  --text-muted: #A0AAB2;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --nav-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--secondary-accent) 0%, var(--primary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-center { text-align: center; }

/* Layout Utility */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.bg-darker {
  background-color: var(--bg-darker);
}

.position-relative {
  position: relative;
}
.overflow-hidden {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-base);
  border: 1px solid transparent;
  font-size: 1rem;
}

.btn i {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--primary-accent);
  color: white;
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
  background: #1754ff;
  box-shadow: 0 0 30px rgba(10, 77, 255, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

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

.btn-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
}

.btn-xl {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Glass & UI Elements */
.glass-panel {
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
}

.glass-border {
  position: relative;
}
.glass-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  background: rgba(10, 77, 255, 0.1);
  border: 1px solid rgba(10, 77, 255, 0.3);
  color: #c4d4ff;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--secondary-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

/* Background Gradients & Grids */
.hero-bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vh;
  background: radial-gradient(circle, rgba(10, 77, 255, 0.15) 0%, rgba(5, 6, 10, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.bg-grad-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 77, 255, 0.1) 0%, rgba(0, 240, 255, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}
.bg-grad-blob.right {
  top: 10%;
  right: -200px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--transition-fast), backdrop-filter var(--transition-fast);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 6, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--primary-accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 3rem;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

/* Hero Mockup UI */
.hero-dashboard-mockup {
  width: 100%;
  max-width: 800px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(10, 77, 255, 0.1);
  transform: translateY(0);
  transition: transform var(--transition-slow);
}

.hero-dashboard-mockup:hover {
  transform: translateY(-10px);
}

.mockup-header {
  padding: 1rem 1.5rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dots {
  display: flex;
  gap: 6px;
}
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  flex-grow: 1;
  text-align: center;
  margin-right: 48px;
}

.mockup-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-stat {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(10, 77, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary-accent);
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-grow: 1;
  text-align: left;
}

.stat-label {
  font-weight: 600;
  font-size: 1.125rem;
}

.stat-value {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.stat-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.stat-badge.success {
  background: rgba(39, 201, 63, 0.1);
  color: #27c93f;
  border: 1px solid rgba(39, 201, 63, 0.2);
}
.stat-badge.pulse {
  background: rgba(10, 77, 255, 0.2);
  color: #7aa1ff;
  border: 1px solid rgba(10, 77, 255, 0.4);
  animation: bg-pulse 2s infinite alternate;
}

@keyframes bg-pulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; box-shadow: 0 0 10px var(--primary-glow); }
}

/* Common Section Header */
.section-header {
  max-width: 700px;
  margin: 0 auto 5rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: rgba(26, 31, 48, 0.7);
}

.service-card:hover::before {
  transform: translateX(100%);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(10,77,255,0.1) 0%, rgba(0,240,255,0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondary-accent);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(10, 77, 255, 0.2);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.service-text {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* How It Works (Timeline) */
.steps-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.step-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-accent), transparent);
  z-index: 0;
}

.step-card {
  display: flex;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.step-card:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--bg-color);
  border: 2px solid var(--primary-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  box-shadow: 0 0 20px rgba(10, 77, 255, 0.4);
}

.step-content {
  padding-top: 0.5rem;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.step-content p {
  color: var(--text-muted);
}

/* Bento Grid (New Benefits Design) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 220px);
  gap: 1.5rem;
}

.bento-card {
  padding: 2.25rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  background: rgba(26, 31, 48, 0.8);
}

.bento-card.large {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: rgba(10, 77, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary-accent);
}

.bento-content h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: white;
}
.bento-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.bento-card.large h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.bento-card.large p {
  font-size: 1.125rem;
  max-width: 85%;
}

.bento-visual {
  height: 180px;
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  margin-top: 2rem;
  border: 1px solid var(--surface-border);
  position: relative;
}

.bar-chart-mini {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 1.5rem;
  height: 100%;
}

.bar {
  width: 12%;
  background: linear-gradient(to top, rgba(10,77,255,0.2), rgba(10,77,255,0.6));
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.bar.highlight {
  background: linear-gradient(to top, var(--primary-accent), var(--secondary-accent));
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: black;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

.bar.highlight:hover .tooltip {
  opacity: 1;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .bento-card.large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.large {
    grid-column: span 1;
  }
}

/* Final CTA */
.final-cta {
  background: linear-gradient(to bottom, var(--bg-darker), var(--bg-color));
  text-align: center;
  position: relative;
  padding: 10rem 0;
}

.cta-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 77, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.pulse-animation {
  animation: scale-pulse 2s infinite alternate;
}

@keyframes scale-pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: #020203;
  border-top: 1px solid var(--surface-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-desc {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 300px;
  font-size: 0.9375rem;
}

.footer-links h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Animations Triggered by JS */
.scroll-element {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up {
  transform: translateY(40px);
}

.fade-in-left {
  transform: translateX(-40px);
}

.fade-in-right {
  transform: translateX(40px);
}

.scroll-element.scrolled {
  opacity: 1;
  transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 992px) {
  .benefits-layout {
    grid-template-columns: 1fr;
  }
  .benefits-visual {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-cta {
    display: none;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }

  .step-line {
    left: 20px;
  }
  .step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }
  .step-card {
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
