/* Header & Navigation */
.header {
    height: var(--header-height);
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    font-family: var(--font-heading);
}

.logo:hover {
    color: var(--color-accent);
}

/* Footer specific logo adjustment if needed currently uses same class */
.footer .logo {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* Note: Footer still has img in html, but if we change that too or keep it mixed. request said "header main logo". I will assume header only for now but text usually looks better consistent. I'll stick to header per request but if I change .logo class it might affect footer img wrapper. 
Actually seeing .logo img rule previously...
Let's remove .logo img rule and just style .logo.
Previous rule was:
.logo img { width: 120px; height: auto; }
I will remove that and add text styles.
But wait, the footer currently uses an image inside .logo. 
If I remove .logo img styles, the footer image might break or look wrong if I don't check.
Let's keep .logo img rule for the footer, but add .logo text styles for the header text.
*/
.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
}

.logo img {
    /* Keep this for footer if we keep image there, or if we mix */
    width: 120px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text-main);
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(to bottom, var(--color-bg-light), var(--color-white));
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p.subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 48px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Feature Cards */
.feature-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 24px 0;
        gap: 16px;
        border-top: 1px solid var(--color-border);
        margin-top: 16px;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    /* Mobile menu needed */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .header .btn {
        display: none;
        /* Hide 'Start Free Trial' button in header on mobile if space is tight, or keep it */
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
    padding: 8px;
}