:root {
    --bg-color: #EEF2F6; /* Light gray-blue page background for card contrast */
    --card-bg: #FFFFFF; /* White card surface */
    --text-color: #111827; /* Dark text */
    --text-muted: #6B7280; /* Gray secondary text */
    --primary-color: #E74C3C; /* Brand primary red */
    --primary-hover: #c0392b;
    --accent-color: #e67e22;
    --border-color: #E5E7EB; /* Soft border */
    --success-color: #22C55E;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Header & Navbar */
header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo a {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

.logo-center {
    font-size: 0.85rem;
    font-weight: 300;
    background: #fdf2f2;
    color: var(--primary-color);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-user a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

.btn-primary {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600 !important;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

/* Main Navigation Menu Bar */
.nav-menu-bar {
    background-color: var(--primary-color);
    padding: 0.6rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-menu-bar ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-menu-bar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-menu-bar a:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Header Info Bar (Recent/Top Ticker and Bandwidth) */
.header-info-bar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    font-size: 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.header-info-bar .container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #f9fafb;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    width: 100%;
}

.info-label {
    font-weight: 700;
    color: var(--text-color);
    min-width: 130px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ticker-wrap {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    height: 28px;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
    color: var(--text-color);
}

.ticker-wrap:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 1rem;
}

.ticker-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.ticker-item a:hover {
    color: var(--primary-color);
}

.badge-featured {
    background-color: #3b82f6;
    color: white;
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-weight: bold;
}

.badge-price {
    background-color: #22c55e;
    color: white;
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-weight: bold;
}

/* Downloads progress bar */
.bandwidth-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.progress-container {
    flex-grow: 1;
    background-color: #e2e8f0;
    height: 14px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    width: 0%;
    border-radius: 50px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
    font-weight: bold;
    min-width: 140px;
    text-align: right;
}

/* Animations */
@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Main Content Area */
main {
    flex-grow: 1;
    padding: 2rem 0;
}

/* Search Bar Section */
.search-section {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex-grow: 1;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
}

/* Category Grid & Folders */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 0.75rem;
}

.folder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.folder-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color); /* Premium brand accent bar */
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.folder-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.08);
}

.folder-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.folder-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

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

/* File Grid & Cards */
.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.file-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid #3b82f6; /* Accent blue left border for files */
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.file-card:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.08);
}

.file-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.file-icon {
    width: 42px;
    height: 42px;
}

.file-title {
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-color);
}

.file-title:hover {
    color: var(--primary-color);
}

.file-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.file-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.file-meta-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* Auth Cards & Forms */
.auth-container {
    max-width: 500px;
    margin: 3rem auto;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}

.auth-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Dashboard Panel */
.dashboard-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-sidebar {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    height: fit-content;
}

.user-profile-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem;
    font-weight: 800;
}

.user-meta-list {
    list-style: none;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.user-meta-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #33415555;
    padding-bottom: 0.5rem;
}

.user-meta-list li span:first-child {
    color: var(--text-muted);
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.panel-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.panel-card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Device slots UI */
.device-slots {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.device-slot-card {
    background-color: #f9fafb;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.device-slot-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.slot-badge {
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    width: fit-content;
}

.slot-locked {
    background-color: #ef444433;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.slot-empty {
    background-color: #22c55e33;
    color: #22c55e;
    border: 1px solid #22c55e;
}

.btn-danger-outline {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger-outline:hover {
    background-color: #ef4444;
    color: white;
}

/* Table styling for logs */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #f3f4f6;
    color: var(--text-color);
    font-weight: 600;
}

/* Footer */
/* Footer Refinement */
footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 0 2rem;
    margin-top: 4rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Alerts */
.alert {
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #22c55e22;
    color: #22c55e;
    border: 1px solid #22c55e;
}

.alert-danger {
    background-color: #ef444422;
    color: #ef4444;
    border: 1px solid #ef4444;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-color);
    text-decoration: none;
}

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

.breadcrumbs li::after {
    content: "/";
    margin-left: 0.5rem;
}

.breadcrumbs li:last-child::after {
    content: "";
}

/* File detail view page */
.file-details-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
}

.file-info-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.file-info-header img {
    width: 64px;
    height: 64px;
}

.file-info-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.file-specs {
    margin-bottom: 2rem;
}

.btn-download-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white !important;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    text-align: center;
}

.btn-download-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Pricing Comparison Table Section */
.pricing-comparison-wrap {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    color: #111827;
}

.pricing-table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
    padding-top: 24px; /* Prevent popular badge clipping */
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    color: #111827;
}

.pricing-table th, 
.pricing-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #E5E7EB;
    font-size: 0.95rem;
    vertical-align: middle;
}

.pricing-table th {
    background-color: #FFFFFF;
    color: #111827;
    font-weight: 700;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Plan Header CSS */
.plan-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
}

.plan-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-price-box {
    margin: 0.3rem 0;
    display: flex;
    align-items: baseline;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #E64A3B;
    line-height: 1;
}

.plan-currency {
    font-size: 0.95rem;
    font-weight: 500;
    color: #6B7280;
    margin-left: 0.25rem;
}

.plan-desc {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 400;
    line-height: 1.4;
    min-height: 2.8rem;
}

/* Feature column (First column) */
.feature-col-name {
    font-weight: 700;
    color: #111827;
    width: 25%;
}

/* Highlight Gold column */
.pricing-table td.gold-highlight,
.pricing-table th.gold-highlight {
    background-color: #FFFDFB;
    border-left: 2px solid #FFD3C4;
    border-right: 2px solid #FFD3C4;
}

.pricing-table th.gold-highlight {
    border-top: 4px solid #E64A3B;
    position: relative;
    background-color: #FFFDFB;
}

.pricing-table th.gold-highlight .popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF6F61 0%, #E64A3B 100%);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(230, 74, 59, 0.3);
    white-space: nowrap;
    z-index: 10;
}

.pricing-table tr:hover td {
    background-color: #FAFAFA;
}

.pricing-table tr:hover td.gold-highlight {
    background-color: #FFF5F2;
}

/* Alternating Row background */
.pricing-table tbody tr:nth-child(even) td {
    background-color: #FAFAFA;
}
.pricing-table tbody tr:nth-child(even) td.gold-highlight {
    background-color: #FFF9F7;
}

/* Soft Badges */
.badge-soft-success {
    background-color: #E8F5E9;
    color: #16A34A;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-soft-warning {
    background-color: #FFF3E0;
    color: #F59E0B;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-soft-secondary {
    background-color: #F3F4F6;
    color: #6B7280;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Buttons in Table */
.btn-plan-select {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    color: #111827;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
}

.btn-plan-select:hover {
    background-color: #FAFAFA;
    border-color: #D1D5DB;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.btn-plan-select.btn-gold {
    background: linear-gradient(135deg, #FF6F61 0%, #E64A3B 100%);
    border: none;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(230, 74, 59, 0.2);
}

.btn-plan-select.btn-gold:hover {
    background: linear-gradient(135deg, #E64A3B 0%, #c0392b 100%);
    box-shadow: 0 6px 16px rgba(230, 74, 59, 0.35);
    transform: translateY(-1px);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    background-color: #111827;
    background-image: url('https://images.unsplash.com/photo-1600132806370-bf17e65e942f?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 4.5rem 2rem;
    margin-bottom: 2.5rem;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--border-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.88); /* Deep dark overlay for high readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #9CA3AF;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Centered Search inside Hero */
.hero-search-wrap {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-search-form {
    display: flex;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 0.3rem;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    align-items: center;
    position: relative;
}

.search-icon-inside {
    position: absolute;
    left: 1.2rem;
    color: #9CA3AF;
    font-size: 1.1rem;
}

.hero-search-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    font-size: 1.05rem;
    color: #111827;
    outline: none;
    width: 100%;
}

.hero-search-input::placeholder {
    color: #9CA3AF;
}

.hero-search-btn {
    background-color: #E74C3C;
    color: #FFFFFF;
    border: none;
    padding: 0.8rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hero-search-btn:hover {
    background-color: #c0392b;
}

/* Statistics inside Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
}

.stat-label {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
    .stat-divider {
        display: none;
    }
    .hero-stats {
        gap: 1.5rem;
        flex-direction: column;
    }
    .hero-title {
        font-size: 1.8rem;
    }
}

/* Partners & Bottom Columns styling */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
}

.partner-box {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.15rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    user-select: none;
}

.partner-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.bottom-three-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 2rem;
}

.bottom-col-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bottom-three-cols {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dark Mode overrides */
body.dark {
    --bg-color: #0f172a; /* Deep Slate dark background */
    --card-bg: #1e293b; /* Dark Slate card backgrounds */
    --text-color: #f1f5f9; /* Light Slate text colors */
    --text-muted: #94a3b8; /* Muted slate text colors */
    --border-color: #334155; /* Slate border lines */
}

body.dark header {
    background-color: #1e293b;
}

body.dark footer {
    background-color: #1e293b;
}

body.dark .nav-user a {
    color: #e2e8f0;
}

body.dark .nav-user a:hover {
    color: var(--primary-color);
}

body.dark .breadcrumbs a {
    color: #cbd5e1;
}

body.dark .breadcrumbs li::after {
    color: #475569;
}

body.dark table th {
    background-color: #334155;
    color: #f1f5f9;
}

body.dark table td {
    border-bottom: 1px solid #334155;
    color: #cbd5e1;
}

body.dark .pricing-comparison-wrap {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #f1f5f9;
}

body.dark .pricing-table th, 
body.dark .pricing-table td {
    border-bottom: 1px solid #334155;
}

body.dark .pricing-table th {
    background-color: #1e293b;
    color: #f1f5f9;
}

body.dark .pricing-table td.gold-highlight,
body.dark .pricing-table th.gold-highlight {
    background-color: #1a1e29;
    border-left: 2px solid #5a3c35;
    border-right: 2px solid #5a3c35;
}

body.dark .pricing-table th.gold-highlight {
    background-color: #1a1e29;
    border-top: 4px solid #E64A3B;
}

body.dark .pricing-table tr:hover td {
    background-color: #33415555;
}

body.dark .pricing-table tr:hover td.gold-highlight {
    background-color: #33415588;
}

body.dark .pricing-table tbody tr:nth-child(even) td {
    background-color: #1e293b;
}

body.dark .pricing-table tbody tr:nth-child(even) td.gold-highlight {
    background-color: #33415588;
}

body.dark .plan-name {
    color: #f1f5f9;
}

body.dark .partner-box {
    background-color: #1e293b;
    border: 1px solid #334155;
}

body.dark .partner-box span {
    color: #e2e8f0 !important;
}

body.dark .bottom-col-card {
    background-color: #1e293b;
    border: 1px solid #334155;
}

body.dark .bottom-col-card h4 {
    color: #f1f5f9 !important;
}

body.dark .bottom-col-card a {
    color: #e2e8f0 !important;
}

body.dark .bottom-col-card a:hover {
    color: var(--primary-color) !important;
}

body.dark .bottom-col-card li {
    border-bottom: 1px dashed #334155 !important;
}

body.dark .form-control {
    background-color: #0f172a;
    border: 1px solid #334155;
    color: #f1f5f9;
}

body.dark .form-control:focus {
    border-color: var(--primary-color);
}

body.dark .hero-stats .stat-number {
    color: #FFFFFF;
}

body.dark .admin-card {
    background-color: #1e293b;
    border: 1px solid #334155;
}

body.dark .form-label {
    color: #cbd5e1;
}

.sidebar-quota-box {
    background-color: #f1f5f9;
    color: #475569;
}

body.dark .sidebar-quota-box {
    background-color: #1e293b;
    color: #cbd5e1;
}

body.dark .speed-indicator-label {
    color: #f1f5f9 !important;
}

body.dark .quota-indicator-label {
    color: #cbd5e1 !important;
}

@media (max-width: 768px) {
    .active-subscription-premium-card {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .active-subscription-premium-card div:last-child {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid rgba(148, 163, 184, 0.2);
        padding-top: 1.5rem;
    }
}

/* Header Ticker Info Bar Dark Mode styles */
body.dark .header-info-bar {
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.dark .info-row {
    background-color: #0f172a;
    border: 1px solid #334155;
}

body.dark .ticker-wrap {
    background: #1e293b;
    border: 1px solid #334155;
}

body.dark .info-label {
    color: #f1f5f9;
}

body.dark .progress-container {
    background-color: #334155;
}

body.dark .ticker-item a {
    color: #cbd5e1;
}

body.dark .ticker-item a:hover {
    color: var(--primary-color);
}


