:root {
      --navy-950: #060910;
      --navy-900: #0e1424;
      --navy-800: #161d33;
      --navy-700: #212a48;
      --ink: #eef0f9;
      --ink-dim: #9aa3be;
      --paper: #f4f5fb;
      --paper-card: #fff;
      --ink-on-paper: #141826;
      --muted-on-paper: #5b6478;
      --violet: #6c63ff;
      --violet-light: #8b83ff;
      --blue: #3d8bff;
      --blue-light: #60a5fa;
      --amber: #ffb020;
      --green: #22d3a0;
      --pink: #f471b5;
      --red: #ff4b4b;
      --line-dark: rgba(255, 255, 255, .08);
      --line-light: rgba(15, 20, 40, .07);
      --grad-brand: linear-gradient(135deg, #6c63ff, #3d8bff);
      --grad-amber: linear-gradient(135deg, #ffcf5c, #ffb020);
      --font-display: 'Space Grotesk', Arial, sans-serif;
      --font-body: 'Inter', Arial, sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      --radius: 20px;
      --radius-btn: 10px;
      --shadow: 0 20px 60px rgba(0, 0, 0, .08);
      --shadow-dark: 0 24px 80px rgba(0, 0, 0, .4);
      --ease: .28s cubic-bezier(.4, 0, .2, 1);
    }
html[data-theme="dark"] {
      --page-bg: #0b1220;
      --page-surface: #101a2a;
      --page-text: #edf2fe;
      --page-muted: #b7c1d9;
      --page-border: rgba(255, 255, 255, .08);
    }

/* Fixes for Bootstrap Overrides */
a.glass-card, .glass-card a {
    color: inherit !important;
    text-decoration: none !important;
}
.glass-card h3 {
    color: #fff !important;
}
.glass-card p {
    color: var(--text-muted) !important;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: rgba(25, 25, 35, 0.6);
  --text-main: #f0f0f5;
  --text-muted: #a0a0b0;
  --accent-primary: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.4);
  --accent-secondary: #a855f7;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(20, 20, 30, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --error-color: #ef4444;
  --success-color: #10b981;
  --warning-color: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-primary) !important;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08), transparent 25%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-secondary);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Nav */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.nav-links a.active {
  color: var(--accent-primary);
}

/* Glassmorphism Cards */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 40px var(--accent-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: white;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: #333;
  color: #777;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

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

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

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

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

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: white;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Limit & CTA Banner */
.limit-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  display: none; /* Hidden by default via JS */
}

.limit-banner.active {
  display: flex;
}

.limit-text {
  color: #fca5a5;
  font-weight: 500;
}

.limit-banner .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  background: var(--error-color);
}

/* Footer */
footer {
  margin-top: auto;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Grid Layouts */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-free { background: rgba(16, 185, 129, 0.15); color: var(--success-color); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-premium { background: rgba(245, 158, 11, 0.15); color: var(--warning-color); border: 1px solid rgba(245, 158, 11, 0.3); }

/* Cross Promotion Alert */
.cross-promo-alert {
  background: rgba(99, 102, 241, 0.1);
  border-left: 4px solid var(--accent-primary);
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-top: 1.5rem;
  display: none;
}


/* NAVBAR */
    .navbar {
      background: rgba(6, 9, 16, .78) !important;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--line-dark);
      transition: background var(--ease), box-shadow var(--ease);
      padding: 12px 0
    }

    .navbar.is-scrolled {
      background: rgba(6, 9, 16, .95) !important;
      box-shadow: 0 8px 40px rgba(0, 0, 0, .4)
    }

    .navbar-brand img {
      height: 36px;
      width: auto;
      display: inline-block
    }

    .navbar-brand span {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.05rem;
      color: #fff
    }

    .nav-link {
      color: rgba(255, 255, 255, .78) !important;
      font-weight: 500;
      font-size: .92rem;
      padding: 6px 14px !important;
      position: relative;
      transition: color var(--ease)
    }

    .nav-link::after {
      content: "";
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 2px;
      height: 2px;
      background: var(--grad-brand);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform var(--ease);
      border-radius: 2px
    }

    .nav-link:hover {
      color: #fff !important
    }

    .nav-link:hover::after,
    .nav-link.active::after {
      transform: scaleX(1)
    }

    .dropdown-menu {
      background: #0e1424;
      border: 1px solid var(--line-dark);
      border-radius: 12px;
      padding: 8px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
      min-width: 220px
    }

    .dropdown-item {
      color: var(--ink-dim);
      border-radius: 8px;
      padding: 10px 14px;
      font-size: .9rem;
      transition: background var(--ease), color var(--ease)
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
      color: #fff;
      background: rgba(108, 99, 255, .15)
    }

    @media(min-width:992px) {
      .navbar .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0
      }
    }

    .nav-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 16px;
      height: 38px;
      border-radius: var(--radius-btn);
      font-weight: 700;
      font-size: .875rem;
      text-decoration: none;
      border: 0;
      transition: transform .16s ease, box-shadow .16s ease;
      white-space: nowrap
    }

    .nav-pricing {
      background: var(--grad-amber);
      color: #0e1424 !important;
      box-shadow: 0 6px 20px rgba(255, 176, 32, .3)
    }

    .nav-demo {
      background: var(--grad-brand);
      color: #fff !important;
      box-shadow: 0 6px 20px rgba(108, 99, 255, .35)
    }

    .nav-btn:hover {
      transform: translateY(-2px)
    }

    

/* FOOTER */
    .site-footer {
      background: var(--navy-950);
      border-top: 1px solid var(--line-dark)
    }

    .footer-brand-desc {
      color: var(--ink-dim);
      font-size: .875rem;
      line-height: 1.6;
      max-width: 280px
    }

    .footer-social {
      display: flex;
      gap: 10px;
      margin-top: 16px
    }

    .footer-social a {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: rgba(255, 255, 255, .06);
      border: 1px solid var(--line-dark);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--ink-dim);
      text-decoration: none;
      font-size: .9rem;
      transition: background var(--ease), color var(--ease)
    }

    .footer-social a:hover {
      background: rgba(108, 99, 255, .2);
      color: var(--violet-light)
    }

    .site-footer h3 {
      color: #fff;
      font-size: .92rem;
      font-weight: 700;
      margin-bottom: 16px
    }

    .site-footer ul li {
      margin-bottom: 8px
    }

    .site-footer a {
      color: var(--ink-dim);
      text-decoration: none;
      font-size: .875rem;
      transition: color var(--ease)
    }

    .site-footer a:hover {
      color: #fff
    }

    .footer-bottom {
      border-top: 1px solid var(--line-dark);
      padding: 20px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      color: var(--ink-dim);
      font-size: .8rem
    }

    .footer-bottom a {
      color: var(--ink-dim);
      text-decoration: none
    }

    .footer-bottom a:hover {
      color: #fff
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(34, 211, 160, .1);
      border: 1px solid rgba(34, 211, 160, .2);
      border-radius: 100px;
      padding: 4px 12px;
      font-size: .72rem;
      color: var(--green)
    }

    .footer-badge::before {
      content: "\25CF";
      font-size: .5rem
    }

    @keyframes spin {
      from {
        transform: rotate(0deg);
      }

      to {
        transform: rotate(360deg);
      }
    }
  


/* Companies Builder Inherited Styles */
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  height: 38px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
  border: 0;
  transition: transform .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.nav-pricing {
  background: linear-gradient(135deg, #ffcf5c, #ffb020);
  color: #0e1424 !important;
  box-shadow: 0 6px 20px rgba(255, 176, 32, .3);
}
.nav-demo {
  background: linear-gradient(135deg, #6c63ff, #3d8bff);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(108, 99, 255, .35);
}
.nav-btn:hover { transform: translateY(-2px); }


/* Fix for fixed-top navbar */
body { padding-top: 80px; }
