body { 
    font-family: 'Inter', sans-serif; 
    background: linear-gradient(135deg, #050505 0%, #000000 50%, #050505 100%); 
    background-attachment: fixed; 
}
button {
    cursor: pointer;
}
.cyberpunk-font { 
    font-family: 'Orbitron', monospace; 
    letter-spacing: 1.5px;
}
.glow-text {
text-shadow: 0 0 3px rgba(255,107,53,0.5), 0 0 6px rgba(255,107,53,0.3);
}
.cyberpunk-card { 
    background: linear-gradient(232deg, #141414de 50%, #000000 100%);
    border: 2.5px solid #ff6b35cc; 
    box-shadow: 0 0 0 4px #ff6b3522, 0 12px 32px #ff6b353a, 0 1.5px 8px #ff6b353a;
    border-radius: 18px;
    backdrop-filter: blur(16px) brightness(1.15);
    transition: box-shadow 0.33s cubic-bezier(.45,.02,.55,1.6), border-color 0.33s, transform 0.33s;
    position: relative;
    z-index: 10;
}
.cyberpunk-card:hover { 
    transform: scale(1);
    box-shadow: 0 0 0 6px #ff6b3555, 0 20px 20px #ff6b353b, 0 2.5px 14px #ff6b3540;
    border-color: #ff6b35;
    filter: brightness(1.12);
}
.danger-stripe { 
    background: repeating-linear-gradient(45deg, #ff6b35, #ff6b35 16px, transparent 16px, transparent 32px);
    height: 6px;
    width: 100%;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.7), 0 0 40px rgba(34, 197, 94, 0.4), 0 0 60px rgba(34, 197, 94, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(34, 197, 94, 1), 0 0 60px rgba(34, 197, 94, 0.6), 0 0 80px rgba(34, 197, 94, 0.3);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.desktop-bg {
    background-image: url('../static/home_background.webp');
}

@media (max-width: 767px) {
    .mobile-bg {
        background-image: url('../static/mobile_bg.webp') !important;
    }
}

.mega-cta-button {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.mega-cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
}

.danger-stripe-horizontal { 
    background: repeating-linear-gradient(
        90deg, 
        #ff6b35, 
        #ff6b35 16px, 
        transparent 16px, 
        transparent 32px
    ); 
    height: 6px; 
    border-radius: 2px;
    max-width: 200px; 
}

@media (max-width: 640px) {
    .danger-stripe-horizontal {
        display: none;
    }
}
.btn-trial { background: linear-gradient(135deg, #a855f7 30%, #7c3aed 90%); color: #fff; }
.btn-month { background: linear-gradient(135deg, #ef4444 20%, #ff6b35 100%); color: #fff; }
.btn-days { background: linear-gradient(135deg, #f97316 25%, #ea580c 90%); color: #fff; }
.btn-year { background: linear-gradient(135deg, #10b981 30%, #22d3ee 100%); color: #fff; }
.price-badge { 
    position: absolute; 
    top: -18px; 
    right: 16px; 
    transform: rotate(8deg); 
    background: #18181c; 
    color: #ff6b35; 
    font-weight: bold; 
    border: 2px solid #ff6b35bb; 
    border-radius: 7px; 
    padding: 4px 15px; 
    font-size: 1.1em; 
    z-index: 20;
    box-shadow: 0 2px 8px #ff6b3530;
}
.htmx-indicator { opacity: 0; transition: opacity 200ms ease-in; }
.htmx-request .htmx-indicator { opacity: 1; }
.htmx-request.htmx-indicator { opacity: 1; }
.htmx-settling { opacity: 0; }
.htmx-swapping { opacity: 0; transform: translateY(25px); }
#main-content { transition: all 0.33s cubic-bezier(.45,.02,.55,1.6); }
.payment-method-btn { 
    transition: all 0.3s cubic-bezier(.45,.02,.55,1.6); 
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    border-width: 2px;
    border-radius: 10px;
    font-weight: 500;
}
.payment-method-btn.active { 
    border-color: #ff6b35 !important; 
    background-color: rgba(255, 107, 53, 0.18) !important; 
    color: #ff6b35;
}
.payment-method-btn:not(.active) { 
    border-color: #4b5563 !important; 
    background-color: rgba(55, 65, 81, 0.13) !important; 
    color: #fff;
}
.payment-method-btn:hover:not(.active) { 
    border-color: #ff6b35 !important; 
    background-color: rgba(255, 107, 53, 0.08) !important;
}
.payment-section { transition: all 0.3s; }
.payment-section.hidden { display: none; }
#card-element { min-height: 40px; }
.loading-spinner { 
    border: 4px solid #18181c; 
    border-top: 4px solid #ff6b35; 
    border-radius: 50%; 
    width: 32px; 
    height: 32px; 
    animation: spin 0.77s linear infinite; 
    margin: 0 auto; 
    box-shadow: 0 0 16px #ff6b35cc;
}
@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}
.loading-container { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 16px; 
    padding: 20px; 
    color: #ff6b35; 
    font-family: 'Orbitron', monospace;
}
.message-success {
    background-color: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: rgb(134, 239, 172);
}

.message-error {
    background-color: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: rgb(252, 165, 165);
}

.message-warning {
    background-color: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: rgb(253, 230, 138);
}

.message-info {
    background-color: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: rgb(147, 197, 253);
}
.dashboard-faq-content {
    transition: all 0.3s ease;
}

.dashboard-faq-content img {
    transition: transform 0.3s ease;
}

.dashboard-faq-content img:hover {
    transform: scale(1.02);
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

footer .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.desktop-logo-section {
    display: flex;
}

.desktop-logo {
    display: block;
}

.desktop-logo-text {
    display: block;
}

.mobile-logo-section {
    display: none !important;
}

#mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 100vh;
}

nav {
    position: relative;
}

nav img {
    flex-shrink: 0;
}

.py-20 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

@media (min-width: 1200px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 1023px) {
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .desktop-logo-section {
        display: none !important;
    }
    
    .mobile-logo-section {
        display: flex !important;
    }

    .mobile-title {
        font-size: 1.25rem !important;
        line-height: 1.2;
    }
    
    .mobile-subtitle {
        font-size: 0.75rem !important;
    }

    .mobile-logo-image {
        height: 3rem !important;
        width: 3rem !important;
        object-fit: contain;
    }

    .text-6xl, .text-7xl {
        font-size: 3rem !important;
        line-height: 1.1;
    }
    
    .text-4xl {
        font-size: 2.25rem !important;
    }
    
    .text-3xl {
        font-size: 1.875rem !important;
    }
    
    .text-2xl {
        font-size: 1.5rem !important;
    }

    .grid.md\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    
    .grid.md\\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    
    .grid.lg\\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .grid.lg\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .py-16 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .mb-16 {
        margin-bottom: 2rem !important;
    }
    
    .mb-12 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-10 {
        margin-bottom: 1.25rem !important;
    }
    
    .mb-8 {
        margin-bottom: 1rem !important;
    }

    .px-12 {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    
    .py-6 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .px-10 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    .py-5 {
        padding-top: 0.875rem !important;
        padding-bottom: 0.875rem !important;
    }
}

@media (max-width: 767px) {
    
    nav .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        min-height: 90vh !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem !important;
    }

    .hero-stats {
        flex-direction: column !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
        space-x: 0 !important;
    }
    
    .hero-stats > div {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.75rem !important;
        background: rgba(0, 0, 0, 0.4) !important;
        padding: 0.75rem 1.5rem !important;
        border-radius: 1rem !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        text-align: left !important;
    }
    
    .hero-stats .stat-number {
        font-size: 1.5rem !important;
        margin-bottom: 0 !important;
    }
    
    .hero-stats .stat-label {
        font-size: 0.875rem !important;
        margin: 0 !important;
    }

    .hero-cta {
        padding: 1rem 2rem !important;
        font-size: 1.125rem !important;
        margin-bottom: 1.5rem !important;
        display: block !important;
        text-align: center !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-feature-card {
        margin-bottom: 1.5rem !important;
        padding: 1rem !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }
    
    .hero-feature-content {
        gap: 0.5rem !important;
        space-x: 0 !important;
    }
    
    .hero-feature-text {
        font-size: 1rem !important;
        text-align: center !important;
    }

    .hero-platforms {
        gap: 1rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 0 1rem !important;
        space-x: 0 !important;
    }
    
    .hero-platforms img {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }

    .hero-badge {
        margin-bottom: 1rem !important;
        font-size: 0.875rem !important;
        padding: 0.5rem 1rem !important;
    }

    .mobile-title {
        font-size: 1.125rem !important;
        line-height: 1.2;
    }
    
    .mobile-subtitle {
        font-size: 0.625rem !important;
    }
    
    .mobile-logo-image {
        height: 2.5rem !important;
        width: 2.5rem !important;
        object-fit: contain;
    }

    .text-6xl, .text-7xl {
        font-size: 2.25rem !important;
        line-height: 1.1;
    }
    
    .text-4xl {
        font-size: 1.875rem !important;
    }
    
    .text-3xl {
        font-size: 1.5rem !important;
    }
    
    .text-2xl {
        font-size: 1.25rem !important;
    }
    
    .text-xl {
        font-size: 1.125rem !important;
    }

    .grid.md\\:grid-cols-4,
    .grid.md\\:grid-cols-3,
    .grid.lg\\:grid-cols-3,
    .grid.lg\\:grid-cols-2,
    .grid.grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }

    .py-20 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-16 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .py-8 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    .px-4 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .mb-16 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-12 {
        margin-bottom: 1rem !important;
    }
    
    .mb-10 {
        margin-bottom: 1rem !important;
    }
    
    .mb-8 {
        margin-bottom: 0.75rem !important;
    }
    
    .mb-6 {
        margin-bottom: 0.5rem !important;
    }

    .px-12 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-6 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    .px-10 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-5 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    .px-8 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-4 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .cyberpunk-card {
        padding: 1rem !important;
        margin-bottom: 0.75rem;
    }

    .flex.justify-center.space-x-8 {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .flex.justify-center.space-x-8 > * + * {
        margin-left: 0 !important;
    }

    .flex.justify-center.space-x-4 img {
        width: 2rem !important;
        height: 2rem !important;
    }

    .price-badge {
        position: static !important;
        transform: none !important;
        margin-bottom: 0.5rem;
        display: inline-block;
    }

    .absolute.top-10,
    .absolute.bottom-10,
    .absolute.top-1\/2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .text-6xl, .text-7xl {
        font-size: 1.875rem !important;
    }
    
    .text-4xl {
        font-size: 1.5rem !important;
    }
    
    .text-3xl {
        font-size: 1.25rem !important;
    }
    
    .cyberpunk-card {
        padding: 0.75rem !important;
    }

    .mobile-title {
        font-size: 1rem !important;
    }
    
    .mobile-subtitle {
        font-size: 0.5rem !important;
    }
    
    .mobile-logo-image {
        height: 2rem !important;
        width: 2rem !important;
    }

    .hero-section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        min-height: 85vh !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.875rem !important;
        padding: 0 0.25rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-stats > div {
        padding: 0.5rem 1rem !important;
        gap: 0.5rem !important;
    }
    
    .hero-stats .stat-number {
        font-size: 1.25rem !important;
    }
    
    .hero-stats .stat-label {
        font-size: 0.75rem !important;
    }
    
    .hero-cta {
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        max-width: 95% !important;
    }
    
    .hero-feature-card {
        padding: 0.75rem !important;
        margin-left: 0.25rem !important;
        margin-right: 0.25rem !important;
    }
    
    .hero-feature-text {
        font-size: 0.875rem !important;
    }
    
    .hero-platforms {
        gap: 0.75rem !important;
        padding: 0 0.5rem !important;
    }
    
    .hero-platforms img {
        width: 2rem !important;
        height: 2rem !important;
    }
    
    .hero-badge {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.75rem !important;
    }
}

@media (max-width: 767px) {
    
    .grid.grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem;
    }

    .destination-btn {
        padding: 0.5rem !important;
        font-size: 0.75rem !important;
    }

    .grid.lg\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .grid.grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
}

.language-selector {
    position: relative;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 114, 128, 0.5);
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
    z-index: 50;
    min-width: 4rem;
}

.language-dropdown button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.language-dropdown button:hover {
    background-color: rgba(55, 65, 81, 0.7);
}

.language-dropdown button:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.language-dropdown button:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.language-dropdown button.bg-orange-500\/20 {
    background-color: rgba(255, 107, 53, 0.2) !important;
}

.language-dropdown button.bg-orange-500\/20:hover {
    background-color: rgba(255, 107, 53, 0.3) !important;
}

@keyframes navbar-vpn-pulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(34, 197, 94, 0.3), 0 0 10px rgba(34, 197, 94, 0.1);
        border-color: rgba(75, 85, 99, 1);
    }
    50% {
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.5), 0 0 15px rgba(34, 197, 94, 0.2), 0 0 20px rgba(34, 197, 94, 0.1);
        border-color: rgba(34, 197, 94, 0.4);
    }
}

.navbar-vpn-pulse {
    animation: navbar-vpn-pulse 3s ease-in-out infinite;
}

.navbar-active {
    transform: scale(1.05) !important;
}

.navbar-active-text {
    background: rgba(234, 179, 8, 0.15) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(234, 179, 8, 0.4) !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.2) !important;
}

.navbar-active-dashboard {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(59, 130, 246, 0.15), rgba(34, 197, 94, 0.25)) !important;
    border: 1px solid rgba(34, 197, 94, 0.5) !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3) !important;
    transform: scale(1.02) !important;
}

.navbar-active-user {
    background: linear-gradient(135deg, #9333ea, #7c3aed) !important;
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3) !important;
    transform: scale(1.02) !important;
}
