:root {
    --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bg-deep: #020408;
    --bg-gradient-start: #0a101f;
    --bg-gradient-end: #000000;
    --glass-surface: rgba(255, 255, 255, 0.03);
    --glass-surface-mobile: #0a101f;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --brand-primary: #2997ff;
    --brand-glow: rgba(41, 151, 255, 0.6);
    --brand-accent: #ff6b00;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.65);
    --success: #32d74b;
    --danger: #ff453a;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --shadow-ambient: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(41, 151, 255, 0.2);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.light-theme {
    --bg-deep: #f2f4f8;
    --bg-gradient-start: #ffffff;
    --bg-gradient-end: #dfe3eb;
    --glass-surface: rgba(255, 255, 255, 0.85);
    --glass-surface-mobile: #ffffff;
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-highlight: rgba(255, 255, 255, 1);
    --brand-primary: #007aff;
    --brand-glow: rgba(0, 122, 255, 0.3);
    --text-main: #1a1a1c;
    --text-muted: rgba(60, 60, 67, 0.7);
    --shadow-ambient: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-family);
    background: radial-gradient(circle at top center, var(--bg-gradient-start), var(--bg-gradient-end));
    background-attachment: fixed;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.5s ease, color 0.5s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    height: 64px;
    z-index: 1000;
    background: var(--glass-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s var(--ease-out), background 0.3s ease;
    will-change: transform;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 24px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand-primary);
    text-shadow: none;
    background: none;
    -webkit-text-fill-color: initial;
}

.menu_links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.menu_links .link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
}

.menu_links .link:hover {
    color: var(--text-main);
}

.menu_links .link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transform: translateX(-50%);
    transition: width 0.3s var(--ease-out);
    border-radius: 2px;
}

.menu_links .link:hover::after {
    width: 100%;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    text-align: center;
    contain: layout; 
}

.hero-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible; 
}

.hero-blobs .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    will-change: transform;
    animation: float 10s infinite alternate ease-in-out;
}

.hero-blobs .blob:nth-child(1) {
    width: 500px;
    height: 500px;
    background: var(--brand-primary);
    top: -10%;
    left: -10%;
}

.hero-blobs .blob:nth-child(2) {
    width: 500px;
    height: 500px;
    background: #6e00ff;
    bottom: -10%;
    right: -5%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(40px, 60px, 0) scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, var(--text-main) 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    transform: translate3d(0,0,0);
}

body.light-theme .hero-title {
    background: linear-gradient(180deg, #1d1d1f 0%, #6e6e73 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 500px;
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}

.upload-form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: transform 0.3s var(--ease-out), background-color 0.3s, border-color 0.3s;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 2px dashed transparent;
    will-change: transform;
}

.upload-form.is-dragover {
    border-color: var(--brand-primary);
    background: rgba(41, 151, 255, 0.08);
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(41, 151, 255, 0.1);
}

.drop-message {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-deep);
    background: rgba(2, 4, 8, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    gap: 10px;
    transform: translateY(10px);
}

.upload-form.is-dragover .drop-message {
    opacity: 0.95;
    transform: translateY(0);
}

.drop-message i {
    font-size: 40px;
    color: var(--brand-primary);
}

.drop-message span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
}

input[type="file"] {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out), background-color 0.3s, box-shadow 0.3s;
    text-decoration: none;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-secondary {
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (hover: hover) {
    .btn-secondary:hover {
        background: var(--glass-highlight);
        border-color: var(--brand-primary);
        box-shadow: 0 0 25px rgba(41, 151, 255, 0.3);
    }
    .btn-secondary:hover i {
        transform: rotate(90deg);
    }
    .btn-primary:hover {
        background: #1a88ff;
        transform: translateY(-2px);
        box-shadow: 0 15px 30px -5px var(--brand-glow);
    }
}

.btn-secondary:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 10px 20px -5px var(--brand-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    will-change: transform, opacity;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--glass-border);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 16px;
    display: none;
}

.progress-bar-inner {
    height: 100%;
    background: var(--brand-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

#photoDisplay {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-ambient);
    border: 1px solid var(--glass-border);
    display: none;
    margin-top: 40px;
    transform: translate3d(0,0,0);
}

#photoDisplay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.overlay-text {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.nav-btn.prev { left: 20px; }
.nav-btn.next { right: 20px; }

/* --- ИЗМЕНЕННЫЙ БЛОК: КОНТЕЙНЕР СЕКЦИЙ --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 24px;
    content-visibility: auto; 
    contain-intrinsic-size: 500px;
    position: relative; /* Добавлено */
    z-index: 1;        /* Поднимаем над сферами, чтобы они уходили "под" фон */
}
/* ------------------------------------------ */

.section {
    background: var(--glass-surface);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 60px;
    position: relative;
    box-shadow: 0 4px 24px -1px rgba(0,0,0,0.05);
    transform: translate3d(0,0,0);
}

.section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-title i {
    color: var(--brand-primary);
    margin-right: 12px;
}

#info-section-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.section-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.highlight {
    color: var(--brand-primary);
    font-weight: 600;
}

#info-section-visual {
    font-size: 180px;
    color: var(--brand-primary);
    opacity: 0.1;
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 0 30px var(--brand-primary));
}

.sub-section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 60px 0 32px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s var(--ease-out), background-color 0.3s;
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

@media (hover: hover) {
    .stat-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.05);
    }
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.info-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-muted);
    transition: color 0.2s, background-color 0.2s;
    background: rgba(255,255,255,0.03);
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.contact-item:hover {
    color: var(--brand-primary);
    background: rgba(41, 151, 255, 0.1);
    border-color: rgba(41, 151, 255, 0.2);
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
}

@media (hover: hover) {
    .pricing-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        border-color: rgba(255,255,255,0.2);
    }
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 14px;
}

.price-new {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin: 4px 0;
    background: linear-gradient(90deg, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-info {
    color: var(--success);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.pricing-card hr {
    border: none;
    height: 1px;
    background: var(--glass-border);
    margin: 24px 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.features-list li i {
    margin-top: 4px;
}

.features-list li i.fa-check { color: var(--success); }
.features-list li i.fa-times { color: var(--text-muted); opacity: 0.5; }

.tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b00, #ff2e63);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 46, 99, 0.4);
}

.pricing-card.recommended {
    border: 1px solid var(--brand-primary);
    box-shadow: 0 0 30px rgba(41, 151, 255, 0.15);
    background: linear-gradient(180deg, rgba(41, 151, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.btn-order {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    background: var(--brand-accent);
    color: white;
    border-radius: 14px;
    font-weight: 700;
    margin-top: auto;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-order:hover {
    transform: scale(1.02);
    background: #ff7d25;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    content-visibility: auto;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: background-color 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-question i {
    transition: transform 0.3s var(--ease-bounce);
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--brand-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
    will-change: max-height;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer {
    padding: 80px 24px 40px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
    content-visibility: auto;
}

.footer-legal {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-legal a {
    color: var(--text-main);
}

.theme-switcher {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    color: var(--text-main);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s, color 0.2s;
}

.theme-switcher:hover {
    transform: scale(1.1);
    color: var(--brand-primary);
}

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2000;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.is-visible {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-deep);
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-ambient);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s var(--ease-bounce);
}

.modal.is-visible .modal-content {
    transform: scale(1);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-main);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-muted);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    cursor: pointer;
}

#agreeCheckbox {
    width: 20px;
    height: 20px;
    accent-color: var(--brand-primary);
}

.modal-btn {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: var(--brand-primary);
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s;
}

.modal-btn:not(:disabled) {
    opacity: 1;
    pointer-events: all;
}

@media (min-width: 769px) {
    .btn-secondary.ripple-btn {
         animation: buttonBreath 4s infinite ease-in-out;
    }
}

@keyframes buttonBreath {
    0%, 100% { box-shadow: 0 0 0px rgba(41, 151, 255, 0); }
    50% { box-shadow: 0 0 20px rgba(41, 151, 255, 0.2); }
}

.btn-secondary.ripple-btn:hover {
    background: var(--text-main);
    color: var(--bg-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.btn-secondary.ripple-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.btn-secondary.ripple-btn:hover::before {
    left: 100%;
}

.btn-primary.pulse-btn {
    overflow: hidden;
}

.btn-primary.pulse-btn i {
    transition: transform 0.3s var(--ease-bounce);
}

.btn-primary.pulse-btn:hover i {
    transform: translateY(-3px) scale(1.2);
}

.btn-primary.pulse-btn:active {
    transform: scale(0.95);
    filter: brightness(1.2);
}

#auth-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--glass-surface-mobile);
    border: 1px solid var(--glass-border);
    border-left: 5px solid var(--brand-glow); 
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-ambient);
    max-width: 320px;
    z-index: 1500;
    font-family: var(--font-family);
    animation: popUp .5s ease-out;
    will-change: transform, opacity;
}

@media (min-width: 769px) {
    #auth-popup {
        background: rgba(2, 4, 8, 0.6);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

@keyframes popUp {
    from { opacity: 0; transform: translateY(20px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-popup-close {
    position: absolute;
    top: 10px; right: 10px;
    width: 28px; height: 28px;
    background: rgba(255,255,255,.1);
    color: var(--text-muted);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease, transform .2s ease, color .2s ease;
}

.auth-popup-close:hover {
    background-color: rgba(255,255,255,.2);
    color: var(--text-main);
    transform: rotate(90deg);
}

.auth-popup-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--brand-glow);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color .3s ease, transform .2s ease, box-shadow .3s ease;
}

.auth-popup-btn:hover {
    background: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.hero-subtitle.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

@media (max-width: 768px) {
    body {
        background: var(--bg-deep) !important;
        background-attachment: scroll !important;
        background-image: none !important;
    }
    
    .hero-blobs {
        display: none !important;
    }

    .header,
    .section,
    .btn-secondary,
    .pricing-card,
    .faq-item,
    .theme-switcher,
    .modal-content,
    .drop-message,
    .nav-btn,
    .overlay-text {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--glass-surface-mobile);
        border: 1px solid rgba(255,255,255,0.08);
        box-shadow: none;
    }
    
    .hero-section { 
        padding-top: 140px; 
    }
    
    .hero-title { 
        font-size: 36px; 
    }
    
    .section { 
        padding: 32px 20px; 
    }
    
    .pricing-container { 
        grid-template-columns: 1fr; 
    }
    
    .stats-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 5px;
    }

    .stat-card {
        padding: 12px 2px;
        width: 100%;
    }
    
    .stat-card h3 {
        font-size: 0.9rem;
        letter-spacing: -0.5px;
        white-space: nowrap;
    }
    
    .upload-form.is-dragover {
        transform: none;
        animation: none;
    }
    
    .btn-secondary.ripple-btn {
        animation: none;
    }
    
    .btn-secondary.ripple-btn:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 12px 8px;
    }
    
    .stat-card h3 {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 32px;
    }
}