/* =============================================
   إنترنت الأمين - التصميم الرئيسي
   style.css
   ============================================= */

/* ---- CSS Variables ---- */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --primary-glow: rgba(37, 99, 235, 0.15);
    --secondary: #1D4ED8;
    --bg: #F8FAFC;
    --bg-card: #FFFFFF;
    --text: #111827;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    --border: #E5E7EB;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #06B6D4;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Tajawal', sans-serif;
}

/* ---- Dark Mode ---- */
[data-bs-theme="dark"] {
    --bg: #0F172A;
    --bg-card: #1E293B;
    --text: #F1F5F9;
    --text-light: #94A3B8;
    --text-muted: #64748B;
    --border: #334155;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.4);
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

::selection { background: var(--primary); color: #fff; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ---- Navbar ---- */
.navbar-custom {
    background: var(--gradient);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    border: none;
    backdrop-filter: blur(10px);
    z-index: 1030;
}

.navbar-custom .navbar-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-custom .navbar-brand .brand-icon { font-size: 1.5rem; }
.navbar-custom .navbar-brand img { height: 40px; }

.navbar-custom .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

.navbar-custom .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.btn-theme-toggle {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-theme-toggle:hover { background: rgba(255,255,255,0.25); transform: rotate(15deg); }

/* ---- Hero Section ---- */
.hero-section {
    background: var(--gradient);
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.min-vh-75 { min-height: 55vh; }

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: #fff;
}

.shape-1 { width: 500px; height: 500px; top: -150px; left: -100px; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; bottom: -80px; right: -50px; animation: float 6s ease-in-out infinite reverse; }
.shape-3 { width: 200px; height: 200px; top: 50%; right: 20%; animation: float 10s ease-in-out infinite; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #93C5FD, #BFDBFE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.hero-actions .btn { padding: 0.8rem 2rem; border-radius: 12px; font-weight: 600; font-size: 1.05rem; }
.hero-actions .btn-outline-primary { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero-actions .btn-outline-primary:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-item strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
}

.stat-item span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Hero illustration */
.hero-card-stack { position: relative; height: 400px; }

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-card i { font-size: 2rem; }
.card-1 { top: 20%; right: 10%; animation-delay: 0s; }
.card-2 { top: 45%; right: 25%; animation-delay: 1s; }
.card-3 { top: 70%; right: 5%; animation-delay: 2s; }

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

/* ---- Section Styles ---- */
.section-header { margin-bottom: 1rem; }

.section-badge {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Features ---- */
.features-section { padding: 5rem 0; background: var(--bg); }

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-glow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.feature-icon-2 { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.feature-icon-3 { background: rgba(245, 158, 11, 0.12); color: var(--warning); }
.feature-card:hover .feature-icon-2 { background: linear-gradient(135deg, #10B981, #059669); color: #fff; }
.feature-card:hover .feature-icon-3 { background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff; }

.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
.feature-card p { color: var(--text-light); margin: 0; line-height: 1.7; }

/* ---- Packages ---- */
.packages-section { padding: 5rem 0; background: var(--bg); }

.package-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.package-featured {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.package-featured:hover { transform: scale(1.02) translateY(-10px); }

.package-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-image { margin-bottom: 1rem; }
.package-image img { width: 100px; height: 100px; object-fit: cover; border-radius: 16px; }

.package-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.package-card:hover .package-icon,
.package-featured .package-icon {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.1);
}

.package-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text); }
.package-size { font-size: 1rem; color: var(--text-light); margin-bottom: 0.75rem; font-weight: 600; }
.package-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.package-price {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--primary-glow);
    border-radius: var(--radius);
}

.price-amount { font-size: 2.2rem; font-weight: 900; color: var(--primary); }
.price-currency { font-size: 1rem; color: var(--primary); font-weight: 600; }

.package-features {
    margin-bottom: 1.5rem;
    text-align: right;
}

.pf-item {
    padding: 0.3rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.pf-item i { color: var(--success); margin-left: 0.5rem; font-size: 0.8rem; }

.btn-package {
    padding: 0.8rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.05rem;
    width: 100%;
    margin-top: auto;
    transition: var(--transition);
}

.btn-package:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4); }

.package-stock {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 500;
}

/* ---- How It Works ---- */
.how-it-works-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
}

.step-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step-card h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.step-card p { color: var(--text-light); margin: 0; }

/* ---- CTA ---- */
.cta-section { padding: 5rem 0; }

.cta-card {
    background: var(--gradient);
    border-radius: var(--radius-xl);
    padding: 3rem;
    color: #fff;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.cta-card h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.cta-card p { opacity: 0.9; font-size: 1.1rem; margin: 0; }
.cta-card .btn { padding: 0.8rem 2rem; font-weight: 700; border-radius: var(--radius); }

/* ---- Auth Pages ---- */
.auth-section { padding: 4rem 0; min-height: 70vh; display: flex; align-items: center; }

.auth-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.auth-header { text-align: center; margin-bottom: 2rem; }

.auth-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.auth-header h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.auth-header p { color: var(--text-light); }

.auth-form .form-control {
    border-radius: var(--radius);
    border-color: var(--border);
    background: var(--bg);
    transition: var(--transition);
}

.auth-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.auth-link { font-size: 0.9rem; color: var(--primary); }

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
}

.auth-footer a { font-weight: 600; }

/* ---- Page Header ---- */
.page-header-section {
    background: var(--gradient);
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

.page-title { color: #fff; font-size: 2rem; font-weight: 800; margin-bottom: 0.25rem; }
.page-subtitle { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

/* ---- Order Details ---- */
.order-details-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.order-status-banner {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #fff;
}

.order-status-banner h3 { margin: 0; font-size: 1.2rem; }
.order-status-banner p { margin: 0; opacity: 0.85; font-size: 0.9rem; }

.status-completed { background: linear-gradient(135deg, #10B981, #059669); }
.status-new { background: var(--gradient); }
.status-pending_payment { background: linear-gradient(135deg, #F59E0B, #D97706); }
.status-paid { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.status-cancelled { background: linear-gradient(135deg, #EF4444, #DC2626); }

.order-info-section { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); }
.order-info-section h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.info-item .info-label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.info-item .info-value { font-weight: 600; }
.info-item.full-width { grid-column: 1 / -1; }

.order-code-section {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.05));
}

.order-code-section h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }

.code-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.code-value {
    background: var(--bg-card);
    border: 2px dashed var(--primary);
    border-radius: var(--radius);
    padding: 1rem 2rem;
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.code-note { margin-top: 1rem; color: var(--text-light); font-size: 0.9rem; }

.order-actions { padding: 1.5rem 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Order Form ---- */
.order-summary-card, .order-form-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: fit-content;
}

.summary-title, .form-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }

.summary-package { text-align: center; padding: 1.5rem 0; }

.sp-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.sp-size { color: var(--text-light); font-weight: 600; }
.sp-desc { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.5rem; }

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--primary-glow);
    border-radius: var(--radius);
    margin-top: 1rem;
}

.summary-total strong { color: var(--primary); font-size: 1.3rem; }

.form-note { color: var(--text-muted); font-size: 0.85rem; text-align: center; }

/* ---- Contact ---- */
.contact-info-card, .contact-form-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
}

.contact-info-card h4, .contact-form-card h4 { font-weight: 700; margin-bottom: 1.5rem; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ci-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ci-whatsapp { background: rgba(37, 211, 102, 0.12); color: #25D366; }
.ci-telegram { background: rgba(0, 136, 204, 0.12); color: #0088CC; }

.contact-item h6 { margin-bottom: 0.15rem; font-weight: 600; }

/* ---- Content Pages ---- */
.content-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.content-card h2 { font-size: 1.4rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--primary); }
.content-card h2:first-child { margin-top: 0; }
.content-card ul { padding-right: 1.5rem; }
.content-card li { margin-bottom: 0.5rem; color: var(--text-light); }

/* ---- Footer ---- */
.footer-section {
    background: #0F172A;
    color: #94A3B8;
    position: relative;
}

.footer-wave {
    color: #0F172A;
    line-height: 0;
    margin-bottom: -1px;
}

.footer-wave svg { width: 100%; height: 60px; }

.footer-content { padding: 3rem 0 1.5rem; }

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand i { font-size: 1.5rem; color: var(--primary-light); }

.footer-desc { font-size: 0.95rem; line-height: 1.8; max-width: 350px; }

.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: #94A3B8;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover { color: #fff; padding-right: 5px; }

.footer-contact { list-style: none; padding: 0; }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-contact i { color: var(--primary-light); width: 16px; }
.footer-contact a { color: #94A3B8; }
.footer-contact a:hover { color: #fff; }

.footer-divider { border-color: rgba(255,255,255,0.08); margin: 2rem 0 1rem; }

.footer-bottom { font-size: 0.9rem; }

.footer-credit { font-size: 0.85rem; }
.footer-credit i { color: var(--primary-light); }

/* ---- Back to Top ---- */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.btn-back-to-top.visible { opacity: 1; visibility: visible; }
.btn-back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---- Buttons ---- */
.btn-primary {
    background: var(--gradient);
    border: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 15px var(--primary-glow); }

/* ---- Forms ---- */
.form-control, .form-select {
    border-radius: var(--radius);
    border-color: var(--border);
    padding: 0.6rem 1rem;
    transition: var(--transition);
    background: var(--bg);
    color: var(--text);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-floating > .form-control { height: calc(3.5rem + 2px); }
.form-floating > label { padding: 1rem; }

/* ---- Tables ---- */
.table { color: var(--text); }
.table th { font-weight: 600; color: var(--text-light); font-size: 0.85rem; text-transform: uppercase; border-bottom: 2px solid var(--border); }
.table td { vertical-align: middle; border-color: var(--border); }

/* ---- Alerts ---- */
.alert { border-radius: var(--radius); border: none; font-weight: 500; }

/* ---- Animations ---- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.animate-float { animation: float 6s ease-in-out infinite; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .hero-stats { gap: 1.5rem; }
    .stat-item strong { font-size: 1.3rem; }
}

@media (max-width: 767px) {
    .hero-section { padding: 3rem 0 4rem; min-height: auto; }
    .hero-title { font-size: 2rem; }
    .hero-text { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { justify-content: center; }
    .section-title { font-size: 1.8rem; }
    .package-card { padding: 2rem 1.5rem; }
    .code-value { font-size: 1.1rem; padding: 0.75rem 1.5rem; }
    .cta-card { padding: 2rem; text-align: center; }
    .cta-card .text-lg-end { text-align: center !important; margin-top: 1.5rem; }
    .content-card { padding: 2rem; }
    .footer-content { padding: 2rem 0 1rem; }
}

/* ---- Pagination ---- */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    border-color: var(--border);
    color: var(--text);
}

.pagination .page-item.active .page-link {
    background: var(--gradient);
    border-color: var(--primary);
}

/* ---- Badge ---- */
.badge { font-weight: 500; padding: 0.4em 0.8em; border-radius: 6px; }

/* ---- Error Page ---- */
.error-page { padding: 3rem 0; }
.error-page .display-4 { color: var(--text); }

/* ---- Cursor ---- */
.cursor-pointer { cursor: pointer; }
