/* Marketing Pages Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Primary Colors */
    --primary-green: #10B981;
    --primary-blue: #3B82F6;
    --primary-yellow: #FCD34D;
    
    /* Secondary Colors */
    --dark-green: #059669;
    --dark-blue: #2563EB;
    --dark-yellow: #F59E0B;
    
    /* Light variations */
    --light-green: #D1FAE5;
    --light-blue: #DBEAFE;
    --light-yellow: #FEF3C7;
    
    /* Backgrounds */
    --bg-main: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-accent: #F3F4F6;
    
    /* Text Colors */
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(59, 130, 246, 0.08);
    --shadow-md: 0 8px 24px rgba(59, 130, 246, 0.12);
    --shadow-lg: 0 16px 48px rgba(59, 130, 246, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-main);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 1.5rem;
    line-height: 1;
    transition: color 0.2s;
    border-radius: 6px;
}

.nav-toggle:hover {
    color: var(--primary-blue);
}

.nav-toggle-icon {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-logout-btn {
    background: none;
    border: none;
    color: var(--text-medium);
    cursor: pointer;
    font-weight: 500;
    padding: 0;
    font-size: 1rem;
    transition: color 0.2s;
    font-family: inherit;
}

/* Nav dropdown (Services menu) */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s;
}

.nav-dropdown-toggle:hover {
    color: var(--primary-blue);
}

.nav-dropdown-caret {
    font-size: 0.6rem;
    opacity: 0.8;
    transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown.nav-dropdown-open .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    min-width: 160px;
    background: var(--bg-main);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: 0.5rem 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.nav-dropdown-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-accent);
    color: var(--primary-blue);
}

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

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

/* Section */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.card-description {
    color: var(--text-medium);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    border-radius: 20px;
    margin: 5rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-section a {
    display: block;
    color: var(--text-medium);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-light);
}

/* Code Block */
.code-block {
    background: #1E293B;
    color: #E2E8F0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 1rem 0;
}

.code-block code {
    font-family: 'Courier New', monospace;
}

code {
    background: var(--bg-accent);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-header {
        width: 100%;
        min-height: 2.5rem;
    }

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

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0 0;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        margin-top: 0.5rem;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a,
    .nav-links button,
    .nav-links span {
        display: block;
        width: 100%;
        padding: 0.75rem 0;
        text-align: left;
        font-size: 1rem;
    }

    .nav-links .nav-cta {
        text-align: center;
        margin-top: 0.5rem;
    }

    /* Mobile: dropdown as expandable block */
    .nav-dropdown {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
        text-align: left;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 0;
        padding: 0 0 0 1rem;
        box-shadow: none;
        border: none;
        background: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease;
    }

    .nav-dropdown.nav-dropdown-open .nav-dropdown-menu {
        max-height: 320px;
        padding: 0.25rem 0 0.5rem 1rem;
    }

    .nav-dropdown-menu a {
        padding: 0.5rem 0;
    }

    .navbar.nav-menu-open .nav-links {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section {
        padding: 3rem 0;
    }

    .cta-section {
        margin: 3rem 1rem;
        padding: 3rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}
