/* ===========================================================================================
   CUSTOM STYLES - ENTITY SEO THEME
   =============================================== */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0a192f;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--es-neon-purple), #9c27b0);
    border-radius: 5px;
    border: 2px solid #0a192f;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9c27b0, var(--es-neon-purple));
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--es-neon-purple) #0a192f;
}

/* Body padding dla fixed header - zapobiega nachodzeniu nagłówka na treść */
body {
    padding-top: 83px;
    overflow-x: hidden;
    background-color: #0a192f;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Blokada przewijania gdy menu mobilne jest otwarte */
body.mobile-menu-open {
    overflow: hidden;
}

/* Header Gradient Line */
.header-gradient-line {
    height: 3px;
    background: linear-gradient(90deg, var(--es-neon-purple), var(--es-gradient-purple-start), var(--es-cyan));
    width: 100%;
    position: relative;
    z-index: 1001;
}

/* Header Styles - Premium Design with Auto-Hide */
.site-header {
    background: var(--es-dark-navy);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.site-header.scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.site-header.header-visible {
    transform: translateY(0);
}

/* BOXED LAYOUT CONTAINER */
.site-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Logo / Branding - Animated Brain Logo */
.site-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.entity-seo-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--es-transition);
}

/* Logo Text Container - stacks text and tagline */
.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

/* Animated Brain Icon */
.logo-icon {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-container svg {
    width: 24px;
    height: 24px;
    color: #fff;
    position: relative;
    z-index: 10;
    animation: brain-pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(176, 38, 255, 0.5));
}

.brain-ring,
.brain-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid transparent;
    border-top-color: var(--es-neon-purple);
    border-right-color: rgba(176, 38, 255, 0.3);
    border-radius: 50%;
    animation: spin-ring 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.brain-ring {
    width: 36px;
    height: 36px;
}

.brain-ring-2 {
    width: 28px;
    height: 28px;
    border-top-color: var(--es-cyan);
    border-right-color: rgba(6, 182, 212, 0.3);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.brain-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.2) 0%, transparent 70%);
    animation: glow-pulse 2s ease-in-out infinite;
}

/* Logo Text */
.logo-text {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.logo-entity {
    color: #fff;
    font-weight: 800;
}

.logo-seo {
    background: linear-gradient(135deg, var(--es-neon-purple), var(--es-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    transition: var(--es-transition);
}

/* Hover Effects - Subtle */
.entity-seo-logo:hover .brain-container svg {
    animation: brain-pulse-fast 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 16px rgba(176, 38, 255, 0.7));
    color: var(--es-cyan);
}

.entity-seo-logo:hover .brain-ring {
    animation-duration: 1.2s;
    border-top-color: var(--es-cyan);
}

.entity-seo-logo:hover .brain-ring-2 {
    animation-duration: 1s;
    border-top-color: var(--es-mint-green);
}

.entity-seo-logo:hover .brain-glow {
    animation: glow-pulse-fast 1.5s ease-in-out infinite;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
}

.entity-seo-logo:hover .logo-seo {
    background: linear-gradient(135deg, var(--es-cyan), var(--es-neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes brain-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.95;
    }
}

@keyframes brain-pulse-fast {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes spin-ring {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes glow-pulse-fast {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.site-tagline {
    font-size: 9px;
    color: var(--es-mint-green);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    margin: 0;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

/* Navigation - Next to Logo (Left Side) */
.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    margin-left: 40px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    align-items: center;
}

.main-navigation li {
    position: relative;
}

/* Divider between menu items */
.main-navigation li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
}

.main-navigation a {
    color: var(--es-text-slate);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 20px;
    transition: var(--es-transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.main-navigation a:hover {
    color: #ffffff;
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    color: var(--es-neon-purple);
    font-weight: 700;
}

/* Mobile Actions - Hidden on desktop */
.mobile-actions {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.header-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.header-btn-download {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.header-btn-download:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.header-btn-credits {
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(176, 38, 255, 0.4);
    padding: 12px 18px;
    min-height: 44px;
    box-sizing: border-box;
}

.header-btn-credits:hover {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    box-shadow: 0 6px 20px rgba(176, 38, 255, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

/* User Dropdown Menu */
.header-user-dropdown {
    position: relative;
}

.header-user-dropdown .header-btn-credits {
    cursor: pointer;
}

.header-user-dropdown .dropdown-arrow {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.header-user-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.header-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: linear-gradient(145deg, #0f2744 0%, #0a192f 100%);
    border: 1px solid rgba(176, 38, 255, 0.25);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(176, 38, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1000;
    overflow: hidden;
}

.header-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--es-neon-purple), var(--es-cyan));
}

.header-user-dropdown:hover .header-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(176, 38, 255, 0.1);
    color: #fff;
}

.dropdown-item:hover svg {
    opacity: 1;
    color: var(--es-neon-purple);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

.dropdown-item-logout {
    color: rgba(239, 68, 68, 0.8);
}

.dropdown-item-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dropdown-item-logout:hover svg {
    color: #ef4444;
}

/* Mobile User Dropdown */
.mobile-user-dropdown {
    position: relative;
    width: 100%;
}

.mobile-dropdown-trigger {
    width: 100%;
    justify-content: center;
}

.mobile-dropdown-trigger .dropdown-arrow {
    margin-left: 6px;
    transition: transform 0.25s ease;
}

.mobile-user-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    background: rgba(10, 25, 47, 0.6);
    border-radius: 12px;
    margin-top: 12px;
    border: 1px solid transparent;
}

.mobile-user-dropdown.open .mobile-dropdown-menu {
    max-height: 300px;
    opacity: 1;
    border-color: rgba(176, 38, 255, 0.2);
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-dropdown-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

.mobile-dropdown-item:hover {
    background: rgba(176, 38, 255, 0.1);
    color: #fff;
}

.mobile-dropdown-item:hover svg {
    opacity: 1;
    color: var(--es-neon-purple);
}

.mobile-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 6px 0;
}

.mobile-dropdown-logout {
    color: rgba(239, 68, 68, 0.85);
}

.mobile-dropdown-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.mobile-dropdown-logout:hover svg {
    color: #ef4444;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 40px;
    height: 40px;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.mobile-menu-toggle .menu-icon {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X animation */
.mobile-menu-toggle.active .menu-icon:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .menu-icon:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .menu-icon:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===============================================
   RESPONSIVE STYLES
   =============================================== */

@media (max-width: 1200px) {
    .site-header .header-container {
        max-width: 100%;
        padding: 20px 30px;
    }

    .main-navigation {
        margin-left: 30px;
    }

    .main-navigation a {
        font-size: 12px;
        padding: 7px 16px;
    }
}

@media (max-width: 1024px) {
    .site-header .header-container {
        gap: 1rem;
        padding: 18px 20px;
    }

    .main-navigation {
        margin-left: 20px;
    }

    .main-navigation a {
        padding: 7px 14px;
    }

    .header-btn span {
        display: none;
    }

    .header-btn {
        padding: 9px 12px;
    }

    .header-actions {
        gap: 8px;
    }

    .entity-seo-logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .brain-container svg {
        width: 20px;
        height: 20px;
    }

    .brain-ring {
        width: 32px;
        height: 32px;
    }

    .brain-ring-2 {
        width: 24px;
        height: 24px;
    }

    .site-tagline {
        font-size: 7px;
        letter-spacing: 0.6px;
    }
}




@media (max-width: 900px) {

    /* Zmienna wysokość headera - obliczona dynamicznie */
    body {
        --mobile-header-height: 79px;
        /* 63px + 13px offset + 3px gradient */
        padding-top: var(--mobile-header-height);
    }

    .site-header .header-container {
        padding: 12px 20px;
    }

    .main-navigation {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: fixed;
        top: var(--mobile-header-height);
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - var(--mobile-header-height));
        margin: 0;
        background: var(--es-dark-navy);
        z-index: 999;
        overflow-y: auto;
        padding: 0;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-navigation.mobile-active {
        visibility: visible;
        opacity: 1;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        width: 100%;
        max-width: 500px;
    }

    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation li:not(:last-child)::after {
        display: none;
    }

    .main-navigation a {
        display: block;
        padding: 14px 2rem;
        font-size: 16px;
        text-align: left;
        color: #fff;
        font-weight: 500;
        border-bottom: none;
    }

    .main-navigation a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
    }

    .main-navigation .current-menu-item a,
    .main-navigation .current_page_item a {
        color: var(--es-neon-purple);
        background: rgba(176, 38, 255, 0.1);
        font-weight: 600;
    }

    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 1.5rem 2rem 2rem 2rem;
        width: 100%;
        max-width: 500px;
        margin-top: 0.5rem;
    }

    .mobile-actions .header-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 18px;
        font-size: 15px;
    }

    .mobile-actions .header-btn svg {
        width: 18px;
        height: 18px;
        vertical-align: middle;
    }

    .mobile-actions .header-btn span {
        display: inline;
        vertical-align: middle;
    }

    .desktop-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 100000;
        position: relative;
    }
}

@media (max-width: 768px) {
    body {
        --mobile-header-height: 76px;
        /* 63px + 13px offset */
        padding-top: var(--mobile-header-height);
    }

    .site-header .header-container {
        padding: 12px 16px;
    }

    .main-navigation {
        top: var(--mobile-header-height);
        height: calc(100vh - var(--mobile-header-height));
    }
}

@media (max-width: 480px) {
    body {
        --mobile-header-height: 64px;
        /* 51px + 13px offset */
        padding-top: var(--mobile-header-height);
    }

    .main-navigation {
        top: var(--mobile-header-height);
        height: calc(100vh - var(--mobile-header-height));
    }

    .site-tagline {
        display: none;
    }
}

/* ========================================
   INVOICES TAB
======================================== */
.invoices-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

.invoices-table {
    width: 100%;
    border-collapse: collapse;
}

.invoices-table th,
.invoices-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #374151;
}

.invoices-table th {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.02);
}

.invoices-table td {
    color: #d1d5db;
    font-size: 14px;
}

.invoices-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.invoices-table .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.invoices-table .btn-download:hover {
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
    transform: translateY(-1px);
}

.invoices-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: #93c5fd;
    font-size: 13px;
    line-height: 1.5;
}

.invoices-info svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.loading-state,
.empty-state-invoices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 20px;
    color: #6b7280;
}

.loading-state .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(168, 85, 247, 0.2);
    border-top-color: #a855f7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   END CUSTOM CSS
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--es-gradient-purple-start), var(--es-gradient-purple-end));
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(176, 38, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--es-neon-purple), var(--es-gradient-purple-start));
    box-shadow: 0 6px 25px rgba(176, 38, 255, 0.5);
    transform: translateY(-3px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ========================================
   Pre-Footer CTA
   ======================================== */
.pre-footer-cta {
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.05) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(176, 38, 255, 0.15);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 80px auto 0;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.pre-footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--es-neon-purple), var(--es-gradient-purple-start), var(--es-cyan));
    border-radius: 20px 20px 0 0;
}

.pre-footer-cta .container {
    max-width: 100%;
    padding: 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.cta-content {
    max-width: 600px;
}

.cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.cta-btn-primary {
    background: linear-gradient(135deg, var(--es-gradient-purple-start), var(--es-gradient-purple-end));
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(176, 38, 255, 0.3);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(176, 38, 255, 0.4);
}

.cta-btn-primary:hover svg {
    transform: translateY(2px);
}

.cta-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive CTA */
@media (max-width: 900px) {
    .pre-footer-cta {
        padding: 40px 30px;
        margin: 60px 20px 0;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-title {
        font-size: 26px;
    }

    .cta-description {
        font-size: 15px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pre-footer-cta {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-description {
        font-size: 14px;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ========================================
   Footer Styles
   ======================================== */
.site-footer {
    background: var(--es-dark-navy);
    color: var(--es-text-slate);
    margin-top: 80px;
    position: relative;
}

/* Footer Gradient Line */
.footer-gradient-line {
    height: 3px;
    background: linear-gradient(90deg, var(--es-neon-purple), var(--es-gradient-purple-start), var(--es-cyan));
    width: 100%;
}

/* Footer Widgets Section */
.footer-widgets {
    padding: 60px 0 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-widget-area {
    color: var(--es-text-slate);
}

.footer-widget-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 12px;
}

.footer-widget a {
    color: var(--es-text-slate);
    text-decoration: none;
    font-size: 14px;
    transition: var(--es-transition);
    display: inline-block;
}

.footer-widget a:hover {
    color: var(--es-neon-purple);
    transform: translateX(5px);
}

.footer-widget p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Site Info / Copyright Section */
.site-info {
    padding: 30px 0;
}

.site-info-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 30px;
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.copyright p {
    margin: 0;
}

.copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--es-transition);
}

.copyright a:hover {
    color: var(--es-neon-purple);
}

/* Footer Navigation */
.footer-navigation {
    display: flex;
    align-items: center;
}

.footer-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0;
    align-items: center;
}

.footer-nav-menu li {
    position: relative;
}

.footer-nav-menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
}

.footer-nav-menu a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    text-decoration: none;
    transition: var(--es-transition);
    display: block;
}

.footer-nav-menu a:hover {
    color: var(--es-neon-purple);
}

/* Responsive Footer Styles */
@media (max-width: 1024px) {
    .footer-widgets-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 30px;
    }

    .site-info-inner {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .footer-widgets {
        padding: 40px 0 30px 0;
    }

    .footer-widgets-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .site-info {
        padding: 35px 0;
    }

    .site-info .container {
        padding: 0;
        max-width: 100%;
    }

    .site-info-inner {
        flex-direction: column;
        gap: 25px;
        padding: 0 20px;
        text-align: center;
        max-width: 100%;
    }

    .copyright {
        order: 2;
        font-size: 13px;
    }

    .footer-navigation {
        order: 1;
        width: 100%;
        justify-content: center;
        max-width: 100%;
    }

    .footer-nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .footer-nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-nav-menu li:last-child {
        border-bottom: none;
    }

    .footer-nav-menu li:not(:last-child)::after {
        display: none;
    }

    .footer-nav-menu a {
        padding: 14px 20px;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .site-footer {
        margin-top: 60px;
    }

    .footer-widgets {
        padding: 30px 0 20px 0;
    }

    .footer-widgets-grid {
        padding: 0 16px;
        gap: 25px;
    }

    .site-info {
        padding: 30px 0;
    }

    .site-info-inner {
        padding: 0 16px;
        gap: 20px;
    }

    .footer-nav-menu {
        max-width: 100%;
    }

    .footer-nav-menu a {
        padding: 13px 16px;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.85);
    }

    .copyright {
        font-size: 12px;
        line-height: 1.6;
    }

    .copyright p {
        margin: 0;
    }
}

/* ========================================
   Login/Register Modal Styles
   ======================================== */
.eseo-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.eseo-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.eseo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.eseo-modal-container {
    position: relative;
    background: linear-gradient(145deg, #0f2744 0%, #0a192f 100%);
    border-radius: 20px;
    border: 1px solid rgba(176, 38, 255, 0.2);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(176, 38, 255, 0.1);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.eseo-modal[aria-hidden="false"] .eseo-modal-container {
    transform: translateY(0) scale(1);
}

.eseo-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.eseo-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.eseo-modal-content {
    padding: 40px 32px;
}

/* Modal Logo */
.eseo-modal-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.eseo-modal-logo .logo-icon {
    width: 56px;
    height: 56px;
}

.eseo-modal-logo .brain-container svg {
    width: 36px;
    height: 36px;
    color: var(--es-neon-purple);
}

.eseo-modal-logo .brain-glow {
    width: 60px;
    height: 60px;
}

/* Modal Tabs */
.eseo-modal-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.eseo-tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.eseo-tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.eseo-tab.active {
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #fff;
    box-shadow: 0 4px 12px rgba(176, 38, 255, 0.3);
}

/* Tab Content */
.eseo-tab-content {
    display: none;
}

.eseo-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styles */
.eseo-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.eseo-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eseo-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.eseo-form-group input[type="text"],
.eseo-form-group input[type="email"],
.eseo-form-group input[type="password"] {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.eseo-form-group input:focus {
    outline: none;
    border-color: var(--es-neon-purple);
    background: rgba(176, 38, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(176, 38, 255, 0.1);
}

.eseo-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.eseo-field-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Form Row */
.eseo-form-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Checkbox */
.eseo-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.eseo-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--es-neon-purple);
    cursor: pointer;
}

/* Forgot Link */
.eseo-forgot-link {
    font-size: 13px;
    color: var(--es-neon-purple);
    text-decoration: none;
    transition: color 0.2s ease;
}

.eseo-forgot-link:hover {
    color: var(--es-cyan);
}

/* Form Message */
.eseo-form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    display: none;
}

.eseo-form-message.show {
    display: block;
}

.eseo-form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.eseo-form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* Button Styles */
.eseo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.eseo-btn-primary {
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #fff;
    box-shadow: 0 4px 15px rgba(176, 38, 255, 0.3);
}

.eseo-btn-primary:hover {
    box-shadow: 0 6px 25px rgba(176, 38, 255, 0.4);
    transform: translateY(-2px);
}

.eseo-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.eseo-btn-full {
    width: 100%;
}

/* Button Loader */
.eseo-btn .btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.eseo-btn.loading .btn-text {
    opacity: 0;
}

.eseo-btn.loading .btn-loader {
    display: block;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Register Disabled */
.eseo-register-disabled {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.eseo-register-disabled p {
    margin: 0 0 8px 0;
    font-size: 14px;
}

/* Modal Responsive */
@media (max-width: 480px) {
    .eseo-modal-container {
        max-width: 100%;
        margin: 0 10px;
        border-radius: 16px;
    }

    .eseo-modal-content {
        padding: 32px 24px;
    }

    .eseo-modal-logo .logo-icon {
        width: 48px;
        height: 48px;
    }

    .eseo-modal-logo .brain-container svg {
        width: 30px;
        height: 30px;
    }

    .eseo-form-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Prevent body scroll when modal open */
body.modal-open {
    overflow: hidden;
}

/* Additional Modal Styles */
.eseo-form-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.eseo-checkbox-terms {
    font-size: 12px !important;
    line-height: 1.5;
}

.eseo-checkbox-terms a {
    color: var(--es-neon-purple);
    text-decoration: none;
    transition: color 0.2s ease;
}

.eseo-checkbox-terms a:hover {
    color: var(--es-cyan);
    text-decoration: underline;
}

.eseo-register-bonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    font-size: 13px;
    color: #22c55e;
}

.eseo-register-bonus svg {
    flex-shrink: 0;
}

.eseo-back-to-login {
    text-align: center;
    margin-top: 16px;
}

.eseo-link-btn {
    background: none;
    border: none;
    color: var(--es-neon-purple);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.eseo-link-btn:hover {
    color: var(--es-cyan);
}

.eseo-forgot-link {
    background: none;
    border: none;
    color: var(--es-neon-purple);
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.eseo-forgot-link:hover {
    color: var(--es-cyan);
}

/* Modal tabs with 3 items - ensure proper styling regardless of page */
.eseo-modal .eseo-modal-tabs .eseo-tab {
    flex: 1 !important;
    padding: 12px 16px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: 'Inter', sans-serif !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
    min-height: auto !important;
    width: auto !important;
    max-width: none !important;
}

.eseo-modal .eseo-modal-tabs .eseo-tab:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    transform: none !important;
    box-shadow: none !important;
}

.eseo-modal .eseo-modal-tabs .eseo-tab.active {
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(176, 38, 255, 0.3) !important;
}

.eseo-modal .eseo-modal-tabs .eseo-tab.active:hover {
    transform: none !important;
}

@media (max-width: 480px) {
    .eseo-modal .eseo-modal-tabs .eseo-tab {
        font-size: 11px !important;
        padding: 10px 8px !important;
    }
}

/* License Success Modal Styles */
.eseo-license-success {
    text-align: center;
    padding: 10px 0;
}

.eseo-success-icon {
    margin-bottom: 24px;
    position: relative;
}

.eseo-success-icon svg {
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.4));
}

.eseo-success-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes successPop {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.15) rotate(5deg);
    }

    70% {
        transform: scale(0.95) rotate(-2deg);
    }

    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.eseo-success-title {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.eseo-success-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 28px 0;
    line-height: 1.7;
}

.eseo-success-desc strong {
    color: #22c55e;
    font-weight: 700;
}

.eseo-license-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.03) 100%);
    border: 2px solid rgba(34, 197, 94, 0.25);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.eseo-license-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #10b981, #22c55e);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.eseo-license-box label {
    font-size: 11px;
    font-weight: 700;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.eseo-license-key-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eseo-license-key-wrapper input {
    width: 100%;
    padding: 16px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 10px;
    color: #22c55e;
    font-size: 14px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
    box-sizing: border-box;
}

.eseo-license-key-wrapper input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.eseo-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.eseo-copy-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.eseo-copy-btn:active {
    transform: translateY(0);
}

.eseo-copy-btn svg {
    width: 18px;
    height: 18px;
}

.eseo-license-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 14px 0 0 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.eseo-how-to-use {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.eseo-how-to-use h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eseo-how-to-use ol {
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    counter-reset: step;
}

.eseo-how-to-use ol li {
    margin-bottom: 10px;
    padding-left: 32px;
    position: relative;
    counter-increment: step;
}

.eseo-how-to-use ol li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: rgba(176, 38, 255, 0.15);
    border: 1px solid rgba(176, 38, 255, 0.3);
    border-radius: 6px;
    color: var(--es-neon-purple);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eseo-how-to-use ol li:last-child {
    margin-bottom: 0;
}

.eseo-how-to-use ol li strong {
    color: #fff;
    font-weight: 600;
}

/* Success modal close button */
.eseo-license-success .eseo-btn-primary {
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    margin-top: 8px;
    padding: 16px 32px;
    font-size: 15px;
}

.eseo-license-success .eseo-btn-primary:hover {
    box-shadow: 0 8px 30px rgba(176, 38, 255, 0.4);
}

/* License Pending State */
.eseo-license-pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);
    border: 2px solid rgba(245, 158, 11, 0.25);
    text-align: center;
    padding: 30px 24px;
}

.eseo-license-pending::before {
    background: linear-gradient(90deg, #f59e0b, #d97706, #f59e0b);
}

.eseo-pending-icon {
    margin-bottom: 16px;
}

.eseo-pending-icon svg {
    animation: pendingPulse 2s ease-in-out infinite;
}

@keyframes pendingPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.eseo-pending-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.eseo-pending-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.eseo-pending-hint strong {
    color: #f59e0b;
}

@media (max-width: 480px) {
    .eseo-success-title {
        font-size: 22px;
    }

    .eseo-license-box {
        padding: 20px 16px;
    }

    .eseo-license-key-wrapper input {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .eseo-how-to-use ol li {
        padding-left: 28px;
        font-size: 13px;
    }

    .eseo-license-pending {
        padding: 24px 20px;
    }

    .eseo-pending-text {
        font-size: 14px;
    }
}

/* ========================================
   My Account Page Styles - Tab Layout
   ======================================== */
.my-account-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

/* Account Header */
.account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 24px;
}

.account-user-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.account-header .user-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--es-neon-purple);
}

.account-header .user-name {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
}

.account-header .user-email {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    color: rgba(239, 68, 68, 0.8);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* Tab Navigation */
.account-tabs-nav {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.account-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.account-tab-btn svg {
    flex-shrink: 0;
}

.account-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.account-tab-btn.active {
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #fff;
    box-shadow: 0 4px 15px rgba(176, 38, 255, 0.3);
}

/* Tab Content */
.account-tabs-content {
    min-height: 400px;
}

/* Account Card */
.account-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
}

.account-card .card-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.account-card .card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.account-card .card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}


.account-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.account-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.account-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-form label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"] {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s ease;
}

.account-form input:focus {
    outline: none;
    border-color: var(--es-neon-purple);
    background: rgba(176, 38, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(176, 38, 255, 0.1);
}

.account-form input[readonly] {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}

.field-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.my-account-page .btn-primary {
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #fff;
    box-shadow: 0 4px 15px rgba(176, 38, 255, 0.3);
}

.my-account-page .btn-primary:hover {
    box-shadow: 0 6px 25px rgba(176, 38, 255, 0.4);
    transform: translateY(-2px);
}

.my-account-page .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.credits-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.1), rgba(176, 38, 255, 0.03));
    border: 1px solid rgba(176, 38, 255, 0.2);
    border-radius: 14px;
    margin-bottom: 24px;
}

.credits-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(176, 38, 255, 0.15);
    border-radius: 12px;
    color: var(--es-neon-purple);
}

.credits-info {
    flex: 1;
}

.credits-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
}

.credits-value {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.license-info-box,
.no-license-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.license-info-box h3,
.no-license-box h3 {
    font-size: 16px;
    color: #fff;
    margin: 0 0 16px 0;
}

.license-detail {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.detail-value {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.status-active {
    color: #22c55e;
}

.no-license-box {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.no-license-box svg {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
}

.no-license-box p {
    margin: 0 0 20px 0;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th,
.history-table td {
    padding: 14px 16px;
    text-align: left;
}

.history-table th {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.history-table td {
    color: #fff;
    font-size: 14px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.empty-state svg {
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
}

.security-info {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.security-info h3 {
    font-size: 16px;
    color: #fff;
    margin: 0 0 16px 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

.info-label {
    color: rgba(255, 255, 255, 0.6);
}

.info-value {
    color: #fff;
}

@media (max-width: 900px) {
    .account-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .account-user-box {
        flex-direction: column;
    }

    .account-tabs-nav {
        justify-content: flex-start;
        padding: 6px;
    }

    .account-tab-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .account-tab-btn span {
        display: none;
    }

    .account-card {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .account-form .form-row {
        grid-template-columns: 1fr;
    }

    .credits-card {
        flex-direction: column;
        text-align: center;
    }

    .account-card {
        padding: 20px;
    }

    .account-header {
        padding: 20px;
    }

    .account-tabs-nav {
        gap: 4px;
    }

    .account-tab-btn {
        padding: 10px 12px;
    }
}

/* License Key Toggle */
.license-key-row {
    flex-direction: column;
    gap: 8px;
}

.license-key-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.license-key-hidden,
.license-key-visible {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
}

.btn-show-license,
.btn-copy-license {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-show-license:hover,
.btn-copy-license:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-copy-license {
    padding: 6px 8px;
}

/* Danger Zone */
.danger-zone {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

.danger-zone h3 {
    font-size: 16px;
    color: #ef4444;
    margin: 0 0 16px 0;
}

.danger-zone-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    gap: 20px;
}

.danger-info h4 {
    font-size: 15px;
    color: #fff;
    margin: 0 0 6px 0;
}

.danger-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1.5px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #ef4444;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-danger:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

/* Delete Account Modal */
.delete-account-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.delete-account-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.delete-account-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(8px);
}

.delete-account-modal .modal-container {
    position: relative;
    background: linear-gradient(145deg, #0f2744 0%, #0a192f 100%);
    border-radius: 20px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 440px;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.delete-account-modal[aria-hidden="false"] .modal-container {
    transform: translateY(0) scale(1);
}

.delete-account-modal .modal-content {
    padding: 40px 32px;
    text-align: center;
}

.delete-account-modal .modal-icon {
    color: #ef4444;
    margin-bottom: 20px;
}

.delete-account-modal h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    color: #fff;
    margin: 0 0 12px 0;
}

.delete-account-modal>.modal-container>.modal-content>p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.delete-account-modal .form-group {
    text-align: left;
    margin-bottom: 24px;
}

.delete-account-modal .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.delete-account-modal .form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

.delete-account-modal .form-group input:focus {
    outline: none;
    border-color: #ef4444;
}

.delete-account-modal .modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.delete-account-modal .btn-secondary,
.delete-account-modal .btn-danger {
    flex: 1;
    justify-content: center;
}

.delete-account-modal .btn-danger:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .danger-zone-content {
        flex-direction: column;
        text-align: center;
    }

    .delete-account-modal .modal-actions {
        flex-direction: column;
    }
}

/* ========================================
   Account Tab Panels
   ======================================== */
.account-tab-panel {
    display: none;
}

.account-tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ========================================
   Form Actions & Messages
   ======================================== */
.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.form-message {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
}

.form-message.success {
    color: #22c55e;
}

.form-message.error {
    color: #ef4444;
}

/* Button loading state */
.my-account-page .btn-primary .btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.my-account-page .btn-primary.loading .btn-text {
    opacity: 0;
}

.my-account-page .btn-primary.loading .btn-loader {
    display: block;
    position: absolute;
}

.my-account-page .btn-primary.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

/* ========================================
   History Table Styles
   ======================================== */
.history-table-wrapper {
    overflow-x: auto;
}

.history-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}

.history-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.history-table tbody tr:last-child {
    border-bottom: none;
}

.history-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.history-type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-type.type-bonus {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.history-type.type-purchase {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.history-type.type-usage {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.history-type.type-other {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.history-desc {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-credits {
    font-weight: 600;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    text-align: right;
    white-space: nowrap;
}

.history-credits.credits-positive {
    color: #22c55e;
}

.history-credits.credits-negative {
    color: #f97316;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.loading-state .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(176, 38, 255, 0.2);
    border-top-color: var(--es-neon-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

.loading-state p {
    margin: 0;
    font-size: 14px;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 40px 20px;
    color: #ef4444;
}

.error-state p {
    margin: 0;
    font-size: 14px;
}

/* History Responsive */
@media (max-width: 768px) {

    .history-table th,
    .history-table td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .history-desc {
        max-width: 150px;
    }

    .history-type {
        font-size: 10px;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {

    .history-table th:nth-child(3),
    .history-table td:nth-child(3) {
        display: none;
    }

    .history-desc {
        display: none;
    }
}

/* ========================================
   Recharge Credits Page Styles
   ======================================== */
.recharge-page {
    padding: 60px 0 100px;
    min-height: calc(100vh - 200px);
}

.recharge-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.recharge-header {
    text-align: center;
    margin-bottom: 40px;
}

.recharge-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.recharge-back:hover {
    color: var(--es-neon-purple);
}

.recharge-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
}

.recharge-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Current Credits Box */
.current-credits-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 40px;
}

.current-credits-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    color: #f59e0b;
}

.current-credits-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-credits-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.current-credits-value {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.package-card {
    background: linear-gradient(145deg, rgba(17, 34, 64, 0.6) 0%, rgba(10, 25, 47, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.package-popular {
    border-color: rgba(176, 38, 255, 0.4);
    background: linear-gradient(145deg, rgba(176, 38, 255, 0.1) 0%, rgba(10, 25, 47, 0.9) 100%);
    transform: scale(1.02);
    z-index: 10;
}

.package-popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--es-neon-purple), var(--es-cyan));
    border-radius: 20px 20px 0 0;
}

.package-popular:hover {
    transform: scale(1.02) translateY(-6px);
    box-shadow: 0 20px 50px rgba(176, 38, 255, 0.25);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 50px;
    white-space: nowrap;
}

.package-header {
    margin-bottom: 20px;
}

.package-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
}

.package-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.package-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    color: #f59e0b;
}

.package-credits svg {
    flex-shrink: 0;
}

.package-credits-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.package-credits-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.package-price-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.package-price-currency {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.package-per-credit {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 20px 0;
}

.package-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.package-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.package-btn-primary {
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    border: none;
    box-shadow: 0 6px 20px rgba(176, 38, 255, 0.35);
}

.package-btn-primary:hover {
    box-shadow: 0 10px 30px rgba(176, 38, 255, 0.5);
}

/* Recharge Info */
.recharge-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.recharge-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #22c55e;
}

.recharge-info-item svg {
    flex-shrink: 0;
}

/* Payment Methods */
.payment-methods {
    text-align: center;
}

.payment-methods p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 12px 0;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.payment-icons img {
    width: 36px;
    height: 24px;
    object-fit: contain;
}

/* Recharge Page Responsive */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto 40px;
    }

    .package-popular {
        transform: none;
    }

    .package-popular:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 600px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .current-credits-box {
        flex-direction: column;
        text-align: center;
    }

    .current-credits-info {
        flex-direction: column;
        gap: 4px;
    }

    .recharge-info {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* ========================================
   Notification Toast
   ======================================== */
.eseo-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(145deg, #0f2744, #0a192f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.eseo-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.eseo-notification.success {
    border-color: rgba(34, 197, 94, 0.4);
}

.eseo-notification.success svg {
    color: #22c55e;
}

.eseo-notification.error {
    border-color: rgba(239, 68, 68, 0.4);
}

.eseo-notification.error svg {
    color: #ef4444;
}

/* Purchase Notification */
.eseo-purchase-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.1), rgba(10, 25, 47, 0.95));
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.eseo-purchase-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.eseo-purchase-notification svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* Button Loader - hidden by default */
.package-btn .btn-loader,
.eseo-btn .btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

.package-btn.loading .btn-loader,
.eseo-btn.loading .btn-loader {
    display: inline-block;
    position: absolute;
}

.package-btn.loading,
.eseo-btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.package-btn.loading .btn-text,
.eseo-btn.loading .btn-text {
    opacity: 0;
}

/* ========================================
   WooCommerce Checkout Page - Custom Styling
   ======================================== */

/* Checkout Page Container */
.woocommerce-checkout {
    padding: 60px 0 100px;
    min-height: calc(100vh - 200px);
}

.woocommerce-checkout .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Checkout Header */
.woocommerce-checkout .woocommerce::before {
    content: 'Finalizacja zamówienia';
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

/* Main Layout - Two Columns */
.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Column Sections */
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
}

/* Section Titles */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Form Fields */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.woocommerce-checkout .form-row {
    margin: 0;
    padding: 0;
}

.woocommerce-checkout .form-row label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    display: block;
}

.woocommerce-checkout .form-row label .required {
    color: var(--es-neon-purple);
}

.woocommerce-checkout .form-row label .optional {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* Input Fields */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    outline: none;
    border-color: var(--es-neon-purple);
    background: rgba(176, 38, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(176, 38, 255, 0.1);
}

.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Select2 Styling */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: auto;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff;
    line-height: 1.4;
    padding: 0;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 16px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: rgba(255, 255, 255, 0.5) transparent transparent transparent;
}

.select2-dropdown {
    background: #0f2744;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    margin-top: 4px;
    overflow: hidden;
}

.select2-container--default .select2-results__option {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background: rgba(176, 38, 255, 0.2);
    color: #fff;
}

.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option[data-selected=true] {
    background: rgba(176, 38, 255, 0.3);
    color: #fff;
}

.select2-search--dropdown {
    padding: 12px;
}

.select2-search--dropdown .select2-search__field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    padding: 10px 14px;
}

/* Order Review Section */
.woocommerce-checkout #order_review_heading {
    margin-top: 0;
}

.woocommerce-checkout #order_review {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    vertical-align: top;
}

.woocommerce-checkout-review-order-table th {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-checkout-review-order-table td {
    color: #fff;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table td.product-name {
    color: rgba(255, 255, 255, 0.9);
}

.woocommerce-checkout-review-order-table .product-quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(176, 38, 255, 0.2);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    color: var(--es-neon-purple);
    margin-left: 8px;
}

.woocommerce-checkout-review-order-table td.product-total {
    text-align: right;
    font-weight: 600;
}

.woocommerce-checkout-review-order-table tfoot th {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-transform: none;
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    border-bottom: none;
    padding-top: 20px;
    font-size: 18px;
    font-weight: 700;
}

.woocommerce-checkout-review-order-table tfoot .order-total td {
    color: var(--es-neon-purple);
    font-family: 'Outfit', sans-serif;
}

/* Payment Methods */
.woocommerce-checkout .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.woocommerce-checkout .wc_payment_method {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.woocommerce-checkout .wc_payment_method:last-child {
    margin-bottom: 0;
}

.woocommerce-checkout .wc_payment_method.payment_method_stripe {
    border-color: rgba(99, 91, 255, 0.3);
}

.woocommerce-checkout .wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    margin: 0;
}

.woocommerce-checkout .wc_payment_method label img {
    max-height: 24px;
    width: auto;
}

.woocommerce-checkout .wc_payment_method input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--es-neon-purple);
    cursor: pointer;
}

.woocommerce-checkout .wc_payment_method .payment_box {
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.6;
}

/* Stripe Elements Styling */
.woocommerce-checkout .wc-stripe-elements-field,
.woocommerce-checkout .wc-stripe-iban-element-field {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 8px;
}

.woocommerce-checkout #wc-stripe-card-element,
.woocommerce-checkout .StripeElement {
    background: transparent !important;
}

/* Place Order Button */
.woocommerce-checkout #place_order {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(176, 38, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.woocommerce-checkout #place_order:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(176, 38, 255, 0.5);
}

.woocommerce-checkout #place_order:active {
    transform: translateY(-1px);
}

/* Terms & Conditions */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--es-neon-purple);
    flex-shrink: 0;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: var(--es-neon-purple);
    text-decoration: none;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a:hover {
    text-decoration: underline;
}

/* Privacy Policy Text */
.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: var(--es-neon-purple);
}

/* Coupon Toggle */
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
    color: var(--es-neon-purple);
    cursor: pointer;
    font-weight: 500;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon:hover {
    text-decoration: underline;
}

/* Coupon Form */
.woocommerce-checkout .checkout_coupon {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.woocommerce-checkout .checkout_coupon p {
    margin: 0;
    flex: 1;
}

.woocommerce-checkout .checkout_coupon .form-row-first {
    flex: 1;
}

.woocommerce-checkout .checkout_coupon .form-row-last {
    flex-shrink: 0;
}

.woocommerce-checkout .checkout_coupon button {
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce-checkout .checkout_coupon button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Messages */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-error {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 14px;
    list-style: none;
}

.woocommerce-checkout .woocommerce-info {
    border-left: 4px solid var(--es-cyan);
}

.woocommerce-checkout .woocommerce-message {
    border-left: 4px solid #22c55e;
}

.woocommerce-checkout .woocommerce-error {
    border-left: 4px solid #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.woocommerce-checkout .woocommerce-error li {
    color: #ef4444;
    padding-left: 28px;
    position: relative;
}

/* Loading Overlay */
.woocommerce-checkout .blockUI.blockOverlay {
    background: rgba(10, 25, 47, 0.8) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-checkout .blockUI.blockOverlay::before {
    content: '' !important;
    position: fixed !important;
    top: 50vh !important;
    left: 50vw !important;
    transform: translate(-50%, -50%) !important;
    width: 48px !important;
    height: 48px !important;
    border: 4px solid rgba(176, 38, 255, 0.2) !important;
    border-top-color: var(--es-neon-purple) !important;
    border-radius: 50% !important;
    animation: eseo-checkout-spin 0.8s linear infinite !important;
    z-index: 100002 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

@keyframes eseo-checkout-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Hide default WooCommerce loader image */
.woocommerce-checkout .blockUI.blockMsg,
.eseo-checkout-page .blockUI.blockMsg {
    display: none !important;
}

/* Full page overlay for checkout processing */
.eseo-checkout-page .blockUI.blockOverlay,
.woocommerce-checkout .blockUI.blockOverlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 100001 !important;
}

/* Responsive Checkout */
@media (max-width: 900px) {
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {

    .woocommerce-checkout .col-1,
    .woocommerce-checkout .col-2,
    .woocommerce-checkout #order_review {
        padding: 20px;
    }

    .woocommerce-checkout #place_order {
        padding: 16px 24px;
        font-size: 15px;
    }

    .woocommerce-checkout .checkout_coupon {
        flex-direction: column;
    }

    .woocommerce-checkout .checkout_coupon button {
        width: 100%;
    }
}

/* ========================================
   WooCommerce Thank You Page
   ======================================== */

.woocommerce-order-received {
    padding: 60px 0 100px;
}

.woocommerce-order-received .woocommerce {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 30px;
}

.woocommerce-order-received .woocommerce-order-overview {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.woocommerce-order-received .woocommerce-order-overview li {
    text-align: center;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block;
    font-size: 18px;
    color: #fff;
    margin-top: 4px;
}

.woocommerce-order-received .woocommerce-order-details {
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.woocommerce-order-received .woocommerce-order-details h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
}

.woocommerce-order-received .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-order-received .woocommerce-table--order-details th,
.woocommerce-order-received .woocommerce-table--order-details td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ========================================
   Entity SEO Custom Checkout
   ======================================== */

/* Hide duplicate WooCommerce elements */
.eseo-checkout-page .woocommerce-form-coupon-toggle,
.eseo-checkout-page #payment>.place-order,
.eseo-checkout-page h3#billing_title,
.eseo-checkout-page .woocommerce-billing-fields>h3,
.eseo-checkout-page #payment .woocommerce-privacy-policy-text,
.eseo-checkout-page #payment .woocommerce-terms-and-conditions-wrapper {
    display: none !important;
}

.eseo-checkout-page {
    padding: 60px 0 100px;
    min-height: calc(100vh - 200px);
}

.eseo-checkout-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.eseo-checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.eseo-checkout-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.eseo-checkout-back:hover {
    color: var(--es-neon-purple);
}

.eseo-checkout-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
}

.eseo-checkout-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.eseo-checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: start;
}

.eseo-checkout-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.eseo-checkout-sidebar {
    position: sticky;
    top: 120px;
}

.eseo-checkout-card {
    background: linear-gradient(145deg, rgba(17, 34, 64, 0.6) 0%, rgba(10, 25, 47, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
}

.eseo-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.eseo-card-header svg {
    color: var(--es-neon-purple);
}

.eseo-card-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* Order Summary */
.eseo-order-summary-card {
    border-color: rgba(176, 38, 255, 0.2);
    background: linear-gradient(145deg, rgba(176, 38, 255, 0.08) 0%, rgba(10, 25, 47, 0.9) 100%);
}

.eseo-order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.eseo-order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.eseo-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 10px;
    color: #f59e0b;
    flex-shrink: 0;
}

.eseo-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eseo-item-name {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
}

.eseo-item-qty {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.eseo-item-price {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.eseo-order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.eseo-order-total span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.eseo-order-total strong {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.eseo-order-total strong .eseo-currency {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 4px;
}

/* Item Price Styling */
.eseo-item-price {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.eseo-item-price .eseo-currency {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 2px;
}

.eseo-checkout-card .form-row label .required {
    color: var(--es-neon-purple);
}

.eseo-checkout-card .form-row label .optional {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.eseo-checkout-card input[type="text"],
.eseo-checkout-card input[type="email"],
.eseo-checkout-card input[type="tel"],
.eseo-checkout-card select,
.eseo-checkout-card .select2-container--default .select2-selection--single {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.eseo-checkout-card input:focus,
.eseo-checkout-card select:focus {
    outline: none;
    border-color: var(--es-neon-purple);
    background: rgba(176, 38, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(176, 38, 255, 0.1);
}

.eseo-checkout-card .select2-container--default .select2-selection--single {
    height: auto;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.eseo-checkout-card .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff;
    padding: 0;
}

/* Payment Card */
.eseo-payment-card {
    margin-bottom: 20px;
}

.eseo-payment-card .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eseo-payment-card .wc_payment_method {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.eseo-payment-card .wc_payment_method:last-child {
    margin-bottom: 0;
}

.eseo-payment-card .wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    margin: 0;
}

.eseo-payment-card .wc_payment_method input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--es-neon-purple);
}

.eseo-payment-card .wc_payment_method .payment_box,
.eseo-payment-methods .wc_payment_method .payment_box {
    padding: 16px;
    background: rgba(10, 25, 47, 0.95) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* Payment Methods Enhanced Styling */
.eseo-payment-card .wc_payment_method {
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.eseo-payment-card .wc_payment_method:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.eseo-payment-card .wc_payment_method.payment_method_selected {
    background: rgba(176, 38, 255, 0.05);
    border-color: rgba(176, 38, 255, 0.3);
}

.eseo-payment-card .wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    margin: 0;
    position: relative;
}

.eseo-payment-card .wc_payment_method label::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.eseo-payment-card .wc_payment_method input[type="radio"]:checked~label::after {
    border-color: var(--es-neon-purple);
    background: var(--es-neon-purple);
    box-shadow: inset 0 0 0 4px rgba(10, 25, 47, 0.8);
}

.eseo-payment-card .wc_payment_method input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.eseo-payment-card .wc_payment_method label img {
    max-height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.eseo-payment-card .wc_payment_method:hover label img {
    opacity: 1;
}

/* Stripe Dark Theme Override */
.eseo-checkout-page .payment_box,
.eseo-payment-card .payment_box {
    padding: 20px !important;
    background: rgba(10, 25, 47, 0.6) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.eseo-checkout-page .payment_box fieldset,
.eseo-payment-methods .payment_box fieldset,
.eseo-payment-card .payment_box fieldset {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.eseo-checkout-page .wc-stripe-elements-field,
.eseo-checkout-page .wc-stripe-iban-element-field {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    margin-top: 8px !important;
}

.eseo-checkout-page .payment_box p,
.eseo-payment-card .payment_box p {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 13px !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.6 !important;
}

.eseo-checkout-page .payment_box label,
.eseo-payment-card .payment_box label {
    display: block !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

/* Stripe Card Element */
.eseo-checkout-page #stripe-card-element,
.eseo-checkout-page .StripeElement {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
}

.eseo-checkout-page .StripeElement--focus {
    border-color: var(--es-neon-purple) !important;
    background: rgba(176, 38, 255, 0.05) !important;
    box-shadow: 0 0 0 3px rgba(176, 38, 255, 0.1) !important;
}

.eseo-checkout-page .StripeElement--invalid {
    border-color: #ef4444 !important;
}

/* Save card checkbox */
.eseo-checkout-page .woocommerce-SavedPaymentMethods-saveNew {
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.eseo-checkout-page .woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: var(--es-neon-purple) !important;
    margin-right: 8px !important;
}

/* Coupon Card Styling */
.eseo-coupon-card {
    background: linear-gradient(145deg, rgba(176, 38, 255, 0.05) 0%, rgba(10, 25, 47, 0.8) 100%);
    border-color: rgba(176, 38, 255, 0.15);
}

.eseo-coupon-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.eseo-coupon-form input[type="text"] {
    flex: 1;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s ease;
}

.eseo-coupon-form input[type="text"]:focus {
    outline: none;
    border-color: var(--es-neon-purple);
    background: rgba(176, 38, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(176, 38, 255, 0.1);
}

.eseo-coupon-form input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.eseo-apply-coupon {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(176, 38, 255, 0.25);
}

.eseo-apply-coupon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 38, 255, 0.35);
}

.eseo-apply-coupon:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Coupon notice area */
.eseo-coupon-notice-area {
    margin-bottom: 12px;
}

.eseo-coupon-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    animation: slideInDown 0.3s ease-out;
}

.eseo-coupon-notice svg {
    flex-shrink: 0;
}

.eseo-coupon-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.eseo-coupon-error svg {
    stroke: #ef4444;
}

.eseo-coupon-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.eseo-coupon-success svg {
    stroke: #10b981;
}

/* Applied coupons list */
.eseo-applied-coupons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.eseo-applied-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.eseo-applied-coupon:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
}

.eseo-coupon-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eseo-coupon-code {
    color: #10b981;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.eseo-coupon-discount {
    color: #6ee7b7;
    font-weight: 600;
    font-size: 15px;
}

.eseo-remove-coupon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    color: #ef4444;
    transition: all 0.2s ease;
}

.eseo-remove-coupon:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.eseo-remove-coupon svg {
    stroke: #ef4444;
}

/* Company Toggle */
.eseo-company-toggle {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eseo-company-toggle .eseo-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.eseo-company-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--es-neon-purple);
    cursor: pointer;
}

.eseo-company-toggle span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Company Fields */
.eseo-company-fields {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    animation: fadeIn 0.3s ease;
}

/* Billing Fields Grid */
.eseo-billing-fields {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.eseo-billing-fields .form-row {
    margin: 0 !important;
}

.eseo-billing-fields .form-row.form-row-first {
    grid-column: 1;
}

.eseo-billing-fields .form-row.form-row-last {
    grid-column: 2;
}

.eseo-billing-fields .form-row.form-row-wide {
    grid-column: 1 / -1;
}

.eseo-billing-fields .form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.eseo-billing-fields .form-row-wide {
    grid-column: 1 / -1;
    margin-bottom: 16px;
}

.eseo-billing-fields .form-row {
    margin: 0;
}

.eseo-billing-fields label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.eseo-billing-fields label .required {
    color: var(--es-neon-purple);
    margin-left: 2px;
}

.eseo-billing-fields label .optional {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    margin-left: 4px;
}

.eseo-billing-fields input[type="text"],
.eseo-billing-fields input[type="email"],
.eseo-billing-fields input[type="tel"],
.eseo-billing-fields select,
.eseo-billing-fields .select2-container--default .select2-selection--single {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.eseo-billing-fields input:focus,
.eseo-billing-fields select:focus {
    outline: none;
    border-color: var(--es-neon-purple);
    background: rgba(176, 38, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(176, 38, 255, 0.1);
}

.eseo-billing-fields input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Enhanced Select2 for Country Field */
.eseo-checkout-page .select2-container {
    width: 100% !important;
}

.eseo-checkout-page .select2-container--default .select2-selection--single {
    height: auto;
    min-height: 48px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.eseo-checkout-page .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--es-neon-purple);
    background: rgba(176, 38, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(176, 38, 255, 0.1);
}

.eseo-checkout-page .select2-container--default .select2-selection__rendered {
    color: #fff;
    padding: 0 40px 0 16px;
    line-height: 48px;
}

.eseo-checkout-page .select2-container--default .select2-selection__arrow {
    height: 48px;
    right: 12px;
}

.eseo-checkout-page .select2-container--default .select2-selection__arrow b {
    border-color: rgba(255, 255, 255, 0.4) transparent transparent transparent;
    border-width: 6px 5px 0 5px;
    margin-top: -3px;
}

/* Select2 Dropdown */
.select2-dropdown {
    background: #0a192f;
    border: 1px solid rgba(176, 38, 255, 0.3);
    border-radius: 10px;
    margin-top: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.select2-results {
    padding: 4px;
}

.select2-container--default .select2-results__option {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background: rgba(176, 38, 255, 0.2);
    color: #fff;
}

.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option[data-selected=true] {
    background: rgba(176, 38, 255, 0.3);
    color: #fff;
    font-weight: 600;
}

.select2-search--dropdown {
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.select2-search--dropdown .select2-search__field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    padding: 10px 14px;
    font-size: 14px;
}

.select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: var(--es-neon-purple);
    background: rgba(176, 38, 255, 0.05);
}

/* Privacy Policy in Payment */
.eseo-privacy-policy {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.eseo-privacy-policy .woocommerce-privacy-policy-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}

.eseo-privacy-policy .woocommerce-privacy-policy-text a {
    color: var(--es-neon-purple);
}

/* Security Badge */
.eseo-security-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
}

.eseo-security-badge svg {
    color: #22c55e;
    flex-shrink: 0;
}

.eseo-security-badge strong {
    display: block;
    color: #22c55e;
    font-size: 14px;
    font-weight: 600;
}

.eseo-security-badge span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Place Order */
.eseo-place-order {
    margin-bottom: 20px;
}

.eseo-place-order .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
}

.eseo-place-order .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    cursor: pointer;
}

.eseo-place-order input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--es-neon-purple);
    flex-shrink: 0;
}

.eseo-place-order a {
    color: var(--es-neon-purple);
    text-decoration: none;
}

.eseo-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(176, 38, 255, 0.4);
    position: relative;
}

.eseo-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(176, 38, 255, 0.55);
}

.eseo-submit-btn svg {
    flex-shrink: 0;
}

.eseo-submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.eseo-submit-btn.loading svg,
.eseo-submit-btn.loading span {
    opacity: 0;
}

.eseo-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Trust Signals */
.eseo-trust-signals {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eseo-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.eseo-trust-item svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* Error Messages Styling */
.eseo-checkout-page .woocommerce-error,
.eseo-checkout-page .woocommerce-info,
.eseo-checkout-page .woocommerce-message {
    background: linear-gradient(145deg, rgba(17, 34, 64, 0.8) 0%, rgba(10, 25, 47, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    margin: 0 0 24px 0;
    color: #fff;
    font-size: 14px;
    list-style: none;
    position: relative;
    overflow: hidden;
    animation: slideInTop 0.3s ease;
}

@keyframes slideInTop {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.eseo-checkout-page .woocommerce-error {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.1) 0%, rgba(10, 25, 47, 0.9) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.eseo-checkout-page .woocommerce-error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #ef4444;
}

.eseo-checkout-page .woocommerce-info {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.1) 0%, rgba(10, 25, 47, 0.9) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.eseo-checkout-page .woocommerce-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #3b82f6;
}

.eseo-checkout-page .woocommerce-message {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.1) 0%, rgba(10, 25, 47, 0.9) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.eseo-checkout-page .woocommerce-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #22c55e;
}

/* Error List Items */
.eseo-checkout-page .woocommerce-error li {
    padding: 8px 0 8px 36px;
    position: relative;
    color: #fff;
    min-height: 26px;
    list-style: none;
}

.eseo-checkout-page .woocommerce-error li::before {
    content: '!';
    position: absolute;
    left: 8px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    border-radius: 50%;
    color: #ef4444;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Field Validation Errors */
.eseo-checkout-page .woocommerce-invalid .form-row,
.eseo-checkout-page .form-row.woocommerce-invalid {
    position: relative;
}

.eseo-checkout-page .woocommerce-invalid input,
.eseo-checkout-page .form-row.woocommerce-invalid input,
.eseo-checkout-page .woocommerce-invalid select,
.eseo-checkout-page .form-row.woocommerce-invalid select,
.eseo-checkout-page .woocommerce-invalid .select2-container--default .select2-selection--single,
.eseo-checkout-page .form-row.woocommerce-invalid .select2-container--default .select2-selection--single {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.05) !important;
    animation: shakeField 0.3s ease;
}

@keyframes shakeField {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.eseo-checkout-page .woocommerce-invalid label,
.eseo-checkout-page .form-row.woocommerce-invalid label {
    color: #ef4444 !important;
}

/* Inline Error Messages */
.eseo-checkout-page .woocommerce-invalid-required-field::after,
.eseo-checkout-page .woocommerce-invalid-email::after {
    content: attr(data-error);
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

/* Custom Error Messages for Specific Fields */
.eseo-checkout-page .form-row.woocommerce-invalid[data-priority="10"]::after {
    content: "To pole jest wymagane";
}

.eseo-checkout-page .form-row.woocommerce-invalid.validate-postcode::after {
    content: "Nieprawidłowy kod pocztowy (format: 00-000)";
}

.eseo-checkout-page .form-row.woocommerce-invalid.validate-email::after {
    content: "Nieprawidłowy adres e-mail";
}

.eseo-checkout-page .form-row.woocommerce-invalid.validate-phone::after {
    content: "Nieprawidłowy numer telefonu";
}

/* Required Field Indicator Enhancement */
.eseo-checkout-page .form-row.validate-required label::after {
    content: '*';
    color: var(--es-neon-purple);
    margin-left: 4px;
    font-weight: 700;
}

/* Field Success State */
.eseo-checkout-page .form-row.woocommerce-validated input,
.eseo-checkout-page .form-row.woocommerce-validated select,
.eseo-checkout-page .form-row.woocommerce-validated .select2-container--default .select2-selection--single {
    border-color: rgba(34, 197, 94, 0.5) !important;
    background: rgba(34, 197, 94, 0.03) !important;
}

/* Loading State for Validation */
.eseo-checkout-page .form-row.loading::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(176, 38, 255, 0.2);
    border-top-color: var(--es-neon-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Enhanced Error Notification Bar */
.eseo-checkout-page .woocommerce-NoticeGroup {
    position: sticky;
    top: 100px;
    z-index: 100;
    margin-bottom: 24px;
}

.eseo-checkout-page .woocommerce-error[role="alert"] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.eseo-checkout-page .woocommerce-error[role="alert"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #dc2626, #ef4444);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

/* Form Field Error Tooltip */
.eseo-field-error-tooltip {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10;
}

.eseo-field-error-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #dc2626 transparent transparent transparent;
}

.form-row.woocommerce-invalid:hover .eseo-field-error-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Payment Error Messages */
.eseo-payment-card .woocommerce-error {
    margin: 16px 0;
    padding: 12px 16px;
    font-size: 13px;
}

/* Stripe Error Messages */
.eseo-checkout-page .stripe-source-errors,
.eseo-checkout-page .woocommerce_error {
    display: block;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
    .eseo-checkout-grid {
        grid-template-columns: 1fr;
    }

    .eseo-checkout-sidebar {
        position: static;
    }

    .eseo-checkout-page .woocommerce-NoticeGroup {
        position: static;
    }
}

@media (max-width: 600px) {
    .eseo-checkout-card {
        padding: 20px;
    }

    .eseo-checkout-card .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .eseo-order-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .eseo-order-total {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .eseo-billing-fields .form-row-group {
        grid-template-columns: 1fr;
    }

    .eseo-checkout-page .woocommerce-error,
    .eseo-checkout-page .woocommerce-info,
    .eseo-checkout-page .woocommerce-message {
        padding: 14px 16px;
        font-size: 13px;
    }
}

/* Polish Language Error Messages */
.eseo-checkout-page[lang="pl-PL"] .woocommerce-error strong {
    font-weight: 600;
}

/* Custom Billing Fields Error Messages */
.eseo-checkout-page #billing_address_1_field.woocommerce-invalid::after {
    content: "Ulica rozliczeniowa jest wymaganym polem.";
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    font-weight: 500;
}

.eseo-checkout-page #billing_postcode_field.woocommerce-invalid::after {
    content: "Kod pocztowy rozliczeniowy nie jest prawidłowym kodem pocztowym.";
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    font-weight: 500;
}

.eseo-checkout-page #billing_city_field.woocommerce-invalid::after {
    content: "Miasto rozliczeniowe jest wymaganym polem.";
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    font-weight: 500;
}

/* ========================================
   FIX: Hide duplicate required asterisks on email field
   ======================================== */
.eseo-email-field .form-row label abbr.required {
    display: none;
}

.eseo-email-field .woocommerce-form__label-for-checkbox abbr.required {
    display: none;
}

/* ========================================
   FIX: Show only coupon-related notifications
   ======================================== */
/* Hide generic notice wrapper at the top */
.eseo-checkout-page>.woocommerce-notices-wrapper:first-child,
.eseo-checkout-container>.woocommerce-notices-wrapper:first-child {
    display: none !important;
}

/* Show NoticeGroup for validation errors */
.woocommerce-NoticeGroup,
.woocommerce-NoticeGroup-checkout {
    display: block !important;
    visibility: visible !important;
    margin-bottom: 20px !important;
    animation: slideInDown 0.4s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.woocommerce-NoticeGroup div[role="alert"] {
    display: block !important;
}

/* Keep coupon messages visible */
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-NoticeGroup .woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-message,
.woocommerce-NoticeGroup .woocommerce-info {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    background: #1f2937 !important;
    border: 1px solid #374151 !important;
    border-left: 4px solid #10b981 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    color: #f9fafb !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 0 20px 0 !important;
}

/* Hide ::before icon that was causing overlap */
.woocommerce-notices-wrapper .woocommerce-error::before,
.woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-info::before,
.woocommerce-NoticeGroup .woocommerce-error::before,
.woocommerce-NoticeGroup .woocommerce-message::before,
.woocommerce-NoticeGroup .woocommerce-info::before {
    display: none !important;
    content: none !important;
}

/* Remove default list styling */
.woocommerce-notices-wrapper .woocommerce-error ul,
.woocommerce-notices-wrapper .woocommerce-message ul,
.woocommerce-notices-wrapper .woocommerce-info ul,
.woocommerce-NoticeGroup .woocommerce-error ul,
.woocommerce-NoticeGroup .woocommerce-message ul,
.woocommerce-NoticeGroup .woocommerce-info ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-notices-wrapper .woocommerce-error li,
.woocommerce-notices-wrapper .woocommerce-message li,
.woocommerce-notices-wrapper .woocommerce-info li,
.woocommerce-NoticeGroup .woocommerce-error li,
.woocommerce-NoticeGroup .woocommerce-message li,
.woocommerce-NoticeGroup .woocommerce-info li {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-notices-wrapper .woocommerce-error a,
.woocommerce-notices-wrapper .woocommerce-message a,
.woocommerce-notices-wrapper .woocommerce-info a,
.woocommerce-NoticeGroup .woocommerce-error a,
.woocommerce-NoticeGroup .woocommerce-message a,
.woocommerce-NoticeGroup .woocommerce-info a {
    color: inherit !important;
    text-decoration: none !important;
    display: inline !important;
}

.woocommerce-notices-wrapper .woocommerce-error strong,
.woocommerce-notices-wrapper .woocommerce-message strong,
.woocommerce-notices-wrapper .woocommerce-info strong,
.woocommerce-NoticeGroup .woocommerce-error strong,
.woocommerce-NoticeGroup .woocommerce-message strong,
.woocommerce-NoticeGroup .woocommerce-info strong {
    font-weight: 600 !important;
    margin-right: 4px !important;
}

/* Error messages - red border */
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-error {
    border-left-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
    color: #fca5a5 !important;
}

/* Info messages - blue border */
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-NoticeGroup .woocommerce-info {
    border-left-color: #3b82f6 !important;
    background: rgba(59, 130, 246, 0.1) !important;
    color: #93c5fd !important;
}

/* Success messages - green border */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-NoticeGroup .woocommerce-message {
    border-left-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
    color: #6ee7b7 !important;
}

/* ========================================
   Stripe Payment Methods Styling
   ======================================== */

/* Payment method list */
.eseo-payment-methods .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Individual payment method cards */
.eseo-payment-methods .wc_payment_methods .wc_payment_method {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.eseo-payment-methods .wc_payment_methods .wc_payment_method:hover {
    border-color: #4b5563;
    background: #253042;
}

/* Radio button styling */
.eseo-payment-methods .wc_payment_method input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #3b82f6;
}

/* Payment method labels */
.eseo-payment-methods .wc_payment_methods .wc_payment_method label {
    color: #f9fafb;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0;
}

/* Card icons container - global styles with !important to override Stripe */
.wc-stripe-card-icons-container {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: 12px !important;
    padding: 4px 8px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    vertical-align: middle !important;
}

/* Individual card brand icons - force visibility */
.wc-stripe-card-icon {
    display: inline-block !important;
    height: 18px !important;
    width: auto !important;
    max-width: none !important;
    filter: brightness(1.1) !important;
    background: white !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Payment method logos - BLIK and others */
.wc_payment_methods img,
.wc_payment_method img,
img[alt="BLIK"],
img[alt*="blik"],
img[alt*="BLIK"],
img[src*="blik.svg"],
img[src*="blik"] {
    display: inline-block !important;
    height: 28px !important;
    width: auto !important;
    min-width: 40px !important;
    max-width: none !important;
    max-height: 28px !important;
    margin-left: 12px !important;
    padding: 4px 10px !important;
    background: white !important;
    border-radius: 4px !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: contain !important;
    filter: brightness(1) contrast(1) !important;
}

/* Specific selector for BLIK SVG */
.payment_method_stripe_blik label img {
    display: inline-block !important;
    height: 28px !important;
    width: auto !important;
    min-width: 45px !important;
    margin-left: 12px !important;
    padding: 5px 12px !important;
    background: white !important;
    border-radius: 5px !important;
    vertical-align: middle !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Remove WooCommerce default payment section backgrounds */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Payment box (Stripe element container) */
.payment_box {
    background: transparent !important;
    padding: 16px 0 0 0 !important;
    margin: 12px 0 0 0 !important;
    border: none !important;
}

.payment_box::before {
    display: none !important;
}

/* Stripe card element container - white background for light theme */
#wc-stripe-card-element {
    background: white !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    margin-top: 16px !important;
    transition: all 0.2s ease !important;
}

#wc-stripe-card-element:hover {
    border-color: #9ca3af !important;
    background: white !important;
}

#wc-stripe-card-element:focus-within {
    border-color: #0570de !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(5, 112, 222, 0.1) !important;
}

/* Stripe element iframe wrapper - white background for light theme */
.StripeElement,
.__PrivateStripeElement {
    background: white !important;
    min-height: 40px !important;
}

/* Ensure Stripe iframes have white background */
.payment_box iframe,
iframe[name^="__privateStripeFrame"] {
    background: white !important;
    background-color: white !important;
}

/* Radio buttons in payment methods */
.wc_payment_methods input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    margin-right: 12px !important;
    cursor: pointer !important;
    accent-color: #3b82f6 !important;
}

/* ========================================
   Terms and Conditions Section
   ======================================== */

.eseo-terms-section {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
}

.eseo-terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.eseo-terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 2px 0 0 0;
    cursor: pointer;
    accent-color: #3b82f6;
    flex-shrink: 0;
}

.eseo-terms-text {
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.6;
}

.eseo-terms-text a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.eseo-terms-text a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* ========================================
   Order Confirmation Info
   ======================================== */

.eseo-order-info {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    margin-bottom: 20px;
}

.eseo-order-info svg {
    flex-shrink: 0;
    color: #10b981;
    margin-top: 2px;
}

.eseo-order-info p {
    margin: 0 0 8px 0;
    color: #f9fafb;
    font-size: 14px;
}

.eseo-order-info strong {
    color: #f9fafb;
    font-weight: 600;
}

.eseo-order-info ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.eseo-order-info li {
    color: #d1d5db;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 4px;
}

.eseo-order-info li:last-child {
    margin-bottom: 0;
}

/* Hide Stripe errors container by default */
.eseo-payment-methods .wc-stripe-elements-field {
    margin: 0;
}

.eseo-payment-methods .wc-stripe-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

.eseo-payment-methods .wc-stripe-error:not(:empty) {
    display: block;
}

/* Hide duplicate asterisks - more specific selectors */
.eseo-email-field .woocommerce-form__label abbr,
.eseo-email-field label .required,
.eseo-email-field label abbr[title] {
    display: none !important;
}

/* Keep only one asterisk by adding it via CSS */
.eseo-email-field label[for="billing_email"]::after {
    content: " *";
    color: #ef4444;
    font-weight: 600;
}

/* Hide duplicate asterisks in billing fields */
.eseo-billing-fields .form-row label abbr.required,
.eseo-billing-fields .form-row label span.required {
    display: none !important;
}

/* Show single asterisk via CSS for required fields */
.eseo-billing-fields .form-row.validate-required label::after {
    content: " *";
    color: var(--es-neon-purple);
    font-weight: 700;
}

/* Fix symmetric grid layout for billing fields */
.eseo-billing-fields {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.eseo-billing-fields .form-row {
    margin: 0 !important;
    padding: 0 !important;
}

.eseo-billing-fields .form-row.form-row-first,
.eseo-billing-fields .form-row.form-row-last {
    grid-column: auto;
}

.eseo-billing-fields .form-row.form-row-wide {
    grid-column: 1 / -1;
}

/* Ensure equal width for postcode and city */
.eseo-billing-fields #billing_postcode_field,
.eseo-billing-fields #billing_city_field {
    width: 100%;
}

.eseo-billing-fields #billing_postcode_field input,
.eseo-billing-fields #billing_city_field input {
    width: 100%;
}

/* ========================================
   Checkout Mobile Responsive Fixes
   ======================================== */
@media (max-width: 600px) {
    /* Full width grid for billing fields on mobile */
    .eseo-billing-fields {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
    }
    
    .eseo-billing-fields .form-row,
    .eseo-billing-fields .form-row.form-row-first,
    .eseo-billing-fields .form-row.form-row-last,
    .eseo-billing-fields .form-row.form-row-wide,
    .eseo-billing-fields #billing_first_name_field,
    .eseo-billing-fields #billing_last_name_field,
    .eseo-billing-fields #billing_postcode_field,
    .eseo-billing-fields #billing_city_field {
        width: 100% !important;
        grid-column: auto !important;
    }
    
    /* Company fields on mobile */
    .eseo-company-fields {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .eseo-company-fields .form-row {
        width: 100% !important;
    }
    
    /* Checkout card padding */
    .eseo-checkout-card {
        padding: 20px 16px;
    }
    
    .eseo-card-header {
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 14px;
    }
    
    .eseo-card-header h2 {
        font-size: 16px;
    }
    
    /* Order summary mobile */
    .eseo-order-item {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 14px;
    }
    
    .eseo-item-icon {
        width: 40px;
        height: 40px;
    }
    
    .eseo-item-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .eseo-item-name {
        font-size: 14px;
    }
    
    .eseo-item-qty {
        font-size: 12px;
    }
    
    .eseo-item-price {
        font-size: 16px;
    }
    
    .eseo-item-price .eseo-currency {
        font-size: 12px;
    }
    
    /* Order total mobile */
    .eseo-order-total {
        flex-direction: row;
        justify-content: space-between;
        padding-top: 16px;
    }
    
    .eseo-order-total span {
        font-size: 14px;
    }
    
    .eseo-order-total strong {
        font-size: 20px;
    }
    
    .eseo-order-total strong .eseo-currency {
        font-size: 14px;
    }
    
    /* Coupon form mobile */
    .eseo-coupon-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .eseo-coupon-form input[type="text"] {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .eseo-apply-coupon {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Payment methods mobile */
    .eseo-payment-card .wc_payment_method label {
        padding: 14px 16px;
        font-size: 14px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .eseo-payment-card .wc_payment_method label img,
    .wc_payment_methods img,
    .wc_payment_method img {
        height: 22px !important;
        min-width: 35px !important;
        padding: 3px 8px !important;
        margin-left: 8px !important;
    }
    
    .wc-stripe-card-icons-container {
        gap: 3px !important;
        margin-left: 8px !important;
        padding: 3px 6px !important;
    }
    
    .wc-stripe-card-icon {
        height: 16px !important;
        padding: 2px 3px !important;
    }
    
    /* Submit button mobile */
    .eseo-submit-btn {
        padding: 16px 24px;
        font-size: 15px;
    }
    
    /* Security badge mobile */
    .eseo-security-badge {
        gap: 12px;
        padding: 14px 16px;
    }
    
    .eseo-security-badge strong {
        font-size: 13px;
    }
    
    .eseo-security-badge span {
        font-size: 11px;
    }
    
    /* Trust signals mobile */
    .eseo-trust-signals {
        gap: 8px;
    }
    
    .eseo-trust-item {
        font-size: 12px;
        gap: 8px;
    }
    
    /* Form labels mobile */
    .eseo-billing-fields label,
    .eseo-checkout-card .form-row label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    /* Form inputs mobile */
    .eseo-billing-fields input[type="text"],
    .eseo-billing-fields input[type="email"],
    .eseo-billing-fields input[type="tel"],
    .eseo-billing-fields select,
    .eseo-checkout-card input[type="text"],
    .eseo-checkout-card input[type="email"],
    .eseo-checkout-card input[type="tel"],
    .eseo-checkout-card select {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    /* Select2 mobile */
    .eseo-checkout-page .select2-container--default .select2-selection--single {
        min-height: 44px;
    }
    
    .eseo-checkout-page .select2-container--default .select2-selection__rendered {
        line-height: 44px;
        padding: 0 36px 0 14px;
        font-size: 14px;
    }
    
    .eseo-checkout-page .select2-container--default .select2-selection__arrow {
        height: 44px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens */
    .eseo-checkout-header {
        margin-bottom: 24px;
    }
    
    .eseo-checkout-title {
        font-size: 1.5rem;
    }
    
    .eseo-checkout-subtitle {
        font-size: 14px;
    }
    
    .eseo-checkout-back {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .eseo-checkout-grid {
        gap: 20px;
    }
    
    .eseo-checkout-card {
        padding: 16px 14px;
        border-radius: 14px;
    }
    
    .eseo-card-header svg {
        width: 20px;
        height: 20px;
    }
    
    .eseo-card-header h2 {
        font-size: 15px;
    }
    
    /* Very small order item */
    .eseo-order-item {
        padding: 12px;
        gap: 10px;
    }
    
    .eseo-item-icon {
        width: 36px;
        height: 36px;
    }
    
    .eseo-item-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .eseo-item-details {
        gap: 2px;
    }
    
    .eseo-item-name {
        font-size: 13px;
    }
    
    .eseo-item-qty {
        font-size: 11px;
    }
    
    .eseo-item-price {
        font-size: 15px;
    }
    
    /* Payment methods mobile fix */
    .eseo-payment-card .wc_payment_method label {
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px 12px;
    }
    
    .eseo-payment-card .wc_payment_method label img,
    .wc_payment_methods img,
    .wc_payment_method img {
        height: 20px !important;
        min-width: 30px !important;
        padding: 3px 6px !important;
        margin-left: 8px !important;
    }
    
    .wc-stripe-card-icons-container {
        gap: 2px !important;
        margin-left: 8px !important;
        padding: 3px 6px !important;
    }
    
    .wc-stripe-card-icon {
        height: 14px !important;
        padding: 1px 3px !important;
    }
}

/* Hide WooCommerce validation styling for email field */
.eseo-email-field .form-row.woocommerce-invalid input,
.eseo-email-field .form-row.woocommerce-invalid,
#billing_email_field.woocommerce-invalid input,
#billing_email_field.woocommerce-invalid {
    border-color: #374151 !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

.eseo-email-field .form-row.woocommerce-invalid label,
#billing_email_field.woocommerce-invalid label {
    color: #f9fafb !important;
}

.eseo-email-field .woocommerce-invalid::after,
#billing_email_field.woocommerce-invalid::after,
.eseo-email-field .woocommerce-invalid-email::after {
    display: none !important;
    content: none !important;
}

/* Email notice area - same as coupon notices */
.eseo-email-notice-area {
    margin-bottom: 12px;
}

.eseo-email-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    animation: slideInDown 0.3s ease-out;
}

.eseo-email-notice svg {
    flex-shrink: 0;
}

.eseo-email-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.eseo-email-error svg {
    stroke: #ef4444;
}

/* ========================================
   Privacy Policy Page Styles
   ======================================== */
.privacy-policy-page {
    padding: 60px 0 100px;
    min-height: calc(100vh - 200px);
}

/* Policy Header */
.policy-header {
    text-align: center;
    margin-bottom: 50px;
}

.policy-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(176, 38, 255, 0.1);
    border: 1px solid rgba(176, 38, 255, 0.3);
    border-radius: 50px;
    color: var(--es-neon-purple);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.policy-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0;
}

.policy-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.policy-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.policy-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.policy-version {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

/* Policy Layout */
.policy-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 50px;
    align-items: start;
}

/* Table of Contents */
.policy-toc {
    position: relative;
}

.policy-toc-sticky {
    position: sticky;
    top: 120px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.policy-toc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.policy-toc-link {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.policy-toc-link:hover {
    background: rgba(176, 38, 255, 0.1);
    color: #fff;
}

.policy-toc-link.active {
    background: rgba(176, 38, 255, 0.15);
    color: var(--es-neon-purple);
    font-weight: 600;
}

/* Policy Content */
.policy-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Policy Section */
.policy-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    scroll-margin-top: 100px;
}

.policy-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.policy-section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.policy-section-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
}

.policy-section-content p {
    margin: 0 0 16px 0;
}

.policy-section-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 28px 0 16px 0;
}

.policy-section-content a {
    color: var(--es-neon-purple);
    text-decoration: none;
    transition: color 0.2s ease;
}

.policy-section-content a:hover {
    color: var(--es-cyan);
    text-decoration: underline;
}

/* Policy Info Card */
.policy-info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.08) 0%, rgba(10, 25, 47, 0.6) 100%);
    border: 1px solid rgba(176, 38, 255, 0.2);
    border-radius: 14px;
    margin: 20px 0;
}

.policy-info-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(176, 38, 255, 0.15);
    border-radius: 12px;
    color: var(--es-neon-purple);
    flex-shrink: 0;
}

.policy-info-details h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}

.policy-info-details p {
    margin: 0 0 8px 0;
    font-size: 14px;
}

/* Policy Data Grid */
.policy-data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.policy-data-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.policy-data-card:hover {
    border-color: rgba(176, 38, 255, 0.3);
    background: rgba(176, 38, 255, 0.05);
}

.policy-data-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(176, 38, 255, 0.1);
    border-radius: 10px;
    color: var(--es-neon-purple);
    margin-bottom: 14px;
}

.policy-data-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
}

.policy-data-card ul {
    margin: 0;
    padding: 0 0 0 18px;
    list-style-type: disc;
}

.policy-data-card li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

/* Policy Purposes List */
.policy-purposes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.policy-purpose-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.policy-purpose-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.policy-purpose-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.purpose-service {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.purpose-communication {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.purpose-legal {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.purpose-analytics {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.purpose-marketing {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.purpose-security {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
}

.policy-purpose-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.policy-purpose-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Policy Legal List */
.policy-legal-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.policy-legal-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.policy-legal-badge {
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    height: fit-content;
}

.policy-legal-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.policy-legal-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Policy Recipients Grid */
.policy-recipients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.policy-recipient-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.policy-recipient-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.policy-recipient-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Policy Notice */
.policy-notice {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.policy-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.policy-notice p {
    font-size: 14px;
    margin: 0;
}

.policy-notice-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

.policy-notice-info svg {
    color: #3b82f6;
}

.policy-notice-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fcd34d;
}

.policy-notice-warning svg {
    color: #f59e0b;
}

/* Policy Cookies Table */
.policy-cookies-table {
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.policy-cookie-row {
    display: grid;
    grid-template-columns: 140px 1fr 140px;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.policy-cookie-row:last-child {
    border-bottom: none;
}

.policy-cookie-header {
    background: rgba(255, 255, 255, 0.03);
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.cookie-necessary {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.cookie-functional {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.cookie-analytics {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.cookie-marketing {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.policy-cookie-purpose {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.policy-cookie-retention {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
}

/* Policy List */
.policy-list {
    margin: 16px 0;
    padding: 0 0 0 24px;
}

.policy-list li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.75);
}

/* Policy Services List */
.policy-services-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.policy-service-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.policy-service-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.policy-service-logo {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.policy-service-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
}

.policy-service-provider {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.policy-service-item>p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 12px 0;
}

.policy-service-links {
    display: flex;
    gap: 16px;
}

.policy-service-links a {
    font-size: 13px;
    color: var(--es-neon-purple);
    text-decoration: none;
}

.policy-service-links a:hover {
    text-decoration: underline;
}

/* Policy Rights Grid */
.policy-rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.policy-right-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.policy-right-card:hover {
    border-color: rgba(176, 38, 255, 0.3);
}

.policy-right-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(176, 38, 255, 0.1);
    border-radius: 10px;
    color: var(--es-neon-purple);
    margin-bottom: 14px;
}

.policy-right-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.policy-right-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Policy Security Grid */
.policy-security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.policy-security-item {
    padding: 24px;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 12px;
    text-align: center;
}

.policy-security-item svg {
    color: #22c55e;
    margin-bottom: 14px;
}

.policy-security-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.policy-security-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Policy Retention Table */
.policy-retention-table {
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.policy-retention-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.policy-retention-row:last-child {
    border-bottom: none;
}

.policy-retention-row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.policy-retention-category {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.policy-retention-period {
    font-size: 14px;
    font-weight: 600;
    color: var(--es-neon-purple);
}

/* Policy Contact Card */
.policy-contact-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin: 20px 0;
}

.policy-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.policy-contact-item svg {
    color: var(--es-neon-purple);
    flex-shrink: 0;
}

.policy-contact-item strong {
    color: rgba(255, 255, 255, 0.6);
    margin-right: 8px;
}

.policy-contact-item a {
    color: #fff;
}

/* Policy Authority Info */
.policy-authority-info {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-authority-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
}

.policy-authority-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-top: 16px;
}

.policy-authority-card strong {
    display: block;
    font-size: 15px;
    color: #fff;
    margin-bottom: 10px;
}

.policy-authority-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 4px 0;
}

.policy-authority-card a {
    color: var(--es-neon-purple);
    font-size: 13px;
}

/* Privacy Policy Responsive */
@media (max-width: 1024px) {
    .policy-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .policy-toc {
        order: -1;
    }

    .policy-toc-sticky {
        position: static;
    }

    .policy-toc-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .policy-data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .privacy-policy-page {
        padding: 40px 0 80px;
    }

    .policy-section {
        padding: 24px;
    }

    .policy-data-grid,
    .policy-recipients-grid,
    .policy-rights-grid,
    .policy-security-grid {
        grid-template-columns: 1fr;
    }

    .policy-toc-nav {
        grid-template-columns: 1fr;
    }

    .policy-cookie-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .policy-cookie-retention {
        text-align: left;
    }

    .policy-info-card {
        flex-direction: column;
        text-align: center;
    }

    .policy-legal-item {
        flex-direction: column;
    }

    .policy-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .policy-section {
        padding: 20px;
    }

    .policy-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .policy-purpose-item {
        flex-direction: column;
    }
}

/* ========================================
   Refund Policy Page Styles
   ======================================== */
.refund-policy-page {
    padding: 60px 0 100px;
    min-height: calc(100vh - 200px);
}

/* Refund Highlight Box */
.refund-highlight-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(10, 25, 47, 0.8) 100%);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    margin-bottom: 40px;
}

/* No Refund Highlight Box - Red variant */
.refund-highlight-box.refund-no-refund-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(10, 25, 47, 0.8) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.refund-no-refund-box .refund-highlight-icon {
    background: rgba(239, 68, 68, 0.15);
}

.refund-no-refund-box .refund-highlight-icon svg {
    color: #ef4444;
}

.refund-no-refund-box .refund-highlight-content h2 {
    color: #ef4444;
}

.refund-highlight-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.refund-highlight-icon svg {
    color: #22c55e;
}

.refund-highlight-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #22c55e;
    margin: 0 0 8px 0;
}

.refund-highlight-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Refund Guarantee Grid */
.refund-guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.refund-guarantee-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.refund-guarantee-card:hover {
    border-color: rgba(176, 38, 255, 0.3);
    transform: translateY(-4px);
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.guarantee-badge-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.guarantee-badge-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.refund-guarantee-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
}

.refund-guarantee-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.6;
}

/* Refund Products Grid */
.refund-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.refund-product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.2s ease;
}

.refund-product-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.refund-product-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 12px;
    color: #22c55e;
    margin-bottom: 16px;
}

.refund-product-icon.icon-yellow {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.refund-product-icon.icon-red {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Product No Refund Card Styling */
.refund-product-card.product-no-refund {
    border-color: rgba(239, 68, 68, 0.2);
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.05) 0%, rgba(10, 25, 47, 0.6) 100%);
}

.refund-product-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
}

.refund-product-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.product-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-refundable {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-partial {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-no-refund {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Refund Conditions List */
.refund-conditions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.refund-condition-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.condition-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.condition-required .condition-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.condition-optional .condition-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.condition-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px 0;
}

.condition-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Refund Steps */
.refund-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 24px 0;
    position: relative;
}

.refund-step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.refund-step:last-child {
    border-bottom: none;
}

.refund-step-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    border-radius: 50%;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.refund-step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.refund-step-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Refund Timeline */
.refund-timeline {
    margin: 30px 0 0 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.refund-timeline h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px 0;
    text-align: center;
}

.timeline-bar {
    display: flex;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
}

.timeline-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: rgba(176, 38, 255, 0.15);
    border-right: 2px solid rgba(10, 25, 47, 0.5);
}

.timeline-segment:first-child {
    background: rgba(34, 197, 94, 0.2);
}

.timeline-segment:last-child {
    border-right: none;
    background: rgba(245, 158, 11, 0.15);
}

.timeline-label {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-days {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* Exclusions Grid */
.exclusions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.exclusion-card {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.exclusion-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    color: #ef4444;
    margin: 0 auto 14px;
}

.exclusion-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.exclusion-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Credits Refund Box */
.credits-refund-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px;
    margin: 24px 0;
}

.credits-refund-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.credits-refund-header svg {
    color: #f59e0b;
}

.credits-refund-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.credits-rules {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.credit-rule {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.rule-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.rule-value {
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.rule-green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.rule-yellow {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.rule-red {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Complaint Options */
.complaint-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.complaint-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.complaint-option:hover {
    border-color: rgba(176, 38, 255, 0.25);
}

.complaint-option-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.complaint-option-header svg {
    color: var(--es-neon-purple);
}

.complaint-option-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.complaint-option p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.6;
}

/* Support Features */
.support-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.support-feature {
    background: rgba(176, 38, 255, 0.05);
    border: 1px solid rgba(176, 38, 255, 0.15);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

.support-feature svg {
    color: var(--es-neon-purple);
    margin-bottom: 14px;
}

.support-feature h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.support-feature p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* No Refund Info Box */
.no-refund-info-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.no-refund-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.no-refund-item:hover {
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.08);
}

.no-refund-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    color: #ef4444;
    flex-shrink: 0;
}

.no-refund-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px 0;
}

.no-refund-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.5;
}

/* Before Purchase Section */
.before-purchase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.before-purchase-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.before-purchase-card:hover {
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-4px);
    background: rgba(34, 197, 94, 0.03);
}

.before-purchase-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    color: #22c55e;
    margin-bottom: 16px;
}

.before-purchase-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
}

.before-purchase-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.6;
}

/* Refund CTA */
.refund-cta {
    margin-top: 30px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.1) 0%, rgba(10, 25, 47, 0.8) 100%);
    border: 1px solid rgba(176, 38, 255, 0.25);
    border-radius: 14px;
    text-align: center;
}

/* Warning variant for CTA */
.refund-cta.refund-cta-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(10, 25, 47, 0.8) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.refund-cta-warning h4 {
    color: #f59e0b;
}

.refund-cta h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}

.refund-cta p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px 0;
}

.refund-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    border-radius: 12px;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(176, 38, 255, 0.4);
    border: none;
    cursor: pointer;
}

.refund-cta-btn svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
    flex-shrink: 0;
}

.refund-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(176, 38, 255, 0.5);
    color: #ffffff !important;
}

/* Refund Policy Responsive */
@media (max-width: 1024px) {

    .refund-guarantee-grid,
    .exclusions-grid,
    .complaint-options,
    .support-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .refund-policy-page {
        padding: 40px 0 80px;
    }

    .refund-highlight-box {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .refund-highlight-icon {
        width: 64px;
        height: 64px;
    }

    .refund-highlight-icon svg {
        width: 36px;
        height: 36px;
    }

    .refund-guarantee-grid,
    .refund-products-grid,
    .exclusions-grid,
    .complaint-options,
    .support-features {
        grid-template-columns: 1fr;
    }

    .timeline-bar {
        flex-direction: column;
        height: auto;
    }

    .timeline-segment {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid rgba(10, 25, 47, 0.5);
        padding: 12px;
    }

    .timeline-segment:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .refund-step {
        flex-direction: column;
        gap: 12px;
    }

    .refund-step-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .credit-rule {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ========================================
   Terms of Service Page Styles
   ======================================== */
.terms-of-service-page {
    padding: 60px 0 100px;
    min-height: calc(100vh - 200px);
}

/* Terms Intro Box */
.terms-intro-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 14px;
    margin-bottom: 40px;
}

.terms-intro-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    color: #3b82f6;
    flex-shrink: 0;
}

.terms-intro-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.7;
}

/* Terms Definitions List */
.terms-definitions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.terms-definition-item {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border-left: 4px solid var(--es-neon-purple);
}

.definition-term {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--es-neon-purple);
    margin-bottom: 8px;
}

.definition-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* Terms Provisions List */
.terms-provisions-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
}

.terms-provision-item {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.provision-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 28px;
    background: rgba(176, 38, 255, 0.1);
    border: 1px solid rgba(176, 38, 255, 0.25);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--es-neon-purple);
    flex-shrink: 0;
}

.terms-provision-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

/* Terms Features Grid */
.terms-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.terms-feature-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.2s ease;
}

.terms-feature-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 16px;
}

.feature-icon-purple {
    background: rgba(176, 38, 255, 0.15);
    color: var(--es-neon-purple);
}

.feature-icon-green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.feature-icon-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.feature-icon-orange {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.terms-feature-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.terms-feature-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* License Types Grid */
.license-types-grid {
    margin: 20px 0;
}

.license-type-card {
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.1) 0%, rgba(10, 25, 47, 0.8) 100%);
    border: 2px solid rgba(176, 38, 255, 0.3);
    border-radius: 16px;
    padding: 28px;
    max-width: 400px;
}

.license-type-header {
    margin-bottom: 20px;
}

.license-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.license-type-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 14px 0;
}

.license-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.license-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.license-features li:last-child {
    border-bottom: none;
}

.license-features li svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* Credits Rules List */
.credits-rules-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.credits-rule-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.rule-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.rule-icon-green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.rule-icon-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.rule-icon-orange {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.rule-icon-red {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.rule-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px 0;
}

.rule-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.payment-method-card {
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.payment-method-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.payment-method-logo {
    font-size: 32px;
    margin-bottom: 12px;
}

.payment-method-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
}

.payment-method-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Obligations List */
.obligations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.obligation-item {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.obligation-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.obligation-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

/* Restrictions Grid */
.restrictions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.restriction-card {
    padding: 20px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    text-align: center;
}

.restriction-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    color: #ef4444;
    margin: 0 auto 14px;
}

.restriction-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.restriction-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.5;
}

/* IP Info Box */
.ip-info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(10, 25, 47, 0.6) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 14px;
    margin: 20px 0;
}

.ip-info-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 14px;
    color: #22c55e;
    flex-shrink: 0;
}

.ip-info-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #22c55e;
    margin: 0 0 8px 0;
}

.ip-info-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Complaint Process */
.complaint-process {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 20px 0;
    position: relative;
}

.complaint-step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.complaint-step:last-child {
    border-bottom: none;
}

.complaint-step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    border-radius: 50%;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.complaint-step-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px 0;
}

.complaint-step-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Terms Final Note */
.terms-final-note {
    margin-top: 30px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.terms-final-note h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
}

.terms-final-note .policy-list {
    margin: 0;
}

/* Terms of Service Responsive */
@media (max-width: 1024px) {

    .terms-features-grid,
    .restrictions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .terms-of-service-page {
        padding: 40px 0 80px;
    }

    .terms-intro-box {
        flex-direction: column;
        text-align: center;
    }

    .terms-features-grid,
    .restrictions-grid,
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }

    .ip-info-box {
        flex-direction: column;
        text-align: center;
    }

    .license-type-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .terms-provision-item {
        flex-direction: column;
        gap: 10px;
    }

    .credits-rule-item {
        flex-direction: column;
        text-align: center;
    }

    .rule-icon {
        margin: 0 auto;
    }

    .obligation-item {
        flex-direction: column;
        text-align: center;
    }

    .obligation-number {
        margin: 0 auto;
    }

    .complaint-step {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .complaint-step-number {
        margin: 0 auto;
    }
}

/* ========================================
   Downloads Page Styles
   ======================================== */
.downloads-page {
    padding: 60px 0 100px;
    min-height: calc(100vh - 200px);
}

/* Downloads Header */
.downloads-header {
    text-align: center;
    margin-bottom: 50px;
}

.downloads-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(176, 38, 255, 0.1);
    border: 1px solid rgba(176, 38, 255, 0.3);
    border-radius: 50px;
    color: var(--es-neon-purple);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.downloads-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0;
}

.downloads-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Downloads Layout */
.downloads-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* Downloads Main */
.downloads-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Download Card */
.download-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.download-card-featured {
    border-color: rgba(176, 38, 255, 0.3);
    background: linear-gradient(145deg, rgba(176, 38, 255, 0.08) 0%, rgba(10, 25, 47, 0.8) 100%);
    position: relative;
}

.download-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--es-neon-purple), var(--es-cyan));
}

.download-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.download-card-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.2), rgba(176, 38, 255, 0.1));
    border-radius: 16px;
    color: var(--es-neon-purple);
    flex-shrink: 0;
}

.download-card-info h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}

.download-version-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.version-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-number {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--es-neon-purple);
}

.version-tag {
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #22c55e;
}

.download-card-body {
    padding: 28px;
}

.download-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0 0 24px 0;
}

.download-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.download-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.download-meta-item svg {
    color: var(--es-neon-purple);
    flex-shrink: 0;
}

.download-card-footer {
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Download Buttons */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-download-primary {
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #fff;
    box-shadow: 0 6px 25px rgba(176, 38, 255, 0.35);
    width: 100%;
}

.btn-download-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(176, 38, 255, 0.5);
    color: #fff;
}

.btn-download-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-download-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Download Login Required */
.download-login-required {
    text-align: center;
    padding: 20px 0 10px;
}

.download-login-required>p:first-child {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px 0;
    font-weight: 500;
}

.download-login-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.download-login-buttons .btn-download {
    flex: 1;
    max-width: 280px;
    min-width: 200px;
}

.download-login-buttons .btn-download-primary {
    box-shadow: 0 8px 30px rgba(176, 38, 255, 0.4);
}

.download-login-buttons .btn-download-primary:hover {
    box-shadow: 0 12px 40px rgba(176, 38, 255, 0.55);
}

.download-login-buttons .btn-download-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.download-login-buttons .btn-download-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.download-login-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #22c55e;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.06) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 12px;
}

.download-login-info svg {
    flex-shrink: 0;
    color: #22c55e;
}

.download-register-link {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.download-register-link a {
    color: var(--es-neon-purple);
    text-decoration: none;
}

.download-register-link a:hover {
    text-decoration: underline;
}

/* Responsive download buttons */
@media (max-width: 600px) {
    .download-login-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-login-buttons .btn-download {
        width: 100%;
        max-width: 100%;
    }
}

/* Download Unavailable */
.download-unavailable {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    color: #f59e0b;
    font-size: 14px;
}

/* Section Titles */
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 24px 0;
}

.section-title svg {
    color: var(--es-neon-purple);
}

/* Requirements Section */
.requirements-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.requirement-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.requirement-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(176, 38, 255, 0.1);
    border-radius: 12px;
    color: var(--es-neon-purple);
    flex-shrink: 0;
}

.requirement-content {
    flex: 1;
}

.requirement-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
}

.requirement-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.requirement-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-required {
    background: rgba(176, 38, 255, 0.15);
    color: var(--es-neon-purple);
}

/* Installation Section */
.installation-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
}

.installation-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.installation-step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.installation-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.installation-step:first-child {
    padding-top: 0;
}

.step-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    border-radius: 50%;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.step-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.6;
}

.step-content strong {
    color: rgba(255, 255, 255, 0.9);
}

/* Changelog Section */
.changelog-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
}

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.changelog-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
}

.changelog-item-latest {
    border-color: rgba(176, 38, 255, 0.3);
    background: linear-gradient(145deg, rgba(176, 38, 255, 0.05) 0%, transparent 100%);
}

.changelog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.changelog-version {
    display: flex;
    align-items: center;
    gap: 12px;
}

.version-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.version-major {
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #fff;
}

.version-minor {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.latest-badge {
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #22c55e;
}

.changelog-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.changelog-changes {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.change-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.change-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.change-badge-new {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.change-badge-improved {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.change-badge-fixed {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.change-badge-security {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.change-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

/* Downloads Sidebar */
.downloads-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.sidebar-card-warning {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
}

.sidebar-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px 0;
}

.sidebar-card-title svg {
    color: var(--es-neon-purple);
}

.sidebar-card-warning .sidebar-card-title svg {
    color: #f59e0b;
}

.sidebar-card-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0 0 18px 0;
}

.sidebar-card-warning .sidebar-card-text {
    color: rgba(245, 158, 11, 0.9);
}

.sidebar-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-btn-primary {
    background: linear-gradient(135deg, var(--es-neon-purple), #9c27b0);
    color: #fff;
}

.sidebar-btn-primary:hover {
    box-shadow: 0 4px 15px rgba(176, 38, 255, 0.3);
    color: #fff;
}

.sidebar-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.sidebar-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

/* Downloads Page Responsive */
@media (max-width: 1024px) {
    .downloads-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .downloads-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .downloads-page {
        padding: 40px 0 80px;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .download-card-header {
        flex-direction: column;
        text-align: center;
    }

    .download-version-badge {
        justify-content: center;
    }

    .download-meta-grid {
        justify-content: center;
    }

    .changelog-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .downloads-sidebar {
        flex-direction: column;
    }

    .sidebar-card {
        min-width: 100%;
    }
}

@media (max-width: 480px) {

    .download-card-body,
    .download-card-header,
    .download-card-footer {
        padding: 20px;
    }

    .requirements-section,
    .installation-section,
    .changelog-section {
        padding: 24px;
    }

    .requirement-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .installation-step {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .step-number {
        margin: 0 auto;
    }

    .change-item {
        flex-direction: column;
        gap: 8px;
    }

    .download-meta-grid {
        flex-direction: column;
        align-items: center;
    }
}
