@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:wght@100..1000&display=swap');

/* Premium Dark Futuristic Theme */
:root {
    --base-dark: #0b0f19;
    --surface-dark: #111827;
    --accent-primary: #0ea5e9;
    --accent-secondary: #38bdf8;
    --accent-highlight: #2dd4bf;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Legacy compatibility - map to new colors */
    --color-bg: var(--base-dark);
    --color-bg-secondary: var(--surface-dark);
    --color-text: var(--text-primary);
    --color-text-muted: var(--text-secondary);
    --color-border: rgba(148, 163, 184, 0.15);
    --color-primary: var(--accent-primary);
    --color-success: var(--accent-highlight);
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: var(--accent-secondary);
}

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

body {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 0.875rem;
    background: linear-gradient(180deg, #0b0f19 0%, #111827 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Navigation - Compact Design */
.navbar {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
    transition: all 0.25s ease;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.logo a:hover {
    color: var(--accent-primary);
    transform: translateY(-1px);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.25s ease;
    font-size: 0.8rem;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(14, 165, 233, 0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.2));
    color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

/* Compact Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-selector form {
    margin: 0;
    padding: 0;
}

.language-selector select {
    padding: 0.4rem 1.75rem 0.4rem 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(17, 24, 39, 0.6);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.75rem;
    min-width: 80px;
    appearance: none;
    transition: all 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23f1f5f9' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.4rem center;
    background-size: 10px;
}

.language-selector select:hover {
    border-color: var(--accent-primary);
    background-color: rgba(17, 24, 39, 0.9);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15), 0 0 15px rgba(14, 165, 233, 0.2);
}

/* Compact User Profile with Dropdown */
.user-profile-compact {
    position: relative;
}

.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}

.user-profile-trigger:hover {
    border-color: var(--accent-primary);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

.user-avatar-compact {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.user-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
}

.plan-badge-compact {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    border: 2px solid var(--color-bg-secondary);
    background: var(--color-bg-secondary);
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 0.75rem;
    min-width: 240px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(14, 165, 233, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.user-profile-compact.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.user-dropdown-avatar {
    flex-shrink: 0;
}

.user-dropdown-avatar img,
.user-dropdown-avatar .user-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.user-dropdown-info {
    flex: 1;
    min-width: 0;
}

.user-dropdown-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-email {
    font-size: 0.7rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.25rem;
}

.user-dropdown-plan {
    font-size: 0.65rem;
    margin-top: 0.5rem;
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
}

.user-dropdown-menu {
    padding: 0.5rem;
}

.user-dropdown-item {
    display: block;
    padding: 0.6rem 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    transition: all 0.25s ease;
}

.user-dropdown-item:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-primary);
    transform: translateX(4px);
}

.user-dropdown-item.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.2));
    color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    z-index: 999;
}

.nav-mobile.active {
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: background 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-primary);
}

.mobile-nav-link.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.2));
    color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.mobile-user-info {
    padding: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.mobile-user-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.mobile-user-email {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.mobile-user-plan {
    font-size: 0.65rem;
    margin-top: 0.5rem;
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
}

.mobile-language-selector {
    padding: 1rem;
    border-top: 1px solid var(--color-border);
}

.mobile-language-selector label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.mobile-language-selector select {
    width: 100%;
    padding: 0.6rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    transition: all 0.25s ease;
}

.mobile-language-selector select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15), 0 0 15px rgba(14, 165, 233, 0.2);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(14, 165, 233, 0.1);
    z-index: 10000;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-header {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.cookie-modal-content {
    position: relative;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 1rem;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.15);
    animation: slideUpModal 0.3s ease-out;
}

@keyframes slideUpModal {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: var(--color-bg-secondary);
    z-index: 1;
}

.cookie-modal-close {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.25s ease;
}

.cookie-modal-close:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    position: sticky;
    bottom: 0;
    background: var(--color-bg-secondary);
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(11, 15, 25, 0.6);
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    transition: all 0.25s ease;
}

.cookie-category:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.1);
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-category-details {
    margin-top: 0.5rem;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-border);
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-banner-actions {
        width: 100%;
    }
    
    .cookie-banner-actions button {
        flex: 1;
    }
    
    .cookie-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer button {
        width: 100%;
    }
}

/* Cards */
.card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(14, 165, 233, 0.05);
    transition: all 0.25s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.card-header h2 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.text-muted {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
}

.free-badge {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.premium-badge {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.2));
    color: var(--accent-primary);
    border: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.enterprise-badge {
    background: rgba(167, 139, 250, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.plan-badge {
    font-size: 0.65rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
    transform: translateY(-1px);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(45, 212, 191, 0.15);
    color: var(--accent-highlight);
    border: 1px solid rgba(45, 212, 191, 0.3);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.1);
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.alert-info {
    background: rgba(14, 165, 233, 0.15);
    color: var(--accent-primary);
    border: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.1);
}

/* Forms */
input[type="text"],
input[type="url"],
input[type="email"],
input[type="tel"],
input[type="datetime-local"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all 0.25s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(17, 24, 39, 0.8);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15), 0 0 20px rgba(14, 165, 233, 0.2);
}

input:hover,
textarea:hover,
select:hover {
    border-color: rgba(14, 165, 233, 0.3);
}

/* Ad Container */
.ad-container {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding: 2rem 0;
    margin-top: 4rem;
}

footer .container {
    text-align: center;
}

footer .nav-links {
    justify-content: center;
    margin-bottom: 1rem;
}

footer p {
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0.5rem 1rem;
    }

    .logo a {
        font-size: 0.875rem;
    }

    .nav-desktop {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-mobile {
        display: block;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem;
    text-align: left;
}

thead th {
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid rgba(148, 163, 184, 0.15);
}

tbody tr {
    transition: all 0.25s ease;
}

tbody tr:hover {
    background: rgba(14, 165, 233, 0.05);
    transform: translateX(2px);
}

/* Code */
code {
    background: rgba(17, 24, 39, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8em;
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Modal Styles for Explore Page */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: fadeIn 0.25s ease;
}

.modal-content {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.15);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    animation: slideUp 0.3s ease;
    margin: 1rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.modal-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.25s ease;
}

.modal-close:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    overflow-x: hidden;
    color: var(--text-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .modal-content {
        max-width: calc(100% - 1rem);
        max-height: 95vh;
        margin: 0.5rem;
        border-radius: 1rem;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 1rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-grid {
    position: relative;
    z-index: 1;
}

.testimonial-card {
    position: relative;
    cursor: default;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 1rem;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(14, 165, 233, 0.2);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover .testimonial-quote-icon {
    color: rgba(14, 165, 233, 0.4);
    transform: scale(1.1);
}

.testimonial-quote-icon {
    font-family: Georgia, serif;
    transition: all 0.3s ease;
    user-select: none;
}

.testimonial-quote {
    position: relative;
    font-style: italic;
}

.testimonial-avatar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1);
}

.testimonial-name {
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-name {
    color: var(--accent-primary);
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0 !important;
    }

    .testimonials-section h2 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .testimonial-card {
        padding: 1.5rem !important;
    }

    .testimonial-quote {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Enhanced Hero CTA */
.hero .btn-primary {
    position: relative;
    overflow: hidden;
}

.hero .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.4) !important;
}

.hero .btn-primary:hover::before {
    left: 100%;
}

/* How It Works Section */
.how-it-works-section {
    position: relative;
}

.how-it-works-step {
    position: relative;
}

.how-it-works-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1rem;
    pointer-events: none;
}

.how-it-works-step:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(14, 165, 233, 0.15);
}

.how-it-works-step:hover::before {
    opacity: 1;
}

.how-it-works-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4) !important;
}

.step-number {
    transition: all 0.3s ease;
}

/* Final CTA Section */
.final-cta-section {
    position: relative;
}

.final-cta-button {
    position: relative;
    overflow: hidden;
}

.final-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.final-cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 50px rgba(14, 165, 233, 0.5) !important;
}

.final-cta-button:hover::before {
    left: 100%;
}

.final-cta-button:active {
    transform: translateY(-2px) scale(1);
}

/* Responsive Design for CTA Sections */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 3rem 0 !important;
    }

    .how-it-works-section h2 {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }

    .how-it-works-section > div > div:first-child p {
        font-size: 1rem !important;
    }

    .how-it-works-steps {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .how-it-works-step {
        padding: 1.5rem !important;
    }

    .how-it-works-step h3 {
        font-size: 1.1rem !important;
    }

    .how-it-works-step p {
        font-size: 0.9rem !important;
    }

    .final-cta-section {
        padding: 3rem 0 !important;
    }

    .final-cta-section h2 {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }

    .final-cta-section > div > div:first-child p {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
    }

    .final-cta-button {
        font-size: 1.1rem !important;
        padding: 1rem 2.5rem !important;
        width: 100%;
        max-width: 300px;
    }

    .hero .btn-primary {
        font-size: 1.1rem !important;
        padding: 0.875rem 2rem !important;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .how-it-works-steps {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .how-it-works-steps > div:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Hero Animation Styles */
.hero-content {
    position: relative;
}

.hero-animation-container {
    position: relative;
    min-height: 400px;
}

.link-transformation-animation {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
}

.animation-step {
    width: 100%;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Step 1: Long URL Entry */
.step-1 {
    animation: slideInFromLeft 0.8s ease-out, fadeOut 0.5s ease-out 2.2s forwards;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Step 2: Transformation */
.step-2 {
    animation: fadeIn 0.5s ease-out 2.5s forwards, fadeOut 0.5s ease-out 3.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Step 3: Result */
.step-3 {
    animation: fadeInScale 0.8s ease-out 4s forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.long-url-box {
    animation: pulse 2s ease-in-out 0.5s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 25px rgba(14, 165, 233, 0.2);
    }
}

.short-link-box {
    animation: glow 2s ease-in-out 4.5s infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
    }
    50% {
        box-shadow: 0 12px 40px rgba(14, 165, 233, 0.5);
    }
}

.qr-code-box {
    animation: slideUp 0.6s ease-out 4.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Hero Animation */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .hero-content > div:first-child {
        text-align: center !important;
    }
    
    .hero-content > div:first-child > div {
        align-items: center !important;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-animation-container {
        min-height: 350px;
    }
    
    .link-transformation-animation {
        height: 350px;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem !important;
    }
    
    .hero p {
        font-size: 1.1rem !important;
    }
    
    .hero-animation-container {
        min-height: 300px;
    }
    
    .link-transformation-animation {
        height: 300px;
    }
    
    .long-url-box {
        font-size: 0.75rem !important;
        padding: 1rem !important;
    }
    
    .short-link-box {
        font-size: 1rem !important;
        padding: 1.25rem !important;
    }
    
    .qr-code-box svg {
        width: 100px;
        height: 100px;
    }
}

/* Key Features Section */
.key-features-section {
    position: relative;
}

.features-grid {
    position: relative;
}

.feature-card {
    position: relative;
    cursor: default;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 1rem;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(14, 165, 233, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon {
    transition: all 0.3s ease;
}

/* Early Bird Promotion Banners */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 30px rgba(251, 191, 36, 0.6);
        transform: scale(1.05);
    }
}

.early-bird-banner {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.early-bird-badge .badge-minimized:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.6);
}

.early-bird-badge .badge-expanded {
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive for Early Bird Banners */
@media (max-width: 768px) {
    .early-bird-banner {
        font-size: 0.8rem !important;
        padding: 0.625rem 0.75rem !important;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .early-bird-banner > div:first-child {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .early-bird-banner > div:first-child > span:last-child {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    .early-bird-badge {
        bottom: 1rem !important;
        right: 1rem !important;
    }
    
    .early-bird-badge .badge-minimized {
        width: 50px !important;
        height: 50px !important;
    }
    
    .early-bird-badge .badge-expanded {
        min-width: 180px !important;
        max-width: 240px !important;
        padding: 1rem !important;
    }
}

.feature-badge {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-badge {
    transform: scale(1.05);
}

/* Final CTA Secondary Button */
.final-cta-button-secondary {
    position: relative;
    overflow: hidden;
}

.final-cta-button-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    transition: left 0.6s ease;
}

.final-cta-button-secondary:hover {
    transform: translateY(-2px);
    background: rgba(14, 165, 233, 0.1) !important;
    border-color: var(--accent-secondary) !important;
    color: var(--accent-secondary) !important;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3) !important;
}

.final-cta-button-secondary:hover::before {
    left: 100%;
}

.final-cta-button-secondary:active {
    transform: translateY(0);
}

/* Responsive Design for Features Section */
@media (max-width: 768px) {
    .key-features-section {
        padding: 3rem 0 !important;
    }

    .key-features-section h2 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .feature-card {
        padding: 2rem !important;
    }

    .feature-icon {
        width: 56px !important;
        height: 56px !important;
        font-size: 1.75rem !important;
    }

    .feature-card h3 {
        font-size: 1.2rem !important;
    }

    .feature-card p {
        font-size: 0.95rem !important;
    }

    .final-cta-section h2 {
        font-size: 2rem !important;
    }

    .final-cta-section > div > div:first-child p {
        font-size: 1.1rem !important;
    }

    .final-cta-button {
        font-size: 1.1rem !important;
        padding: 1rem 2.5rem !important;
        width: 100%;
        max-width: 300px;
    }

    .final-cta-button-secondary {
        font-size: 1rem !important;
        padding: 0.875rem 2rem !important;
        width: 100%;
        max-width: 300px;
    }

    .final-cta-section > div > div:first-child > div {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .features-grid > div:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Dashboard Quota Banner */
.quota-banner {
    transition: all 0.3s ease;
}

.quota-banner:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.quota-banner a {
    transition: all 0.2s ease;
}

.quota-banner a:hover {
    color: var(--accent-secondary) !important;
    text-decoration: underline;
}

/* Dashboard KPI Cards */
.dashboard .card {
    transition: all 0.3s ease;
}

.dashboard .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Premium Upgrade Banner */
.premium-upgrade-banner {
    transition: all 0.3s ease;
    animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 rgba(14, 165, 233, 0);
    }
    50% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(14, 165, 233, 0.2);
    }
}

.premium-upgrade-banner:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.5) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(14, 165, 233, 0.3) !important;
}

.premium-upgrade-button {
    position: relative;
    overflow: hidden;
}

.premium-upgrade-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.premium-upgrade-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.4) !important;
}

.premium-upgrade-button:hover::before {
    left: 100%;
}

.premium-upgrade-button:active {
    transform: translateY(0);
}

/* Responsive Design for Dashboard */
@media (max-width: 640px) {
    .quota-banner {
        padding: 0.875rem !important;
    }

    .quota-banner > div:first-child {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .premium-upgrade-banner {
        padding: 1.5rem !important;
    }

    .premium-upgrade-banner h3 {
        font-size: 1.25rem !important;
    }

    .premium-upgrade-banner > div > div:first-child {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .premium-upgrade-banner > div > div:nth-child(3) {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .premium-upgrade-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Pricing Page Styles */
.premium-plan-card {
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.premium-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.3), 0 0 30px rgba(14, 165, 233, 0.2);
}

.premium-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.premium-plan-card:hover::before {
    opacity: 1;
}

.enterprise-plan-card {
    position: relative;
    transition: all 0.3s ease;
}

.enterprise-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(167, 139, 250, 0.2);
}

/* Pricing Cards General */
section .card {
    transition: all 0.3s ease;
}

section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Pricing */
@media (max-width: 768px) {
    section h1 {
        font-size: 2rem !important;
    }

    section > div > div:first-child p {
        font-size: 1.1rem !important;
    }

    .premium-plan-card,
    .enterprise-plan-card {
        margin-bottom: 1.5rem;
    }

    .premium-plan-card > div:first-child,
    .enterprise-plan-card > div:first-child {
        flex-direction: column;
        align-items: flex-start;
    }

    .premium-plan-card > div:first-child > div:last-child,
    .enterprise-plan-card > div:first-child > div:last-child {
        position: static !important;
        margin-top: 0.5rem;
    }
}

/* Tab Navigation Styles */
.tabs-container {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.tab-header {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(11, 15, 25, 0.4);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    overflow-x: auto;
}

.tab-button {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
    pointer-events: auto;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.1));
    transition: left 0.3s ease;
    z-index: 0;
}

.tab-button:hover {
    color: var(--text-primary);
    border-color: rgba(14, 165, 233, 0.3);
    background: rgba(14, 165, 233, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.tab-button:hover::before {
    left: 0;
}

.tab-button.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.2));
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3), inset 0 0 20px rgba(14, 165, 233, 0.1);
    font-weight: 600;
}

.tab-button.active::before {
    left: 0;
}

.tab-content {
    display: none !important;
    padding: 1.5rem;
    animation: fadeInTab 0.3s ease;
}

.tab-content.active {
    display: block !important;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .tab-header {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .tab-button {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }

    .tab-content {
        padding: 1rem;
    }
}

/* Accordion Styles */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    position: relative;
}

.accordion-header:hover {
    background: rgba(14, 165, 233, 0.05);
    color: var(--accent-primary);
}

.accordion-header[aria-expanded="true"] {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-primary);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.accordion-header span {
    flex: 1;
    display: flex;
    align-items: center;
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.accordion-content {
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 0;
    display: block;
    padding: 0 1.5rem;
}

.accordion-content[aria-hidden="true"] {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.accordion-content[aria-hidden="false"] {
    max-height: 5000px;
    padding-top: 0;
    padding-bottom: 0;
}

.accordion-body {
    padding: 1.5rem 0;
    background: rgba(11, 15, 25, 0.3);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

@media (max-width: 768px) {
    .accordion-header {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .accordion-body {
        padding: 1.25rem;
    }
}

