.extension-page {
    --brand: #0abab5;
    --brand-dark: #009c97;
    --bg: #f8fafc;
    --bg-2: #ffffff;
    --bg-3: #f1f5f9;
    --text: #0f172a;
    --text-2: #475569;
    --text-3: #64748b;
    --border: #e2e8f0;
    --success: #16a34a;
    --error: #dc2626;
    --amber: #f59e0b;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: transparent;
    color: inherit;
    line-height: 1.6;
}

html.dark .extension-page {
    --bg: #0f172a;
    --bg-2: #1e293b;
    --bg-3: #334155;
    --text: #f8fafc;
    --text-2: #94a3b8;
    --text-3: #64748b;
    --border: #334155;
}

.extension-page *,
.extension-page *::before,
.extension-page *::after {
    box-sizing: border-box;
}

.extension-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(10, 186, 181, 0.12);
    color: var(--brand);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--brand);
}

.hero-sub {
    font-size: 17px;
    color: var(--text-2);
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 186, 181, 0.3);
}

.btn-ghost {
    padding: 14px 28px;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s;
}

.btn-ghost:hover {
    border-color: var(--text-2);
}

/* ── Pricing ──────────────────────────────────────── */
.pricing {
    padding: 60px 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-header h2 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.pricing-header p {
    color: var(--text-2);
    font-size: 16px;
}

.pricing-row {
    display: flex;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-card {
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    background: var(--bg-2);
    border: 2px solid var(--border);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--amber);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.15), 0 8px 32px rgba(245, 158, 11, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 12px;
    white-space: nowrap;
}

.pricing-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-2);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.pricing-old {
    font-size: 16px;
    color: var(--text-3);
    text-decoration: line-through;
}

.pricing-current {
    font-size: 42px;
    font-weight: 900;
    color: var(--text);
}

.pricing-current sup {
    font-size: 18px;
    font-weight: 700;
}

.pricing-sub {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.pricing-features li {
    font-size: 13.5px;
    color: var(--text-2);
    padding: 5px 0;
}

.pricing-features li::before {
    content: '✔ ';
    color: var(--brand);
    font-weight: 700;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.pricing-btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.pricing-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
}

.pricing-btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.pricing-btn-secondary:hover {
    border-color: var(--text-2);
}

/* ── Success Banner ───────────────────────────────── */
.banner {
    max-width: 700px;
    margin: 20px auto;
    padding: 24px;
    border-radius: 14px;
    text-align: center;
}

.banner-success {
    background: rgba(22, 163, 74, 0.12);
    border: 2px solid rgba(22, 163, 74, 0.3);
}

.banner-success h3 {
    color: var(--success);
    margin-bottom: 12px;
}

.license-display {
    font-family: monospace;
    font-size: 15px;
    background: var(--bg-3);
    padding: 12px 18px;
    border-radius: 8px;
    display: inline-block;
    margin: 8px 0;
    user-select: all;
    word-break: break-all;
}

.banner-cancelled {
    background: rgba(245, 158, 11, 0.12);
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.banner-failed {
    background: rgba(220, 38, 38, 0.12);
    border: 2px solid rgba(220, 38, 38, 0.3);
}

/* ── FAQ ──────────────────────────────────────────── */
.faq {
    padding: 60px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 30px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.faq-q {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q::after {
    content: '+';
    font-size: 20px;
    color: var(--text-3);
}

.faq-a {
    font-size: 14px;
    color: var(--text-2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding-top: 10px;
}

.faq-item.open .faq-q::after {
    content: '−';
}

/* ── Footer ───────────────────────────────────────── */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-3);
    font-size: 13px;
    border-top: 1px solid var(--border);
}

.footer a {
    color: var(--brand);
    text-decoration: none;
}

/* ── Hero Video Showcase ─────────────────────────── */
.hero-video-wrapper {
    max-width: 860px;
    margin: 48px auto 0;
    position: relative;
    border-radius: 20px;
    padding: 5px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    box-shadow:
        0 8px 32px rgba(139, 92, 246, 0.25),
        0 16px 56px rgba(236, 72, 153, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1);
    animation: heroVideoFadeIn 0.8s ease-out;
}

.hero-video-wrapper::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.35));
    z-index: -1;
    filter: blur(18px);
    opacity: 0.7;
}

.hero-video-inner {
    border-radius: 15px;
    overflow: hidden;
    background: #0f172a;
}

.hero-video-inner video {
    display: block;
    width: 100%;
    height: auto;
}

/* Style the native controls bar area */
.hero-video-inner video::-webkit-media-controls-panel {
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, transparent 100%);
}

.hero-video-caption {
    text-align: center;
    margin-top: 16px;
    font-size: 13.5px;
    color: var(--text-3);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.hero-video-caption span {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

@keyframes heroVideoFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 600px) {
    .pricing-row {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-video-wrapper {
        margin: 32px 12px 0;
    }
}

.hiw-section {
    padding: 64px 20px 72px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.hiw-section h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}

.hiw-subtitle {
    font-size: 15px;
    color: var(--text-3);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hiw-card {
    background: #f5f0eb;
    border-radius: 16px;
    padding: 32px 24px 28px;
    text-align: center;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

html.dark .hiw-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
}

.hiw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.hiw-num {
    width: 40px;
    height: 40px;
    background: #c8e6c9;
    color: #2e7d32;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

html.dark .hiw-num {
    background: rgba(10, 186, 181, 0.15);
    color: var(--brand);
}

.hiw-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.hiw-card p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.65;
    margin: 0;
}

/* Platform list inside Step 1 */
.hiw-platforms {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    text-align: left;
}

.hiw-platforms li {
    font-size: 12px;
    color: var(--text-2);
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hiw-platforms li::before {
    content: '▸';
    color: var(--brand);
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
}

.hiw-privacy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 8px 16px;
    background: rgba(10, 186, 181, 0.08);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand);
}

html.dark .hiw-privacy {
    background: rgba(10, 186, 181, 0.12);
}

.hiw-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 20px;
    background: #1a73e8;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
}

.hiw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.35);
}

.hiw-btn img {
    width: 16px;
    height: 16px;
}

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

@media (max-width: 520px) {
    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hiw-section h2 {
        font-size: 28px;
    }

    .hiw-card {
        padding: 24px 20px 22px;
    }
}

.showcase-section {
    padding: 72px 20px 80px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.showcase-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.showcase-section h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.03em;
    margin: 0 0 12px;
}

.showcase-sub {
    font-size: 15px;
    color: var(--text-3);
    max-width: 580px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ── Tab Toggle ──────────────────────────────────── */
.showcase-tabs {
    display: inline-flex;
    background: var(--bg-3);
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 40px;
    border: 1px solid var(--border);
}

.showcase-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.showcase-tab.active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 2px 10px rgba(10, 186, 181, 0.3);
}

.showcase-tab:not(.active):hover {
    color: var(--text);
    background: rgba(10, 186, 181, 0.06);
}

.showcase-tab svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ── Compare Grid ────────────────────────────────── */
.showcase-panel {
    display: none;
    animation: showcaseFadeIn 0.4s ease;
}

.showcase-panel.active {
    display: block;
}

@keyframes showcaseFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.showcase-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

html.dark .showcase-item {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
}

.showcase-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.showcase-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    background: #000;
}

/* ── Badges ──────────────────────────────────────── */
.showcase-label {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.showcase-label.label-before {
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
}

.showcase-label.label-after {
    background: var(--brand);
    color: #fff;
}

/* ── Arrow Separator ─────────────────────────────── */
.showcase-arrow {
    display: none;
}

@media (min-width: 769px) {
    .showcase-arrow {
        display: flex;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 5;
        width: 48px;
        height: 48px;
        background: var(--brand);
        color: #fff;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(10, 186, 181, 0.4);
        font-size: 20px;
        font-weight: 900;
    }

    .showcase-compare {
        position: relative;
    }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    .showcase-compare {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .showcase-section h2 {
        font-size: 28px;
    }

    .showcase-tab {
        padding: 8px 18px;
        font-size: 13px;
    }

    .showcase-section {
        padding: 56px 16px 64px;
    }
}

@media (max-width: 480px) {
    .showcase-tab {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }

    .showcase-label {
        font-size: 10px;
        padding: 4px 10px;
        top: 10px;
        left: 10px;
    }
}

.reviews-section {
    padding: 72px 20px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Rating Header ────────────────────────────────── */
.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.reviews-rating-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviews-score {
    font-size: 52px;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.04em;
}

.reviews-stars-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviews-stars {
    display: flex;
    gap: 2px;
}

.reviews-stars svg {
    width: 18px;
    height: 18px;
    fill: #f59e0b;
}

.reviews-count {
    font-size: 13px;
    color: var(--text-3);
    font-weight: 500;
}

.reviews-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-3);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.reviews-cta-link:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(10, 186, 181, 0.3);
}

.reviews-cta-link img {
    width: 18px;
    height: 18px;
}

/* ── Section Title ────────────────────────────────── */
.reviews-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.reviews-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}

.reviews-subtitle {
    font-size: 15px;
    color: var(--text-3);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Review Cards ─────────────────────────────────── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: #f5f0eb;
    border-radius: 16px;
    padding: 28px 24px 24px;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

html.dark .review-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

/* Quote icon */
.review-card::after {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 48px;
    font-family: Georgia, serif;
    color: var(--brand);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

/* User info */
.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.review-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.review-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 700;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.review-date {
    font-size: 11px;
    color: var(--text-3);
}

/* Stars */
.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.review-stars svg {
    width: 14px;
    height: 14px;
    fill: #f59e0b;
}

/* Review text */
.review-text {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 16px;
}

.review-text strong {
    color: var(--text);
    font-weight: 700;
}

/* Source badge */
.review-source {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-3);
    font-weight: 500;
}

.review-source img {
    width: 14px;
    height: 14px;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-score {
        font-size: 42px;
    }

    .reviews-title {
        font-size: 28px;
    }

    .reviews-section {
        padding: 56px 16px 64px;
    }
}