@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css');

:root {
    --violet: #7c3aed;
    --violet-light: #8b5cf6;
    --cyan: #06b6d4;
    --cyan-light: #22d3ee;
    --dark: #030712;
    --dark-2: #0f172a;
    --dark-3: #111827;
    --dark-4: #1f2937;
    --border: rgba(255,255,255,0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #030712;
    color: #f1f5f9;
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar.scrolled {
    background: rgba(3, 7, 18, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    transition: all 0.2s;
    text-decoration: none;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.mobile-nav-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #94a3b8;
    transition: all 0.2s;
    text-decoration: none;
}

.mobile-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    min-width: 200px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #94a3b8;
    transition: all 0.15s;
    text-decoration: none;
}

.dropdown-item:hover {
    color: #fff;
    background: rgba(124, 58, 237, 0.15);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    color: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
    color: white;
}

.btn-primary:active { transform: translateY(0); }

.btn-primary-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: transparent;
    color: #94a3b8;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ghost:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: transparent;
    color: #8b5cf6;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #7c3aed;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #a78bfa;
}

/* ===== SEARCH ===== */
.search-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 8px 36px 8px 14px;
    font-size: 13px;
    color: #e2e8f0;
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    background: rgba(255,255,255,0.08);
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.search-input::placeholder { color: #64748b; }

/* ===== CARDS ===== */
.card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    transition: all 0.3s;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(124, 58, 237, 0.1);
    transform: translateY(-4px);
}

.card-glass {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.pricing-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(124, 58, 237, 0.1);
    transform: translateY(-6px);
}

.pricing-card:hover::before { opacity: 1; }

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(6, 182, 212, 0.08));
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.2);
}

.pricing-card.featured::before { opacity: 1; }

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-violet { background: rgba(124, 58, 237, 0.2); color: #a78bfa; border: 1px solid rgba(124, 58, 237, 0.3); }
.badge-cyan { background: rgba(6, 182, 212, 0.2); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-green { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-red { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-yellow { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

/* ===== FORMS ===== */
.form-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #e2e8f0;
    outline: none;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    background: rgba(255,255,255,0.06);
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.form-input::placeholder { color: #475569; }

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 6px;
}

.form-group { margin-bottom: 20px; }

/* ===== MESSAGES ===== */
.message-toast {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
}

.message-success { border-left: 3px solid #10b981; }
.message-error { border-left: 3px solid #ef4444; }
.message-warning { border-left: 3px solid #f59e0b; }
.message-info { border-left: 3px solid #3b82f6; }

/* ===== HERO ===== */
.hero-gradient {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 58, 237, 0.25) 0%, transparent 60%),
                radial-gradient(ellipse 60% 40% at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
                #030712;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

/* ===== STATS ===== */
.stat-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

/* ===== FEATURE ITEMS ===== */
.feature-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: #94a3b8;
}

.feature-check i { color: #10b981; font-size: 12px; flex-shrink: 0; }
.feature-check.disabled { opacity: 0.4; }
.feature-check.disabled i { color: #ef4444; }

/* ===== FOOTER ===== */
.footer-link {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.footer-link:hover {
    color: #a78bfa;
    transform: translateX(4px);
}

.social-icon-modern {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon-modern:hover {
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    border-color: rgba(124, 58, 237, 0.5);
    color: #ffffff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.social-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 24, 39, 0.95);
    color: white;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
    z-index: 10;
}

.social-icon-modern:hover .social-tooltip {
    opacity: 1;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.4), rgba(17, 24, 39, 0.4));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.trust-title {
    color: white;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.trust-desc {
    color: #9ca3af;
    font-size: 12px;
}

/* ===== SECTION HEADERS ===== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 560px;
    line-height: 1.7;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== DIVIDER ===== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    margin: 60px 0;
}

/* ===== ANIMATIONS ===== */
@keyframes slide-in {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }
    50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.6); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-slide-in { animation: slide-in 0.3s ease forwards; }
.animate-fade-up { animation: fade-up 0.5s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #7c3aed; }

/* ===== TABLE ===== */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.data-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ===== DASHBOARD ===== */
.dash-stat {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s;
}

.dash-stat:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* ===== RESPONSIVE — ALL DEVICES ===== */

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

/* ─── Mobile first base ─── */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ─── Small phones (max 479px) ─── */
@media (max-width: 479px) {
    .section-title { font-size: 22px !important; line-height: 1.2 !important; }
    .section-subtitle { font-size: 14px !important; }
    .btn-primary-lg { padding: 12px 20px !important; font-size: 14px !important; }
    .btn-ghost { padding: 10px 16px !important; font-size: 13px !important; }
    .pricing-card { padding: 18px !important; }
    #gi-brand span { font-size: clamp(24px, 8vw, 36px) !important; }
    #gi-tag { font-size: 9px !important; letter-spacing: 1.5px !important; }
    #gi-logo { width: 70px !important; height: 70px !important; }
}

/* ─── Mobile (max 767px) ─── */
@media (max-width: 767px) {

    /* Navbar */
    #desktop-nav   { display: none !important; }
    #nav-search    { display: none !important; }
    #currency-dropdown { display: none !important; }
    #mobile-toggle { display: block !important; }

    /* Mobile menu styling */
    #mobile-menu { width: 100%; }
    #mobile-menu > div { padding: 12px 16px 20px; }
    .mobile-nav-link {
        display: block;
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 500;
        color: #94a3b8;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .mobile-nav-link:hover { color: #fff; background: rgba(124,58,237,0.1); }

    /* Hero - single column centered on mobile */
    .hero-inner-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center !important;
    }
    .hero-right { display: none !important; }
    .animate-float { display: none !important; }
    .animate-fade-up {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .animate-fade-up h1 { font-size: clamp(26px, 7vw, 40px) !important; }
    .animate-fade-up p  { font-size: 15px !important; max-width: 100% !important; text-align: center !important; }
    .hero-gradient { min-height: auto !important; padding: 80px 0 48px !important; }

    /* Sections */
    section:not(.hero-gradient) { padding: 48px 0 !important; }
    .max-w-7xl { padding-left: 16px !important; padding-right: 16px !important; }

    /* Cards grid — 1 col */
    .card { border-radius: 14px !important; }
    .pricing-card { padding: 20px !important; border-radius: 18px !important; }

    /* Footer */
    footer { margin-top: 40px !important; }
    footer .grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
    }
    footer .lg\:col-span-1 { grid-column: 1 / -1 !important; }
    footer .border-t.mt-12 { flex-direction: column !important; text-align: center; gap: 12px !important; }

    /* Messages */
    #messages-container {
        left: 8px !important;
        right: 8px !important;
        max-width: none !important;
        top: 68px !important;
    }

    /* Modals — bottom sheet */
    .modal-overlay { align-items: flex-end !important; padding: 0 !important; }
    .modal {
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 20px 20px 0 0 !important;
        max-height: 88vh !important;
        overflow-y: auto !important;
        margin: 0 !important;
        padding: 20px 16px !important;
    }

    /* Configure page */
    .cfg-section { padding: 16px !important; }
    .choice-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .choice-btn label { min-height: 60px !important; padding: 10px 6px !important; }
    .step-bar { gap: 4px !important; }
    .step-bar .step span:not(.step-num) { display: none !important; }
    .step-line { margin: 0 4px !important; }
    .pw-field input { padding-right: 90px !important; font-size: 12px !important; }
    .pw-gen-btn { font-size: 11px !important; padding: 4px 8px !important; right: 4px !important; }

    /* Admin panel */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 300;
    }
    .sidebar.open { transform: translateX(0) !important; }
    .main-content { margin-left: 0 !important; }
    .stat-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
    .page-content { padding: 14px !important; }
    .topbar { padding: 0 14px !important; height: 52px !important; }
    .topbar-title { font-size: 14px !important; }
    #sidebar-toggle { display: flex !important; }
    table.admin-table { font-size: 11px !important; display: block; overflow-x: auto; white-space: nowrap; }
    table.admin-table th,
    table.admin-table td { padding: 8px 10px !important; }
    .panel-card-header { flex-wrap: wrap; gap: 8px; }

    /* Servers page */
    .server-header { flex-wrap: wrap; gap: 8px; padding: 14px 16px !important; }
    .server-header > div[id^="metrics"] { display: none !important; }
    .server-body { padding: 14px 16px !important; }
    .node-row { flex-wrap: wrap; gap: 6px; }

    /* Intro animation */
    #gi-brand span { font-size: clamp(26px, 8vw, 42px) !important; }
    #gi-tag { font-size: 10px !important; letter-spacing: 2px !important; }
    #gi-logo { width: 80px !important; height: 80px !important; }
    #gi-center { padding: 0 16px; }

    /* Checkout */
    .cfg-section > div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Sidebar overlay backdrop */
    .sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 299;
    }
    .sidebar-backdrop.show { display: block; }
}

/* ─── Tablet (768px – 1023px) ─── */
@media (min-width: 768px) and (max-width: 1023px) {
    #desktop-nav   { display: flex !important; }
    #mobile-toggle { display: none !important; }
    #mobile-menu   { display: none !important; }

    .nav-link { padding: 6px 9px !important; font-size: 12px !important; }

    .hero-grid { gap: 28px !important; }
    .animate-float > div { width: 260px !important; height: 260px !important; }

    .sidebar { width: 220px !important; }
    .main-content { margin-left: 220px !important; }
    .stat-grid { grid-template-columns: repeat(2, 1fr) !important; }

    footer .grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
    footer .lg\:col-span-1 { grid-column: 1 / -1 !important; }

    .choice-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ─── Desktop (1024px+) ─── */
@media (min-width: 1024px) {
    #desktop-nav   { display: flex !important; }
    #mobile-toggle { display: none !important; }
    #mobile-menu   { display: none !important; }
    .hero-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ─── Large desktop (1280px+) ─── */
@media (min-width: 1280px) {
    .max-w-7xl { max-width: 80rem; }
}



/* Desktop hero fix */
@media (min-width: 768px) {
    .hero-gradient { min-height: 100vh !important; }
    .hero-inner-grid { grid-template-columns: 1fr 1fr !important; gap: 60px !important; align-items: center !important; }
    .hero-right { display: flex !important; justify-content: center !important; align-items: center !important; }
    .animate-fade-up { display: block !important; flex-direction: unset !important; align-items: unset !important; text-align: left !important; }
    .animate-fade-up h1 { font-size: clamp(36px,5vw,64px) !important; }
    .animate-fade-up p { font-size: 18px !important; max-width: 480px !important; }
}

/* ===== TAILWIND UTILITIES (inline) ===== */
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.text-center { text-align: center; }
.grid { display: grid; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.z-50 { z-index: 50; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.transition-all { transition: all 0.3s; }
.cursor-pointer { cursor: pointer; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-white { color: #fff; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.border { border-width: 1px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-through { text-decoration: line-through; }
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }
/* Modern Footer Styles */
.footer-link {
    @apply text-gray-400 hover:text-white transition-colors duration-300 text-sm font-medium;
}

.social-icon-modern {
    @apply relative w-10 h-10 rounded-xl bg-gradient-to-br from-gray-800 to-gray-700 flex items-center justify-center text-gray-400 hover:text-white transition-all duration-300 transform hover:scale-110 hover:shadow-lg;
}

.social-icon-modern:hover {
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.social-tooltip {
    @apply absolute -top-10 left-1/2 transform -translate-x-1/2 bg-gray-800 text-white text-xs px-2 py-1 rounded-lg opacity-0 group-hover:opacity-100 transition-opacity duration-300 pointer-events-none;
}

.trust-badge {
    @apply flex items-center gap-4 p-4 rounded-2xl bg-gradient-to-r from-gray-800/30 to-gray-700/30 backdrop-blur-sm border border-gray-600/20 hover:border-gray-500/40 transition-all duration-300 transform hover:scale-105;
}

.trust-icon {
    @apply w-12 h-12 rounded-xl flex items-center justify-center text-white text-lg shadow-lg;
}

.trust-title {
    @apply text-white font-semibold text-sm;
}

.trust-desc {
    @apply text-gray-400 text-xs;
}

/* Footer animations */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-animate {
    animation: footerFadeIn 0.6s ease-out;
}

/* Newsletter form styles */
.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

/* Back to top functionality */
.back-to-top {
    @apply fixed bottom-6 right-6 w-12 h-12 bg-gradient-to-r from-violet-500 to-cyan-500 rounded-full flex items-center justify-center text-white shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-110 z-50;
}

.back-to-top.hidden {
    @apply opacity-0 pointer-events-none;
}

/* ===== FOOTER ANIMATIONS ===== */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-animate {
    animation: footerFadeIn 0.6s ease-out;
}

/* ===== NEWSLETTER STYLES ===== */
.newsletter-input {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-input:focus {
    background: rgba(31, 41, 55, 0.7);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
    outline: none;
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
    z-index: 50;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.back-to-top:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.6);
    color: white;
}

.back-to-top.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}