/* ===== DOWNLOAD WARNING ===== */
.download-warning-strong {
    color: #e53935;
}
/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent-primary: #f59e0b;
    --accent-secondary: #fbbf24;
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f97316 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glow-primary: rgba(245, 158, 11, 0.3);
    --glow-secondary: rgba(251, 191, 36, 0.3);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--glow-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--glow-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: rgba(249, 115, 22, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.nav-auth {
    --auth-slot-width: 270px;
    display: flex;
    align-items: center;
    margin-left: auto;
    width: auto;
    min-height: 42px;
    flex-shrink: 0;
    justify-content: flex-end;
    gap: 0.8rem;
}

.nav-auth-btn {
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-right: 0.65rem;
    white-space: nowrap;
}

.nav-auth.logged-out .nav-auth-btn {
    width: var(--auth-slot-width);
    height: 42px;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.nav-auth-btn:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.nav-logout-btn {
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    color: var(--text-secondary);
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 0 14px 14px 0;
    cursor: pointer;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
}

.nav-admin-btn {
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    color: var(--text-secondary);
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
}

.nav-admin-btn svg {
    width: 16px;
    height: 16px;
}

.nav-admin-btn:hover {
    border-color: var(--accent-primary);
    background: rgba(245, 158, 11, 0.16);
    color: #ffe3b4;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.16);
}

.nav-auth.logged-in {
    width: auto;
}

.nav-auth.logged-in.admin-mode {
    width: auto;
}

.nav-logout-btn svg {
    width: 16px;
    height: 16px;
}

.nav-logout-btn:hover {
    border-color: rgba(239, 68, 68, 0.58);
    background: rgba(239, 68, 68, 0.16);
    color: #ffd1d1;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.14);
}

.nav-user-chip {
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    height: 42px;
    padding: 0.2rem 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    transition: all 0.25s ease;
    flex: 0 1 280px;
    min-width: 0;
    max-width: 280px;
}

.nav-auth.logged-in:not(.admin-mode) .nav-user-chip {
    flex-basis: 280px;
    max-width: 280px;
    border-radius: 14px 0 0 14px;
}

.nav-auth.logged-in.admin-mode .nav-user-chip {
    flex-basis: 300px;
    max-width: 300px;
    border-radius: 14px 0 0 14px;
}

.nav-auth.logged-in {
    gap: 0.32rem;
}

.nav-auth.logged-in.admin-mode .nav-admin-btn {
    border-radius: 0;
}

.nav-auth.logged-in.admin-mode .nav-logout-btn {
    border-radius: 0 14px 14px 0;
}

.nav-auth.logged-in:not(.admin-mode) .nav-logout-btn {
    border-radius: 0 14px 14px 0;
}

.nav-user-chip:hover,
.nav-user-chip:focus-visible {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.14);
}

.nav-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    background: #181822;
}

.nav-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    min-width: 0;
}

.nav-user-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 205px;
}

.nav-user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 205px;
}

.nav-auth-btn[hidden],
.nav-user-chip[hidden],
.nav-admin-btn[hidden],
.nav-logout-btn[hidden],
.mobile-auth-btn[hidden],
.mobile-user-chip[hidden],
.mobile-admin-btn[hidden],
.mobile-logout-btn[hidden] {
    display: none !important;
}

body:not(.auth-ready) #navAuthContainer .nav-auth-btn,
body:not(.auth-ready) #navAuthContainer .nav-user-chip,
body:not(.auth-ready) #navAuthContainer .nav-admin-btn,
body:not(.auth-ready) #navAuthContainer .nav-logout-btn,
body:not(.auth-ready) #openAuthBtnMobile,
body:not(.auth-ready) #openProfileBtnMobile,
body:not(.auth-ready) #mobileAdminBtn,
body:not(.auth-ready) #mobileLogoutBtn {
    opacity: 0;
    pointer-events: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu.open {
    display: flex;
}

@media (min-width: 1201px) {
    .mobile-menu,
    .mobile-menu.open {
        display: none;
    }
}

.mobile-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--text-primary);
}

.mobile-auth-btn,
.mobile-user-chip {
    width: 100%;
}

.mobile-logout-btn {
    width: 100%;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.08);
    color: #ffd1d1;
    text-decoration: none;
    border-radius: 5px;
    padding: 0.72rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
}

.mobile-admin-btn {
    width: 100%;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.1);
    color: #ffe3b4;
    text-decoration: none;
    border-radius: 5px;
    padding: 0.72rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
}

.mobile-admin-btn svg {
    width: 16px;
    height: 16px;
}

.mobile-logout-btn svg {
    width: 16px;
    height: 16px;
}

.mobile-auth-btn {
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
}

.mobile-user-chip {
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    border-radius: 12px;
    padding: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-primary);
    text-decoration: none;
    order: 2;
}

.mobile-admin-btn {
    order: 3;
}

.mobile-logout-btn {
    order: 4;
}

.mobile-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    background: #181822;
}

.mobile-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mobile-user-name {
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.mobile-user-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn:disabled,
.btn[aria-disabled="true"] {
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.45;
    filter: grayscale(0.2);
    pointer-events: none;
}

.btn:disabled:hover,
.btn[aria-disabled="true"]:hover {
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
    background: linear-gradient(135deg, #5c5c5c, #3f3f3f);
    color: rgba(255, 255, 255, 0.82);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:disabled,
.btn-secondary[aria-disabled="true"] {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.72);
    border-color: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-visual {
    animation: fadeInRight 1s ease 0.3s both;
    position: relative;
    width: 400px;
    height: 500px;
}

.mockup-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.windows-mockup {
    transform: translateX(-60px) translateY(30px) rotate(-8deg);
    z-index: 1;
    cursor: pointer;
}

.linux-mockup {
    transform: translateX(-30px) translateY(15px) rotate(-4deg);
    z-index: 2;
    cursor: pointer;
}

.macos-mockup {
    transform: translateX(0) translateY(0) rotate(0deg);
    z-index: 3;
    cursor: pointer;
}

@keyframes windowFloat {
    0%, 100% {
        transform: translateX(-60px) translateY(30px) rotate(-8deg);
    }
    50% {
        transform: translateX(-60px) translateY(25px) rotate(-8deg);
    }
}

@keyframes windowFloatLinux {
    0%, 100% {
        transform: translateX(-30px) translateY(15px) rotate(-4deg);
    }
    50% {
        transform: translateX(-30px) translateY(10px) rotate(-4deg);
    }
}

@keyframes windowFloatMac {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(0) translateY(-5px) rotate(0deg);
    }
}

.macos-header {
    background: #2f2f2f;
    border-bottom: 1px solid #2f2f2f;
    border-radius: 16px 16px 0 0;
}

.mockup-title {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 1rem;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.app-mockup {
    width: 400px;
    height: 500px;
    background: #2f2f2f;
    border: 1px solid #2f2f2f;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: absolute;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.mockup-header {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.macos-dots span {
    width: 12px;
    height: 12px;
}

.mockup-dots span:nth-child(1) {
    background: #ef4444;
}

.mockup-dots span:nth-child(2) {
    background: #f59e0b;
}

.mockup-dots span:nth-child(3) {
    background: #22c55e;
}

.mockup-content {
    padding: 0;
    height: 100%;
}

.mockup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

@keyframes windowCycle {
    0%, 25% {
        transform: translateY(30px) scale(0.9);
        opacity: 0.6;
        z-index: 1;
    }
    25.01%, 50% {
        transform: translateY(15px) scale(0.95);
        opacity: 0.8;
        z-index: 2;
    }
    50.01%, 75% {
        transform: translateY(0) scale(1);
        opacity: 1;
        z-index: 3;
    }
    75.01%, 100% {
        transform: translateY(15px) scale(0.95);
        opacity: 0.8;
        z-index: 2;
    }
}

.mockup-line {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.mockup-line:nth-child(1) {
    width: 60%;
}

.mockup-line:nth-child(2) {
    width: 80%;
}

.mockup-line:nth-child(3) {
    width: 40%;
}

.mockup-card {
    height: 80px;
    background: var(--bg-card-hover);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
}

/* ===== FEATURES SECTION ===== */
.features {
    position: relative;
    padding: 8rem 2rem;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ===== PRICING SECTION ===== */
.pricing {
    position: relative;
    padding: 8rem 2rem;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid-single {
    grid-template-columns: 1fr;
    max-width: 760px;
}

.pricing-grid-two {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    max-width: 1120px;
}

@media (max-width: 1235px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .pricing-card {
        max-width: 600px;
    }
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-premium {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.2);
}

.pricing-premium:hover {
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.3);
}

.pricing-premium-single {
    width: 100%;
    max-width: 760px;
}

.pricing-card-premium {
    width: 100%;
    max-width: 540px;
}

.pricing-trial-card {
    width: 100%;
    max-width: 540px;
}

.pricing-badges-row {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    pointer-events: none;
}

.pricing-badge {
    position: relative;
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    pointer-events: auto;
}

.pricing-badge-left {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: calc(100% - 140px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pricing-option-switch {
    display: flex;
    gap: 0.6rem;
    margin: 1rem auto 1rem;
    width: fit-content;
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.pricing-option {
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pricing-option:hover {
    color: var(--text-primary);
}

.pricing-option.active {
    color: #111;
    background: var(--accent-gradient);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.3);
}

.pricing-trial {
    width: fit-content;
    margin: 0 auto 0.9rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #111;
    background: var(--accent-gradient);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.3);
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    color: var(--text-muted);
    font-size: 1rem;
}

.price-vat {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 500;
}


.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card .btn {
    margin-top: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-item.feature-disabled {
    color: var(--text-muted);
    opacity: 0.6;
}

.feature-check {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.home-seo-strip {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: -1rem auto 0;
    padding: 0 2rem 2rem;
}

.home-seo-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 1.1rem;
}

.home-seo-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 1.35rem 1.45rem 1.45rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    animation: fadeInUp 0.8s ease both;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    min-height: 240px;
}

.home-seo-card:nth-child(2) {
    animation-delay: 0.12s;
}

.home-seo-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0.85;
}

.home-seo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.home-seo-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.home-seo-card:hover::after {
    opacity: 0.05;
}

.home-seo-card-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.home-seo-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.22);
}

.home-seo-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.home-seo-copy-head {
    min-width: 0;
}

.home-seo-eyebrow {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-secondary);
}

.home-seo-card h3 {
    font-size: 1.22rem;
    line-height: 1.3;
    margin-bottom: 0;
}

.home-seo-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}

.feature-cross {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ===== PURCHASE & ACTIVATION ===== */
.purchase-activation {
    position: relative;
    padding: 8rem 2rem;
    z-index: 1;
}

.purchase-activation-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 1.2rem;
}

.purchase-step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    padding: 1.2rem 1.2rem 1rem;
    backdrop-filter: blur(20px);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.purchase-step-card:hover {
    border-color: rgba(245, 158, 11, 0.35);
    transform: translateY(-2px);
}

.purchase-step-number {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
    background: var(--accent-gradient);
    border-radius: 5px;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.72rem;
}

.purchase-step-card h3 {
    margin-bottom: 0.62rem;
    font-size: 1.08rem;
}

.purchase-step-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.62;
    margin-bottom: 0.55rem;
}

.purchase-step-card p strong {
    color: var(--text-primary);
}

.purchase-step-warning {
    margin-top: 0.65rem;
    padding: 0.62rem 0.72rem;
    border-radius: 5px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.09);
}

.purchase-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.72rem;
}

.purchase-step-actions .btn {
    padding: 0.56rem 0.82rem;
    border-radius: 5px;
    font-size: 0.84rem;
}

@media (max-width: 950px) {
    .purchase-activation-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .home-seo-strip {
        padding: 0 1.5rem 1.5rem;
        margin-top: -0.5rem;
    }

    .home-seo-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .home-seo-card-head {
        gap: 0.85rem;
    }

    .home-seo-icon {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 12px;
    }
}

/* ===== DOWNLOAD SECTION ===== */
.download {
    position: relative;
    padding: 8rem 2rem;
    z-index: 1;
}

.download-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-info {
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.download-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.download-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex: 1;
    max-width: 250px;
}

.download-btn:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.2);
}

.platform-icon {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
    object-fit: contain;
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.platform-name {
    font-weight: 600;
    font-size: 1rem;
}

.platform-version {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-changelog {
    margin-top: -0.5rem;
    margin-bottom: 1.25rem;
}

.download-changelog-toggle {
    width: 100%;
    justify-content: center;
    max-width: 250px;
}

.download-changelog-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(3, 6, 14, 0.72);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    display: none;
}

.download-changelog-dialog-backdrop.is-open {
    display: flex;
}

body.is-changelog-dialog-open {
    overflow: hidden;
}

.download-changelog-dialog {
    width: min(840px, 100%);
    max-height: min(80vh, 900px);
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: #10131c;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
}

.download-changelog-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.download-changelog-close {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    cursor: pointer;
}

.download-changelog-close:hover {
    border-color: var(--accent-primary);
}

.download-changelog-title {
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.download-changelog-body {
    margin: 0;
    padding: 0.9rem 1rem 1rem;
    overflow: auto;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: inherit;
}

.download-changelog-empty,
.download-changelog-paragraph {
    margin: 0.4rem 0;
}

.download-changelog-h1,
.download-changelog-h2,
.download-changelog-h3,
.download-changelog-bracket-title {
    margin: 0.8rem 0 0.45rem;
    color: var(--text-primary);
    font-weight: 700;
}

.download-changelog-h1 {
    font-size: 1.05rem;
}

.download-changelog-h2 {
    font-size: 1rem;
}

.download-changelog-h3,
.download-changelog-bracket-title {
    font-size: 0.95rem;
}

.download-changelog-list {
    margin: 0.25rem 0 0.7rem;
    padding-left: 1.1rem;
}

.download-changelog-list li {
    margin: 0.2rem 0;
}

.download-changelog-code {
    margin: 0.6rem 0;
    padding: 0.7rem 0.85rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--text-primary);
    font-size: 0.86rem;
    line-height: 1.45;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

.coming-soon {
    margin-top: 2rem;
}

.coming-soon-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.coming-soon-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.coming-soon-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* ===== FAQ ===== */
.faq {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-header {
    margin-bottom: 2rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: var(--card-shadow);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 1.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    color: var(--accent-primary);
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.4rem 1.3rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.coming-soon-card:hover {
    opacity: 1;
    border-color: var(--accent-primary);
}

.coming-soon-icon {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    object-fit: contain;
}

.coming-soon-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.coming-soon-status {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.download-visual {
    animation: fadeInRight 1s ease;
}

.platform-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.platform-card {
    width: 180px;
    height: 220px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-8px) rotate(-2deg);
    border-color: var(--accent-primary);
}

.card-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--accent-gradient);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.windows-card .card-glow {
    background: rgba(59, 130, 246, 0.5);
}

.macos-card .card-glow {
    background: rgba(249, 115, 22, 0.5);
}

.linux-card .card-glow {
    background: rgba(251, 191, 36, 0.5);
}

.card-icon {
    width: 64px;
    height: 64px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    object-fit: contain;
}

/* Compensated for ~16px scrollbar width so visual breakpoints match window size */
@media (max-width: 1304px) {
    .platform-cards {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }
}

/* ===== CONTACT SECTION ===== */
.contact {
    position: relative;
    padding: 8rem 2rem;
    z-index: 1;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (min-width: 1025px) and (max-width: 1360px) {
    .pricing-grid {
        max-width: 1280px;
        gap: 2.5rem;
    }

    .download-content,
    .contact-container {
        max-width: 1280px;
        gap: 5rem;
    }
}

@media (min-width: 1361px) {
    .pricing-grid {
        max-width: 1320px;
        gap: 3rem;
    }

    .download-content,
    .contact-container {
        max-width: 1320px;
        gap: 6rem;
    }
}

.contact-info {
    animation: fadeInLeft 1s ease;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    animation: fadeInRight 1s ease;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== AUTH MODAL ===== */

.auth-page-main,
.profile-page-main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 7.2rem 1.25rem 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.auth-page-card,
.profile-page-card {
    width: min(980px, 100%);
    background: rgba(12, 12, 18, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    padding: 1.4rem;
}

.profile-page-card {
    position: relative;
}

.profile-busy-overlay {
    position: absolute;
    inset: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(8, 8, 12, 0.78);
    backdrop-filter: blur(6px);
    border-radius: 20px;
}

.profile-busy-overlay[hidden] {
    display: none !important;
}

.profile-busy-spinner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--accent-primary);
    animation: adminSpin 0.9s linear infinite;
}

.profile-busy-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-modal,
.profile-modal {
    position: fixed;
    inset: 0;
    z-index: 1250;
    display: none;
}

.auth-modal.open,
.profile-modal.open {
    display: block;
}

.auth-modal-overlay,
.profile-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(4px);
}

.auth-modal-dialog,
.profile-modal-dialog {
    position: relative;
    width: min(980px, calc(100% - 2rem));
    max-height: 90vh;
    overflow: auto;
    margin: 5vh auto 0;
    background: rgba(12, 12, 18, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.auth-modal-close,
.profile-modal-close {
    position: absolute;
    top: 0.35rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.auth-head {
    margin-bottom: 1rem;
}

.auth-title {
    font-size: 1.55rem;
    font-weight: 800;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

.auth-tabs {
    display: inline-flex;
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    padding: 0.3rem;
    gap: 0.3rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.auth-tab {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 5px;
    padding: 0.55rem 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.auth-tab.active {
    color: #101010;
    background: var(--accent-gradient);
}

.auth-pane {
    display: none;
}

.auth-pane.active {
    display: block;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-section {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0.95rem;
}

.auth-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.auth-section-subtitle {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 0.8rem;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 0.9rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.auth-field-full {
    grid-column: 1 / -1;
}

.auth-field label {
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.auth-field input {
    width: 100%;
    padding: 0.78rem 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.auth-field input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.auth-field select {
    width: 100%;
    padding: 0.78rem 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.auth-field select option {
    background: #141620;
    color: var(--text-primary);
}

.auth-field select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.auth-field-note {
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.auth-activation-box {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.auth-activation-box[hidden] {
    display: none !important;
}

.auth-activation-box-content {
    display: grid;
    gap: 0.55rem;
}

.auth-activation-box-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.auth-activation-box-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-activation-box-note {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.auth-activation-box-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.auth-logo-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

.auth-logo-state {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.auth-logo-state[hidden] {
    display: none !important;
}

.auth-logo-state-empty {
    flex: 1 1 280px;
    min-width: 280px;
}

.auth-logo-choose-btn {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 1rem;
    white-space: nowrap;
}

.auth-logo-state-empty input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
}

.auth-logo-empty-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.auth-logo-state-selected {
    flex: 1 1 100%;
    min-width: 0;
}

.auth-logo-clear-btn {
    flex: 0 0 auto;
    align-self: center;
    white-space: nowrap;
    height: 44px;
    min-width: 44px;
    padding-inline: 0;
    justify-content: center;
    font-size: 1rem;
}

.auth-logo-status-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
}

.auth-logo-status-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.auth-logo-preview-placeholder {
    padding: 0 0.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

.auth-logo-status-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.auth-logo-preview-label {
    color: var(--text-secondary);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auth-logo-preview-name {
    color: var(--text-primary);
    font-size: 0.92rem;
    word-break: break-word;
}

@media (max-width: 860px) {
    .auth-logo-row {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-logo-state,
    .auth-logo-choose-btn,
    .auth-logo-clear-btn {
        width: 100%;
        min-width: 0;
    }

    .auth-logo-empty-text {
        white-space: normal;
    }
}

.auth-activation-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.auth-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    border-radius: 5px;
    padding: 0.48rem 0.82rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.auth-radio.active {
    color: #101010;
    background: var(--accent-gradient);
    border-color: transparent;
}

.auth-radio:not(.active):hover {
    border-color: var(--accent-primary);
}

.auth-legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
}

.auth-legal-btn {
    padding: 0.55rem 0.85rem;
    border-radius: 9px;
    font-size: 0.86rem;
}

.auth-legal-progress {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
}

.auth-checkbox {
    display: flex;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    align-items: flex-start;
}

.auth-checkbox input {
    margin-top: 0.17rem;
    accent-color: var(--accent-primary);
    width: 1.05rem;
    height: 1.05rem;
    cursor: pointer;
}

/* Purchase plan selection */
.auth-purchase-plans {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0.5rem 0 0.9rem;
}

.auth-plan-option {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.auth-plan-option:hover {
    border-color: var(--accent-primary);
}

.auth-plan-option input[type="radio"] {
    margin-top: 0.2rem;
    accent-color: var(--accent-primary);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    cursor: pointer;
}

.auth-plan-option:has(input:checked) {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.08);
}

.auth-plan-label {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.auth-plan-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.auth-plan-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.auth-plan-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.legal-modal-content::-webkit-scrollbar {
    width: 6px;
}

.legal-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.legal-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.legal-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.28);
}

.legal-modal-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

/* ===== PROFILE MODAL ===== */

.profile-modal-dialog {
    width: min(960px, calc(100% - 2rem));
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.profile-identity {
    display: flex;
    flex-direction: column;
}

.profile-refresh-btn {
    margin-left: auto;
    white-space: nowrap;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    background: #181822;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 800;
}

.profile-role {
    color: var(--text-secondary);
    margin-top: 0.2rem;
    font-size: 0.95rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.profile-sections {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.profile-data-section {
    margin: 0;
}

.profile-grid-enhanced {
    margin-top: 0.4rem;
}

.profile-field-full {
    grid-column: 1 / -1;
}

.profile-field {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.profile-label {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-value {
    color: var(--text-primary);
    font-size: 0.95rem;
    word-break: break-word;
}

.profile-secret-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.profile-secret-value {
    min-height: 1.3rem;
}

.profile-secret-value.is-hidden {
    filter: blur(5px);
    user-select: none;
}

.profile-secret-toggle {
    padding: 0.38rem 0.62rem;
    border-radius: 5px;
    font-size: 0.78rem;
}

.profile-value-status {
    border-radius: 5px;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.profile-value-status[data-tone='premium'] {
    color: #111;
    border-color: rgba(245, 158, 11, 0.4);
    background: var(--accent-gradient);
}

.profile-value-status[data-tone='trial'] {
    color: #ffdca2;
    border-color: rgba(245, 158, 11, 0.42);
    background: rgba(245, 158, 11, 0.12);
}

.profile-value-status[data-tone='warning'] {
    color: #ffdca2;
    border-color: rgba(245, 158, 11, 0.42);
    background: rgba(245, 158, 11, 0.12);
}

.profile-value-status[data-tone='free'] {
    color: #ffb1b1;
    border-color: rgba(239, 68, 68, 0.42);
    background: rgba(239, 68, 68, 0.12);
}

/* ===== ADMIN PAGE ===== */

.admin-page-main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 7.2rem 1.25rem 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.admin-page-card {
    width: min(1120px, 100%);
    background: rgba(12, 12, 18, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    padding: 1.4rem;
    position: relative;
}

.admin-busy-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(8, 8, 12, 0.78);
    backdrop-filter: blur(6px);
    border-radius: 20px;
}

.admin-busy-overlay[hidden] {
    display: none !important;
}

.admin-busy-spinner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--accent-primary);
    animation: adminSpin 0.9s linear infinite;
}

.admin-busy-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

@keyframes adminSpin {
    to {
        transform: rotate(360deg);
    }
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.admin-subtitle {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.admin-tabs {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.admin-tab {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border-radius: 5px;
    padding: 0.55rem 0.8rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.admin-tab.active {
    border-color: rgba(245, 158, 11, 0.45);
    color: #111;
    background: var(--accent-gradient);
}

.admin-pane {
    display: none;
}

.admin-pane.active {
    display: block;
}

.admin-toolbar {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.admin-toolbar-group {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.admin-toolbar-select {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border-radius: 5px;
    padding: 0.55rem 0.7rem;
    font-size: 0.84rem;
    outline: none;
}

.admin-toolbar-select option {
    background: #141620;
    color: var(--text-primary);
}

.admin-toolbar-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.admin-search-wrap {
    min-width: min(360px, 100%);
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.admin-search-wrap input {
    width: min(360px, 100%);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border-radius: 5px;
    padding: 0.62rem 0.72rem;
    outline: none;
}

.admin-search-wrap input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.admin-create-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.admin-create-form input,
.admin-create-form select {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border-radius: 5px;
    padding: 0.62rem 0.72rem;
}

.admin-create-form select option {
    background: #141620;
    color: var(--text-primary);
}

.admin-table-wrap {
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: auto;
    max-height: 58vh;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--glass-border);
    padding: 0.6rem;
    text-align: left;
    vertical-align: top;
    font-size: 0.85rem;
}

.admin-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #101018;
    color: var(--text-secondary);
    font-weight: 700;
}

.admin-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.admin-actions .btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.76rem;
}

.btn-danger {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.12);
    color: #ffd1d1;
}

.btn-danger:hover {
    border-color: rgba(239, 68, 68, 0.56);
    background: rgba(239, 68, 68, 0.2);
    color: #fff;
}

.admin-status-chip {
    border-radius: 5px;
    padding: 0.22rem 0.44rem;
    border: 1px solid var(--glass-border);
    display: inline-block;
    font-size: 0.75rem;
}

.admin-empty,
.admin-error {
    padding: 0.9rem;
    color: var(--text-secondary);
}

.admin-error {
    color: #ffb3b3;
}

.admin-loading {
    color: var(--text-muted);
    font-size: 0.86rem;
}

@media (max-width: 900px) {
    .admin-create-form {
        grid-template-columns: 1fr;
    }

    .admin-page-main {
        padding-top: 6.4rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .admin-page-card {
        width: 100%;
        padding: 1rem;
    }
}

body.modal-open {
    overflow: hidden;
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 1240;
    display: none;
}

.legal-modal.open {
    display: block;
}

.legal-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.legal-modal-dialog {
    position: relative;
    width: min(760px, calc(100% - 2rem));
    margin: 6vh auto 0;
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(12, 12, 18, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.legal-modal-header {
    flex-shrink: 0;
    padding: 1.1rem 1.2rem 0.75rem;
    background: rgba(12, 12, 18, 0.98);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.legal-modal-close {
    position: absolute;
    top: 0.55rem;
    right: 0.8rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.legal-modal-title {
    font-size: 1.2rem;
    margin: 0;
    padding-right: 2rem;
}

.legal-modal-tabs {
    display: inline-flex;
    align-self: flex-start;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 0.28rem;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.02);
}

.legal-modal-tab {
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.48rem 0.86rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.legal-modal-tab.active {
    color: #101010;
    background: var(--accent-gradient);
}

.legal-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.92rem;
}

.legal-content-section + .legal-content-section {
    margin-top: 1rem;
}

.legal-content-heading {
    color: var(--text-primary);
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
}

.legal-item,
.legal-subsection,
.legal-bullet,
.legal-warning {
    margin: 0.42rem 0;
}

.legal-item {
    display: flex;
    gap: 0.5rem;
}

.legal-item-number {
    width: 2.2rem;
    flex-shrink: 0;
    color: var(--accent-secondary);
    font-weight: 700;
}

.legal-subsection {
    color: var(--accent-secondary);
    font-weight: 700;
    margin-top: 0.75rem;
}

.legal-bullet {
    padding-left: 1.3rem;
    position: relative;
}

.legal-bullet::before {
    content: '•';
    position: absolute;
    left: 0.35rem;
    color: var(--accent-secondary);
}

.legal-warning {
    color: #ff8c8c;
    font-weight: 600;
}

.legal-footer {
    margin-top: 1.1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.legal-modal-actions {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
    padding: 0.85rem 1.2rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(12, 12, 18, 0.98);
}

/* ===== FOOTER ===== */

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    background: rgba(12, 12, 18, 0.92);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.cookie-banner-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--accent-secondary);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.7rem 1.1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
}

.cookie-modal.open {
    display: block;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.cookie-modal-dialog {
    position: relative;
    width: min(680px, calc(100% - 2rem));
    margin: 8vh auto 0;
    background: rgba(12, 12, 18, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cookie-modal-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.cookie-modal-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cookie-modal-text + .cookie-modal-text {
    margin-top: 0.7rem;
}

.cookie-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.cookie-modal-close-btn {
    margin-top: 1.2rem;
}

.footer {
    position: relative;
    padding: 3rem 2rem;
    border-top: 1px solid var(--glass-border);
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    text-align: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .download-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
}

@media (max-width: 1024px) {
    .download-visual {
        display: none;
    }
}

@media (max-width: 1200px) {
    .nav-auth {
        display: none;
    }

    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .features,
    .download,
    .faq,
    .contact {
        padding: 5rem 1.5rem;
    }
    
    .section-title,
    .download-title,
    .contact-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .download-btn {
        max-width: 100%;
    }

    .download-changelog-toggle {
        max-width: 100%;
    }

    .download-changelog-dialog {
        max-height: 84vh;
    }
    
    .platform-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .faq-question {
        padding: 1.1rem 1.15rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.15rem 1.15rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: stretch;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-modal-dialog {
        margin-top: 4vh;
        padding: 1.2rem;
    }

    .auth-modal-dialog,
    .profile-modal-dialog {
        width: calc(100% - 1rem);
        padding: 1rem;
        margin-top: 3vh;
        max-height: 94vh;
    }

    .auth-page-main,
    .profile-page-main {
        padding-top: 6.4rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .auth-page-card,
    .profile-page-card {
        width: 100%;
        padding: 1rem;
    }

    .auth-grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .legal-modal-dialog {
        width: calc(100% - 1rem);
        margin-top: 3vh;
        max-height: 92vh;
    }

    .legal-modal-actions {
        flex-direction: column;
    }

    .legal-modal-actions .btn {
        width: 100%;
    }

    .profile-header {
        flex-wrap: wrap;
    }

    .profile-refresh-btn {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 660px) {
    .pricing {
        padding: 5rem 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1.25rem;
        padding: 0 0.25rem;
    }

    .pricing-card {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 2rem 1.25rem;
    }

    .pricing-option-switch {
        width: 100%;
        border-radius: 16px;
        flex-direction: column;
    }

    .pricing-option {
        width: 100%;
    }

    .pricing-card-premium.premium-mobile-savings-under-price .pricing-badges-row {
        justify-content: flex-end;
    }

    .pricing-card-premium.premium-mobile-savings-under-price #premiumSavingsBadge {
        display: flex;
        width: fit-content;
        margin: 0.55rem auto 0;
        max-width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .pricing-card-premium.premium-mobile-savings-under-price .pricing-header {
        position: relative;
    }

    .pricing-card-premium.premium-mobile-savings-under-price .price-vat {
        margin-bottom: 0.25rem;
    }

    .pricing-title {
        font-size: 1.45rem;
    }

    .pricing-price {
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }

    .price-amount {
        font-size: clamp(2rem, 9vw, 2.6rem);
        line-height: 1.1;
    }

    .download {
        padding: 5rem 1rem;
    }

    .download-content {
        gap: 2rem;
    }

    .download-title {
        font-size: 1.7rem;
    }

    .download-description {
        font-size: 1rem;
    }

    .download-buttons {
        width: 100%;
    }

    .download-btn {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.25rem;
    }

    .coming-soon-cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .coming-soon-card {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
    }
}

@media (max-width: 860px) {
    .auth-logo-state-empty {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .auth-logo-choose-btn {
        width: auto;
        min-height: 36px;
        height: 36px;
        padding: 0 0.85rem;
        font-size: 0.84rem;
    }

    .auth-logo-empty-text {
        display: block;
        width: 100%;
        font-size: 0.82rem;
        line-height: 1.35;
    }
}

@media (max-width: 420px) {
    .pricing {
        padding: 4.5rem 0.75rem;
    }

    .pricing-grid {
        gap: 1rem;
        padding: 0;
    }

    .pricing-card {
        padding: 1.5rem 1rem;
    }

    .pricing-title {
        font-size: 1.3rem;
    }

    .price-amount {
        font-size: clamp(1.7rem, 10vw, 2.1rem);
    }

    .download {
        padding: 4.5rem 0.75rem;
    }

    .download-btn {
        padding: 0.95rem 1rem;
    }

    .platform-icon {
        width: 28px;
        height: 28px;
    }

    .platform-name {
        font-size: 0.95rem;
    }

    .coming-soon-cards {
        gap: 0.75rem;
    }

    .coming-soon-card {
        flex: 1 1 100%;
        min-width: 0;
    }
}
