:root {
  /* Brand Colors */
  --color-primary: #0a2540;
  /* Deep Navy */
  --color-accent: #00d4ff;
  /* Bright Cyan/Blue for CTAs/Accents */
  --color-accent-hover: #00bfee;
  --color-text-dark: #0a2540;
  --color-text-light: #adbdcc;
  --color-bg-light: #f6f9fc;
  --color-white: #ffffff;
  --color-success: #3ecf8e;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0a2540 0%, #0f3c66 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(246, 249, 252, 1) 100%);

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 50px 100px -20px rgba(50, 50, 93, 0.25),
    0 30px 60px -30px rgba(0, 0, 0, 0.3);
  --glow-primary: 0 0 20px rgba(0, 212, 255, 0.4);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  border-radius: 8px;
}

/* Utilities */
.container {
  max-width: 1140px;
  /* Slightly wider for the 2-column layout */
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #0a2540;
  box-shadow: var(--glow-primary);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-lg) 0;
  /* Increased top padding */
  z-index: 1000;
  transition: background var(--transition-fast);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 24px;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

.logo-dark {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 15px;
}

.nav-links.dark-mode a {
  color: var(--color-text-dark);
}

.nav-links a:hover {
  color: var(--color-accent);
}

.hamburger {
  display: none;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: var(--color-white);
  padding: 180px 0 120px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

/* Decorative Background element - Mesh Gradient Effect */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-top: 32px;
}

/* Glass Dashboard Mockup Placeholder */
.glass-mockup {
  width: 100%;
  aspect-ratio: 16/10;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}


/* Internal elements to make it look like a dashboard */
.mockup-header {
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.mockup-header::after {
  /* fake search bar */
  content: '';
  width: 30%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-left: auto;
}

.mockup-sidebar {
  position: absolute;
  top: 45px;
  left: 20px;
  bottom: 20px;
  width: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

.mockup-sidebar-item {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.mockup-sidebar-item:nth-child(2) {
  background: var(--color-accent);
  opacity: 0.6;
}

.mockup-content {
  position: absolute;
  top: 45px;
  left: 95px;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mockup-stats-row {
  display: flex;
  gap: 10px;
}

.mockup-stat-card {
  flex: 1;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.mockup-stat-label {
  width: 40%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.mockup-stat-value {
  width: 70%;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.mockup-chart-row {
  flex: 1;
  display: flex;
  gap: 15px;
}

/* CSS Bar Chart */
.mockup-bar-chart {
  flex: 2;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 5px;
}

.mockup-bar {
  width: 12%;
  background: linear-gradient(to top, var(--color-accent) 0%, rgba(0, 212, 255, 0.2) 100%);
  border-radius: 4px 4px 0 0;
  animation: barGrow 1.5s ease-out forwards;
}

@keyframes barGrow {
  0% {
    height: 0;
  }

  100% {
    height: var(--h);
  }
}

/* CSS Pie Chart */
.mockup-pie-wrapper {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mockup-pie {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(var(--color-accent) 0% 65%,
      rgba(255, 255, 255, 0.1) 65% 85%,
      rgba(255, 255, 255, 0.3) 85% 100%);
  position: relative;
}

.mockup-pie::after {
  /* Donut hole */
  content: '';
  position: absolute;
  inset: 15%;
  background: #0f3c66;
  /* Match hero gradient approx */
  border-radius: 50%;
}


/* Features Highlights */
.features-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background: #fff;
  padding: var(--spacing-lg);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #e3f2fd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
  font-size: 24px;
}

.feature-card h3 {
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  color: #6b7c93;
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.cta-box {
  background: var(--color-primary);
  color: white;
  padding: 60px 20px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

/* Footer */
.footer {
  background: #f6f9fc;
  padding: 60px 0 20px;
  color: #6b7c93;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.copyright {
  border-top: 1px solid #e6ebf1;
  padding-top: 20px;
  text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--color-primary);
    flex-direction: column;
    padding: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  }
}