/* --- Reset & Variables --- */
:root {
  /* Colors */
  --bg-dark: #050505;
  --bg-card: rgba(20, 20, 20, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.03);

  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --text-pro: #888;

  /* Logo Colors: Blue/Teal Gradient */
  --accent-primary: #00E5FF;
  /* Cyan */
  --accent-secondary: #2979FF;
  /* Blue */
  --accent-glow: rgba(0, 229, 255, 0.4);

  --accent-blue-dark: #0A1929;

  /* Spacing */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 1rem;
  /* 16px */
  --spacing-md: 2rem;
  /* 32px */
  --spacing-lg: 4rem;
  /* 64px */
  --spacing-xl: 8rem;
  /* 128px */

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Font */
  --font-main: 'Outfit', sans-serif;

  /* Borders */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --border-glow: 1px solid rgba(0, 229, 255, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #FFFFFF 0%, #AAAAAA 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-sm);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
}

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

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

/* --- Layout Utilities --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

/* --- Components --- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 30px rgba(0, 229, 255, 0.4);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Glass Card */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px -10px rgba(0, 229, 255, 0.15);
  transform: translateY(-5px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

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

/* Nav Links Active State */
.nav-links a {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-primary);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: radial-gradient(circle at 50% 10%, rgba(0, 229, 255, 0.1) 0%, transparent 60%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Stats/Metrics */
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

/* Process Steps */
.step-card {
  position: relative;
  z-index: 1;
}

.step-number {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 0;
  right: var(--spacing-md);
  line-height: 1;
  z-index: -1;
}

/* ROI Calculator */
.roi-calc {
  background: var(--bg-card);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: var(--border-subtle);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--text-secondary);
  color: var(--text-primary);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--spacing-lg) 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Animations --- */

/* Helper classes for JS observation */
.animate {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  filter: blur(10px);
  transition: all 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.fade-in {
  transition-delay: 0.1s;
}

.fade-in-delay-1 {
  transition-delay: 0.2s;
}

.fade-in-delay-2 {
  transition-delay: 0.3s;
}

.fade-in-delay-3 {
  transition-delay: 0.4s;
}

.fade-in-delay-4 {
  transition-delay: 0.5s;
}

.fade-in-delay-5 {
  transition-delay: 0.6s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 229, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
  }
}

.pulse {
  animation: pulse-glow 2s infinite;
}

/* Header Symbol Animation */
@keyframes fade-in-30 {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 0.3;
    transform: scale(1);
  }
}

.hero-symbol {
  width: 200px;
  height: auto;
  margin: 0 auto 3rem auto;
  opacity: 0;
  /* Handled by animation */
  animation: fade-in-30 5s ease-out forwards;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Simplification for now, would need JS toggle */
  }

  .mobile-toggle {
    display: block;
  }

  h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: var(--spacing-lg) 0;
  }
}