/* ====================================================================
   AllVideoLoad - Premium Stylesheet (Updated with Pricing, Profile & Lang)
   ==================================================================== */

:root {
    /* Color Palette */
    --bg-base: #030010;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --bg-surface-hover: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-active: rgba(99, 102, 241, 0.35);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Brand Neon Colors */
    --clr-primary: #6366f1; /* Indigo */
    --clr-primary-rgb: 99, 102, 241;
    --clr-secondary: #d946ef; /* Purple-Pink */
    --clr-secondary-rgb: 217, 70, 239;
    --clr-accent: #06b6d4; /* Cyan */
    --clr-accent-rgb: 6, 182, 212;
    --clr-success: #10b981;
    --clr-danger: #ef4444;
    
    /* Font Configurations */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Global Transitions */
    --t-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Glow Orbs */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    animation: floatOrb 25s infinite alternate ease-in-out;
}

.sphere-1 {
    top: -15%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, var(--clr-primary) 0%, transparent 70%);
}

.sphere-2 {
    bottom: -15%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--clr-secondary) 0%, transparent 70%);
    animation-delay: -7s;
}

.sphere-3 {
    top: 35%;
    left: 45%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--clr-accent) 0%, transparent 70%);
    animation-delay: -14s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -60px) scale(1.05); }
    100% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--clr-primary);
    text-shadow: 0 0 30px rgba(var(--clr-primary-rgb), 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 50%, var(--clr-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(3, 0, 16, 0.7);
    transition: var(--t-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    box-shadow: 0 4px 20px rgba(var(--clr-primary-rgb), 0.4);
    color: white;
    padding: 0.5rem;
}

.logo-text {
    font-family: var(--font-head);
    font-weight: 950;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--t-fast);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
    transition: var(--t-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.tg-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #0088cc 0%, #00b2ff 100%);
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.35);
    transition: var(--t-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.55);
}

.svg-btn-icon {
    width: 16px;
    height: 16px;
}

/* Language selector dropdown */
.lang-toggle-container {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-secondary);
    padding: 0.45rem 0.85rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    transition: var(--t-fast);
    outline: none;
}

.lang-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-active);
    background: rgba(255, 255, 255, 0.06);
}

.lang-dropdown {
    position: absolute;
    top: 130%;
    right: 0;
    background: rgba(8, 7, 24, 0.95);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 12px;
    padding: 0.4rem;
    min-width: 135px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 120;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: var(--t-smooth);
}

.lang-dropdown.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
}

.lang-opt {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem 0.85rem;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--t-fast);
    width: 100%;
}

.lang-opt:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--clr-primary-rgb), 0.08);
    border: 1px solid var(--border-active);
    color: var(--text-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--clr-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--clr-primary);
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feat-check {
    width: 18px;
    height: 18px;
    color: var(--clr-success);
}

/* Downloader Card */
.downloader-card-wrapper {
    position: relative;
}

.downloader-card-wrapper::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary), var(--clr-accent));
    z-index: -1;
    filter: blur(35px);
    opacity: 0.15;
    pointer-events: none;
}

.downloader-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 28px;
    padding: 2.75rem;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.downloader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-secondary) 50%, var(--clr-accent) 100%);
}

.card-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 0.35rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 700;
    padding: 0.85rem;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--t-fast);
    outline: none;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tab-icon {
    width: 18px;
    height: 18px;
}

.download-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.input-icon {
    position: absolute;
    left: 1.5rem;
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 1.35rem 1.35rem 1.35rem 3.5rem;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--t-smooth);
}

.input-wrapper input:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 25px rgba(var(--clr-primary-rgb), 0.2);
    background: rgba(255, 255, 255, 0.035);
}

.submit-btn {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    border: none;
    border-radius: 18px;
    color: white;
    padding: 1.35rem;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 25px rgba(var(--clr-primary-rgb), 0.45);
    transition: var(--t-smooth);
    outline: none;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(var(--clr-primary-rgb), 0.65);
    filter: brightness(1.1);
}

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

.btn-icon {
    width: 20px;
    height: 20px;
    transition: var(--t-fast);
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.supported-platforms {
    margin-top: 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.support-title {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.platform-icons-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.plat-icon {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: var(--t-fast);
    cursor: pointer;
}

.plat-icon:hover {
    transform: scale(1.2) translateY(-2px);
}

.plat-icon.yt:hover { color: #ff0000; filter: drop-shadow(0 0 10px rgba(255,0,0,0.5)); }
.plat-icon.ig:hover { color: #e1306c; filter: drop-shadow(0 0 10px rgba(225,48,108,0.5)); }
.plat-icon.tt:hover { color: #00f2fe; filter: drop-shadow(0 0 10px rgba(0,242,254,0.5)); }
.plat-icon.tw:hover { color: #ffffff; filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)); }
.plat-icon.pin:hover { color: #bd081c; filter: drop-shadow(0 0 10px rgba(189,8,28,0.5)); }

.plat-tooltip {
    position: relative;
}

.plat-tooltip::before {
    content: attr(data-title);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #0b091a;
    border: 1px solid var(--border-subtle);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--t-fast);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.plat-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* Progress Overlay Loader */
.progress-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(3, 0, 16, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.progress-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.progress-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    padding: 3.5rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

/* Advanced Dual Ring CSS Loader */
.loader-spinner {
    width: 70px;
    height: 70px;
    margin: 0 auto 2.25rem;
    position: relative;
}

.ring1, .ring2 {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
}

.ring1 {
    border-top-color: var(--clr-primary);
    border-bottom-color: var(--clr-secondary);
    animation: rotateLeft 2s infinite linear;
}

.ring2 {
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border-left-color: var(--clr-accent);
    border-right-color: var(--clr-accent);
    animation: rotateRight 1.5s infinite linear;
}

@keyframes rotateLeft {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateRight {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.progress-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}

.progress-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 340px;
    margin: 0 auto;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 8%;
    width: 84%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.step-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--t-smooth);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--t-fast);
}

.step.active .step-icon-wrapper {
    background: var(--clr-primary);
    color: white;
    border-color: var(--clr-primary);
    box-shadow: 0 0 20px rgba(var(--clr-primary-rgb), 0.5);
}

.step.active .step-label {
    color: var(--text-primary);
}

.step.completed .step-icon-wrapper {
    background: var(--clr-success);
    color: white;
    border-color: var(--clr-success);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* Features Section */
.features-section {
    padding: 6rem 0 3rem;
}

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

.section-title {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--t-smooth);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-active);
    box-shadow: 0 15px 35px rgba(var(--clr-primary-rgb), 0.05);
    background: var(--bg-surface-hover);
}

.feature-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon-box.bg-purple { background: rgba(var(--clr-primary-rgb), 0.1); color: var(--clr-primary); }
.feature-icon-box.bg-cyan { background: rgba(var(--clr-accent-rgb), 0.1); color: var(--clr-accent); }
.feature-icon-box.bg-pink { background: rgba(var(--clr-secondary-rgb), 0.1); color: var(--clr-secondary); }

.svg-feat-icon {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    margin-bottom: 0.85rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
}

/* Pricing Section styling */
.pricing-section {
    padding: 5rem 0 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 880px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--t-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: var(--bg-surface-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card.premium {
    border-color: var(--border-active);
    box-shadow: 0 15px 45px rgba(var(--clr-primary-rgb), 0.1);
}

.pricing-card.premium::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    z-index: -2;
}

.pricing-card.premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-base);
    border-radius: 27px;
    z-index: -1;
}

.premium-badge-tag {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(var(--clr-secondary-rgb), 0.4);
}

.p-card-header h3 {
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.price-val {
    font-family: var(--font-head);
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.price-val span {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.p-card-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.p-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 2.75rem;
    flex-grow: 1;
}

.p-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.p-features-list li.disabled {
    color: var(--text-muted);
}

.p-check {
    width: 18px;
    height: 18px;
    color: var(--clr-success);
    flex-shrink: 0;
}

.p-cross {
    width: 18px;
    height: 18px;
    color: var(--clr-danger);
    opacity: 0.6;
    flex-shrink: 0;
}

.p-action-btn {
    text-align: center;
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 16px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.05rem;
    transition: var(--t-smooth);
    outline: none;
}

.p-action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-secondary);
}

.p-action-btn.premium {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 20px rgba(var(--clr-primary-rgb), 0.35);
}

.p-action-btn.premium:hover {
    box-shadow: 0 8px 30px rgba(var(--clr-primary-rgb), 0.55);
    filter: brightness(1.1);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0 6rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
    margin-bottom: 4.5rem;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2.25rem;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--t-smooth);
}

.stat-card:hover {
    transform: translateY(-2px);
    background: var(--bg-surface-hover);
}

.stat-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.01);
}

.stat-icon-wrapper.purple-glow { color: var(--clr-primary); box-shadow: inset 0 0 12px rgba(var(--clr-primary-rgb), 0.15); }
.stat-icon-wrapper.cyan-glow { color: var(--clr-accent); box-shadow: inset 0 0 12px rgba(var(--clr-accent-rgb), 0.15); }
.stat-icon-wrapper.pink-glow { color: var(--clr-secondary); box-shadow: inset 0 0 12px rgba(var(--clr-secondary-rgb), 0.15); }

.stat-svg {
    width: 26px;
    height: 26px;
}

.stat-info h4 {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.stat-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Profile Checker & Platform Share Split */
.stats-details {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
}

.leaderboard-card, .platform-stats-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    padding: 2.75rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.leaderboard-card h3, .platform-stats-card h3 {
    font-size: 1.45rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.title-decor-icon {
    width: 22px;
    height: 22px;
    color: var(--clr-primary);
}

/* Telegram ID lookup card specific styles */
.profile-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.profile-search-form {
    margin-bottom: 2rem;
}

.profile-input-wrapper {
    display: flex;
    gap: 0.75rem;
}

.profile-input-wrapper input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    color: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--t-smooth);
}

.profile-input-wrapper input:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 20px rgba(var(--clr-primary-rgb), 0.15);
    background: rgba(255, 255, 255, 0.035);
}

/* Chrome/Safari spin buttons hide */
.profile-input-wrapper input::-webkit-outer-spin-button,
.profile-input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.profile-search-btn {
    background: var(--clr-primary);
    border: none;
    border-radius: 14px;
    color: white;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 1.75rem;
    cursor: pointer;
    transition: var(--t-smooth);
    outline: none;
}

.profile-search-btn:hover {
    background: var(--clr-secondary);
    box-shadow: 0 4px 15px rgba(var(--clr-secondary-rgb), 0.35);
}

/* Result Info Panel */
.profile-result {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    animation: fadeIn 0.4s ease;
}

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

.profile-header-info {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    color: white;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(var(--clr-primary-rgb), 0.3);
}

.profile-header-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.profile-header-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.premium-badge, .free-badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

.premium-badge {
    background: rgba(217, 70, 239, 0.12);
    color: var(--clr-secondary);
    border: 1px solid rgba(217, 70, 239, 0.3);
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.15);
}

.free-badge {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.p-stat-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.15rem 0.5rem;
    text-align: center;
    transition: var(--t-fast);
}

.p-stat-box:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255,255,255,0.15);
}

.p-stat-val {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    color: var(--text-primary);
}

.p-stat-lbl {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.profile-detail-rows {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.25rem;
}

.p-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.p-row-vertical {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.p-row-lbl {
    color: var(--text-secondary);
}

.p-row-val {
    color: var(--text-primary);
    font-weight: 700;
}

.ref-copy-wrapper {
    display: flex;
    width: 100%;
    gap: 0.5rem;
}

.ref-copy-wrapper input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.75rem;
    color: var(--clr-accent);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    outline: none;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: var(--t-fast);
    outline: none;
}

.copy-btn:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    box-shadow: 0 4px 12px rgba(var(--clr-primary-rgb), 0.3);
}

.copy-btn.copied {
    background: var(--clr-success) !important;
    border-color: var(--clr-success) !important;
}

/* Platform chart list */
.platform-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.platform-item {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.platform-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.98rem;
}

.platform-name {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-transform: capitalize;
}

.platform-name-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.platform-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    overflow: hidden;
}

.platform-bar {
    height: 100%;
    border-radius: 50px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.yt-bar { background: linear-gradient(90deg, #ff0000, #ff5555); }
.ig-bar { background: linear-gradient(90deg, #e1306c, #f77737); }
.tt-bar { background: linear-gradient(90deg, #00f2fe, #4facfe); }
.tw-bar { background: linear-gradient(90deg, #555555, #ffffff); }
.other-bar { background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary)); }

.loading-item {
    text-align: center;
    color: var(--text-secondary);
    padding: 2.5rem 0;
    font-weight: 600;
}

/* Footer styling */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 0;
    margin-top: 7rem;
    text-align: center;
    background: rgba(3, 0, 16, 0.85);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
}

.footer-brand {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.footer-brand span {
    color: var(--clr-primary);
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

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

/* Close Error Button in Card */
.error-close-btn {
    margin-top: 2rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: none !important;
    font-size: 1rem !important;
    padding: 0.85rem 2rem !important;
    border-radius: 12px !important;
}

.error-close-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Responsiveness break points */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.25rem;
    }
    
    .hero-features-list {
        align-items: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 480px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-details {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu hidden */
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .main-content {
        padding-top: 6rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .downloader-card {
        padding: 2rem;
    }
}
