:root {
    --bg-main: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --primary: #dc2626;
    --primary-hover: #b91c1c;
    --primary-glow: rgba(220, 38, 38, 0.2);
    --primary-glow-strong: rgba(220, 38, 38, 0.4);
    --maroon: #991b1b;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --border-glow: #fca5a5;
}

[data-theme="dark"] {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --primary: #ef4444;
    --primary-hover: #f87171;
    --primary-glow: rgba(239, 68, 68, 0.2);
    --primary-glow-strong: rgba(239, 68, 68, 0.4);
    --maroon: #b91c1c;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --border-glow: #7f1d1d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-minimal {
    background: transparent !important;
    border-bottom: none !important;
    position: absolute !important;
    width: 100%;
}

.menu-toggle {
    display: none;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    background: linear-gradient(135deg, #e53935, #800000);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    /* align with navbar bottom */
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    box-shadow: 0 -2px 10px var(--primary-glow);
    border-radius: 2px 2px 0 0;
}

.btn-primary {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow-strong);
    background: linear-gradient(135deg, #e53935, #c62828);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--primary-hover);
    background: #fee2e2;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 5% 5rem 5%;
    min-height: 80vh;
    display: flex;
    align-items: flex-start;
    background: url('/images/bc-light.png') top center/cover no-repeat;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.3rem 1rem 0.3rem 0.3rem;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.badge-highlight {
    background: rgba(229, 57, 53, 0.15);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding-right: 0;
}

.hero-image img {
    width: 145%;
    max-width: 900px;
    margin-right: 2%;
    margin-left: -12%;
    animation: float 6s ease-in-out infinite;
    background: transparent;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    margin: -5rem 5% 4rem 5%;
    position: relative;
    z-index: 10;
}
.stat-item {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
}
.stat-icon {
    width: 40px;
    height: 40px;
    background: #fdf2f2;
    color: #e11d48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}
.stat-text {
    text-align: left;
}
.stat-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}
.stat-text p {
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}






/* Services Section */
.services-section {
    padding: 4rem 5%;
    margin-top: 1rem;
    background: transparent;
}
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.services-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.services-icon {
    width: 48px;
    height: 48px;
    background: #fdf2f2;
    color: #dc2626;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.services-title h2 {
    font-size: 1.5rem;
    color: #0f172a; /* Very dark blue */
    font-weight: 800;
    margin-bottom: 0.2rem;
}
.services-title p {
    color: #3b82f6; /* Bright blue */
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}
.services-search {
    background: #fdf2f2;
    border-radius: 20px;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 300px;
}
.services-search i {
    color: #dc2626;
}
.services-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    color: #1e293b;
    font-family: inherit;
    font-size: 0.9rem;
}
.services-search input::placeholder {
    color: #94a3b8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
}
.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 1.2rem;
}
.red-gradient {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.25);
}
.service-card h3 {
    font-size: 1.2rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.service-card p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.service-badge {
    background: #fdf2f2;
    color: #dc2626;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.service-arrow {
    width: 32px;
    height: 32px;
    background: #fdf2f2;
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.service-card:hover .service-arrow {
    background: #fee2e2;
    transform: translateX(3px);
}


/* Terminal Request Box */
.terminal-container {
    flex: 1;
    background: rgba(18, 20, 29, 0.8);
    border: 1px solid #334155;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.terminal-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.terminal-header i {
    color: var(--primary);
    margin-right: 8px;
}

.terminal-method {
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.terminal-body {
    padding: 1.5rem;
    color: #a3be8c;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.terminal-body .cmd {
    color: var(--text-main);
}

.terminal-body .str {
    color: #a3be8c;
}

.terminal-body .arg {
    color: var(--text-muted);
}

.copy-btn-container {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.btn-copy {
    width: 100%;
    background: #fee2e2;
    color: var(--primary);
    border: 1px solid rgba(229, 57, 53, 0.3);
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: rgba(229, 57, 53, 0.2);
}

/* CTA Section */
.cta-banner {
    margin: 4rem 5% 0 5%;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 1px solid #fca5a5;
    border: 1px solid rgba(229, 57, 53, 0.2);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at bottom right, rgba(229, 57, 53, 0.2), transparent 70%);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 2;
}

.cta-icon {
    font-size: 2.5rem;
    color: white;
}

.cta-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cta-banner .btn-primary {
    z-index: 2;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
    background: #0a0b10;
}

.footer-container {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #7f1d1d;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Other pages adjustments */
.docs-container {
    display: flex;
    padding: 2rem 5%;
    gap: 3rem;
}

.docs-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.docs-sidebar ul {
    list-style: none;
}

.docs-sidebar li {
    margin-bottom: 1rem;
}

.docs-sidebar a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.docs-sidebar a:hover {
    color: var(--primary);
}

.docs-content {
    flex: 1;
}

.endpoint-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        padding: 6rem 5% 4rem 5%;
    }

    .features-container {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -3rem;
    }

    .middle-section {
        flex-direction: column;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 5%;
        min-width: 200px;
        background: rgba(18, 20, 29, 0.95);
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
        gap: 0.5rem;
    }

    .nav-menu.active {
        display: flex;
    }
}




/* Small Desktop & Tablet Landscape Adjustments */
@media (max-width: 1280px) {
    .hero {
        padding: 6rem 5% 4rem 5%;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-image img {
        width: 130%;
        max-width: 700px;
        margin-left: -5%;
    }
    .stats-section {
        margin-top: -5rem;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .hero-image img {
        width: 110%;
        max-width: 500px;
        margin-left: 0;
        margin-top: 2rem;
    }
    .stats-section {
        margin-top: -3rem;
    }
    /* We keep the side-by-side flex if possible, but shrink things */
}

@media (max-width: 850px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2)::after {
        display: none;
    }

    /* Switch to column layout for tablet portrait and mobile */
    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 5rem;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        width: 100%;
        justify-content: center;
    }
    .hero-image img {
        width: 100%;
        margin-top: 2rem;
    }
}

/* Dashboard */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.api-key-box {
    background: #000;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .navbar {
        background: #ffffff;
        padding: 1rem 5%;
    }
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .btn-get-api {
        display: inline-flex !important;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .menu-toggle {
        display: block !important;
        margin-left: 1rem;
        color: #000;
        font-size: 1.5rem;
    }
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .menu-toggle {
        color: var(--text-main) !important; /* override inline white */
        margin-left: 0 !important;
    }

    .hero {
        padding: 3rem 5% 4rem 5%;
        min-height: auto;
        text-align: left;
        background: url('/images/bc_landing_light.png') top center/cover no-repeat;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        overflow: hidden;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        z-index: 2;
    }
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        width: 100%;
    }
    .hero p {
        font-size: 0.9rem;
        width: 60%; /* leave space for image on right */
        margin-bottom: 2rem;
    }
    .hero-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .hero-buttons .btn-primary, 
    .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .hero-image {
        position: absolute;
        right: -15%;
        top: 25%;
        width: 60%;
        z-index: 1;
    }
    .hero-image img {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    /* Stats Section Mobile */
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 1rem;
        margin-bottom: 2rem;
        gap: 0;
        padding: 0;
    }
    .stat-item {
        padding: 1.5rem 1rem;
    }
    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }
    .stat-item:nth-child(1),
    .stat-item:nth-child(3) {
        border-right: 1px solid var(--border);
    }
    .stat-item::after {
        display: none !important; /* hide default vertical lines */
    }
}

@media (max-width: 576px) {
    /* Adjustments for smaller phones */
    .hero p {
        width: 70%;
    }
    .hero-image {
        right: -20%;
        top: 28%;
        width: 70%;
    }
}


/* --- WHY US SECTION --- */
.why-us {
    padding: 2rem 5% 5rem 5%;
    position: relative;
    background: #ffffff;
}
.why-us-header {
    margin-bottom: 3rem;
    position: relative;
}
.why-us-header::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 5px;
    bottom: 5px;
    width: 5px;
    background: #dc2626;
    border-radius: 4px;
}
.why-us-title {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 800;
    margin: 0;
}
.why-us-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0.5rem 0 0 0;
}
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.why-feature {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.why-feature:hover {
    transform: translateY(-5px);
}
.why-feature::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 2rem;
    bottom: 2rem;
    width: 10px;
    background: #dc2626;
    border-radius: 0 10px 10px 0;
}
.why-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #fef2f2;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.why-icon-wrapper::after {
    /* Create the offset light red shape behind it */
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fee2e2;
    border-radius: 20px;
    transform: rotate(10deg);
    z-index: 1;
}
.why-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    font-size: 1.5rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(220,38,38,0.3);
    z-index: 2;
    position: relative;
}
.why-text {
    flex: 1;
}
.why-text h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 700;
}
.why-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}
.why-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fef2f2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-left: auto;
    transition: all 0.3s;
}
.why-feature:hover .why-arrow {
    background: #ef4444;
    color: white;
}

@media (max-width: 768px) {
    .why-us {
        padding: 1rem 5% 4rem 5%;
    }
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    .why-us-title {
        font-size: 1.6rem;
    }
    .why-feature {
        padding: 1.25rem;
        gap: 1rem;
    }
    .why-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    .why-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
}

/* --- COMPLEX FOOTER --- */
.footer-complex {
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #334155;
    border-top: 1px solid var(--border);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    padding: 5rem 5%;
    gap: 3rem;
    flex-wrap: wrap;
}
.footer-col {
    flex: 1;
    min-width: 250px;
}
.brand-col p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #475569;
}
.signature {
    font-family: 'Great Vibes', cursive, 'Brush Script MT';
    font-size: 2rem;
    color: #b91c1c;
    margin-bottom: 0.2rem;
}
.quote {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    width: 36px;
    height: 36px;
    background: #fef2f2;
    color: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}
.social-links a:hover {
    background: #dc2626;
    color: white;
}

.footer-heading {
    font-size: 1.1rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: #dc2626;
    border-radius: 2px;
}

.links-col ul, .services-col ul, .contact-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.links-col li {
    margin-bottom: 1rem;
}
.links-col a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}
.links-col a i {
    color: #ef4444;
    font-size: 0.7rem;
}
.links-col a:hover {
    color: #dc2626;
}

.services-col li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.services-col .icon {
    color: #ef4444;
    font-size: 1.2rem;
    margin-top: 2px;
}
.services-col .text {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.4;
}
.services-col .text strong {
    color: #1e293b;
    font-weight: 600;
}

.contact-col li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-col .icon-solid {
    width: 32px;
    height: 32px;
    background: #b91c1c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.contact-col .text {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}
.contact-col .text strong {
    color: #1e293b;
    font-weight: 600;
}
.contact-col .text span {
    color: #94a3b8;
    font-size: 0.75rem;
}

.help-box {
    background: #fef2f2;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.help-box i {
    color: #dc2626;
    font-size: 1.5rem;
}
.help-box .text {
    font-size: 0.8rem;
    color: #64748b;
}
.help-box .text strong {
    color: #0f172a;
    font-weight: 700;
}

.footer-middle {
    background: #3d0000;
    padding: 2.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    color: white;
    position: relative;
}
.middle-left {
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.middle-center {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.middle-center .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.middle-center .feature:first-child {
    border-left: none;
}
.middle-center .feature i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #4a0000;
    border: 1px solid #7f1d1d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.middle-center .feature div {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.3;
}
.middle-center .feature strong {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
}
.payment-box {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: right;
    background: transparent;
    color: white;
}
.payment-box span {
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.payment-box span i {
    font-size: 1rem;
}

.footer-bottom {
    background: #3d0000;
    padding: 1.5rem 5%;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cbd5e1;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom .legal a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}
.footer-bottom .legal a:hover {
    color: white;
}
.scroll-top {
    background: #b91c1c;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}
.scroll-top:hover {
    background: #dc2626;
}

@media (max-width: 1024px) {
    .footer-top { flex-direction: column; }
    .footer-middle { flex-direction: column; align-items: flex-start; }
    .payment-box { text-align: left; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

