/* ========================================
   PAGES STYLES - Multi Page Landing
   Common styles for all inner pages
======================================== */

/* ========= Page Hero Section ========= */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--body-bg, #020617) 0%, var(--body-bg-secondary, #0f172a) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(139, 92, 246, 0.1), transparent);
    pointer-events: none;
}

.page-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: #3b82f6;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.page-hero-badge i {
    font-size: 0.9rem;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-primary, #f8fafc);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-hero h1 span {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary, #94a3b8);
    max-width: 600px;
    line-height: 1.7;
}

/* ========= Breadcrumb ========= */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #3b82f6;
}

.breadcrumb span {
    color: var(--text-muted, #64748b);
}

.breadcrumb i {
    font-size: 0.7rem;
    color: var(--text-muted, #64748b);
}

/* ========= Page Content ========= */
.page-content {
    padding: 80px 0;
    background: var(--body-bg, #020617);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========= Section Styles ========= */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: #3b82f6;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary, #f8fafc);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.7;
}

/* ========= Feature Cards ========= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--card-bg, rgba(15, 23, 42, 0.8));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: #3b82f6;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary, #94a3b8);
    line-height: 1.7;
}

/* ========= Info Cards Grid ========= */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--card-bg, rgba(15, 23, 42, 0.8));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    margin-bottom: 16px;
    color: #3b82f6;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.6;
}

/* ========= CTA Section ========= */
.page-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    position: relative;
    overflow: hidden;
}

.page-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-container h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 16px;
}

.cta-container p {
    font-size: 1.2rem;
    color: var(--text-secondary, #94a3b8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-primary, #f8fafc);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.2));
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========= Contact Form ========= */
.contact-form {
    background: var(--card-bg, rgba(15, 23, 42, 0.8));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    border-radius: 24px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: var(--text-primary, #f8fafc);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--input-bg, rgba(15, 23, 42, 0.8));
    border: 1px solid var(--input-border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    color: var(--text-primary, #f8fafc);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========= Pricing Cards ========= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg, rgba(15, 23, 42, 0.8));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50px;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 8px;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary, #94a3b8);
}

.pricing-card .price-desc {
    color: var(--text-secondary, #94a3b8);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary, #94a3b8);
    border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.05));
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #10b981;
}

/* ========= Blog Cards ========= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--card-bg, rgba(15, 23, 42, 0.8));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 28px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-muted, #64748b);
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #3b82f6;
}

.blog-card p {
    color: var(--text-secondary, #94a3b8);
    line-height: 1.6;
}

/* ========= Team Grid ========= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.team-card {
    background: var(--card-bg, rgba(15, 23, 42, 0.8));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.team-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
    margin-bottom: 4px;
}

.team-card .role {
    color: #3b82f6;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.team-card p {
    color: var(--text-secondary, #94a3b8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    color: var(--text-secondary, #94a3b8);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #3b82f6;
    color: white;
}

/* ========= FAQ Section ========= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg, rgba(15, 23, 42, 0.8));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    color: var(--text-primary, #f8fafc);
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #3b82f6;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 24px 20px;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.7;
}

/* ========= Footer Styles ========= */
.site-footer {
    background: var(--body-bg-secondary, #0f172a);
    border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    padding: 80px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary, #f8fafc);
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 2rem;
    color: #3b82f6;
}

.footer-desc {
    color: var(--text-secondary, #94a3b8);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    color: var(--text-secondary, #94a3b8);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--text-primary, #f8fafc);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted, #64748b);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted, #64748b);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #3b82f6;
}

/* ========= Responsive ========= */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
    }
    
    .page-content {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* ========================================
   LIGHT THEME OVERRIDES FOR PAGES
======================================== */
[data-theme="light"] .page-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 100%);
}

[data-theme="light"] .page-hero::before {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(139, 92, 246, 0.05), transparent);
}

[data-theme="light"] .page-hero-title {
    color: #0f172a;
}

[data-theme="light"] .page-hero-description {
    color: #475569;
}

[data-theme="light"] .breadcrumb a {
    color: #64748b;
}

[data-theme="light"] .breadcrumb a:hover {
    color: #3b82f6;
}

[data-theme="light"] .page-content {
    background: #f8fafc;
}

[data-theme="light"] .feature-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .team-card,
[data-theme="light"] .faq-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .feature-card:hover,
[data-theme="light"] .blog-card:hover,
[data-theme="light"] .team-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .feature-card-title,
[data-theme="light"] .blog-card-title,
[data-theme="light"] .team-card h3,
[data-theme="light"] .faq-question {
    color: #0f172a;
}

[data-theme="light"] .feature-card-description,
[data-theme="light"] .blog-card-excerpt,
[data-theme="light"] .team-card p,
[data-theme="light"] .faq-answer {
    color: #475569;
}

[data-theme="light"] .section-title {
    color: #0f172a;
}

[data-theme="light"] .section-description {
    color: #64748b;
}

[data-theme="light"] .page-footer {
    background: #0f172a;
}

[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

[data-theme="light"] .btn-outline-white {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    color: #0f172a;
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ========= Shared Page Enhancements ========= */
.skip-link {
    position: fixed;
    top: -120px;
    left: 16px;
    z-index: 2000;
    padding: 10px 14px;
    border-radius: 10px;
    background: #0f172a;
    border: 1px solid rgba(94, 234, 212, 0.45);
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: top 0.25s ease;
}

.skip-link:focus {
    top: 14px;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    z-index: 1200;
    background: linear-gradient(90deg, #06b6d4 0%, #3b82f6 45%, #14b8a6 100%);
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.45);
    transition: width 0.12s linear;
}

.floating-page-tools {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.floating-tool-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.95);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.floating-tool-btn:hover,
.floating-tool-btn:focus-visible {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(15, 23, 42, 1);
    color: #fff;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.floating-tool-highlight {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-color: rgba(14, 165, 233, 0.95);
    color: #f8fafc;
}

.quick-nav-panel {
    width: min(320px, calc(100vw - 36px));
    max-height: min(62vh, 420px);
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(2, 6, 23, 0.95);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.5);
    padding: 14px;
}

.quick-nav-title {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.quick-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.quick-nav-list a {
    display: block;
    padding: 9px 10px;
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.35;
    border: 1px solid transparent;
}

.quick-nav-list a:hover,
.quick-nav-list a.is-active {
    color: #f8fafc;
    border-color: rgba(14, 165, 233, 0.5);
    background: rgba(14, 165, 233, 0.12);
}

[data-theme="light"] .skip-link {
    background: #e2e8f0;
    border-color: rgba(2, 132, 199, 0.35);
    color: #0f172a;
}

[data-theme="light"] .floating-tool-btn {
    background: rgba(255, 255, 255, 0.98);
    color: #64748b;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .floating-tool-btn:hover {
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
}

[data-theme="light"] .quick-nav-panel {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .quick-nav-title {
    color: #0f172a;
}

[data-theme="light"] .quick-nav-list a {
    color: #334155;
}

[data-theme="light"] .quick-nav-list a:hover,
[data-theme="light"] .quick-nav-list a.is-active {
    color: #0f172a;
    background: rgba(14, 165, 233, 0.12);
}

@media (max-width: 768px) {
    .floating-page-tools {
        right: 16px;
        bottom: 90px;
        gap: 10px;
    }

    .floating-tool-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .quick-nav-panel {
        width: min(290px, calc(100vw - 24px));
    }
}

/* ========================================
   MODERN FOOTER - bk- prefixed classes
   ======================================== */

.bk-footer {
    --bk-footer-bg: #0f172a;
    --bk-footer-bg-secondary: #1e293b;
    --bk-footer-text: #94a3b8;
    --bk-footer-text-light: #cbd5e1;
    --bk-footer-white: #f8fafc;
    --bk-footer-accent: #3b82f6;
    --bk-footer-border: rgba(255, 255, 255, 0.08);
    
    background: var(--bk-footer-bg);
    color: var(--bk-footer-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
}

.bk-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Newsletter */
.bk-footer__newsletter {
    background: linear-gradient(135deg, var(--bk-footer-bg-secondary) 0%, var(--bk-footer-bg) 100%);
    border-bottom: 1px solid var(--bk-footer-border);
    padding: 1.75rem 0;
}

.bk-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.bk-newsletter__content {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.bk-newsletter__icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--bk-footer-accent), #6366f1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bk-newsletter__text h3 {
    color: var(--bk-footer-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
}

.bk-newsletter__text p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--bk-footer-text);
}

.bk-input-group {
    display: flex;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem;
    border-radius: 8px;
    border: 1px solid var(--bk-footer-border);
}

.bk-input-group input {
    background: transparent;
    border: none;
    padding: 0.5rem 0.875rem;
    color: var(--bk-footer-white);
    font-size: 0.85rem;
    width: 220px;
    outline: none;
}

.bk-input-group input::placeholder {
    color: var(--bk-footer-text);
}

.bk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bk-btn--primary {
    background: var(--bk-footer-accent);
    color: white;
}

.bk-btn--primary:hover {
    background: #2563eb;
}

/* Main Footer */
.bk-footer__main {
    padding: 1.75rem 0 0.75rem;
}

.bk-footer__grid {
    display: grid;
    grid-template-columns: 240px 1fr 1fr 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

/* Brand */
.bk-footer__brand {
    padding-right: 1rem;
    min-width: 260px;
}

.bk-footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.bk-footer__logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--bk-footer-accent), #6366f1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.bk-footer__logo span {
    color: var(--bk-footer-white);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.bk-footer__tagline {
    color: var(--bk-footer-text);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    max-width: 260px;
}

/* Social */
.bk-footer__social {
    display: flex;
    gap: 0.4rem;
}

.bk-social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bk-footer-bg-secondary);
    border: 1px solid var(--bk-footer-border);
    border-radius: 6px;
    color: var(--bk-footer-text-light);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.bk-social-link:hover {
    background: var(--bk-footer-accent);
    color: white;
    border-color: var(--bk-footer-accent);
}

/* Columns */
.bk-footer__column {
    min-width: 140px;
}

.bk-footer__column-title {
    color: var(--bk-footer-white);
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.bk-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bk-footer__links li {
    margin-bottom: 0.4rem;
}

.bk-footer__links a {
    color: var(--bk-footer-text);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 0.15rem 0;
}

.bk-footer__links a:hover {
    color: var(--bk-footer-white);
}

/* Bottom */
.bk-footer__bottom {
    background: var(--bk-footer-bg-secondary);
    border-top: 1px solid var(--bk-footer-border);
    padding: 0.875rem 0;
}

.bk-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.bk-footer__copyright {
    color: var(--bk-footer-text);
    font-size: 0.8rem;
}

.bk-footer__copyright p {
    margin: 0;
}

.bk-footer__legal {
    display: flex;
    gap: 1.25rem;
}

.bk-footer__legal a {
    color: var(--bk-footer-text);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.bk-footer__legal a:hover {
    color: var(--bk-footer-white);
}

/* Responsive */
@media (max-width: 1100px) {
    .bk-footer__grid {
        grid-template-columns: 200px repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 900px) {
    .bk-footer__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    
    .bk-footer__brand {
        grid-column: 1 / -1;
        padding-right: 0;
        text-align: center;
        min-width: auto;
    }
    
    .bk-footer__tagline {
        max-width: 100%;
    }
    
    .bk-footer__social {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .bk-newsletter {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .bk-newsletter__content {
        flex-direction: column;
    }
    
    .bk-input-group {
        width: 100%;
        max-width: 300px;
    }
    
    .bk-input-group input {
        width: 100%;
    }
    
    .bk-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .bk-footer__legal {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .bk-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .bk-footer__column {
        text-align: left;
    }
    
    .bk-footer__column-title {
        font-size: 0.7rem;
    }
    
    .bk-footer__links a {
        font-size: 0.8rem;
    }
}
