:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #7c3aed;
    --bg-dark: #0f172a;
    --text-slate: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.saas-navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.hero-section {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.15), transparent),
        radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.15), transparent);
    overflow: hidden;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.btn-primary-saas {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-saas:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
    color: #fff;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 1.5rem;
}

.section-tag {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.pricing-card {
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 2rem;
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.1), transparent);
    border-color: var(--primary-color);
    position: relative;
}

.pricing-card.popular::after {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
}

.saas-footer {
    background:
        radial-gradient(circle at top left, rgba(79, 70, 229, 0.16), transparent 30%),
        linear-gradient(180deg, #0b1120 0%, #08101d 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.footer-cta-panel {
    padding: 40px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.18), rgba(14, 165, 233, 0.12));
    border: 1px solid rgba(148, 163, 184, 0.2);
    margin-bottom: 56px;
}

.footer-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-cta-title {
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.footer-cta-copy {
    color: #cbd5e1;
    max-width: 52ch;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-lg-end;
}

.footer-main {
    padding-bottom: 40px;
}

.footer-brand {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-brand:hover {
    color: #fff;
}

.footer-copy {
    color: #94a3b8;
    line-height: 1.7;
    max-width: 40ch;
}

.footer-copy-small {
    max-width: none;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a,
.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-trust-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.footer-trust-item i {
    color: #60a5fa;
}

.footer-contact-card {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    max-width: 420px;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-row i {
    color: #93c5fd;
    width: 18px;
}

.footer-contact-row a {
    color: #e2e8f0;
    text-decoration: none;
}

.footer-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.footer-link-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-link-card strong {
    color: #fff;
}

.footer-link-card span {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(96, 165, 250, 0.06);
}

.footer-newsletter .form-control::placeholder {
    color: rgba(226, 232, 240, 0.5);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-copyright {
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 132px 0 72px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .glass-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .saas-navbar .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 16px;
        background: rgba(15, 23, 42, 0.96);
        border: 1px solid var(--glass-border);
    }

    .saas-navbar .navbar-nav {
        align-items: stretch !important;
        gap: 0.25rem;
    }

    .saas-navbar .nav-link,
    .saas-navbar .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    footer {
        padding: 56px 0 32px;
    }

    .footer-cta-panel {
        padding: 28px;
        margin-bottom: 40px;
    }

    .footer-cta-title {
        font-size: 1.6rem;
    }

    .footer-cta-actions {
        justify-content: flex-start;
    }

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

@media (max-width: 767px) {
    .hero-section {
        padding: 120px 0 56px;
    }

    .hero-title {
        font-size: 2.4rem;
        line-height: 1.08;
    }

    .section-tag {
        letter-spacing: 1.4px;
    }

    .btn-primary-saas {
        width: 100%;
        padding: 14px 24px;
    }

    .footer-cta-actions,
    .footer-bottom-links {
        flex-direction: column;
        align-items: stretch;
    }

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

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