/* ============================================
   RESET & CSS VARIABLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Colors */
  --primary: #0F766E;
  --primary-light: #14B8A6;
  --primary-dark: #115E59;
  --accent: #6366F1;
  --neon: #22D3EE;

  /* Slate Palette */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --slate-950: #020617;

  /* Semantic Colors */
  --success: #10B981;
  --success-green: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  /* Aliases used in inline styles */
  --neon-cyan: #22D3EE;
  --accent-indigo: #6366F1;
  --primary-teal: #0F766E;
  --primary-teal-light: #14B8A6;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 300ms ease;
  --transition-slow: 500ms ease;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: #020617;
  color: #E2E8F0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #F8FAFC;
}

h1 {
  font-size: 3.375rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
  font-size: 1rem;
  line-height: 1.7;
  color: #CBD5E1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ============================================
   CONTAINER & GRID
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 var(--spacing-lg);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.brand-lead {
  color: #F8FAFC;
}

.brand-select {
  color: var(--primary-light);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #CBD5E1;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-light);
}

.navbar-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #CBD5E1;
  transition: var(--transition);
  border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #F8FAFC;
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #F8FAFC;
  border: 1px solid #CBD5E1;
}

.btn-secondary:hover {
  background: rgba(226, 232, 240, 0.1);
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.btn-ghost {
  background: transparent;
  color: #CBD5E1;
  border: 1px solid rgba(203, 213, 225, 0.5);
}

.btn-ghost:hover {
  color: var(--primary-light);
  border-color: var(--primary-light);
  background: rgba(20, 184, 166, 0.1);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Section label (small uppercase text above titles) */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: auto;
  background: linear-gradient(135deg, #020617, #0c1929, #0f2a2d);
  padding-top: 140px;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

/* Grid dot background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
}
.glow-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(20, 184, 166, 0.5);
  top: -200px;
  left: -200px;
}
.glow-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.4);
  bottom: -100px;
  right: -100px;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #14B8A6, #22D3EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Float cards */
.float-card {
  position: absolute;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.float-card-1 {
  width: 140px;
  top: 80px;
  right: -20px;
  animation-delay: 0s;
}

.float-card-2 {
  width: 140px;
  bottom: 40px;
  left: -20px;
  animation-delay: 0.5s;
}

.float-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 0.25rem;
}

.float-label {
  font-size: 0.65rem;
  color: #94A3B8;
  font-weight: 600;
}

/* Dashboard preview with 3D perspective */
.dashboard-preview {
  position: relative;
  width: 100%;
  perspective: 1000px;
}

.dashboard-preview .browser-frame {
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.dashboard-preview:hover .browser-frame {
  transform: rotateY(-2deg) rotateX(1deg);
}

/* CSS-only floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(34, 211, 238, 0.6);
  border-radius: 50%;
  animation: particle-drift linear infinite;
}
.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-duration: 8s; }
.hero-particles span:nth-child(2) { left: 25%; top: 60%; animation-duration: 10s; animation-delay: 1s; }
.hero-particles span:nth-child(3) { left: 40%; top: 30%; animation-duration: 7s; animation-delay: 2s; }
.hero-particles span:nth-child(4) { left: 55%; top: 70%; animation-duration: 9s; animation-delay: 0.5s; }
.hero-particles span:nth-child(5) { left: 70%; top: 15%; animation-duration: 11s; animation-delay: 1.5s; }
.hero-particles span:nth-child(6) { left: 85%; top: 50%; animation-duration: 8s; animation-delay: 3s; }
.hero-particles span:nth-child(7) { left: 15%; top: 80%; animation-duration: 12s; animation-delay: 0.3s; }
.hero-particles span:nth-child(8) { left: 60%; top: 45%; animation-duration: 9s; animation-delay: 2.5s; }
.hero-particles span:nth-child(9) { left: 35%; top: 90%; animation-duration: 10s; animation-delay: 1.8s; }
.hero-particles span:nth-child(10) { left: 90%; top: 25%; animation-duration: 7s; animation-delay: 0.7s; }
.hero-particles span:nth-child(11) { left: 5%; top: 45%; animation-duration: 11s; animation-delay: 4s; }
.hero-particles span:nth-child(12) { left: 48%; top: 10%; animation-duration: 9s; animation-delay: 2.2s; }
.hero-particles span:nth-child(13) { left: 78%; top: 85%; animation-duration: 8s; animation-delay: 3.5s; }
.hero-particles span:nth-child(14) { left: 20%; top: 35%; animation-duration: 10s; animation-delay: 1.2s; }
.hero-particles span:nth-child(15) { left: 65%; top: 55%; animation-duration: 12s; animation-delay: 0.8s; }

@keyframes particle-drift {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translate(30px, -40px); opacity: 0.6; }
  90% { opacity: 0.8; }
  100% { transform: translate(-20px, 50px); opacity: 0; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid var(--primary-light);
  border-radius: 999px;
  width: fit-content;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.875rem;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #CBD5E1;
  line-height: 1.8;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.browser-frame {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: #0F172A;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(226, 232, 240, 0.1);
}

.browser-frame::before {
  content: '';
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  height: 48px;
  background: #0F172A;
  border-bottom: 1px solid rgba(226, 232, 240, 0.05);
  position: relative;
}

.browser-frame::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 1rem;
  width: 12px;
  height: 12px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow:
    20px 0 0 #F59E0B,
    40px 0 0 #10B981;
  z-index: 10;
}

.browser-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-proof-avatars {
  display: flex;
  margin-left: -0.75rem;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8FAFC;
  font-weight: 700;
  font-size: 0.75rem;
  border: 2px solid #020617;
  margin-left: -10px;
}

.avatar:first-child {
  margin-left: 0;
}

.social-proof-text {
  color: #CBD5E1;
}

.social-proof-text strong {
  color: #F8FAFC;
  font-weight: 600;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 4rem 0;
  border-top: 1px solid rgba(226, 232, 240, 0.1);
  border-bottom: 1px solid rgba(226, 232, 240, 0.1);
}

.stat {
  text-align: center;
  padding: 2rem 0;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #94A3B8;
}

/* ============================================
   FEATURE GRID CARDS
   ============================================ */
.feature-grid-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-grid-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(90deg, var(--primary-light), var(--neon));
  transition: height 0.4s ease;
}

.feature-grid-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.2);
}

.feature-grid-card:hover::before {
  height: 3px;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(20, 184, 166, 0.1);
}

.feature-grid-card h3 {
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.feature-grid-card p {
  position: relative;
  z-index: 1;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: var(--transition-slow);
  position: relative;
  text-align: center;
}

.pricing-card.popular {
  border-color: var(--primary-light);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.2);
}

.pricing-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #F8FAFC;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.pricing-badge {
  display: inline-block;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-light);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  margin: 1.5rem 0;
}

.pricing-period {
  color: #94A3B8;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.1);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li:before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 1.25rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(30, 41, 59, 0.6);
  padding: 0.75rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.1);
  margin-bottom: 3rem;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  background: rgba(226, 232, 240, 0.2);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-switch.active {
  background: var(--primary-light);
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background: #F8FAFC;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(24px);
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonial-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
}

.testimonial-content {
  color: #CBD5E1;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8FAFC;
  font-weight: 700;
}

.testimonial-name {
  font-weight: 600;
  color: #F8FAFC;
}

.testimonial-location {
  font-size: 0.875rem;
  color: #94A3B8;
}

/* ============================================
   INTEGRATION CARDS
   ============================================ */
.integration-card {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.integration-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
}

.integration-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* ============================================
   CARD (Generic)
   ============================================ */
.card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(226, 232, 240, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Team & Value cards (About page) */
.team-card:hover,
.value-card:hover {
  border-color: rgba(226, 232, 240, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
  transform: translateY(-4px);
}

.blog-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(34, 211, 238, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-category {
  display: inline-block;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-light);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #94A3B8;
  align-items: center;
}

.blog-excerpt {
  color: #CBD5E1;
  flex: 1;
  line-height: 1.7;
}

.blog-read-more {
  color: var(--primary-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.blog-read-more:hover {
  gap: 0.75rem;
}

/* ============================================
   ARTICLE PAGES
   ============================================ */
.article-header {
  padding-top: 140px;
  text-align: center;
  padding-bottom: 3rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(20, 184, 166, 0.05));
}

.article-header h1 {
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.95rem;
  color: #94A3B8;
  flex-wrap: wrap;
}

.article-body {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 var(--spacing-lg);
}

.article-body h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--primary-light);
  line-height: 1.3;
}

.article-body p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-body ul,
.article-body ol {
  margin: 1.5rem 0 1.5rem 2rem;
  color: #CBD5E1;
}

.article-body li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.article-body code {
  background: rgba(226, 232, 240, 0.1);
  color: var(--neon);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.article-body blockquote {
  border-left: 4px solid var(--primary-light);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: #94A3B8;
  font-style: italic;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.back-to-blog:hover {
  gap: 0.75rem;
}

/* ============================================
   ACCORDION (FAQ/HELP CENTER)
   ============================================ */
.accordion-item {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-header {
  padding: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #F8FAFC;
  transition: var(--transition);
  font-size: 1.125rem;
}

.accordion-header:hover {
  background: rgba(226, 232, 240, 0.05);
  color: var(--primary-light);
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  transition: var(--transition);
  color: var(--primary-light);
}

.accordion-item.open .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: #CBD5E1;
  padding: 0 1.5rem;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: #1E293B;
  border: 1px solid #334155;
  color: #F8FAFC;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748B;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
  background: #0F172A;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid rgba(226, 232, 240, 0.1);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column h4 {
  color: #F8FAFC;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #94A3B8;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.1);
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-copyright {
  color: #64748B;
  font-size: 0.875rem;
}

.footer-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(226, 232, 240, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.2);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  color: #CBD5E1;
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-light);
  color: #020617;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes page-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll-triggered animation classes (transition-based) */
.fade-up, .fade-left, .fade-right, .scale-in {
  opacity: 0;
  transition: all 0.6s ease-out;
}

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

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

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

.scale-in {
  transform: scale(0.9);
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .navbar-cta {
    display: none;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-image {
    order: -1;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-cta {
    flex-direction: column;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .float-card {
    display: none;
  }

  .dashboard-preview .browser-frame {
    transform: none;
  }

  .grid-2,
  .grid-3,
  .grid-6 {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  .article-body {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  .btn,
  .btn-lg,
  .btn-sm {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
  }

  .navbar-cta {
    display: none !important;
  }

  .nav-menu {
    padding: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .social-proof {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  .pricing-toggle {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .article-header {
    padding-top: 100px;
  }

  .article-body {
    margin: 2rem auto;
  }

  .feature-grid-card,
  .pricing-card,
  .card {
    padding: 1.5rem;
  }
}

/* ============================================
   UTILITY & MISC
   ============================================ */
.active {
  color: var(--primary-light);
}

main {
  background: #020617;
}

section {
  padding: 100px 0;
}

section + section {
  padding-top: 80px;
}

/* Inner page header — used on all pages except homepage */
.page-header {
  padding: 140px 20px 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.125rem;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

p, li {
  color: #CBD5E1;
}

strong, b {
  color: #F8FAFC;
  font-weight: 600;
}

/* Page content fade-in animation */
.page-content {
  animation: page-in 0.4s ease-out;
}

/* Link underline animation */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: var(--primary-light);
  color: #020617;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon);
}

/* Loading spinner */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* data-animation elements: visible by default, animation classes handle the rest */
