/* ==========================================================================
   SNAPDOWNLOADER PRO | STYLESHEET
   Platform: download.ana4u.com
   Ultra-modern, Responsive, Glassmorphic SaaS Design
   ========================================================================== */

:root {
    --bg-main: #0B0F19;
    --bg-surface: #111827;
    --bg-card: #162032;
    --bg-card-hover: #1E293B;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.3);
    
    --text-primary: #F9FAFB;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --brand-primary: #6366F1;
    --brand-secondary: #EC4899;
    --brand-gradient: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
    --tiktok-gradient: linear-gradient(135deg, #00F2FE 0%, #4FACFE 50%, #FF0050 100%);
    --pro-gold: #F59E0B;
    --pro-gold-gradient: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #D97706 100%);
    --success: #10B981;
    --danger: #EF4444;

    --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 35px rgba(236, 72, 153, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-ar);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body[dir="ltr"] {
    font-family: var(--font-en);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Utilities */
.hidden { display: none !important; }
.text-gold { color: var(--pro-gold) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }

/* ==========================================================================
   TOP PROMOTIONAL QUOTA BAR
   ========================================================================== */
.top-promo-bar {
    background: linear-gradient(90deg, #1E1B4B 0%, #312E81 50%, #1E1B4B 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    padding: 0.5rem 0;
}

.promo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.promo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #E0E7FF;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.promo-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quota-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    color: #FBBF24;
    font-weight: 700;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-top-pro {
    background: var(--pro-gold-gradient);
    color: #0F172A;
    font-weight: 800;
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-top-pro:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* ==========================================================================
   MAIN NAVBAR
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

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

.brand-icon-box {
    width: 44px;
    height: 44px;
    background: var(--brand-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #FFF;
    box-shadow: 0 4px 16px rgba(253, 29, 29, 0.3);
}

.brand-title {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

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

.brand-sub {
    font-size: 0.72rem;
    color: var(--text-secondary);
    display: block;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

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

.nav-end-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-toggle-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.lang-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-nav-pro {
    background: var(--pro-gold-gradient);
    border: none;
    color: #0F172A;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
    transition: all 0.2s;
}

.btn-nav-pro:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   HERO SECTION & TOOL PILLS
   ========================================================================== */
.hero-section {
    padding: 3.5rem 0 2rem;
    position: relative;
    background: radial-gradient(circle at 50% 10%, rgba(131, 58, 180, 0.15) 0%, rgba(11, 15, 25, 0) 65%);
}

.hero-container {
    text-align: center;
    max-width: 960px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #A5B4FC;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Tool Mode Pills Switcher */
.tool-pills-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tool-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s;
}

.tool-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.tool-pill.active {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #FFF;
    box-shadow: 0 4px 15px rgba(253, 29, 29, 0.25);
}

/* ==========================================================================
   DOWNLOADER CARD (MAIN INPUT & ACTIONS)
   ========================================================================== */
.downloader-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    margin-bottom: 2rem;
    text-align: right;
}

body[dir="ltr"] .downloader-card {
    text-align: left;
}

.input-group-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-main);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    gap: 0.75rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.input-group-wrapper:focus-within {
    border-color: #EC4899;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.25);
}

.input-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.media-url-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: inherit;
    direction: ltr;
    text-align: left;
}

.media-url-input::placeholder {
    color: var(--text-muted);
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] .media-url-input::placeholder {
    direction: ltr;
    text-align: left;
}

.input-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-paste {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #A5B4FC;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.btn-paste:hover {
    background: rgba(99, 102, 241, 0.25);
    color: #FFF;
}

.btn-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s;
}

.btn-clear:hover {
    color: var(--danger);
}

.btn-fetch-download {
    width: 100%;
    margin-top: 1.25rem;
    background: var(--brand-gradient);
    border: none;
    border-radius: var(--radius-md);
    padding: 1.1rem 1.5rem;
    color: #FFF;
    font-size: 1.15rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(253, 29, 29, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-fetch-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253, 29, 29, 0.45);
}

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

/* Quick Demo Samples Bar */
.demo-samples-bar {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.demo-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.demo-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
}

.demo-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.input-security-note {
    margin-top: 1rem;
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* ==========================================================================
   ADSENSE SLOTS
   ========================================================================== */
.adsense-slot-wrap {
    margin: 2rem auto;
    width: 100%;
}

.adsense-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    position: relative;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.adsense-tag {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.adsense-content {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Hide Ads when Pro is active */
body.pro-active .adsense-slot-wrap {
    display: none !important;
}

/* ==========================================================================
   RESULTS CARD & MEDIA DISPLAY
   ========================================================================== */
.results-container {
    margin-top: 2.5rem;
    text-align: right;
}

body[dir="ltr"] .results-container {
    text-align: left;
}

.results-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.results-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-gradient);
}

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

.platform-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.platform-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #FFF;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.quality-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34D399;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nowm-badge {
    background: rgba(99, 102, 241, 0.15);
    color: #A5B4FC;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-close-result {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-close-result:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.result-body-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2rem;
}

@media (max-width: 860px) {
    .result-body-grid {
        grid-template-columns: 1fr;
    }
}

/* Media Preview Box */
.result-preview-box {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.preview-media-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preview-overlay-info {
    padding: 0.65rem 1rem;
    background: rgba(17, 24, 39, 0.9);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Actions Panel */
.result-actions-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.author-info-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #FFF;
}

.author-name {
    font-size: 1.05rem;
    font-weight: 800;
}

.author-sub {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Carousel Multi-Slide Section */
.carousel-section {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.carousel-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.carousel-badge {
    color: #FBBF24;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.carousel-hint {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.carousel-slides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.slide-item-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.slide-item-card:hover {
    transform: translateY(-2px);
    border-color: #EC4899;
}

.slide-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.slide-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.75);
    color: #FFF;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.slide-download-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #FFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: background 0.2s;
}

.slide-download-btn:hover {
    background: #6366F1;
}

/* 1-Click ZIP Download Box */
.carousel-zip-box {
    text-align: center;
    padding-top: 0.5rem;
}

.btn-download-zip {
    width: 100%;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border: none;
    border-radius: var(--radius-md);
    color: #FFF;
    font-size: 1rem;
    font-weight: 800;
    padding: 0.9rem 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.2s;
}

.btn-download-zip:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.zip-badge {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

.zip-note {
    display: block;
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* Single Item Download Buttons Group */
.download-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.btn-action-download {
    width: 100%;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: right;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

body[dir="ltr"] .btn-action-download {
    text-align: left;
}

.btn-action-download.primary {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-action-download.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-action-download.pro-tier {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
    border: 1.5px solid #F59E0B;
    color: #FFF;
}

.btn-action-download.pro-tier:hover {
    background: linear-gradient(135deg, #2D2361 0%, #3F3B96 100%);
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3);
}

.btn-action-download.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-action-download.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-action-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-action-download.pro-tier .btn-action-icon {
    color: #FBBF24;
}

.btn-action-text {
    flex: 1;
}

.btn-action-text .main-label {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.btn-action-text .sub-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.15rem;
}

.pro-tag {
    background: var(--pro-gold-gradient);
    color: #0F172A;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
}

/* Secondary Actions */
.secondary-actions-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 0.5rem;
}

.btn-inline-action {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.btn-inline-action:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    padding: 2.5rem 0;
    background: rgba(17, 24, 39, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

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

.stat-card {
    padding: 1rem;
}

.stat-icon {
    font-size: 1.5rem;
    color: #EC4899;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ==========================================================================
   HOW IT WORKS & PLATFORMS SECTIONS
   ========================================================================== */
.how-section, .platforms-section, .pricing-section, .faq-section {
    padding: 4.5rem 0;
}

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

.section-kicker {
    color: #818CF8;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

/* How Grid */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

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

.how-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}

.how-step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
}

.step-num {
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
}

body[dir="ltr"] .step-num {
    left: auto;
    right: 1.5rem;
}

.step-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #818CF8;
    margin-bottom: 1.25rem;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.step-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

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

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.25s;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.platform-card.instagram:hover { border-color: #FD1D1D; }
.platform-card.tiktok:hover { border-color: #00F2FE; }
.platform-card.youtube:hover { border-color: #FF0000; }
.platform-card.multi:hover { border-color: #6366F1; }

.platform-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.platform-card.instagram .platform-icon { color: #E1306C; }
.platform-card.tiktok .platform-icon { color: #00F2FE; }
.platform-card.youtube .platform-icon { color: #FF0000; }
.platform-card.multi .platform-icon { color: #818CF8; }

.platform-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.platform-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.platform-badge-pill {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    display: inline-block;
}

/* ==========================================================================
   PRICING SECTION ($9.99/mo)
   ========================================================================== */
.pricing-section {
    background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.08) 0%, rgba(11, 15, 25, 0) 65%);
}

.pricing-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 480px));
    justify-content: center;
    gap: 2rem;
}

@media (max-width: 860px) {
    .pricing-cards-wrapper {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

.pricing-card.pro-card {
    border: 2px solid #F59E0B;
    background: linear-gradient(180deg, #1A1F36 0%, #162032 100%);
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.15);
}

.popular-ribbon {
    position: absolute;
    top: -14px;
    right: 2rem;
    background: var(--pro-gold-gradient);
    color: #0F172A;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

body[dir="ltr"] .popular-ribbon {
    right: auto;
    left: 2rem;
}

.plan-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.35rem;
}

.plan-tag.pro {
    color: #FBBF24;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-secondary);
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.plan-price .period {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.plan-features li {
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
}

.plan-features li i {
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.btn-plan {
    width: 100%;
    border-radius: var(--radius-md);
    padding: 0.95rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    border: none;
}

.btn-plan.outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-plan.outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-plan.pro-action {
    background: var(--pro-gold-gradient);
    color: #0F172A;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-plan.pro-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-accordion-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}

.faq-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-question .faq-icon {
    font-size: 1.15rem;
    color: #818CF8;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
}

.faq-arrow {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.25s;
}

.faq-card.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.faq-card.open .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #080C14;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    color: var(--text-secondary);
}

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

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

.footer-brand .brand-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #FFF;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 420px;
}

.subdomain-badge-wrap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #E2E8F0;
}

.footer-links h4 {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-links a:hover {
    color: #FFF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   MODALS (PRO & LEGAL)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.25rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.25s ease;
    text-align: right;
}

body[dir="ltr"] .modal-card {
    text-align: left;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

body[dir="ltr"] .modal-close-btn {
    left: auto;
    right: 1.25rem;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.modal-crown-icon {
    width: 58px;
    height: 58px;
    background: var(--pro-gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0F172A;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Comparison Table */
.pro-features-compare {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.compare-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row.header-row {
    background: rgba(255, 255, 255, 0.04);
    font-weight: 800;
    color: var(--text-primary);
}

.compare-row .pro-col {
    color: #FBBF24;
}

.modal-pricing-box {
    text-align: center;
    margin-bottom: 1.25rem;
}

.modal-pricing-box .price-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: #FBBF24;
}

.modal-pricing-box .price-amount span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.modal-pricing-box .price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-checkout-pro {
    width: 100%;
    background: var(--pro-gold-gradient);
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem;
    color: #0F172A;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
    transition: all 0.2s;
}

.btn-checkout-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.45);
}

/* Stripe Trust Box */
.stripe-trust-box {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    text-align: center;
}

.stripe-badge-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #A5B4FC;
    margin-bottom: 0.4rem;
}

.payment-icons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.payment-icons-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-test-sandbox {
    background: transparent;
    border: 1px dashed rgba(245, 158, 11, 0.4);
    color: #FBBF24;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-test-sandbox:hover {
    background: rgba(245, 158, 11, 0.1);
}

/* Legal Modal */
.legal-modal-card {
    max-width: 680px;
}

.legal-tabs-bar {
    display: flex;
    gap: 0.4rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    overflow-x: auto;
}

.legal-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: all 0.2s;
}

.legal-tab.active, .legal-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFF;
}

.legal-content-body {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-height: 400px;
    overflow-y: auto;
}

.legal-content-body h4 {
    color: #FFF;
    margin: 1.25rem 0 0.5rem;
    font-size: 1rem;
}

.legal-content-body p {
    margin-bottom: 0.75rem;
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #10B981;
    color: #FFF;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2000;
}

body[dir="ltr"] .toast-notification {
    right: auto;
    left: 2rem;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}
