:root {
      /* Modern SaaS Palette */
      --brand-primary: #4f46e5;    /* Indigo */
      --brand-dark: #3730a3;
      --brand-light: #e0e7ff;
      --accent: #0ea5e9;           /* Sky Blue */
      --surface-bg: #f8fafc;
      --surface-card: #ffffff;
      --text-main: #0f172a;        /* Slate 900 */
      --text-muted: #64748b;       /* Slate 500 */
      --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
      --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
      --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
      --radius-md: 0.75rem;
      --radius-lg: 1rem;
      --radius-xl: 1.5rem;
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text-main);
      background-color: var(--surface-bg);
      line-height: 1.6;
    }

    h1, h2, h3, h4, h5, h6 {
      letter-spacing: -0.025em;
      font-weight: 700;
    }

    a { text-decoration: none; }

    /* Button Overrides */
    .btn-primary {
      background-color: var(--brand-primary);
      border-color: var(--brand-primary);
      padding: 0.6rem 1.4rem;
      font-weight: 600;
      border-radius: 0.5rem;
      transition: all 0.2s ease;
    }
    .btn-primary:hover {
      background-color: var(--brand-dark);
      border-color: var(--brand-dark);
      transform: translateY(-1px);
    }
    .btn-outline-primary {
      color: var(--brand-primary);
      border-color: var(--brand-primary);
      padding: 0.6rem 1.4rem;
      font-weight: 600;
      border-radius: 0.5rem;
    }
    .btn-outline-primary:hover {
      background-color: var(--brand-light);
      color: var(--brand-primary);
      border-color: var(--brand-primary);
    }

    /* Navbar */
    .navbar {
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(12px);
      box-shadow: var(--shadow-sm);
    }
    .nav-link {
      font-weight: 500;
      color: var(--text-muted);
    }
    .nav-link:hover, .nav-link.active {
      color: var(--brand-primary);
    }

    /* Hero Section */
    .hero {
      position: relative;
      background: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 40%),
                  radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 40%);
      overflow: hidden;
      padding-top: 5rem;
      padding-bottom: 5rem;
    }
    
    /* CSS MOCKUP: Dashboard */
    .css-dashboard {
      background: #fff;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-xl);
      border: 1px solid rgba(0,0,0,0.05);
      overflow: hidden;
      display: flex;
      height: 400px; /* Fixed height for visual consistency */
      position: relative;
      font-family: sans-serif;
    }
    
    /* Dashboard Sidebar */
    .db-sidebar {
      width: 60px;
      background: #f1f5f9;
      border-right: 1px solid #e2e8f0;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 1rem;
      gap: 1rem;
    }
    .db-icon { width: 32px; height: 32px; border-radius: 8px; background: #cbd5e1; }
    .db-icon.active { background: var(--brand-primary); }

    /* Dashboard Main */
    .db-main {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    /* Dashboard Header */
    .db-header {
      height: 50px;
      border-bottom: 1px solid #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.5rem;
    }
    .db-title { width: 100px; height: 12px; background: #e2e8f0; border-radius: 4px; }
    .db-user { width: 28px; height: 28px; border-radius: 50%; background: #94a3b8; }

    /* Dashboard Kanban Board */
    .db-content {
      flex: 1;
      padding: 1.5rem;
      display: flex;
      gap: 1rem;
      background: #fafafa;
    }
    .db-col {
      flex: 1;
      background: #f1f5f9; /* Column bg */
      border-radius: 8px;
      padding: 0.75rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .db-col-header {
      height: 8px;
      width: 50%;
      background: #cbd5e1;
      border-radius: 4px;
      margin-bottom: 0.5rem;
    }
    .db-card {
      background: #fff;
      padding: 0.75rem;
      border-radius: 6px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.05);
      border: 1px solid #e2e8f0;
    }
    .db-line { height: 6px; border-radius: 3px; background: #e2e8f0; margin-bottom: 6px; }
    .db-line.short { width: 60%; }
    .db-tag { width: 40px; height: 14px; border-radius: 10px; background: #dbeafe; margin-top: 8px; }

    /* Floating Stats Cards (Overlay on Hero) */
    .stat-card {
      position: absolute;
      background: white;
      padding: 1rem;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-lg);
      border: 1px solid rgba(0,0,0,0.05);
      animation: float 6s ease-in-out infinite;
      z-index: 2;
    }
    .stat-card.top-right { top: 20px; right: -20px; }
    .stat-card.bottom-left { bottom: 40px; left: -20px; animation-delay: 2s; }
    
    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
      100% { transform: translateY(0px); }
    }

    /* Cards */
    .feature-card, .benefit-card, .pricing-card {
      background: var(--surface-card);
      border: 1px solid rgba(0,0,0,0.04);
      border-radius: var(--radius-lg);
      transition: all 0.3s ease;
      height: 100%;
      padding: 2rem;
    }
    .feature-card:hover, .benefit-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
      border-color: rgba(79, 70, 229, 0.1);
    }
    
    /* Integration Tiles Hover */
    .integration-tile {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .integration-tile:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg) !important;
        border-color: var(--brand-light) !important;
    }

    /* Section Spacing */
    section {
      padding: 5rem 0;
      scroll-margin-top: 80px;
    }
    .bg-soft { background-color: #f1f5f9; }

    /* Icons inside cards */
    .icon-box {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      background: var(--brand-light);
      color: var(--brand-primary);
      margin-bottom: 1.5rem;
      font-size: 1.5rem;
    }

    /* Comparison Table */
    .table-modern {
      border-collapse: separate;
      border-spacing: 0;
      width: 100%;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .table-modern th, .table-modern td {
      border: 1px solid #e2e8f0;
      padding: 1rem;
      background: white;
    }
    .table-modern th { background: #f8fafc; font-weight: 600; }
    .table-modern .highlight-col { background: #f0f9ff; border-color: #bae6fd; }
    
    /* Interactive Pricing Box */
    .pricing-teaser {
        background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
        border: 1px solid #e2e8f0;
        border-radius: var(--radius-xl);
        padding: 3rem;
        position: relative;
        overflow: hidden;
    }
    .pricing-teaser::before {
        content: '';
        position: absolute;
        top: 0; right: 0;
        width: 200px; height: 200px;
        background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        transform: translate(30%, -30%);
    }

    /* Footer */
    footer {
      background-color: #fff;
      border-top: 1px solid #e2e8f0;
    }

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #822f2f;
    background-color: var(--bs-nav-pills-link-active-bg);
}