/* assets/css/style.css */
:root {
    --primary: #ff2056;
    --primary-dark: #e01b4f;
    --primary-light: #ff4a7a;
    --secondary: #0a0a2a;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: var(--light);
}

/* ==================== টাইপোগ্রাফি ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* ==================== বাটন স্টাইল ==================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,32,86,0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* ==================== হিরো সেকশন ==================== */
.hero-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #0f0f2a 100%);
    position: relative;
    overflow: hidden;
}

.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 1440 320"><path fill="%23ff2056" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

/* ==================== প্যাকেজ কার্ড ==================== */
.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.package-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.package-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.package-header h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.package-price {
    font-size: 2rem;
    font-weight: 800;
}

.package-price small {
    font-size: 0.9rem;
    opacity: 0.9;
}

.package-body {
    padding: 25px;
}

.package-speed {
    font-size: 1rem;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

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

.package-features i {
    color: var(--primary);
    margin-right: 10px;
}

/* ==================== অফার কার্ড ==================== */
.offer-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.offer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,32,86,0.05), transparent);
    transform: rotate(45deg);
}

.offer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.offer-icon i {
    font-size: 35px;
    color: white;
}

.offer-discount {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    margin: 15px 0;
    font-weight: bold;
}

/* ==================== ফিচার বক্স ==================== */
.feature-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-box i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-box h4 {
    margin-bottom: 15px;
}

/* ==================== সিটি সেকশন ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta-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 1440 320"><path fill="white" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

/* ==================== ড্যাশবোর্ড কার্ড ==================== */
.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ==================== টেবিল স্টাইল ==================== */
.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px;
}

/* ==================== ফর্ম স্টাইল ==================== */
.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255,32,86,0.25);
}

/* ==================== টিকেট স্টাইল ==================== */
.ticket-card {
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.ticket-card:hover {
    transform: translateX(5px);
}

/* ==================== প্রোফাইল সাইডবার ==================== */
.profile-sidebar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin-bottom: 15px;
}

/* ==================== স্পিড টেস্ট ==================== */
.speedtest-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.speed-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
}

/* ==================== রেস্পন্সিভ ==================== */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .package-card.popular {
        transform: scale(1);
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
}

/* ==================== অ্যানিমেশন ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ==================== লোডার ==================== */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}