/* OpenWeb Reseller Management System - Custom Styles */

/* Root Variables */
:root {
    --sidebar-width: 250px;
    --header-height: 60px;
    --border-radius: 0.5rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* -------------------------------------------------- */
/* Buy Service Banner                                 */
/* -------------------------------------------------- */
.buy-service-banner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 45%, #0ea5e9 100%);
    color: #fff;
    box-shadow: 0 25px 50px -20px rgba(14, 116, 144, 0.5);
}

.buy-service-banner__body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.75rem 3rem;
    position: relative;
    z-index: 2;
}

.buy-service-banner__copy {
    max-width: 600px;
}

.buy-service-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

.buy-service-banner__eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
}

.buy-service-banner__title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.buy-service-banner__subtitle {
    font-size: 1.1rem;
    margin: 0;
    max-width: 32rem;
    color: rgba(255, 255, 255, 0.92);
}

.buy-service-banner__cta {
    text-align: center;
}

.buy-service-banner__button {
    color: #0f172a !important;
    background: #ffffff;
    border: none;
    padding-inline: 2.5rem;
    border-radius: 999px;
    box-shadow: 0 18px 35px -15px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.buy-service-banner__button:hover,
.buy-service-banner__button:focus {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.55);
    background: #e0f2fe;
    color: #0f172a !important;
}

.buy-service-banner__hint {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.buy-service-banner__flare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 45%),
                radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.25), transparent 55%),
                radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.2), transparent 50%);
    opacity: 0.8;
    mix-blend-mode: screen;
}

.owp-wheel-container {
    width: 280px;
    height: 280px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.owp-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#ffe082 0deg 45deg, #ffcc80 45deg 90deg, #ffab91 90deg 135deg, #f48fb1 135deg 180deg, #ce93d8 180deg 225deg, #81d4fa 225deg 270deg, #a5d6a7 270deg 315deg, #fff59d 315deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    border: 10px solid rgba(255, 255, 255, 0.35);
    transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
}

.owp-wheel::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}

.owp-wheel-pointer {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 28px solid #ffffff;
    filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.2));
}

.owp-wheel-labels {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.owp-wheel-labels span {
    position: absolute;
    font-weight: 700;
    color: rgba(33, 33, 33, 0.9);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.owp-wheel-labels span[data-angle='22.5'] { transform: rotate(22.5deg) translateY(-110px) rotate(-22.5deg); }
.owp-wheel-labels span[data-angle='67.5'] { transform: rotate(67.5deg) translateY(-110px) rotate(-67.5deg); }
.owp-wheel-labels span[data-angle='112.5'] { transform: rotate(112.5deg) translateY(-110px) rotate(-112.5deg); }
.owp-wheel-labels span[data-angle='157.5'] { transform: rotate(157.5deg) translateY(-110px) rotate(-157.5deg); }
.owp-wheel-labels span[data-angle='202.5'] { transform: rotate(202.5deg) translateY(-110px) rotate(-202.5deg); }
.owp-wheel-labels span[data-angle='247.5'] { transform: rotate(247.5deg) translateY(-110px) rotate(-247.5deg); }
.owp-wheel-labels span[data-angle='292.5'] { transform: rotate(292.5deg) translateY(-110px) rotate(-292.5deg); }
.owp-wheel-labels span[data-angle='337.5'] { transform: rotate(337.5deg) translateY(-110px) rotate(-337.5deg); }

.owp-spin-result {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
}

@media (max-width: 768px) {
    .buy-service-banner__body {
        padding: 2.25rem 1.75rem;
        text-align: center;
    }

    .buy-service-banner__copy {
        max-width: 100%;
    }

    .buy-service-banner__eyebrow {
        justify-content: center;
    }

    .buy-service-banner__title {
        font-size: 2rem;
    }

    .buy-service-banner__button {
        width: 100%;
    }
}

/* Spin the Wheel Experience */
.spin-wheel-modal {
    background: linear-gradient(135deg, #320072 0%, #110035 100%);
    border: none;
    box-shadow: 0 20px 45px -25px rgba(17, 0, 53, 0.75);
}

.spin-wheel-modal .modal-header,
.spin-wheel-modal .modal-footer {
    border: none;
}

.spin-wheel-container {
    position: relative;
    width: 360px;
    height: 360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin-wheel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 14px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.85);
    background: conic-gradient(#ffce54 0deg 45deg, #4fc1e9 45deg 90deg, #a0d468 90deg 135deg, #ed5565 135deg 180deg, #ac92ec 180deg 225deg, #ffce54 225deg 270deg, #4fc1e9 270deg 315deg, #a0d468 315deg 360deg);
    transition: transform 4.6s cubic-bezier(0.25, 0.85, 0.35, 1);
    overflow: hidden;
    isolation: isolate;
}

.spin-wheel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(transparent 0deg 44deg, rgba(255, 255, 255, 0.35) 44deg 45deg);
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}

.spin-wheel::after {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
}

.spin-wheel__label {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 78px;
    height: 56px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
    transform-origin: 50% 50%;
    transform: translate(-50%, -110px);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(8, 10, 24, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    z-index: 2;
    letter-spacing: 0.02em;
}

.spin-wheel__label strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1.1;
}

.spin-wheel__label small {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.85;
}

.spin-wheel__pointer {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 38px solid #ffffff;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
    z-index: 5;
}

.spin-wheel__pointer::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(50, 16, 123, 0.4);
}

.spin-wheel__glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 0;
    pointer-events: none;
}

.spin-wheel__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at top, #ffffff 0%, #dfe0ff 60%, #b9bff9 100%);
    box-shadow: inset 0 6px 12px rgba(255, 255, 255, 0.7), inset 0 -6px 14px rgba(50, 16, 123, 0.35), 0 12px 25px -18px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4;
    text-transform: uppercase;
    color: #32107b;
    font-weight: 700;
}

.spin-wheel-container--pulse {
    animation: spinWheelPulse 2.2s ease-in-out infinite;
}

@keyframes spinWheelPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

.spin-wheel__center-title {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.35rem;
}

.spin-wheel__center-sub {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-align: center;
}

.spin-wheel-modal .btn-light {
    color: #32107b;
}

.spin-wheel-modal .btn-light:hover,
.spin-wheel-modal .btn-light:focus {
    color: #32107b;
    background: #f3edff;
}

#spinWheelResult {
    font-size: 1.125rem;
}

#spinWheelClaimMessage .alert {
    margin-bottom: 0;
}

/* Modern Navigation Enhancements */
.navbar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-height: 70px;
    padding: 0.5rem 0;
    z-index: 1030;
    position: relative;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}

/* Modern Brand Styling */
.modern-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0.5rem 0;
}

.modern-brand:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.brand-logo {
    height: 40px;
    width: auto;
    margin-right: 12px;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.brand-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Navigation Links */
.navbar-nav .nav-link {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.25rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, rgba(0,123,255,0.1), rgba(0,212,255,0.1));
    color: #ffffff;
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before {
    width: 80%;
}

.navbar-nav .nav-link i {
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.1);
    color: #00d4ff;
}

/* Enhanced Dropdown Menus */
.navbar-nav .dropdown-menu {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    z-index: 9999 !important;
    position: absolute !important;
    min-width: 280px !important;
    width: auto !important;
    white-space: nowrap;
}

.navbar-nav .dropdown-item {
    color: #e0e0e0;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    min-width: fit-content;
}

.navbar-nav .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(0,123,255,0.2), rgba(0,212,255,0.2));
    color: #ffffff;
    transform: translateX(5px);
}

.navbar-nav .dropdown-item i {
    width: 20px;
    margin-right: 0.5rem;
    color: #007bff;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-item:hover i {
    color: #00d4ff;
    transform: scale(1.1);
}

.navbar-nav .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 0.5rem 0;
}

/* Bootstrap Dropdown Fix */
.navbar-nav .dropdown-menu.show {
    z-index: 9999 !important;
    position: absolute !important;
    display: block !important;
    max-width: none !important;
    min-width: 280px !important;
}

.navbar-nav .dropdown {
    position: relative !important;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Ensure navigation container has enough space */
.navbar .container {
    max-width: 100% !important;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Fix dropdown positioning for right-aligned items */
.navbar-nav .dropdown-menu {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
}

.navbar-nav .dropdown:first-child .dropdown-menu {
    left: 0 !important;
    right: auto !important;
}

/* User Badge Enhancement */
.navbar-nav .badge {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

/* Mobile Menu Enhancement */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.navbar-toggler-icon {
    filter: brightness(1.2);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(45, 45, 45, 0.95);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        backdrop-filter: blur(10px);
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .brand-logo {
        height: 35px;
    }
}

/* Card Enhancements */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.card-header {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.2);
    font-weight: 600;
}

/* Button Enhancements */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-group .btn {
    transform: none;
}

.btn-group .btn:hover {
    transform: none;
}

/* Homepage Redesign Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-section.hero-section-image {
    background: #050b1a;
    min-height: auto;
    padding: 2rem 0;
}

.hero-section.hero-section-image::before {
    display: none;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hosting-price-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    color: #e2e8f0;
}

.hosting-price-label {
    color: #cbd5f5;
    letter-spacing: 0.08em;
}

.hosting-price-main {
    font-size: 1.9rem;
    font-weight: 700;
    color: #f8fafc;
}

.hosting-price-text {
    color: #cbd5e1;
}

.hosting-price-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(14, 165, 233, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
}

.hosting-price-highlight i {
    font-size: 1.5rem;
    color: #38bdf8;
}

.hosting-price-highlight .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #bae6fd;
}

.hosting-price-highlight .amount {
    font-size: 2.1rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.brand-logo {
    margin-bottom: 2rem !important;
}

.openweb-logo {
    max-width: 280px;
    height: auto;
    filter: brightness(1.2);
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    color: #e0e0e0;
}

/* Network Cards Visual - Fixed Layout */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.network-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 320px;
    width: 100%;
}

.network-card {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.network-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.network-card i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.network-card h5 {
    font-size: 1rem;
    margin: 0.5rem 0 0.25rem 0;
    font-weight: 700;
}

.network-card p {
    font-size: 0.75rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.2;
}

.mtn-card {
    background: linear-gradient(135deg, #ffcc02, #ff9500);
    animation-delay: 0s;
}

.telkom-card {
    background: linear-gradient(135deg, #00a8cc, #0077be);
    animation-delay: 1.5s;
}

.vodacom-card {
    background: linear-gradient(135deg, #e60000, #ff4444);
    animation-delay: 3s;
}

.central-card {
    background: linear-gradient(135deg, #28a745, #20c997);
    animation-delay: 4.5s;
    grid-column: span 2;
    width: 100%;
    max-width: 295px;
    justify-self: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Network Feature Cards */
.network-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.network-feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.network-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.5rem;
    color: white;
}

.mtn-bg { background: linear-gradient(135deg, #ffcc02, #ff9500); }
.telkom-bg { background: linear-gradient(135deg, #00a8cc, #0077be); }
.vodacom-bg { background: linear-gradient(135deg, #e60000, #ff4444); }
.voice-bg { background: linear-gradient(135deg, #6f42c1, #8b5cf6); }
.universal-bg { background: linear-gradient(135deg, #28a745, #20c997); }

/* Section Titles */
.section-title {
    color: white;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #b0b0b0;
    font-size: 1.2rem;
}

/* Discount Highlight Section */
.discount-highlight {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
}

.benefit-item {
    text-align: center;
}

.benefit-item i {
    font-size: 2rem;
    display: block;
}

/* Process Steps */
.process-step {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.step-content {
    padding-top: 1rem;
}

.step-content h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-content p {
    color: #666;
    margin-bottom: 1rem;
}

.step-features small {
    color: #555;
    line-height: 1.8;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.feature-card h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        text-align: center;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .openweb-logo {
        max-width: 220px;
    }
    
    .brand-logo {
        margin-bottom: 1.5rem !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .network-cards {
        max-width: 280px;
        gap: 1rem;
    }
    
    .network-card {
        width: 120px;
        height: 120px;
    }
    
    .network-card i {
        font-size: 2rem;
    }
    
    .network-card h5 {
        font-size: 0.9rem;
    }
    
    .network-card p {
        font-size: 0.7rem;
    }
    
    .central-card {
        max-width: 255px;
    }
    
    .discount-highlight {
        padding: 2rem 1rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .network-cards {
        max-width: 240px;
        gap: 0.75rem;
    }
    
    .network-card {
        width: 110px;
        height: 110px;
    }
    
    .network-card i {
        font-size: 1.8rem;
    }
    
    .network-card h5 {
        font-size: 0.85rem;
    }
    
    .network-card p {
        font-size: 0.65rem;
    }
    
    .central-card {
        max-width: 230px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
}

/* Utilities */
.min-vh-75 {
    min-height: 75vh;
}

/* Button Enhancements for Homepage */
.cta-buttons .btn {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Form Enhancements */
.form-control, .form-select {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Alert Enhancements */
.alert {
    border: none;
    border-radius: var(--border-radius);
    border-left: 4px solid;
}

.alert-success {
    border-left-color: var(--bs-success);
}

.alert-danger {
    border-left-color: var(--bs-danger);
}

.alert-warning {
    border-left-color: var(--bs-warning);
}

.alert-info {
    border-left-color: var(--bs-info);
}

/* Table Enhancements */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table thead th {
    border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.2);
    font-weight: 600;
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* Modal Enhancements */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
}

.modal-header {
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.2);
}

.modal-footer {
    border-top: 1px solid rgba(var(--bs-primary-rgb), 0.2);
}

/* Dashboard Specific Styles */
.dashboard-stats .card {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    border: none;
    color: white;
}

.dashboard-stats .card-body {
    position: relative;
    overflow: hidden;
}

.dashboard-stats .card-body::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.dashboard-stats .card:hover .card-body::before {
    top: -25%;
    right: -25%;
}

/* Preview Container */
.preview-container {
    background-color: var(--bs-body-bg);
    border: 2px dashed var(--bs-border-color);
    transition: var(--transition);
}

.preview-container:hover {
    border-color: var(--bs-primary);
}

/* Color Picker Enhancements */
.form-control-color {
    width: 3rem;
    height: calc(2.25rem + 2px);
    border-radius: var(--border-radius);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
    }
    
    .btn-group .btn {
        border-radius: var(--border-radius) !important;
        margin-bottom: 0.25rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* White Label Theme Overrides */
.white-label-primary {
    color: var(--white-label-primary, var(--bs-primary)) !important;
}

.white-label-bg-primary {
    background-color: var(--white-label-primary, var(--bs-primary)) !important;
}

.white-label-border-primary {
    border-color: var(--white-label-primary, var(--bs-primary)) !important;
}

/* Status Indicators */
.status-active {
    position: relative;
}

.status-active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    width: 8px;
    height: 8px;
    background-color: var(--bs-success);
    border-radius: 50%;
    transform: translateY(-50%);
}

.status-inactive::before {
    background-color: var(--bs-danger);
}

/* Footer Enhancements */
footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Accessibility Enhancements */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .modal,
    .alert {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000;
        break-inside: avoid;
    }
    
    .table {
        border-collapse: collapse;
    }
    
    .table th,
    .table td {
        border: 1px solid #000;
    }
}

/* Dark Mode Specific Enhancements */
[data-bs-theme="dark"] {
    .card {
        background-color: var(--bs-dark);
        border: 1px solid rgba(255, 255, 255, 0.125);
    }
    
    .table thead th {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .preview-container {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.box-shadow {
    box-shadow: var(--box-shadow);
}

.box-shadow-lg {
    box-shadow: var(--box-shadow-lg);
}

.border-radius {
    border-radius: var(--border-radius);
}

.transition {
    transition: var(--transition);
}

/* Component Specific Styles */
.stat-card {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), rgba(var(--bs-info-rgb), 0.1));
    border-left: 4px solid var(--bs-primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    color: white;
    margin: 0 auto 1rem;
}

.activity-item {
    padding: 0.75rem;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.activity-item:hover {
    border-left-color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bs-gray-100);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--bs-gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-gray-500);
}

/* Dark mode scrollbar */
[data-bs-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bs-gray-800);
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--bs-gray-600);
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--bs-gray-500);
}

/* Service Detail Modal */
.service-detail-modal .modal-content {
    background: #0b1220;
    color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.service-detail-modal .modal-header,
.service-detail-modal .modal-footer {
    border-color: rgba(148, 163, 184, 0.25);
}

.service-detail-modal .card {
    background-color: rgba(15, 23, 42, 0.85);
    border-color: rgba(148, 163, 184, 0.2);
}

.service-detail-modal .card-header.bg-light {
    background-color: rgba(148, 163, 184, 0.12) !important;
    color: #e2e8f0;
}

.service-detail-modal .text-muted {
    color: #cbd5f5 !important;
}

.service-detail-modal .table {
    color: #f1f5f9;
}

.service-detail-modal .table thead th {
    color: #cbd5f5;
}

.service-detail-modal .badge {
    font-size: 0.85rem;
}
