/* CloudFiber.net Custom Styles */

:root {
    --cf-primary: #0e76a8;
    --cf-primary-dark: #095d85;
    --cf-secondary: #00c9a7;
    --cf-dark: #0b1a33;
    --cf-accent: #ff6b35;
    --cf-light: #f4f8fb;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cf-light);
    color: #333;
}

/* ── Navbar ──────────────────────────────────────────────────────── */
.navbar {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ── Hero Section ────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--cf-dark) 0%, var(--cf-primary) 70%, var(--cf-secondary) 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ── Section Styling ─────────────────────────────────────────────── */
.section-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* ── Feature Icon Boxes ──────────────────────────────────────────── */
.feature-box {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(14, 118, 168, 0.12);
}

.feature-box .icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

/* ── Package Cards ───────────────────────────────────────────────── */
.package-card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.package-card .card-header {
    background: linear-gradient(135deg, var(--cf-primary), var(--cf-primary-dark));
    color: #fff;
    text-align: center;
    padding: 20px;
    border: none;
}

.package-card .speed {
    font-size: 2rem;
    font-weight: 700;
}

.package-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cf-primary);
}

.package-card .price small {
    font-size: 0.9rem;
    color: #6c757d;
}

/* ── Feature List ────────────────────────────────────────────────── */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--cf-secondary);
    margin-right: 8px;
}

/* ── Step Indicators (How It Works) ──────────────────────────────── */
.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cf-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ── CTA Section ─────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--cf-primary) 0%, var(--cf-dark) 100%);
    color: #fff;
    padding: 60px 0;
}

/* ── Speed Test ──────────────────────────────────────────────────── */
.speedtest-frame {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
}

/* ── Dashboard Cards ─────────────────────────────────────────────── */
.stat-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.stat-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ── Admin Sidebar ───────────────────────────────────────────────── */
.admin-sidebar {
    min-height: calc(100vh - 56px);
    background: var(--cf-dark);
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 2px 8px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ── Footer ──────────────────────────────────────────────────────── */
footer {
    background: var(--cf-dark) !important;
}

footer h5 {
    color: #fff;
}

footer p,
footer a,
footer small,
footer li {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a:hover {
    color: #fff !important;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.15);
}

/* ── Status Badges ───────────────────────────────────────────────── */
.badge-pending { background-color: #ffc107; color: #000; }
.badge-active { background-color: #28a745; }
.badge-approved { background-color: #28a745; }
.badge-rejected { background-color: #dc3545; }
.badge-suspended { background-color: #dc3545; }
.badge-open { background-color: var(--cf-primary); }
.badge-in_progress { background-color: #ffc107; color: #000; }
.badge-resolved { background-color: #28a745; }
.badge-closed { background-color: #6c757d; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero {
        padding: 50px 0;
    }
    .feature-box {
        margin-bottom: 1rem;
    }
}
