/* ============================================
   LITY SOFTWARE - Premium Dark Theme
   Modern glassmorphism, animations, gradients
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f1a;
    --bg-card: rgba(15, 15, 30, 0.6);
    --bg-card-hover: rgba(25, 25, 50, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;

    --accent-primary: #7c3aed;
    --accent-secondary: #a855f7;
    --accent-light: #c084fc;
    --accent-glow: rgba(124, 58, 237, 0.3);

    --gradient-primary: linear-gradient(135deg, #7c3aed, #a855f7, #c084fc);
    --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-card: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(59, 130, 246, 0.05));

    --green: #22c55e;
    --green-glow: rgba(34, 197, 94, 0.2);
    --yellow: #eab308;
    --yellow-glow: rgba(234, 179, 8, 0.2);
    --red: #ef4444;
    --blue: #3b82f6;
    --cyan: #06b6d4;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(124, 58, 237, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Animated Background --- */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 20s infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-primary), transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blue), transparent 70%);
    bottom: -200px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cyan), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.2;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 70%, transparent 100%);
}

@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.95); }
    75% { transform: translate(30px, 50px) scale(1.05); }
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-normal);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 10px 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.85);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    white-space: nowrap;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.logo-text {
    color: var(--text-primary);
}

.logo-badge {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--accent-light);
    background: rgba(124, 58, 237, 0.15);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(124, 58, 237, 0.2);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    white-space: nowrap;
    text-decoration: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-md {
    padding: 10px 22px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.1);
}

.btn-glass {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: not-allowed;
    border: 1px solid var(--border);
}

/* --- Mobile Toggle --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-value i {
    color: var(--accent-light);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.5s both;
}

.hero-card-stack {
    position: relative;
    width: 350px;
    height: 350px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    animation: cardFloat 6s ease-in-out infinite;
}

.floating-card .card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
}

.card-1 {
    top: 20px;
    left: 10px;
    animation-delay: 0s;
}

.card-1 .card-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.card-2 {
    top: 90px;
    right: 0;
    animation-delay: -1.5s;
}

.card-2 .card-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.card-3 {
    bottom: 80px;
    left: 20px;
    animation-delay: -3s;
}

.card-3 .card-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.card-4 {
    bottom: 10px;
    right: 20px;
    animation-delay: -4.5s;
}

.card-4 .card-icon {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* --- Section Styles --- */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.section-dark {
    background: rgba(0, 0, 0, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* --- Popular Products Grid --- */
.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.popular-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition-normal);
    overflow: hidden;
}

.popular-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: var(--transition-normal);
}

.popular-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.popular-card:hover::before {
    opacity: 1;
}

.popular-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(59, 130, 246, 0.04));
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.popular-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    position: relative;
}

.status-undetected {
    color: var(--green);
    background: var(--green-glow);
}

.status-updating {
    color: var(--yellow);
    background: var(--yellow-glow);
}

.popular-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    color: var(--accent-light);
    position: relative;
}

.popular-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.popular-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    position: relative;
}

.popular-price {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-light);
    position: relative;
}

/* --- Steps / How It Works --- */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    max-width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(124, 58, 237, 0.1);
    position: absolute;
    top: 16px;
    right: 20px;
}

.step-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px var(--accent-glow);
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    transition: var(--transition-fast);
}

.step-link:hover {
    color: var(--accent-secondary);
    gap: 10px;
}

.step-connector {
    display: flex;
    align-items: center;
    padding: 0 8px;
    padding-top: 60px;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.3;
}

.connector-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Changelog --- */
.changelog-container {
    text-align: center;
}

.changelog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    margin-bottom: 24px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.changelog-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Products Grid --- */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.filter-btn.active {
    color: white;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.product-card.hidden {
    display: none;
}

.product-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    width: fit-content;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.product-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    color: var(--accent-light);
    flex-shrink: 0;
}

.product-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-price {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Showcase Grid --- */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.showcase-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.showcase-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.showcase-card.showcase-soon {
    opacity: 0.5;
}

.showcase-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--accent-light);
    font-size: 1rem;
    flex-shrink: 0;
}

.showcase-info {
    flex: 1;
}

.showcase-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.showcase-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.showcase-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.showcase-card:hover .showcase-arrow {
    color: var(--accent-light);
    transform: translateX(4px);
}

/* --- Payments --- */
.payments-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.payments-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: sticky;
    top: 100px;
}

.payments-info-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px var(--accent-glow);
}

.payments-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.payments-info-card h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.payments-info-card > p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.payments-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-md);
}

.payments-notice > i {
    color: var(--blue);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.payments-notice strong {
    font-size: 0.85rem;
    display: block;
    margin-bottom: 4px;
}

.payments-notice p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.payments-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.payment-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.payment-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    color: var(--accent-light);
    flex-shrink: 0;
}

.payment-info {
    flex: 1;
}

.payment-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.payment-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.payment-tags {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.tag-global {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tag-auto {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.tag-manual {
    background: rgba(234, 179, 8, 0.1);
    color: var(--yellow);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.tag-turkey {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- Trust Section --- */
.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    padding: 20px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.trust-item:hover {
    border-color: var(--border-hover);
}

.trust-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.contact-icon.discord {
    background: rgba(88, 101, 242, 0.15);
    color: #5865f2;
}

.contact-icon.youtube {
    background: rgba(255, 0, 0, 0.12);
    color: #ff0000;
}

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    transition: var(--transition-fast);
}

.contact-link:hover {
    gap: 10px;
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    background: rgba(0, 0, 0, 0.4);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--accent-light);
    font-size: 1.4rem;
}

.footer-disclaimer {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 380px;
}

.footer-links-group h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-links-group a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 0;
    transition: var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--accent-light);
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-card-stack {
        width: 300px;
        height: 300px;
    }

    .payments-layout {
        grid-template-columns: 1fr;
    }

    .payments-info-card {
        position: static;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px 24px 40px;
        gap: 4px;
        z-index: 998;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 14px 16px;
    }

    .mobile-toggle {
        display: flex;
    }

    .logo-badge {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-card-stack {
        width: 250px;
        height: 250px;
    }

    .floating-card {
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .floating-card .card-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: 0;
    }

    .section {
        padding: 60px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .popular-grid {
        grid-template-columns: 1fr 1fr;
    }

    .payment-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .payment-tags {
        align-self: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .popular-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 58, 237, 0.5);
}

/* --- Selection --- */
::selection {
    background: rgba(124, 58, 237, 0.3);
    color: white;
}

/* ========== CHANGELOG ENTRIES (Dynamic) ========== */

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.changelog-entry {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px 28px;
    transition: all 0.3s ease;
}

.changelog-entry:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.changelog-entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.changelog-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: color-mix(in srgb, var(--badge-color, #a855f7) 15%, transparent);
    color: var(--badge-color, #a855f7);
    border: 1px solid color-mix(in srgb, var(--badge-color, #a855f7) 30%, transparent);
}

.changelog-type-badge i {
    font-size: 0.75rem;
}

.changelog-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.changelog-date-ago {
    color: rgba(255, 255, 255, 0.25);
}

.changelog-date-ago::before {
    content: '•';
    margin-right: 8px;
}

.changelog-entry-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.changelog-products {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(168, 85, 247, 0.7);
    margin-bottom: 10px;
    padding: 4px 10px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 8px;
}

.changelog-products i {
    font-size: 0.7rem;
}

.changelog-entry-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

.changelog-entry-body strong {
    color: rgba(255, 255, 255, 0.8);
}

.changelog-entry-body code {
    background: rgba(124, 58, 237, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #c084fc;
}

.changelog-entry-body .cl-bullet {
    color: rgba(255, 255, 255, 0.6);
}

.changelog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
}

/* Spinner for dynamic loading */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(124, 58, 237, 0.2);
    border-top-color: #a855f7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== API Connection Banner ========== */

.api-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 20, 50, 0.95);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.api-banner.show {
    opacity: 1;
    pointer-events: auto;
}

.api-banner.error {
    border-color: rgba(239, 68, 68, 0.4);
}

.api-banner.error i {
    color: #ef4444;
}

/* ========== Auth Modal ========== */

.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    background: linear-gradient(145deg, rgba(15, 15, 30, 0.98), rgba(10, 10, 20, 0.98));
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 20px;
    width: 420px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(124, 58, 237, 0.1);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.auth-overlay.active .auth-modal {
    transform: translateY(0) scale(1);
}

.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.auth-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 6px;
}

.auth-subtitle {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.auth-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.auth-tab.active {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
}

.auth-tab:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.06);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.auth-field label i {
    font-size: 0.75rem;
    color: var(--accent-secondary);
}

.auth-field input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.auth-field input:focus {
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.auth-field input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.auth-password-wrap {
    position: relative;
}

.auth-password-wrap input {
    padding-right: 44px;
}

.auth-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 4px 6px;
    font-size: 14px;
    transition: color 0.2s;
}

.auth-eye:hover {
    color: rgba(255, 255, 255, 0.8);
}

.auth-error {
    color: #ef4444;
    font-size: 0.82rem;
    min-height: 0;
    transition: all 0.2s;
    text-align: center;
}

.auth-error:not(:empty) {
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
}

.auth-submit {
    width: 100%;
    padding: 13px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth-footer a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ========== User Profile Button & Dropdown ========== */

.user-profile-btn {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    cursor: pointer;
    color: white;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.profile-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
}

.profile-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: white;
}

.profile-name {
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.2s;
}

.user-profile-btn.open .profile-arrow {
    transform: rotate(180deg);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: rgba(15, 15, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.user-profile-btn.open .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

.profile-dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.profile-dropdown-name {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    margin: 0;
}

.profile-dropdown-email {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 2px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 170px;
}

.profile-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.15s ease;
}

.profile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: white;
}

.profile-dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}

.profile-dropdown-item.logout {
    color: #ef4444;
}

.profile-dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ff6b6b;
}

/* ========== Auth Success Toast ========== */

.auth-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(15, 15, 30, 0.95);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-toast.show {
    transform: translateX(0);
}

.auth-toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.auth-toast-icon.success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.auth-toast-icon.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.auth-toast-text {
    color: white;
    font-size: 0.88rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .auth-modal {
        padding: 24px;
        margin: 12px;
    }
    .profile-name {
        display: none;
    }
    .profile-trigger {
        padding: 4px;
    }
    .profile-arrow {
        display: none;
    }
}

/* ========== Status Page ========== */

.status-page, .updates-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.status-header {
    text-align: center;
    margin-bottom: 40px;
}

.status-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 24px;
}

.status-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 16px 0 8px;
}

.status-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.status-global-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.status-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.status-filter-btn {
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.status-filter-btn:hover { background: rgba(255,255,255,0.06); color: white; }
.status-filter-btn.active { background: var(--accent-primary); color: white; border-color: var(--accent-primary); }

.status-list { display: flex; flex-direction: column; gap: 12px; }

.status-loading, .status-error {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.status-error i { font-size: 2rem; color: var(--red); }

.status-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s;
}

.status-item:hover { border-color: var(--border-hover); }

.status-item-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.status-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-item-left h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.status-category {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-item-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
}

.status-uptime {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.status-meta {
    display: flex;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.status-meta i { margin-right: 4px; }

.status-toggle {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.status-toggle:hover { background: rgba(255,255,255,0.05); color: white; }

.status-history {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid var(--border);
}

.status-item.expanded .status-history { max-height: 500px; }
.status-item.expanded .status-toggle i { transform: rotate(180deg); }

.status-timeline { padding: 16px 20px; }

.timeline-item {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    border-left: 2px solid rgba(255,255,255,0.06);
    padding-left: 16px;
    margin-left: 5px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -5px;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.82rem;
}

.timeline-status { font-weight: 600; }
.timeline-date { color: var(--text-muted); font-size: 0.75rem; }
.timeline-note { color: var(--text-secondary); font-style: italic; }

.status-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-footer a { color: var(--accent-light); text-decoration: none; }
.status-footer a:hover { text-decoration: underline; }

/* ========== Updates Page ========== */

.updates-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.updates-search {
    flex: 1;
    position: relative;
    min-width: 200px;
}

.updates-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.updates-search input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.updates-search input:focus { border-color: var(--accent-primary); }

.updates-filters select {
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
}

.updates-list { display: flex; flex-direction: column; gap: 16px; }

.update-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.2s;
}

.update-card:hover { border-color: var(--border-hover); }

.update-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.update-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
}

.update-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.update-ago {
    padding: 2px 8px;
    background: rgba(255,255,255,0.04);
    border-radius: 4px;
    font-size: 0.75rem;
}

.update-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin: 0 0 8px;
}

.update-products {
    font-size: 0.82rem;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.update-products i { margin-right: 6px; }

.update-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.update-body strong { color: white; }
.update-body code { background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 4px; font-size: 0.85em; }

.updates-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.updates-pagination button {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.updates-pagination button:hover:not(:disabled) { border-color: var(--accent-primary); background: var(--accent-primary); }
.updates-pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.updates-pagination span { font-size: 0.85rem; color: var(--text-muted); }

/* ========== Cart Sidebar ========== */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: rgba(10,10,20,0.98);
    border-left: 1px solid rgba(124,58,237,0.15);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.cart-overlay.active .cart-sidebar { transform: translateX(0); }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.cart-count {
    background: var(--accent-primary);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.cart-close {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.cart-close:hover { background: rgba(255,255,255,0.1); color: white; }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
}

.cart-empty i { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.3; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.cart-item:hover { border-color: rgba(255,255,255,0.12); }

.cart-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { font-size: 0.9rem; font-weight: 600; color: white; margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-plan { font-size: 0.78rem; color: var(--text-muted); text-transform: capitalize; }

.cart-item-price {
    font-weight: 700;
    color: var(--accent-light);
    font-size: 0.95rem;
    white-space: nowrap;
}

.cart-item-remove {
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.cart-item-remove:hover { color: var(--red); }

.cart-footer {
    border-top: 1px solid var(--border);
    padding: 20px 24px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total-label { font-size: 0.9rem; color: var(--text-secondary); }
.cart-total-price { font-size: 1.3rem; font-weight: 800; color: white; }

.cart-checkout {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-checkout:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(124,58,237,0.4); }

/* Cart button in navbar */
.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-primary);
}

/* ========== Status Glow Effects on Product Cards ========== */

.product-card[data-status="UNDETECTED"] { border-color: rgba(34,197,94,0.15); }
.product-card[data-status="UNDETECTED"]:hover { border-color: rgba(34,197,94,0.3); box-shadow: 0 0 30px rgba(34,197,94,0.08); }

.product-card[data-status="DETECTED"] { border-color: rgba(239,68,68,0.2); }
.product-card[data-status="DETECTED"]:hover { border-color: rgba(239,68,68,0.4); box-shadow: 0 0 30px rgba(239,68,68,0.1); }
.product-card[data-status="DETECTED"] .product-status { animation: pulse-red 2s infinite; }

.product-card[data-status="UPDATING"] { border-color: rgba(245,158,11,0.15); }
.product-card[data-status="UPDATING"]:hover { border-color: rgba(245,158,11,0.3); }
.product-card[data-status="UPDATING"] .product-status i { animation: spin 1.5s linear infinite; }

.product-card[data-status="MAINTENANCE"] { border-color: rgba(59,130,246,0.15); }
.product-card[data-status="MAINTENANCE"]:hover { border-color: rgba(59,130,246,0.3); }

.product-card[data-status="DISCONTINUED"] { opacity: 0.6; }

@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ========== Maintenance Banner ========== */

.maintenance-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 12px 24px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #000;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.maintenance-banner i {
    margin-right: 8px;
}

body:has(.maintenance-banner) .navbar {
    top: 44px;
}

/* ========== Featured Tag ========== */

.featured-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #000;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    z-index: 2;
}

/* ========== Add to Cart Button on Product Cards ========== */

.product-cart-btn {
    margin-top: 8px;
    width: 100%;
    padding: 8px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 8px;
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.product-cart-btn:hover { background: var(--accent-primary); color: white; border-color: var(--accent-primary); }

/* ========== About Section ========== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}
.about-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(124,58,237,0.3);
    transform: translateY(-2px);
}
.about-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(168,85,247,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}
.about-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
}
.about-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin: 0;
}
.about-stats-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 100px;
}
.about-stat-block {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 22px 24px;
    text-align: center;
    transition: all 0.3s ease;
}
.about-stat-block:hover {
    border-color: rgba(124,58,237,0.3);
    background: rgba(124,58,237,0.05);
}
.about-stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.about-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .about-layout { grid-template-columns: 1fr; }
    .about-stats-col { flex-direction: row; flex-wrap: wrap; position: static; }
    .about-stat-block { flex: 1; min-width: 120px; }
}
@media (max-width: 600px) {
    .about-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .cart-sidebar { width: 100%; }
    .status-item-main { flex-direction: column; align-items: flex-start; }
    .status-item-right { flex-wrap: wrap; }
    .updates-toolbar { flex-direction: column; }
}
