/* ========== HOME PAGE ========== */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orb-float 12s ease-in-out infinite;
}

/* Floating Adobe logos */
.floating-logo {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.12;
    animation: logo-float 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.floating-logo.premiere {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.floating-logo.aftereffects {
    top: 25%;
    right: 10%;
    animation-delay: -5s;
}

.floating-logo.premiere-2 {
    top: auto;
    left: auto;
    bottom: 20%;
    right: 6%;
    width: 50px;
    height: 50px;
    animation-delay: -8s;
}

/* Backlight effect */
.backlight-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.backlight {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: backlight-pulse 6s ease-in-out infinite;
}

.backlight-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(99, 102, 241, 0.15) 40%, transparent 70%);
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.backlight-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: -2s;
}

.backlight-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0.1) 50%, transparent 70%);
    top: 5%;
    right: 5%;
    animation-delay: -4s;
}

@keyframes backlight-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.backlight-1 {
    animation-name: backlight-pulse-center;
}

/* Hero Software Logos */
.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px 0 8px;
}

.hero-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.hero-logo-item:hover {
    transform: scale(1.15);
    opacity: 1;
}

.hero-logo-item svg {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes backlight-pulse-center {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translateX(-50%) scale(1.2);
    }
}

/* RTL arrow direction fix */
.comparison-arrow {
    display: inline-block;
    transition: transform 0.2s;
}

[dir="rtl"] .comparison-arrow {
    transform: scaleX(-1);
}

.floating-logo svg {
    width: 100%;
    height: 100%;
}

.hero-bg .orb-1 {
    width: 500px; height: 500px;
    background: rgba(99, 102, 241, 0.15);
    top: -10%; right: -5%;
    animation-delay: 0s;
}

.hero-bg .orb-2 {
    width: 400px; height: 400px;
    background: rgba(139, 92, 246, 0.12);
    bottom: -15%; left: -5%;
    animation-delay: -3s;
}

.hero-bg .orb-3 {
    width: 300px; height: 300px;
    background: rgba(168, 85, 247, 0.08);
    top: 30%; left: 40%;
    animation-delay: -5s;
}

/* Grid pattern */
.hero-bg .grid-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 6px; height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--accent-primary);
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 20px;
}

.hero-text-block {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.hero-headline {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    color: var(--accent-secondary);
    margin-bottom: 16px;
}

.hero-supporting {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-actions .btn-lg {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cta-btn {
    flex-direction: column;
    gap: 1px;
    padding: 8px 36px;
    line-height: 1.2;
}

.hero-cta-subtext {
    font-size: 0.65rem;
    opacity: 0.85;
    font-weight: 400;
}

/* Hero mockup / visual */
.hero-visual {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-mockup {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 4px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        var(--shadow-card),
        0 20px 80px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

.hero-mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.hero-mockup-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
}

.hero-mockup-dot:nth-child(1) { background: #ef4444; }
.hero-mockup-dot:nth-child(2) { background: #f59e0b; }
.hero-mockup-dot:nth-child(3) { background: #10b981; }

.hero-mockup-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mockup-block {
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.mockup-caption-line {
    height: 10px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 4px;
    margin: 8px 12px;
}

.mockup-caption-line:nth-child(odd) { width: 80%; }
.mockup-caption-line:nth-child(even) { width: 60%; }

.mockup-timeline {
    height: 80px;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mockup-track {
    height: 16px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.mockup-track:nth-child(1) { background: rgba(99, 102, 241, 0.15); }
.mockup-track:nth-child(2) { background: rgba(139, 92, 246, 0.12); }
.mockup-track:nth-child(3) { background: rgba(16, 185, 129, 0.12); }

.mockup-clip {
    position: absolute;
    top: 2px; bottom: 2px;
    border-radius: 2px;
}

.mockup-track:nth-child(1) .mockup-clip { background: rgba(99, 102, 241, 0.4); }
.mockup-track:nth-child(2) .mockup-clip { background: rgba(139, 92, 246, 0.35); }
.mockup-track:nth-child(3) .mockup-clip { background: rgba(16, 185, 129, 0.35); }

/* Hero floating elements */
.hero-visual .floating-tag {
    position: absolute;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-card);
    animation: float 5s ease-in-out infinite;
    z-index: 2;
}

.floating-tag.tag-ai {
    top: 15%;
    right: -40px;
    color: var(--accent-primary);
    animation-delay: -1s;
}

.floating-tag.tag-lang {
    bottom: 25%;
    left: -40px;
    color: var(--success);
    animation-delay: -3s;
}

/* ========== FEATURES SECTION ========== */
.features-section .card {
    text-align: center;
    padding: 40px 28px;
}

.features-section .card-icon {
    margin: 0 auto 20px;
    width: 56px; height: 56px;
    font-size: 24px;
}

/* ========== HOW IT WORKS ========== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px; height: 56px;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { font-size: 0.9rem; }

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
}

/* ========== LANGUAGES SECTION ========== */
.languages-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.lang-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    min-width: 160px;
}

.lang-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.lang-flag {
    font-size: 2.5rem;
    line-height: 1;
}

.lang-code {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    padding: 8px 16px;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

.lang-card h4 { font-size: 1rem; }
.lang-card p { font-size: 0.8rem; color: var(--text-muted); }

/* ========== PRICING PREVIEW ========== */
.pricing-preview {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-preview .price-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

/* ========== BUY PAGE ========== */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 6px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pricing-toggle span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.pricing-toggle span:hover {
    color: var(--text-primary);
}

.pricing-toggle span.active {
    color: white;
    background: var(--accent-gradient);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.pricing-toggle .toggle-wrapper {
    display: none;
}

.pricing-toggle .yearly-savings {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--success);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: visible;
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.4),
        0 20px 60px rgba(99, 102, 241, 0.2);
}

.most-popular-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.featured:hover { transform: translateY(-4px); }

.pricing-card .plan-name {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}


.pricing-card .plan-price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-card .plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.plan-taxes {
    font-size: 0.45em;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 4px;
    vertical-align: middle;
}

.pricing-card .plan-discount {
    background: var(--success);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}

.pricing-card .plan-period {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-card .plan-original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    opacity: 0.7;
}

.pricing-card .plan-minutes {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
    padding: 12px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: var(--radius-md);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 28px;
}

.plan-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
    padding-left: 22px;
}

/* Checkmark - positioned absolute */
.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 0.85rem;
}

/* RTL: Move checkmark to right side */
body.rtl .plan-features {
    direction: rtl;
    text-align: right;
}

body.rtl .plan-features li {
    padding-left: 0;
    padding-right: 22px;
}

body.rtl .plan-features li::before {
    left: auto;
    right: 0;
}

/* Purchase area (logged in state) */
.pricing-purchase-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.coupon-input-group {
    position: relative;
}

.coupon-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-primary);
    text-align: center;
    font-family: var(--font-base);
}

.coupon-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.coupon-input::placeholder {
    color: var(--text-muted);
}

.coupon-error {
    display: block;
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 6px;
    text-align: center;
}

.coupon-error.hidden {
    display: none;
}

[data-theme="light"] .coupon-input {
    background: rgba(0, 0, 0, 0.02);
}

.pricing-faq {
    max-width: 700px;
    margin: 80px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.faq-question {
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--text-primary);
    width: 100%;
    text-align: left;
    font-family: var(--font-display);
    padding: 0;
}

body.rtl .faq-question { text-align: right; }

.faq-question .faq-icon {
    transition: transform var(--transition-fast);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 12px;
}

@media (max-width: 768px) {
    .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-4px); }
}

/* ========== GUIDE PAGE ========== */
.guide-section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
}

.guide-section:last-child { border-bottom: none; }

.guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.guide-content.reverse { direction: ltr; }
.guide-content.reverse > :first-child { order: 2; }
.guide-content.reverse > :last-child { order: 1; }

body.rtl .guide-content { direction: rtl; }
body.rtl .guide-content.reverse > :first-child { order: 2; }
body.rtl .guide-content.reverse > :last-child { order: 1; }

.guide-text h3 { margin-bottom: 16px; }
.guide-text p { margin-bottom: 12px; }

.guide-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    font-size: 4rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .guide-content { grid-template-columns: 1fr; }
    /* On mobile, always show text first, then visual - use !important to override .reverse specificity */
    .guide-content .guide-text,
    .guide-content.reverse .guide-text,
    .guide-content.reverse > :first-child { order: 1 !important; }
    .guide-content .guide-visual,
    .guide-content.reverse .guide-visual,
    .guide-content.reverse > :last-child { order: 2 !important; }
}

/* Guide AI Banner */
.guide-ai-banner {
    background: linear-gradient(135deg, rgba(var(--accent-secondary-rgb), 0.12), rgba(var(--accent-primary-rgb), 0.05));
    border: 2px solid var(--accent-secondary);
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.guide-ai-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.guide-ai-banner-icon {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    border-radius: 12px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guide-ai-banner-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guide-ai-banner-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.guide-ai-banner-cta {
    background: var(--accent-gradient);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .guide-ai-banner {
        padding: 12px 0;
        margin-bottom: 24px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }
    .guide-ai-banner-content {
        flex-direction: column;
        gap: 10px;
    }
    .guide-ai-banner-icon {
        width: 40px;
        height: 40px;
    }
    .guide-ai-banner-icon svg {
        width: 20px;
        height: 20px;
    }
    .guide-ai-banner-cta {
        align-self: center;
    }
}

/* ========== INSTALLATION PAGE ========== */
.install-steps {
    max-width: 800px;
    margin: 0 auto;
}

.install-step {
    display: flex;
    gap: 24px;
    padding: 28px 32px;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
}

.install-step:last-child { border-bottom: none; margin-bottom: 0; }

.install-step-num {
    flex-shrink: 0;
    width: 40px; height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.install-step h4 { margin-bottom: 6px; }
.install-step p { font-size: 0.9rem; }
.install-step p a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.install-step p a:hover {
    color: var(--accent-light);
}

/* ========== DOWNLOADS PAGE ========== */
.download-hero {
    text-align: center;
    padding: 80px 0 60px;
}

.download-card {
    max-width: 500px;
    margin: 40px auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
}

.download-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.download-card .btn { margin-top: 20px; }

.system-reqs {
    max-width: 500px;
    margin: 40px auto 0;
}

.system-reqs h4 { margin-bottom: 16px; }

.system-reqs ul {
    list-style: none;
}

.system-reqs li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.system-reqs li::before {
    content: '•';
    color: var(--accent-primary);
    font-weight: 700;
}

/* ========== AUTH PAGES (Login/Register) ========== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 24px 40px;
}

.auth-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-card);
}

.auth-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card-header .auth-logo {
    width: 48px; height: 48px;
    background: var(--accent-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.auth-card-header h2 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-card-header p { font-size: 0.9rem; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a { font-weight: 600; }

/* OTP section */
.otp-section {
    text-align: center;
}

.otp-section .phone-display {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    margin-bottom: 24px;
    direction: ltr;
    display: inline-block;
}

.otp-timer {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
}

.otp-resend {
    font-size: 0.85rem;
    margin-top: 12px;
}

.otp-resend button {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
}

.otp-resend button:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* ========== HISTORY PAGE ========== */
.caption-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.caption-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    transition: all var(--transition-fast);
}

.caption-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.caption-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.caption-filename {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.caption-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.caption-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.caption-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.caption-actions .btn { font-size: 0.78rem; padding: 6px 14px; }

/* ========== TRANSCRIPTION PAGE ========== */
.transcription-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 1024px) {
    .transcription-layout { grid-template-columns: 1fr; }
}

.settings-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
}

.settings-panel h3 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.setting-row:last-child { border-bottom: none; }

.setting-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.setting-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting-select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
}

.setting-select option { background: var(--bg-secondary); }

.setting-select:focus { border-color: var(--accent-primary); }

.number-input {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.number-input button {
    width: 32px; height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.number-input button:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-primary); }

.number-input span {
    width: 36px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Punctuation marks checkboxes */
.marks-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.mark-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.mark-checkbox:hover { border-color: rgba(255, 255, 255, 0.15); }
.mark-checkbox input { display: none; }
.mark-checkbox.checked {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
}

/* Usage preview */
.usage-preview {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 20px;
}

.usage-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 4px 0;
}

.usage-row .value {
    font-family: var(--font-mono);
    font-weight: 600;
}

/* Result panel */
.result-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
}

.result-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.caption-preview-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre-wrap;
}

/* Processing status */
.processing-status {
    text-align: center;
    padding: 40px 20px;
}

.processing-status .status-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: pulse-glow 2s infinite;
}

.processing-status .status-text {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.processing-status .elapsed {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ========== COMPREHENSIVE MOBILE STYLES ========== */
@media (max-width: 768px) {
    /* Hero section */
    .hero {
        padding: 100px 0 20px;
        min-height: auto;
    }
    .hero h1 { font-size: 2rem; margin-bottom: 16px; }
    .hero h1 .premiere-pro-text { display: block; }
    .hero .subtitle { font-size: 1rem; margin-bottom: 24px; }
    .hero-actions { margin-bottom: 8px; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    /* Features grid */
    .features-grid { gap: 12px; }
    .feature-card { padding: 16px 14px; }
    .feature-card h3 { font-size: 1rem; }
    .features-section .card { padding: 16px 14px; }
    .features-section .card-icon { width: 44px; height: 44px; margin-bottom: 12px; }
    .features-section .card h3 { font-size: 1rem; margin-bottom: 6px; }
    .features-section .card p { font-size: 0.85rem; line-height: 1.4; }

    /* Steps */
    .steps-grid { gap: 20px; }
    .step { padding: 24px 20px; }
    .step-number { width: 36px; height: 36px; font-size: 1rem; }

    /* Language cards */
    .languages-grid { gap: 12px; }
    .lang-card {
        padding: 20px 24px;
        min-width: 130px;
        flex: 1 1 calc(50% - 6px);
    }
    .lang-flag { font-size: 2rem; }
    .lang-code { font-size: 1.2rem; padding: 6px 12px; }

    /* Pricing cards */
    .pricing-section { padding: 48px 0; }
    .pricing-cards { gap: 16px; }
    .pricing-card { padding: 28px 24px; }
    .pricing-card .price { font-size: 2.5rem; }

    /* FAQ */
    .faq-question { padding: 16px 0; font-size: 0.95rem; }
    .faq-answer { font-size: 0.9rem; }

    /* Guide page */
    .guide-section { padding: 32px 0; }
    .guide-content { gap: 24px; }
    .guide-visual { min-height: 180px; padding: 24px; font-size: 3rem; max-width: 100%; overflow: hidden; }
    .demo-container { max-width: 100%; overflow: hidden; }
    .demo-extension { max-width: 100%; }

    /* Installation page */
    .install-steps { gap: 16px; }
    .install-step { padding: 20px; }
    .install-step-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .install-step h3 { font-size: 1rem; }

    /* Downloads page */
    .download-card { padding: 28px 24px; }
    .download-card h3 { font-size: 1.2rem; }
    .download-buttons { flex-direction: column; }
    .download-buttons .btn { width: 100%; justify-content: center; }

    /* Auth pages */
    .auth-container { padding: 24px 0; }
    .auth-card { padding: 28px 24px; }
    .auth-card-header h2 { font-size: 1.4rem; }

    /* History page - caption cards */
    .caption-card { padding: 16px; }
    .caption-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .caption-filename { font-size: 0.9rem; }
    .caption-date { font-size: 0.75rem; }
    .caption-meta { gap: 8px; }
    .caption-meta .badge { font-size: 0.7rem; padding: 3px 8px; }
    .caption-actions {
        gap: 6px;
        margin-top: 4px;
    }
    .caption-actions .btn {
        font-size: 0.72rem;
        padding: 5px 10px;
        flex: 1 1 calc(50% - 3px);
        justify-content: center;
    }

    /* Transcription page */
    .transcription-layout { gap: 20px; }
    .settings-panel { padding: 20px 16px; }
    .settings-panel h3 { font-size: 1rem; margin-bottom: 16px; }
    .setting-row { padding: 12px 0; }
    .setting-label { font-size: 0.85rem; }

    .upload-area { padding: 32px 16px; }
    .upload-area h3 { font-size: 1.1rem; }

    .result-panel { padding: 20px 16px; }
    .result-actions {
        flex-direction: column;
        gap: 8px;
    }
    .result-actions .btn { width: 100%; justify-content: center; }

    /* Caption preview box */
    .caption-preview-box {
        max-height: 250px;
        font-size: 0.8rem;
        padding: 16px;
    }

    /* Number input */
    .number-input button { width: 32px; height: 32px; }
    .number-input span { min-width: 36px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
    /* Extra small adjustments */
    .hero h1 { font-size: 1.7rem; }
    .hero .subtitle { font-size: 0.9rem; }

    .feature-card { padding: 20px 16px; }
    .pricing-card { padding: 24px 20px; }
    .pricing-card .price { font-size: 2.2rem; }

    .auth-card { padding: 24px 16px; }

    .caption-actions .btn {
        font-size: 0.68rem;
        padding: 5px 8px;
    }

    .lang-card {
        padding: 16px 20px;
        min-width: 110px;
    }
}

/* ========== LIGHT MODE OVERRIDES ========== */
[data-theme="light"] .hero-bg .orb {
    opacity: 0.25;
}

[data-theme="light"] .hero-bg .grid-pattern {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .hero-mockup {
    background: var(--bg-secondary);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 20px 80px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .hero-mockup-bar {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .mockup-block {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .floating-tag {
    background: var(--bg-secondary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .pricing-card {
    background: var(--bg-secondary);
}

[data-theme="light"] .pricing-card.featured {
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.15);
}

/* Dark mode pricing card text - all white */
[data-theme="dark"] .pricing-card .plan-name,
[data-theme="dark"] .pricing-card .plan-price,
[data-theme="dark"] .pricing-card .plan-period,
[data-theme="dark"] .pricing-card .plan-features li {
    color: #fff;
}

[data-theme="light"] .auth-page {
    background: var(--bg-primary);
}

[data-theme="light"] .auth-card {
    background: var(--bg-secondary);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .settings-panel,
[data-theme="light"] .result-panel,
[data-theme="light"] .caption-card {
    background: var(--bg-secondary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .setting-row {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .setting-select {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .setting-select option {
    background: var(--bg-secondary);
}

[data-theme="light"] .number-input {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .number-input button {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .number-input button:hover {
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mark-checkbox {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .mark-checkbox:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .caption-preview-box {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .upload-area {
    background: rgba(0, 0, 0, 0.01);
}

[data-theme="light"] .upload-area:hover,
[data-theme="light"] .upload-area.dragover {
    background: rgba(99, 102, 241, 0.03);
}

[data-theme="light"] .lang-card {
    background: var(--bg-secondary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .step {
    background: var(--bg-secondary);
}

[data-theme="light"] .install-step {
    background: var(--bg-secondary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .download-card {
    background: var(--bg-secondary);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .guide-visual {
    background: rgba(99, 102, 241, 0.05);
}

/* ========== CONTACT PAGE ========== */
.contact-container {
    display: flex;
    justify-content: center;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--accent-primary);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    width: 100%;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-base);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Fix dropdown options for dark mode */
.contact-form select option {
    background: #1a1a2e;
    color: #ffffff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Phone input group */
.phone-input-group {
    display: flex;
    gap: 8px;
}

.contact-form .phone-input-group .country-code-select {
    width: 130px;
    min-width: 130px;
    flex: 0 0 130px;
}

.contact-form .phone-input-group input[type="tel"] {
    width: 0;
    flex: 1 1 0%;
    min-width: 0;
}

/* Validation errors */
.form-error {
    color: var(--error, #ef4444);
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error, #ef4444);
}

.form-group.error input:focus,
.form-group.error select:focus,
.form-group.error textarea:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Form status messages */
.form-status {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success, #22c55e);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error, #ef4444);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ========== LEGAL PAGES (Terms, Privacy) ========== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* RTL Support for Contact & Legal */
body.rtl .contact-container {
    direction: rtl;
}

body.rtl .contact-form select {
    background-position: left 12px center;
    padding-right: 16px;
    padding-left: 36px;
}

body.rtl .phone-input-group {
    flex-direction: row-reverse;
}

body.rtl .contact-form .phone-input-group .country-code-select {
    background-position: left 12px center;
    padding-right: 16px;
    padding-left: 36px;
}

body.rtl .legal-content {
    direction: rtl;
    text-align: right;
}

/* Light mode */
[data-theme="light"] .contact-form {
    background: var(--bg-secondary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form select,
[data-theme="light"] .contact-form textarea {
    background: rgba(0, 0, 0, 0.02);
}

/* Fix dropdown options for light mode */
[data-theme="light"] .contact-form select option {
    background: #ffffff;
    color: #1a1a2e;
}

[data-theme="light"] .legal-content {
    background: var(--bg-secondary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .contact-icon {
    background: rgba(99, 102, 241, 0.08);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .contact-container {
        padding: 0 16px;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .legal-content {
        padding: 24px;
    }

    .legal-section h3 {
        font-size: 1rem;
    }

    .legal-section p {
        font-size: 0.9rem;
    }
}

/* ========== EXTENSION DEMO COMPONENTS ========== */
/* These replicate the actual EasySub extension UI for the guide page */

.guide-visual.demo-container {
    padding: 0;
    overflow: hidden;
    opacity: 1;
    font-size: 1rem;
}

.demo-extension {
    --demo-bg: #0a0a0f;
    --demo-bg-card: rgba(255, 255, 255, 0.03);
    --demo-border: rgba(255, 255, 255, 0.08);
    --demo-text: #ffffff;
    --demo-text-secondary: rgba(255, 255, 255, 0.6);
    --demo-text-muted: rgba(255, 255, 255, 0.4);
    --demo-accent: #6366f1;
    --demo-accent-secondary: #8b5cf6;
    --demo-success: #10b981;
    --demo-warning: #f59e0b;
    --demo-error: #ef4444;

    background: var(--demo-bg);
    border-radius: 12px;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--demo-text);
    width: 100%;
    font-size: 12px;
    line-height: 1.4;
}

/* Demo Card */
.demo-card {
    background: var(--demo-bg-card);
    border: 1px solid var(--demo-border);
    border-radius: 10px;
    padding: 14px;
}

.demo-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.demo-card-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-card-icon svg {
    width: 12px;
    height: 12px;
    stroke: var(--demo-accent);
}

.demo-card-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--demo-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Demo Form Elements */
.demo-form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.demo-form-group {
    flex: 1;
}

.demo-form-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--demo-text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.demo-form-input,
.demo-form-select {
    width: 100%;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--demo-border);
    border-radius: 6px;
    color: var(--demo-text);
    font-size: 11px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.demo-form-input:focus,
.demo-form-select:focus {
    border-color: var(--demo-accent);
}

.demo-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%236b7280' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
}

/* Demo Source Toggle */
.demo-source-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.demo-source-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--demo-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--demo-text-muted);
    font-size: 11px;
    font-weight: 500;
}

.demo-source-option svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.demo-source-option.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border-color: var(--demo-accent);
    color: var(--demo-text);
}

.demo-source-option:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--demo-text-secondary);
}

/* Demo Track Chips */
.demo-track-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.demo-track-chip {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--demo-border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--demo-text-secondary);
}

.demo-track-chip.selected {
    background: linear-gradient(135deg, var(--demo-accent), var(--demo-accent-secondary));
    border-color: transparent;
    color: white;
}

.demo-track-chip:hover:not(.selected) {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Demo Range Toggle */
.demo-range-toggle {
    display: flex;
    gap: 4px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-bottom: 10px;
}

.demo-range-option {
    flex: 1;
    padding: 6px 10px;
    text-align: center;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--demo-text-muted);
}

.demo-range-option.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--demo-text);
}

/* Demo Duration Badge */
.demo-duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 6px;
    font-size: 10px;
}

.demo-duration-badge .label {
    color: var(--demo-text-muted);
}

.demo-duration-badge .value {
    font-family: 'SF Mono', Consolas, monospace;
    font-weight: 600;
    color: var(--demo-success);
}

/* Demo Toggle Switch */
.demo-toggle-switch {
    position: relative;
    width: 40px;
    height: 22px;
    cursor: pointer;
}

.demo-toggle-switch input {
    display: none;
}

.demo-toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    transition: all 0.3s;
}

.demo-toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.demo-toggle-switch input:checked + .demo-toggle-slider {
    background: linear-gradient(135deg, var(--demo-accent), var(--demo-accent-secondary));
}

.demo-toggle-switch input:checked + .demo-toggle-slider::before {
    transform: translateX(18px);
}

.demo-toggle-switch.small {
    width: 36px;
    height: 20px;
}

.demo-toggle-switch.small .demo-toggle-slider {
    border-radius: 10px;
}

.demo-toggle-switch.small .demo-toggle-slider::before {
    width: 14px;
    height: 14px;
}

.demo-toggle-switch.small input:checked + .demo-toggle-slider::before {
    transform: translateX(16px);
}

/* Demo Option Row */
.demo-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--demo-bg-card);
    border: 1px solid var(--demo-border);
    border-radius: 8px;
    margin-bottom: 8px;
}

.demo-option-row:last-child {
    margin-bottom: 0;
}

.demo-option-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-option-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-option-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--demo-accent);
}

.demo-option-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--demo-text);
}

/* Demo AI Enhance Row (Special) */
.demo-ai-enhance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--demo-bg-card);
    border: 1px solid var(--demo-border);
    border-radius: 10px;
    transition: all 0.3s;
}

.demo-ai-enhance-row.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.demo-ai-enhance-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-ai-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.demo-ai-enhance-row.active .demo-ai-icon {
    background: linear-gradient(135deg, var(--demo-accent), var(--demo-accent-secondary));
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.4);
}

.demo-ai-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--demo-accent);
}

.demo-ai-enhance-row.active .demo-ai-icon svg {
    stroke: white;
}

.demo-ai-label-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--demo-text);
}

.demo-ai-label-subtitle {
    font-size: 10px;
    color: var(--demo-text-muted);
}

.demo-ai-status {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--demo-text-muted);
    margin-right: 10px;
}

.demo-ai-enhance-row.active .demo-ai-status {
    background: rgba(16, 185, 129, 0.15);
    color: var(--demo-success);
}

/* Demo Punctuation Marks */
.demo-punctuation-container {
    margin-top: 8px;
    margin-left: 38px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--demo-border);
    border-radius: 6px;
}

.demo-punctuation-label {
    font-size: 10px;
    color: var(--demo-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.demo-punctuation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.demo-punctuation-mark {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--demo-border);
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--demo-text-secondary);
}

.demo-punctuation-mark.checked {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--demo-accent);
    color: var(--demo-accent);
}

/* Demo Slider */
.demo-slider-container {
    margin-bottom: 12px;
}

.demo-slider-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.demo-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    direction: rtl; /* Flip slider so high values are on left, matching labels */
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

.demo-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--demo-accent);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.demo-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 9px;
    color: var(--demo-text-muted);
}

.demo-slider-labels .recommended {
    color: var(--demo-accent);
    font-weight: 600;
}

/* Demo History Item */
.demo-history-item {
    background: var(--demo-bg-card);
    border: 1px solid var(--demo-border);
    border-radius: 10px;
    padding: 12px;
}

.demo-history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.demo-history-info {
    flex: 1;
    min-width: 0;
}

.demo-history-filename {
    font-size: 12px;
    font-weight: 600;
    color: var(--demo-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.demo-history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.demo-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--demo-text-muted);
}

.demo-meta-item svg {
    width: 10px;
    height: 10px;
}

.demo-history-badges {
    display: flex;
    gap: 6px;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
}

.demo-badge.ai {
    background: rgba(99, 102, 241, 0.15);
    color: var(--demo-accent);
}

.demo-badge.stretch {
    background: rgba(16, 185, 129, 0.15);
    color: var(--demo-success);
}

.demo-history-actions {
    display: flex;
    gap: 6px;
}

.demo-action-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-action-btn svg {
    width: 14px;
    height: 14px;
}

.demo-action-btn.preview {
    background: rgba(99, 102, 241, 0.1);
    color: var(--demo-accent);
}

.demo-action-btn.edit {
    background: rgba(34, 197, 94, 0.1);
    color: var(--demo-success);
}

.demo-action-btn.download {
    background: linear-gradient(135deg, var(--demo-accent), var(--demo-accent-secondary));
    color: white;
}

.demo-action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: var(--demo-error);
}

.demo-action-btn:hover {
    transform: scale(1.05);
}

/* Demo User Bar / Minutes Display */
.demo-user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--demo-bg-card);
    border: 1px solid var(--demo-border);
    border-radius: 10px;
}

.demo-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-user-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--demo-text);
}

.demo-logout-btn {
    width: 24px;
    height: 24px;
    background: transparent;
    border: 1px solid var(--demo-border);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--demo-text-muted);
    transition: all 0.2s;
}

.demo-logout-btn:hover {
    border-color: var(--demo-error);
    color: var(--demo-error);
}

.demo-logout-btn svg {
    width: 12px;
    height: 12px;
}

.demo-minutes-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-minutes-label {
    font-size: 10px;
    color: var(--demo-text-muted);
}

.demo-minutes-value {
    font-size: 14px;
    font-weight: 700;
    font-family: 'SF Mono', Consolas, monospace;
    color: var(--demo-success);
}

.demo-refresh-btn {
    width: 24px;
    height: 24px;
    background: transparent;
    border: 1px solid var(--demo-border);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--demo-text-muted);
    transition: all 0.2s;
}

.demo-refresh-btn:hover {
    border-color: var(--demo-accent);
    color: var(--demo-accent);
}

.demo-refresh-btn svg {
    width: 12px;
    height: 12px;
}

.demo-buy-btn {
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--demo-accent), var(--demo-accent-secondary));
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-buy-btn:hover {
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

/* Demo Tooltip */
.demo-tooltip {
    position: relative;
    display: inline-flex;
}

.demo-tooltip-icon {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 600;
    color: var(--demo-text-muted);
    cursor: help;
}

.demo-tooltip-content {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    padding: 8px 10px;
    background: #1a1a24;
    border: 1px solid var(--demo-border);
    border-radius: 6px;
    font-size: 10px;
    color: var(--demo-text-secondary);
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 10;
}

.demo-tooltip:hover .demo-tooltip-content {
    opacity: 1;
    visibility: visible;
}

/* RTL Support for Demos */
body.rtl .demo-extension {
    direction: rtl;
}

body.rtl .demo-form-select {
    background-position: left 8px center;
    padding-right: 10px;
    padding-left: 24px;
}

body.rtl .demo-punctuation-container {
    margin-left: 0;
    margin-right: 38px;
}

body.rtl .demo-user-bar {
    flex-direction: row-reverse;
}

body.rtl .demo-minutes-display {
    flex-direction: row-reverse;
}

body.rtl .demo-ai-status {
    margin-right: 0;
    margin-left: 10px;
}

body.rtl .demo-slider {
    direction: ltr; /* In RTL context, use LTR to maintain the same visual flip */
}

/* Responsive Demo */
@media (max-width: 768px) {
    .demo-extension {
        padding: 12px;
        font-size: 11px;
    }

    .demo-form-row {
        flex-direction: column;
        gap: 8px;
    }

    .demo-history-header {
        flex-direction: column;
    }

    .demo-history-actions {
        margin-top: 8px;
    }
}

/* ========== DEMO DROPDOWN OPTIONS ========== */
/* Fix dropdown options for dark mode */
.demo-form-select option {
    background: #1a1a2e;
    color: #ffffff;
}

/* ========== DEMO LIGHT MODE ========== */
[data-theme="light"] .demo-extension {
    --demo-bg: #f8f9fa;
    --demo-bg-card: rgba(0, 0, 0, 0.03);
    --demo-border: rgba(0, 0, 0, 0.1);
    --demo-text: #1a1a2e;
    --demo-text-secondary: rgba(0, 0, 0, 0.7);
    --demo-text-muted: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .demo-form-input,
[data-theme="light"] .demo-form-select {
    background: rgba(0, 0, 0, 0.04);
    color: var(--demo-text);
}

/* Fix dropdown options for light mode */
[data-theme="light"] .demo-form-select option {
    background: #ffffff;
    color: #1a1a2e;
}

[data-theme="light"] .demo-source-option {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .demo-source-option.active {
    color: var(--demo-text);
}

[data-theme="light"] .demo-track-chip {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .demo-track-chip.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    color: var(--demo-accent);
}

[data-theme="light"] .demo-range-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .demo-range-btn.active {
    color: var(--demo-text);
}

[data-theme="light"] .demo-duration-badge {
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .demo-option-row {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .demo-toggle-slider {
    background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .demo-ai-status {
    background: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .demo-ai-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

[data-theme="light"] .demo-punctuation-marks {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .demo-mark-checkbox {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .demo-mark-checkbox:hover {
    border-color: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .demo-slider-track {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .demo-history-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .demo-history-filename {
    color: var(--demo-text);
}

[data-theme="light"] .demo-history-meta {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .demo-action-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .demo-action-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .demo-user-bar {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .demo-user-name {
    color: var(--demo-text);
}

[data-theme="light"] .demo-refresh-btn {
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .demo-refresh-btn:hover {
    border-color: var(--demo-accent);
    color: var(--demo-accent);
}

[data-theme="light"] .demo-tooltip-content {
    background: #1a1a2e;
    color: #ffffff;
}

/* ========== STRETCH BEFORE/AFTER VISUAL ========== */
.demo-stretch-visual {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--demo-border);
}

.demo-stretch-comparison {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.demo-stretch-side {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.demo-stretch-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--demo-text-muted);
}

.demo-stretch-timeline {
    display: flex;
    height: 22px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--demo-border);
}

.demo-stretch-caption {
    background: linear-gradient(135deg, var(--demo-accent), var(--demo-accent-secondary));
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 500;
    color: white;
    margin: 2px;
}

.demo-stretch-gap {
    flex: 1;
    background: transparent;
    position: relative;
}

.demo-stretch-gap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        var(--demo-text-muted) 0,
        var(--demo-text-muted) 3px,
        transparent 3px,
        transparent 6px
    );
    opacity: 0.5;
}

.demo-stretch-caption.stretched {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Light mode for stretch visual */
[data-theme="light"] .demo-stretch-timeline {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ========== FLOATING CTA BUTTON ========== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: floatCta 3s ease-in-out infinite;
}

@keyframes floatCta {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--accent-gradient);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5), 0 0 0 4px rgba(99, 102, 241, 0.15);
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
}

.floating-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6), 0 0 0 6px rgba(99, 102, 241, 0.2);
}

.floating-cta-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.floating-cta-subtext {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.floating-cta.hidden {
    display: none;
}

body.rtl .floating-cta {
    right: auto;
    left: 24px;
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 16px;
        right: 16px;
    }

    .floating-cta-btn {
        padding: 14px 22px;
        font-size: 0.9rem;
    }

    body.rtl .floating-cta {
        right: auto;
        left: 16px;
    }
}

/* ========== FREE TRIAL BANNER ========== */
.free-trial-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    text-align: center;
}

.free-trial-banner-icon {
    font-size: 1.5rem;
}

.free-trial-banner-text {
    font-weight: 600;
    color: var(--text-primary);
}

.free-trial-banner-text span {
    color: var(--success);
}

@media (max-width: 768px) {
    .free-trial-banner {
        flex-direction: column;
        gap: 8px;
        padding: 16px 20px;
    }
}
