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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-hover: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-icon {
    flex-shrink: 0;
    height: 50px;
    width: auto;
    max-width: 80px;
    display: block;
}

.footer-logo .logo-icon {
    height: 40px;
    width: auto;
    max-width: 60px;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background-clip: text;
}

.brand-name {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.brand-chatting,
.brand-fans {
    color: #10b981;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: transparent;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px 2px 0 0;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    opacity: 1;
}

.nav-menu a:hover::after {
    width: 80%;
}

.language-selector {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.language-selector:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
}

/* ===== Custom language switcher (modern dropdown) ===== */
.lang-native-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.lang-switch {
    position: relative;
    display: inline-flex;
}

.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    color: #e7e9f5;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.18));
    border: 1px solid rgba(129, 140, 248, 0.35);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.lang-switch-btn .lang-globe { color: var(--primary-light); flex-shrink: 0; }

.lang-switch-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(129, 140, 248, 0.7);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.32);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(139, 92, 246, 0.28));
}

.lang-chevron {
    transition: transform 0.25s ease;
    opacity: 0.85;
}

.lang-switch.open .lang-chevron { transform: rotate(180deg); }

.lang-switch.open .lang-switch-btn {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.lang-switch-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    padding: 0.4rem;
    border-radius: 14px;
    background: linear-gradient(160deg, #1b2138 0%, #161b2e 100%);
    border: 1px solid rgba(129, 140, 248, 0.28);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1200;
}

.lang-switch.open .lang-switch-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.lang-switch-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.6rem 0.7rem;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: #cdd3e8;
    text-align: left;
    transition: background 0.18s ease, color 0.18s ease;
}

.lang-switch-item .lang-flag { font-size: 1.15rem; line-height: 1; width: 1.4rem; text-align: center; }
.lang-switch-item .lang-name { flex: 1; }
.lang-switch-item .lang-code { font-size: 0.72rem; font-weight: 700; opacity: 0.55; letter-spacing: 0.05em; }
.lang-switch-item .lang-check { color: var(--primary-light); opacity: 0; flex-shrink: 0; }

.lang-switch-item:hover {
    background: rgba(99, 102, 241, 0.16);
    color: #fff;
}

.lang-switch-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(139, 92, 246, 0.22));
    color: #fff;
}

.lang-switch-item.active .lang-check { opacity: 1; }
.lang-switch-item.active .lang-code { opacity: 0.85; color: var(--primary-light); }

@media (max-width: 768px) {
    .lang-switch-menu { right: auto; left: 0; transform-origin: top left; }
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--text-dark);
    width: 40px;
    height: 40px;
}

.dark-mode-toggle:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
    color: var(--primary-color);
    transform: scale(1.05);
}

.dark-mode-toggle .dark-mode-emoji {
    font-size: 20px;
    line-height: 1;
    display: block;
    transition: transform 0.3s ease;
}

.dark-mode-toggle:hover .dark-mode-emoji {
    transform: scale(1.2) rotate(15deg);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-dark: #f1f5f9;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    --text-lighter: #64748b;
    --bg-light: #1e293b;
    --bg-white: #0f172a;
    --bg-dark: #020617;
    --border-color: #334155;
    --border-light: #1e293b;
}

[data-theme="dark"] body {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(51, 65, 85, 0.8);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .language-selector,
[data-theme="dark"] .dark-mode-toggle {
    background: var(--bg-light);
    border-color: var(--border-color);
    color: var(--text-dark);
}

[data-theme="dark"] .language-selector:hover,
[data-theme="dark"] .dark-mode-toggle:hover {
    background: #334155;
    border-color: var(--primary-color);
}

[data-theme="dark"] .nav-menu a {
    color: var(--text-medium);
}

[data-theme="dark"] .nav-menu a:hover {
    color: var(--primary-light);
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .advantage-card,
[data-theme="dark"] .trust-item,
[data-theme="dark"] .integration-item {
    background: var(--bg-light);
    border-color: var(--border-color);
    color: var(--text-dark);
}

[data-theme="dark"] .section-header h2,
[data-theme="dark"] .section-header p,
[data-theme="dark"] .feature-card h3,
[data-theme="dark"] .pricing-card h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .feature-card p,
[data-theme="dark"] .pricing-card p,
[data-theme="dark"] .testimonial-card p {
    color: var(--text-medium);
}

[data-theme="dark"] .hero h1,
[data-theme="dark"] .hero .hero-subtitle {
    color: var(--text-dark);
}

[data-theme="dark"] .footer {
    background: var(--bg-light);
    border-top-color: var(--border-color);
}

[data-theme="dark"] .footer p,
[data-theme="dark"] .footer a {
    color: var(--text-medium);
}

[data-theme="dark"] .footer a:hover {
    color: var(--primary-light);
}

[data-theme="dark"] .auth-card {
    background: var(--bg-light);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select {
    background: #ffffff;
    border-color: var(--border-color);
    color: #000000;
}

[data-theme="dark"] .form-group label {
    color: var(--text-dark);
}

[data-theme="dark"] .input-icon {
    color: var(--text-medium);
}

[data-theme="dark"] .integration-item {
    background: var(--bg-light);
    border-color: var(--border-color);
}

[data-theme="dark"] .integration-item:hover {
    background: linear-gradient(to bottom, var(--bg-light), rgba(99, 102, 241, 0.1));
    border-color: var(--primary-color);
}

[data-theme="dark"] .integration-item h4 {
    color: var(--text-dark);
}

[data-theme="dark"] .integration-item p {
    color: var(--text-medium);
}

/* Dark mode for download page */
[data-theme="dark"] .download-main-section {
    background: var(--bg-white);
}

[data-theme="dark"] .download-card-new {
    background: var(--bg-light);
    border-color: var(--border-color);
}

[data-theme="dark"] .download-card-new h3,
[data-theme="dark"] .download-card-new .version-text,
[data-theme="dark"] .download-card-new .description-text {
    color: var(--text-dark);
}

[data-theme="dark"] .download-card-new .size-text,
[data-theme="dark"] .download-card-new .requirement-text {
    color: var(--text-medium);
}

[data-theme="dark"] .download-btn-new {
    background: var(--gradient);
    color: white;
}

[data-theme="dark"] .download-hero-section {
    background: var(--bg-white);
}

[data-theme="dark"] .download-hero-section h1,
[data-theme="dark"] .download-hero-section p {
    color: var(--text-dark);
}

[data-theme="dark"] .download-hero-new {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-dark) 100%);
}

[data-theme="dark"] .download-hero-background .orb-1 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    opacity: 0.3;
}

[data-theme="dark"] .download-hero-background .orb-2 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent);
    opacity: 0.3;
}

[data-theme="dark"] .download-hero-background .orb-3 {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2), transparent);
    opacity: 0.3;
}

[data-theme="dark"] .download-title-new,
[data-theme="dark"] .download-subtitle-new {
    color: var(--text-dark);
}

[data-theme="dark"] .download-hero-content-new {
    color: var(--text-dark);
}

[data-theme="dark"] .download-badge-new {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--primary-light);
}

[data-theme="dark"] .download-stats-section {
    border-top-color: var(--border-color);
}

[data-theme="dark"] .download-stat-new {
    background: var(--bg-light);
    border-color: var(--border-color);
}

[data-theme="dark"] .download-stat-new .stat-number-new,
[data-theme="dark"] .download-stat-new .stat-label-new {
    color: var(--text-dark);
}

[data-theme="dark"] .platform-info h2,
[data-theme="dark"] .version-text,
[data-theme="dark"] .description-text {
    color: var(--text-dark);
}

[data-theme="dark"] .size-text,
[data-theme="dark"] .requirement-text,
[data-theme="dark"] .compatibility-info span {
    color: var(--text-medium);
}

[data-theme="dark"] .requirements-box {
    background: var(--bg-white);
}

[data-theme="dark"] .requirements-box h4 {
    color: var(--text-dark);
}

[data-theme="dark"] .download-info {
    background: var(--bg-light);
}

[data-theme="dark"] .file-size {
    color: var(--text-dark);
}

[data-theme="dark"] .why-download-new {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

[data-theme="dark"] .section-header-new h2,
[data-theme="dark"] .section-header-new p {
    color: var(--text-dark);
}

[data-theme="dark"] .advantage-card-new {
    background: var(--bg-light);
    border-color: var(--border-color);
}

[data-theme="dark"] .advantage-card-new h3,
[data-theme="dark"] .advantage-card-new p {
    color: var(--text-dark);
}

[data-theme="dark"] .installation-steps {
    background: var(--bg-white);
}

[data-theme="dark"] .step-card-new {
    background: var(--bg-light);
    border-color: var(--border-color);
}

[data-theme="dark"] .step-card-new h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .step-card-new p {
    color: var(--text-medium);
}

[data-theme="dark"] .section-header-new h2,
[data-theme="dark"] .section-header-new p {
    color: var(--text-dark);
}

/* ----- Animated nav CTA buttons (Sign Up / Download) ----- */
@keyframes navBtnFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

@keyframes navBtnShine {
    0%, 55% { left: -130%; }
    100% { left: 130%; }
}

.btn-download-highlight {
    background: linear-gradient(120deg, #6366f1, #8b5cf6, #ec4899, #8b5cf6, #6366f1);
    background-size: 220% 100%;
    animation: navBtnFlow 6s linear infinite;
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-download-highlight * {
    color: white !important;
    position: relative;
    z-index: 1;
}

.btn-download-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    animation: navBtnShine 4.5s ease-in-out infinite;
    z-index: 0;
}

.btn-download-highlight:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    filter: brightness(1.12) saturate(1.15);
}

.btn-download-highlight:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.45);
    filter: brightness(0.97);
}

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

.btn-login {
    background: linear-gradient(120deg, #10b981, #06b6d4, #22c55e, #06b6d4, #10b981);
    background-size: 220% 100%;
    animation: navBtnFlow 6s linear infinite;
    animation-delay: -3s;
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-login * {
    color: white !important;
    position: relative;
    z-index: 1;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    animation: navBtnShine 4.5s ease-in-out infinite;
    animation-delay: -2.2s;
    z-index: 0;
}

.btn-login:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    filter: brightness(1.12) saturate(1.15);
}

.btn-login:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.45);
    filter: brightness(0.97);
}

.btn-telegram-support {
    background: linear-gradient(135deg, #29a9ea 0%, #1e93d6 55%, #1786c6 100%);
    color: #ffffff !important;
    padding: 0.52rem 1.17rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.01em;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(41, 169, 234, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.32);
    position: relative;
    overflow: hidden;
}

/* Brillo sutil tipo cristal en la mitad superior */
.btn-telegram-support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.btn-telegram-support span {
    position: relative;
    z-index: 1;
}

.btn-telegram-support .tg-logo {
    flex-shrink: 0;
    display: block;
    width: 17px;
    height: 17px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}

.btn-telegram-support:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 26px rgba(41, 169, 234, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.38);
    filter: brightness(1.07) saturate(1.05);
}

.btn-telegram-support:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(41, 169, 234, 0.4);
    filter: brightness(0.98);
}

.btn-telegram-support::after {
    display: none;
}

[data-theme="dark"] .btn-telegram-support {
    background: linear-gradient(135deg, #29a9ea 0%, #1e93d6 55%, #1786c6 100%);
    box-shadow: 0 4px 16px rgba(41, 169, 234, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .btn-telegram-support:hover {
    box-shadow: 0 9px 26px rgba(41, 169, 234, 0.64), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.btn-primary {
    background: var(--gradient);
    background-size: 200% 200%;
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px 0 rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

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

.btn-primary > span,
.btn-primary > svg,
.btn-primary > * {
    position: relative;
    z-index: 1;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px 0 rgba(99, 102, 241, 0.4);
    background-position: 100% 0;
}

.btn-primary.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary.white {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary.white:hover {
    background: var(--bg-light);
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.15);
}

/* Dark buttons with white text */
.btn-primary.dark,
.btn-secondary.dark {
    background: var(--bg-dark);
    color: white;
    border-color: var(--bg-dark);
}

.btn-primary.dark:hover,
.btn-secondary.dark:hover {
    background: #1e293b;
    color: white;
    border-color: #1e293b;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    display: none;
}

.btn-secondary span,
.btn-secondary svg,
.btn-secondary > * {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.btn-secondary:hover {
    color: #fff !important;
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px 0 rgba(99, 102, 241, 0.45);
}

.btn-secondary:hover span,
.btn-secondary:hover svg,
.btn-secondary:hover > * {
    color: #fff !important;
}

.btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

[data-theme="dark"] .btn-secondary {
    background: transparent;
    color: var(--primary-light);
    border-color: var(--primary-light);
}

[data-theme="dark"] .btn-secondary:hover {
    color: #fff !important;
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 8px 22px 0 rgba(99, 102, 241, 0.45);
}

[data-theme="dark"] .btn-secondary span,
[data-theme="dark"] .btn-secondary svg {
    color: inherit;
}

.full-width {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

/* Hero Section */
.hero {
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366f1, transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ec4899, transparent);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    line-height: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Dashboard Preview */
.hero-image {
    position: relative;
}

.dashboard-preview {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-dots {
    display: flex;
    gap: 0.5rem;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.dashboard-dots span:nth-child(1) {
    background: #ef4444;
}

.dashboard-dots span:nth-child(2) {
    background: #f59e0b;
}

.dashboard-dots span:nth-child(3) {
    background: #10b981;
}

.dashboard-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.dashboard-content {
    display: flex;
    height: 500px;
}

.chat-sidebar {
    width: 280px;
    background: var(--bg-light);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    padding: 1rem;
}

.chat-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.chat-item:hover {
    background: white;
}

.chat-item.active {
    background: white;
    box-shadow: var(--shadow-sm);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

.chat-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.chat-preview {
    font-size: 0.75rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-time {
    font-size: 0.75rem;
    color: var(--text-lighter);
    white-space: nowrap;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    max-width: 80%;
}

.chat-message.incoming {
    align-self: flex-start;
}

.chat-message.outgoing {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.message-bubble {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    border-radius: 16px;
    position: relative;
}

.chat-message.outgoing .message-bubble {
    background: var(--gradient);
    color: white;
}

.message-content {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
}

.chat-input-area {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
}

.chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.chat-send-btn:hover {
    transform: scale(1.1);
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 1000px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.2),
                0 0 0 1px rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, white, rgba(99, 102, 241, 0.02));
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.feature-icon {
    position: relative;
}

.feature-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--warning-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.feature-badge-inline {
    display: inline-block;
    background: var(--warning-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.community-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.community-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.community-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-per-creator {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* How It Works */
.how-it-works {
    padding: 8rem 0;
    background: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.step p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Pricing */
.pricing {
    padding: 8rem 0;
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 24px 48px -12px rgba(99, 102, 241, 0.25);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

.pricing-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    padding: 0.875rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    flex-shrink: 0;
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    transform: scaleY(0);
    transition: transform 0.4s;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px -8px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: #fbbf24;
    color: #fbbf24;
}

.testimonial-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* ===== Testimonials polish (real & premium look) ===== */
.testimonial-card {
    display: flex;
    flex-direction: column;
}

/* decorative quote mark */
.testimonial-card::after {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 5.5rem;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.12;
    pointer-events: none;
}

.testimonial-stars {
    align-items: center;
}

/* "5.0" rating value next to the stars */
.testimonial-stars::after {
    content: '5.0';
    margin-left: 0.5rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fbbf24;
    letter-spacing: 0.02em;
}

.testimonial-card p {
    flex: 1;
}

/* Avatar initials */
.author-avatar {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

.avatar-pink { background: linear-gradient(135deg, #ec4899, #d946ef); box-shadow: 0 6px 16px rgba(236, 72, 153, 0.4); }
.avatar-blue { background: linear-gradient(135deg, #3b82f6, #6366f1); box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4); }
.avatar-purple { background: linear-gradient(135deg, #8b5cf6, #a855f7); box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4); }

/* Verified badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.verified-badge svg { display: block; }

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta .container,
.pricing .container,
.testimonials .container,
.features .container {
    max-width: 1600px;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-section {
    min-width: 0;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
        text-align: center;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-logo {
        justify-content: flex-start;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
    font-size: 0.95rem;
    white-space: nowrap;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Auth Pages */
.auth-page {
    background: var(--bg-light);
    min-height: 100vh;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 3rem 0;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    align-items: center;
}

/* Dashboard Preview Section */
.dashboard-preview-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview-card {
    width: 100%;
    max-width: 600px;
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
}

.dashboard-preview-header {
    background: #1a1a1a;
    padding: 1.5rem;
    border-bottom: 1px solid #2a2a2a;
}

.dashboard-logo-placeholder {
    width: 120px;
    height: 32px;
    background: #2a2a2a;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.dashboard-nav-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-item-placeholder {
    width: 100%;
    height: 40px;
    background: #2a2a2a;
    border-radius: 8px;
}

.dashboard-preview-content {
    background: #1f1f1f;
    padding: 3rem 2rem;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-preview-card {
    width: 100%;
    max-width: 400px;
    background: #252525;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid #2a2a2a;
}

.preview-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
}

.preview-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    text-align: center;
}

.preview-form-group {
    margin-bottom: 1.5rem;
}

.preview-label {
    display: block;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.preview-input-wrapper {
    position: relative;
}

.preview-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.preview-input:focus {
    border-color: #6366f1;
}

.preview-eye-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.preview-login-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: background 0.2s;
}

.preview-login-btn:hover {
    background: #4f46e5;
}

.preview-links {
    text-align: center;
}

.preview-links p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.preview-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.preview-link:hover {
    text-decoration: underline;
}

.dashboard-preview-footer {
    background: #1a1a1a;
    padding: 1rem;
    border-top: 1px solid #2a2a2a;
    display: flex;
    justify-content: flex-end;
}

.report-bug-btn {
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transition: background 0.2s;
}

.report-bug-btn:hover {
    background: #4f46e5;
}

.auth-card {
    background: white;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--border-color);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-card h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

.auth-subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    pointer-events: none;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
    background: white;
    color: var(--text-dark);
}

/* La flecha desplegable solo en el <select>, no en los inputs de texto */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
    cursor: pointer;
}

/* Hueco a la derecha para el botón de ver contraseña */
.form-group input[type="password"] {
    padding-right: 3rem;
}

/* Remove password placeholder dots */
.form-group input[type="password"]::placeholder {
    color: transparent;
    opacity: 0;
}

.form-group input[type="password"]:placeholder-shown {
    color: var(--text-dark);
}

[data-theme="dark"] .form-group input[type="password"]::placeholder {
    color: transparent;
    opacity: 0;
}

[data-theme="dark"] .form-group input[type="password"]:placeholder-shown {
    color: #000000;
}

[data-theme="dark"] .form-group input[type="text"],
[data-theme="dark"] .form-group input[type="email"],
[data-theme="dark"] .form-group input[type="password"] {
    color: #000000;
}

[data-theme="dark"] .form-group select {
    color: #000000;
}

.form-group select {
    padding-left: 3rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group select:hover {
    border-color: var(--primary-color);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 10;
    pointer-events: auto;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.password-toggle:focus {
    outline: none;
    color: var(--primary-color);
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.btn-google:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.auth-footer {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Legal Pages */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 24px;
}

.legal-content {
    background: var(--bg-light);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .legal-content {
    background: var(--bg-light);
    border-color: var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.legal-section h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-intro {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-left: 3px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
}

.legal-section li::marker {
    color: var(--primary-color);
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.last-updated {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 0.95rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

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

    /* Navbar más compacta en móvil para que el panel no quede tapado.
       Se elimina backdrop-filter porque crea un containing block que
       atrapaba el menú position:fixed y lo recortaba a la altura del navbar. */
    .navbar {
        padding: 0.7rem 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    [data-theme="dark"] .navbar,
    [data-theme="dark"] .navbar.scrolled {
        background: rgba(15, 23, 42, 0.98);
    }
    .navbar .logo-icon {
        height: 46px !important;
        width: auto !important;
        max-width: 56px;
    }
    .logo-text {
        font-size: 1.15rem;
    }

    .hero {
        padding: 4rem 0 6rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid,
    .pricing-grid,
    .testimonials-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 2.5rem 2rem;
    }

    .auth-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dashboard-preview-section {
        order: 2;
    }

    .auth-card {
        order: 1;
    }

    .dashboard-preview-card {
        max-width: 100%;
    }

    .legal-content {
        padding: 2.5rem 2rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .dashboard-content {
        flex-direction: column;
        height: auto;
    }

    .chat-sidebar {
        width: 100%;
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Download Section */
.download {
    padding: 8rem 0;
    background: var(--bg-white);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
}

.download-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.download-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.download-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.download-version {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.download-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.download-specs {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    padding: 0;
}

.download-specs li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.download-specs li:last-child {
    border-bottom: none;
}

.download-size {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.download-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    text-align: left;
}

.download-note p {
    color: var(--text-medium);
    line-height: 1.8;
    margin: 0;
}

.download-note strong {
    color: var(--text-dark);
}

/* Dark mode styles for download section */
[data-theme="dark"] .download-card {
    background: var(--bg-light);
    border-color: var(--border-color);
}

[data-theme="dark"] .download-card h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .download-card .download-version,
[data-theme="dark"] .download-card .download-description,
[data-theme="dark"] .download-card .download-size {
    color: var(--text-medium);
}

[data-theme="dark"] .download-card .download-specs li {
    color: var(--text-medium);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .download-note {
    background: rgba(99, 102, 241, 0.1);
    border-left-color: var(--primary-color);
}

[data-theme="dark"] .download-note p {
    color: var(--text-medium);
}

[data-theme="dark"] .download-note strong {
    color: var(--text-dark);
}

/* Auth Warning */
.auth-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.auth-warning svg {
    color: var(--warning-color);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.auth-warning span {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Download Page Styles - Redesigned */
.download-hero-new {
    padding: 8rem 0 6rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.download-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.download-hero-background .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 25s ease-in-out infinite;
}

.download-hero-background .orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6366f1, transparent);
    top: -300px;
    left: -200px;
    animation-delay: 0s;
}

.download-hero-background .orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    bottom: -200px;
    right: -150px;
    animation-delay: 8s;
}

.download-hero-background .orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ec4899, transparent);
    top: 30%;
    right: 10%;
    animation-delay: 15s;
}

.download-hero-content-new {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.download-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.badge-icon-new {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.download-title-new {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.download-subtitle-new {
    font-size: 1.35rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.download-stats-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid var(--border-color);
}

.download-stats-new {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.download-stat-new {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    min-width: 180px;
}

.download-stat-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.stat-icon-new {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 16px;
}

.stat-info {
    text-align: left;
}

.stat-number-new {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label-new {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Main Download Cards */
.download-main-section {
    padding: 2rem 0 6rem;
    background: var(--bg-white);
    position: relative;
}

.download-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.download-card-new {
    background: white;
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.download-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.5s;
}

.download-card-new:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
    border-color: var(--primary-color);
}

.download-card-new:hover::before {
    transform: scaleX(1);
}

.windows-card:hover {
    box-shadow: 0 20px 60px rgba(0, 120, 212, 0.25);
}

.macos-card:hover {
    box-shadow: 0 20px 60px rgba(102, 102, 102, 0.25);
}

.download-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
}

.platform-icon-wrapper {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 24px;
    transition: transform 0.3s;
}

.download-card-new:hover .platform-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.platform-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.version-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.download-card-body {
    margin-bottom: 2.5rem;
}

.compatibility-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.compatibility-info span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.requirements-box {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.requirements-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.requirements-list-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list-new li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-medium);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
}

.requirements-list-new li:last-child {
    border-bottom: none;
}

.download-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.file-size {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.file-type {
    padding: 0.4rem 0.75rem;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.download-btn-new {
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--gradient);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn-new .btn-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.download-btn-new .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
    z-index: 1;
    pointer-events: none;
}

.download-btn-new:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.download-btn-new:hover .btn-shine {
    left: 100%;
}

.download-btn-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
    background-position: 100% 0;
}

.download-btn-new:active {
    transform: translateY(-1px);
}

.windows-btn {
    background: linear-gradient(135deg, #0078D4 0%, #005A9E 50%, #003a6e 100%);
    background-size: 200% 200%;
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.35);
}

.windows-btn:hover {
    background-position: right center;
    box-shadow: 0 12px 35px rgba(0, 120, 212, 0.5);
}

.macos-btn {
    background: linear-gradient(135deg, #8e8e93 0%, #636366 50%, #3a3a3c 100%);
    background-size: 200% 200%;
    box-shadow: 0 8px 25px rgba(100, 100, 100, 0.3);
}

.macos-btn:hover {
    background-position: right center;
    box-shadow: 0 12px 35px rgba(100, 100, 100, 0.45);
}

/* macOS / iOS "coming soon" state */
.macos-btn-disabled,
.macos-btn-disabled:hover {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-light);
    box-shadow: none;
    cursor: not-allowed;
    border: 1px solid rgba(148, 163, 184, 0.25);
    transform: none;
    animation: none;
}

.macos-btn-disabled .btn-content {
    opacity: 0.85;
}

.coming-soon-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.1rem;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(160deg, rgba(99, 102, 241, 0.10) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px dashed rgba(99, 102, 241, 0.35);
    border-radius: 20px;
    min-height: 280px;
    justify-content: center;
}

.coming-soon-icon {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-light);
    background: radial-gradient(circle at 50% 40%, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.08));
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.coming-soon-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.coming-soon-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
    max-width: 360px;
}

.coming-soon-platforms {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.25rem;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
}

.platform-pill-ok {
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.platform-pill-soon {
    color: var(--text-light);
    background: rgba(148, 163, 184, 0.12);
    border: 1px dashed rgba(148, 163, 184, 0.4);
}

/* Why Download New */
.why-download-new {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.section-header-new {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-new h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-header-new p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.advantages-grid-new {
    display: grid;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.advantage-card-new {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.advantage-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.advantage-card-new:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.advantage-card-new:hover::before {
    transform: scaleX(1);
}

.advantage-icon-new {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.advantage-card-new h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.advantage-card-new p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* Installation Steps */
.installation-steps {
    padding: 8rem 0;
    background: var(--bg-white);
}

.steps-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

@media (max-width: 1200px) {
    .steps-grid-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .steps-grid-new {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.step-card-new {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 28px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.step-number-new {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    position: relative;
}

.step-number-new::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
}

.step-card-new h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.step-card-new p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* Security Trust */
.security-trust {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.trust-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* FAQ New */
.faq-section-new {
    padding: 8rem 0;
    background: var(--bg-white);
}

[data-theme="dark"] .faq-section-new {
    background: var(--bg-dark) !important;
}

.faq-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.faq-card-new {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.faq-card-new::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient);
    transform: scaleY(0);
    transition: transform 0.4s;
}

.faq-card-new:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

[data-theme="dark"] .faq-card-new:hover {
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3) !important;
    background: var(--bg-light) !important;
}

.faq-card-new:hover::before {
    transform: scaleY(1);
}

.faq-card-new h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.faq-card-new p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* Dark mode styles for FAQ cards - Consolidated and enforced */
[data-theme="dark"] .faq-section-new {
    background: var(--bg-dark) !important;
}

[data-theme="dark"] .faq-section-new .faq-card-new {
    background: var(--bg-light) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .faq-section-new .faq-card-new h3 {
    color: var(--text-dark) !important;
}

[data-theme="dark"] .faq-section-new .faq-card-new p {
    color: var(--text-medium) !important;
}

[data-theme="dark"] .faq-section-new .faq-card-new .brand-name,
[data-theme="dark"] .faq-section-new .faq-card-new .brand-chatting,
[data-theme="dark"] .faq-section-new .faq-card-new .brand-fans {
    color: var(--primary-light) !important;
}

[data-theme="dark"] .faq-section-new .faq-card-new:hover {
    background: var(--bg-light) !important;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3) !important;
}

/* Final CTA Download */
.final-cta-download {
    padding: 8rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content-new {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content-new h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-content-new p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-buttons-new {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons-new .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons-new .btn-primary:hover {
    background: var(--bg-light);
}

.cta-buttons-new .btn-secondary {
    background: transparent;
    border-color: white;
    color: white;
}

.cta-buttons-new .btn-secondary::before {
    display: none;
}

.cta-buttons-new .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
    .download-cards-wrapper {
        grid-template-columns: 1fr;
    }
    
    .download-title-new {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .download-title-new {
        font-size: 2.5rem;
    }
    
    .download-subtitle-new {
        font-size: 1.1rem;
    }
    
    .download-stats-new {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .download-stat-new {
        width: 100%;
        justify-content: center;
    }
    
    .advantages-grid-new,
    .faq-grid-new {
        grid-template-columns: 1fr;
    }
    
    .steps-grid-new {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons-new {
        flex-direction: column;
    }
    
    .cta-buttons-new a {
        width: 100%;
    }
}

/* Download Page Styles */
.download-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.download-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.download-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.download-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.download-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.download-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.why-download {
    padding: 6rem 0;
    background: var(--bg-white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, white, rgba(99, 102, 241, 0.02));
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.features-overview {
    padding: 6rem 0;
    background: var(--bg-light);
}

.features-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateX(12px) scale(1.01);
    box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
    background: linear-gradient(to right, white, rgba(99, 102, 241, 0.02));
}

.feature-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.system-requirements {
    padding: 6rem 0;
    background: var(--bg-white);
}

.requirements-content {
    max-width: 1000px;
    margin: 0 auto;
}

.requirements-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 800;
    text-align: center;
}

.requirements-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.requirements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.requirement-category h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.requirement-category ul {
    list-style: none;
    padding: 0;
}

.requirement-category li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-medium);
    line-height: 1.8;
}

.requirement-category li:last-child {
    border-bottom: none;
}

.requirement-category li strong {
    color: var(--text-dark);
}

.requirements-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.requirements-note p {
    color: var(--text-medium);
    line-height: 1.8;
    margin: 0;
}

.download-section-main {
    padding: 6rem 0;
    background: var(--bg-light);
}

.download-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.download-card-main {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 28px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.download-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.download-card-main:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 24px 48px -12px rgba(99, 102, 241, 0.25);
    border-color: var(--primary-color);
}

.download-card-main:hover::before {
    transform: scaleX(1);
}

.download-icon-main {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.download-card-main h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.download-version-main {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.download-description-main {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.download-specs-main {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    padding: 0;
}

.download-specs-main li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.download-specs-main li:last-child {
    border-bottom: none;
}

.download-size-main {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.download-note-main {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.download-note-main p {
    color: var(--text-medium);
    line-height: 1.8;
    margin: 0;
}

.download-note-main strong {
    color: var(--text-dark);
}

.download-faq {
    padding: 6rem 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.faq-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
    background: linear-gradient(to right, white, rgba(99, 102, 241, 0.02));
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.download-cta {
    padding: 6rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.download-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.download-cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Trusted By Section */
.trusted-by {
    padding: 4rem 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trusted-by-content {
    text-align: center;
}

.trusted-by-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trusted-logo-item {
    opacity: 0.6;
    transition: opacity 0.3s;
}

.trusted-logo-item:hover {
    opacity: 1;
}

.logo-placeholder {
    padding: 1rem 2rem;
    background: white;
    border-radius: 12px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

/* Security Badges */
.security-badges {
    padding: 5rem 0;
    background: var(--bg-white);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.badge-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s;
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px 0 rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.badge-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.badge-item p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

[data-theme="dark"] .badge-item {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: var(--border-color);
}

[data-theme="dark"] .badge-item h4 {
    color: var(--text-dark);
}

[data-theme="dark"] .badge-item p {
    color: var(--text-medium);
}

@media (max-width: 1024px) {
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .badge-item {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 360px) {
    .badges-grid {
        grid-template-columns: 1fr;
    }
}

/* Stats Counter */
.stats-counter {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

[data-theme="dark"] .stats-counter {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

[data-theme="dark"] .stat-card {
    background: var(--bg-light);
    border-color: var(--border-color);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 40px -8px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
    line-height: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin-left: 0.25rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

[data-theme="dark"] .stat-label {
    color: var(--text-dark);
}

[data-theme="dark"] .stat-description {
    color: var(--text-medium);
}

/* Integrations Section */
.integrations {
    padding: 6rem 0;
    background: var(--bg-white);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

@media (max-width: 1400px) {
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .integrations-grid {
        grid-template-columns: 1fr;
    }
}

.integration-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
}

.integration-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px -8px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, white, rgba(99, 102, 241, 0.02));
}

.integration-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.integration-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.integration-item p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Register Success Modal */
.register-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

[data-theme="dark"] .register-success-modal {
    background: rgba(0, 0, 0, 0.85);
}

.register-success-content {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .register-success-content {
    background: var(--bg-light);
    color: var(--text-dark);
}

[data-theme="dark"] .register-success-content h2 {
    color: var(--text-dark);
}

[data-theme="dark"] .register-success-content p {
    color: var(--text-medium);
}

.success-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-success-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.register-success-content p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.success-actions .btn-primary,
.success-actions .btn-secondary {
    width: 100%;
    justify-content: center;
}

.success-actions .btn-secondary {
    background: transparent;
    color: var(--text-medium);
    border: 1px solid var(--border-color);
}

.success-actions .btn-secondary::before {
    display: none;
}

.success-actions .btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: none;
    box-shadow: none;
}

[data-theme="dark"] .success-actions .btn-secondary {
    color: var(--text-medium);
    border-color: var(--border-color);
}

[data-theme="dark"] .success-actions .btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

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

/* ============================================================
   LIGHT MODE REDESIGN
   All rules here use html:not([data-theme="dark"]) so they only
   apply in light mode, making the light theme look polished
   and visually distinct from dark mode.
   ============================================================ */

/* ----- Hero ----- */
html:not([data-theme="dark"]) .hero {
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(99, 102, 241, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(139, 92, 246, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 55% 5%,  rgba(236, 72, 153, 0.07) 0%, transparent 50%),
        linear-gradient(175deg, #f0f1ff 0%, #faf5ff 40%, #ffffff 100%);
}

html:not([data-theme="dark"]) .hero-badge {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.15);
}

/* ----- Navbar light ----- */
html:not([data-theme="dark"]) .navbar {
    box-shadow: 0 1px 0 rgba(99, 102, 241, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
}

html:not([data-theme="dark"]) .navbar.scrolled {
    box-shadow: 0 1px 0 rgba(99, 102, 241, 0.12), 0 8px 24px rgba(0, 0, 0, 0.09);
}

/* ----- Section backgrounds ----- */
html:not([data-theme="dark"]) .how-it-works {
    background: linear-gradient(180deg, #f3f4ff 0%, #faf5ff 100%);
}

html:not([data-theme="dark"]) .testimonials {
    background: linear-gradient(180deg, #f8fafc 0%, #f0f1ff 100%);
}

html:not([data-theme="dark"]) .security-badges {
    background: linear-gradient(135deg, #f0f1ff 0%, #faf5ff 100%);
}

html:not([data-theme="dark"]) .why-download-new {
    background: linear-gradient(180deg, #f8fafc 0%, #f0f1ff 100%);
}

html:not([data-theme="dark"]) .installation-steps {
    background: linear-gradient(180deg, #faf5ff 0%, #f8fafc 100%);
}

html:not([data-theme="dark"]) .security-trust {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.07) 0%, rgba(139, 92, 246, 0.07) 100%);
}

html:not([data-theme="dark"]) .faq-section-new {
    background: linear-gradient(180deg, #f8fafc 0%, #f0f1ff 100%);
}

html:not([data-theme="dark"]) .download-main-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

html:not([data-theme="dark"]) .auth-page {
    background: linear-gradient(135deg, #f0f1ff 0%, #faf5ff 50%, #f8fafc 100%);
}

/* ----- Cards — stronger shadow + better borders ----- */
html:not([data-theme="dark"]) .feature-card {
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
}

html:not([data-theme="dark"]) .feature-card:hover {
    box-shadow: 0 20px 48px -8px rgba(99, 102, 241, 0.22), 0 0 0 1px rgba(99, 102, 241, 0.18);
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, #ffffff, rgba(99, 102, 241, 0.03));
}

html:not([data-theme="dark"]) .pricing-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.12);
}

html:not([data-theme="dark"]) .pricing-card:hover {
    box-shadow: 0 24px 56px -12px rgba(99, 102, 241, 0.22);
}

html:not([data-theme="dark"]) .pricing-card.featured {
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.20), 0 0 0 2px var(--primary-color);
    background: linear-gradient(to bottom, #fff, rgba(99, 102, 241, 0.03));
}

html:not([data-theme="dark"]) .testimonial-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.12);
}

html:not([data-theme="dark"]) .testimonial-card:hover {
    box-shadow: 0 16px 40px -8px rgba(99, 102, 241, 0.18);
}

html:not([data-theme="dark"]) .download-card-new {
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: rgba(99, 102, 241, 0.18);
    background: linear-gradient(to bottom, #ffffff, #fafbff);
}

html:not([data-theme="dark"]) .download-card-new:hover {
    box-shadow: 0 24px 64px rgba(99, 102, 241, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08);
}

html:not([data-theme="dark"]) .advantage-card-new {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08), 0 1px 4px rgba(0, 0, 0, 0.05);
    border-color: rgba(99, 102, 241, 0.14);
}

html:not([data-theme="dark"]) .advantage-card-new:hover {
    box-shadow: 0 20px 48px rgba(99, 102, 241, 0.18);
}

html:not([data-theme="dark"]) .step-card-new {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08), 0 1px 4px rgba(0, 0, 0, 0.05);
    border-color: rgba(99, 102, 241, 0.14);
    background: linear-gradient(to bottom, #ffffff, #fafbff);
}

html:not([data-theme="dark"]) .step-card-new:hover {
    box-shadow: 0 20px 48px rgba(99, 102, 241, 0.18);
}

html:not([data-theme="dark"]) .trust-item {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08), 0 1px 4px rgba(0, 0, 0, 0.05);
    border-color: rgba(99, 102, 241, 0.14);
    background: linear-gradient(to bottom, #ffffff, #fafbff);
}

html:not([data-theme="dark"]) .faq-card-new {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.07), 0 1px 4px rgba(0, 0, 0, 0.05);
    border-color: rgba(99, 102, 241, 0.12);
}

html:not([data-theme="dark"]) .faq-card-new:hover {
    box-shadow: 0 12px 36px rgba(99, 102, 241, 0.16);
}

html:not([data-theme="dark"]) .download-stat-new {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
    border-color: rgba(99, 102, 241, 0.14);
    background: linear-gradient(to bottom, #ffffff, #fafbff);
}

/* ----- Auth card ----- */
html:not([data-theme="dark"]) .auth-card {
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
    background: linear-gradient(to bottom, #ffffff, #fdfcff);
}

html:not([data-theme="dark"]) .form-group input[type="text"],
html:not([data-theme="dark"]) .form-group input[type="email"],
html:not([data-theme="dark"]) .form-group input[type="password"],
html:not([data-theme="dark"]) .form-group select {
    background: #ffffff;
    border-color: #d1d5f7;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.06);
}

html:not([data-theme="dark"]) .form-group input:focus,
html:not([data-theme="dark"]) .form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 1px 4px rgba(99, 102, 241, 0.1);
}

/* ----- Icon color in light mode (brand purple) ----- */
html:not([data-theme="dark"]) .advantage-icon-new {
    color: var(--primary-color);
}

html:not([data-theme="dark"]) .trust-icon {
    color: var(--primary-color);
}

html:not([data-theme="dark"]) .stat-icon-new {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
}

html:not([data-theme="dark"]) .stat-icon-new svg {
    color: var(--primary-color);
}

/* ----- Requirements box light ----- */
html:not([data-theme="dark"]) .requirements-box {
    background: linear-gradient(135deg, #f0f1ff 0%, #faf5ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
}

/* ----- Download badge light ----- */
html:not([data-theme="dark"]) .download-badge-new {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
}

/* ----- Integration items light ----- */
html:not([data-theme="dark"]) .integration-item {
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.12);
}

/* ----- Section badge light ----- */
html:not([data-theme="dark"]) .section-badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

/* ----- btn-secondary light mode ----- */
html:not([data-theme="dark"]) .btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.12);
}

/* ----- Language selector & dark toggle light ----- */
html:not([data-theme="dark"]) .language-selector {
    background-color: #ffffff;
    border-color: #d1d5f7;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.08);
}

html:not([data-theme="dark"]) .dark-mode-toggle {
    border-color: #d1d5f7;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.08);
}

/* ----- Community section light ----- */
html:not([data-theme="dark"]) .community-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-color: rgba(99, 102, 241, 0.18);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

/* ----- Hero badge (section badges) light ----- */
html:not([data-theme="dark"]) .hero-badge .badge-icon {
    filter: drop-shadow(0 1px 4px rgba(99, 102, 241, 0.3));
}

/* ============================================================
   SITE PREFERENCES BAR (storage/cache consent)
   Neutral class/id names so ad blockers (Brave) don't hide it.
   ============================================================ */
.lx-prefs {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 160%);
    width: min(960px, calc(100% - 32px));
    z-index: 12000;
    background: linear-gradient(135deg, #161b2e 0%, #1e2440 100%);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    padding: 1.25rem 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.lx-prefs.is-open {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.lx-prefs-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.lx-prefs-main {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1 1 320px;
    min-width: 0;
}

.lx-prefs-emoji {
    font-size: 1.9rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.lx-prefs-body {
    min-width: 0;
}

.lx-prefs-title {
    color: #f1f5f9;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}

.lx-prefs-text {
    color: #b6c0d4;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.lx-prefs-link {
    color: var(--primary-light);
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
}

.lx-prefs-link:hover {
    color: #a5b4fc;
}

.lx-prefs-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    align-items: center;
}

.lx-prefs-btn {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.7rem 1.4rem;
    border-radius: 11px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.lx-prefs-btn-yes {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.lx-prefs-btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(99, 102, 241, 0.55);
    filter: brightness(1.08);
}

.lx-prefs-btn-yes:active {
    transform: translateY(0);
}

.lx-prefs-btn-no {
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.lx-prefs-btn-no:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile */
@media (max-width: 768px) {
    .lx-prefs {
        left: 0;
        right: 0;
        bottom: 0;
        transform: translateY(120%);
        width: 100%;
        border-radius: 18px 18px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding: 1.25rem 1.15rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    }

    .lx-prefs.is-open {
        transform: translateY(0);
    }

    .lx-prefs-inner {
        gap: 1.15rem;
    }

    .lx-prefs-actions {
        width: 100%;
        flex-direction: column-reverse;
    }

    .lx-prefs-btn {
        width: 100%;
        padding: 0.85rem 1.4rem;
        font-size: 0.95rem;
    }

    .lx-prefs-title {
        font-size: 1rem;
    }
}

/* ============================================================
   PRICING - rediseño de las 3 tarjetas + botones
   ============================================================ */
.pricing-grid { align-items: stretch; }

.pricing-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: visible;
}

.pricing-card::before { display: none; }

/* margen superior para que la insignia "RECOMMENDED" no se solape */
.pricing-card.featured { margin-top: 18px; }
.popular-badge { top: -16px; white-space: nowrap; z-index: 3; }

[data-theme="dark"] .pricing-card,
.pricing-card {
    background: linear-gradient(180deg, #1b2236 0%, #161c2e 100%);
    border: 1px solid rgba(129, 140, 248, 0.14);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px -12px rgba(99, 102, 241, 0.3);
    border-color: rgba(129, 140, 248, 0.45);
}

/* Tarjeta destacada (Advanced) con borde degradado y brillo */
.pricing-card.featured,
[data-theme="dark"] .pricing-card.featured {
    transform: scale(1.04);
    border: 1px solid transparent;
    background:
        linear-gradient(180deg, #1f2848 0%, #181f36 100%) padding-box,
        linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899) border-box;
    box-shadow: 0 20px 55px rgba(99, 102, 241, 0.38);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-10px);
    box-shadow: 0 28px 62px rgba(99, 102, 241, 0.5);
}

.popular-badge {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.45);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.45rem 1.3rem;
}

.pricing-card .amount {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-features { flex: 1; }

/* Botones de las tarjetas (anclados abajo, ancho completo) */
.pricing-card .btn-secondary,
.pricing-card .btn-primary {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
}

.pricing-card .btn-secondary {
    background: transparent;
    color: #c7d0ff;
    border: 2px solid rgba(129, 140, 248, 0.55);
    box-shadow: none;
}

.pricing-card .btn-secondary:hover {
    background: var(--gradient);
    border-color: transparent;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.5);
}

.pricing-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.55);
    filter: brightness(1.05);
}

/* En pantallas pequeñas, sin escalado para que no se desborde */
@media (max-width: 1024px) {
    .pricing-card.featured,
    [data-theme="dark"] .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

