:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text-light);
    line-height: 1.6;
}

.bg-primary-dark {
    background-color: var(--primary-dark);
}

.bg-dark-light {
    background-color: var(--dark-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-light);
}

p {
    color: var(--text-light);
    opacity: 0.9;
}

.text-light {
    color: var(--text-light) !important;
    opacity: 0.9;
}

.text-muted {
    color: var(--text-muted) !important;
}

.code-content > pre {
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Platform Preview */
.platform-preview {
    position: relative;
    perspective: 1000px;
}

.code-window {
    background: var(--dark-light);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: rotateY(-5deg);
    transition: transform 0.3s ease;
}

.code-window:hover {
    transform: rotateY(0);
}

.window-header {
    padding: 12px;
    background: var(--dark);
    border-radius: 8px 8px 0 0;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.dot:nth-child(1) { background: #ef4444; }
.dot:nth-child(2) { background: #f59e0b; }
.dot:nth-child(3) { background: #10b981; }

.code-content {
    padding: 20px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Feature Cards */
.feature-card {
    background: var(--dark-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Integration Diagram */
.integration-diagram {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.node {
    background: var(--dark-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.node:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Form Elements */
.form-control {
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.form-control:focus {
    background: var(--dark-light);
    border-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .integration-diagram {
        grid-template-columns: 1fr;
    }
}

/* Quote Preview */
.quote-preview {
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quote-preview:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.quote-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.quote-details {
    padding-top: 1rem;
}

/* Pricing Chart */
.pricing-chart {
    background: var(--dark-light);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress {
    background-color: var(--dark);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    font-weight: 500;
    padding-left: 1rem;
}

/* Milestone Cards */
.milestone-card {
    background: var(--dark-light);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.milestone-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.milestone-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
}

.timeline-content {
    background: var(--dark-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 2rem;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd)::before {
        left: -10px;
    }
    
    .timeline-item:nth-child(even)::before {
        left: -10px;
    }
}

/* Custom Dropdown Styles */
.dropdown-menu {
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--text-light);
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.nav-link.dropdown-toggle {
    position: relative;
    padding-right: 1.5rem;
}

.nav-link.dropdown-toggle::after {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

@media (max-width: 992px) {
    .nav-link.dropdown-toggle::after {
        right: 0;
    }
}

.nav-link.dropdown-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
} 

.navbar.navbar-expand-lg.navbar-dark.bg-dark {
    box-shadow: 0px 10px 5px 0px rgba(0,0,0,0.75);
}

.top-header{
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 250px;
}

header.position-fixed {
    width: 100%;
}

header.position-fixed .navbar {
    flex-wrap: nowrap;
}

.header-logo {
    height: 75px;
    max-height: 75px;
    width: auto;
}

@media (max-width: 767.98px) {
    .header-logo {
        height: 44px;
        max-height: 44px;
    }

    .header-audit-btn {
        --bs-btn-padding-y: 0.35rem;
        --bs-btn-padding-x: 0.65rem;
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .header-audit-btn-icon {
        margin-right: 0.35rem !important;
        font-size: 0.85em;
    }

    .header-nav-inner {
        gap: 0.5rem !important;
    }
}

@media (max-width: 380px) {
    .header-audit-btn-label {
        font-size: 0.7rem;
    }
}

/* Site header — main nav + mobile collapse */
.header-main-nav .nav-link {
    color: rgba(248, 250, 252, 0.85);
}

.header-main-nav .nav-link:hover,
.header-main-nav .nav-link:focus {
    color: var(--text-light);
}

.header-main-nav .nav-link.active {
    color: var(--text-light);
    font-weight: 600;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: rgba(37, 99, 235, 0.2);
    color: var(--text-light);
}

/* Site footer — muted links + related blocks */
.footer-muted-link {
    color: var(--text-muted);
    transition: color 0.15s ease;
}

.footer-muted-link:hover {
    color: rgba(248, 250, 252, 0.95);
}

.footer-feature-link:hover {
    color: #93c5fd !important;
}

.footer-feature-link:hover .fa-arrow-right {
    transform: translateX(3px);
}

.footer-feature-link .fa-arrow-right {
    transition: transform 0.15s ease;
}

.letter-spacing-wide {
    letter-spacing: 0.06em;
}

.footer-related-links .footer-muted-link {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}