/*
Theme Name: Smart Directory Pro
Theme URI: https://smartdirectorypro.com
Author: Arielle Phoenix
Author URI: https://ariellephoenix.com
Description: Modern SaaS theme for the Smart Directory Pro WordPress plugin product site. Features GSAP animations, wave dividers, and Phosphor Icons.
Version: 1.0.1
License: GPLv2 or later
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: smart-directory-pro
*/

/* === RESET & TOKENS === */
:root {
    --bg: #ffffff;
    --bg2: #f5f7fa;
    --bg3: #eef1f7;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --ink: #0f172a;
    --ink2: #1e293b;
    --muted: #64748b;
    --muted2: #94a3b8;
    --blue: #2563EB;
    --blue-light: #eff6ff;
    --blue-mid: #bfdbfe;
    --blue-dark: #1d4ed8;
    --green: #22C55E;
    --green-light: #dcfce7;
    --amber: #F97316;
    --orange: #F97316;
    --red: #ef4444;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* Phosphor icon sizes */
.ph {
    font-size: 24px;
    line-height: 1;
}

.ph-sm {
    font-size: 18px;
    line-height: 1;
}

.ph-lg {
    font-size: 28px;
    line-height: 1;
}

/* === NAV === */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 64px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links>li {
    position: relative;
}

.nav-links>li>a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 7px;
    transition: all 0.15s;
    display: block;
}

.nav-links>li>a:hover {
    color: var(--ink);
    background: var(--bg2);
}

.has-dropdown {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    z-index: 200;
    opacity: 0;
    animation: dropIn 0.15s ease forwards;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

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

.has-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 10px;
    display: none;
}

.has-dropdown:hover::after {
    display: block;
}

.has-dropdown:hover .dropdown,
.nav-links>li:hover .dropdown {
    display: block;
}

.dropdown li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink2);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.dropdown li a .ph {
    font-size: 16px;
    color: var(--muted);
    flex-shrink: 0;
    transition: color 0.15s;
}

.dropdown li a:hover .ph {
    color: var(--blue);
}

.dropdown li a:hover {
    background: var(--bg2);
    color: var(--blue);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 8px;
}

/* Mega dropdown (SDP Plugin — two-column Core / Pro) */
.dropdown--mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px 14px;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    flex-direction: row;
    gap: 0;
    opacity: 0;
    animation: megaIn 0.15s ease forwards;
}

@keyframes megaIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.has-dropdown--mega:hover .dropdown--mega,
.nav-links>li.has-dropdown--mega:hover .dropdown--mega {
    display: flex;
}

.mega-col {
    min-width: 240px;
}

.mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted2);
    padding: 0 10px 8px;
}

.mega-sep {
    width: 1px;
    background: var(--border);
    margin: 0 8px;
    align-self: stretch;
}

.mega-col li a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink2);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.mega-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.mega-text strong {
    font-weight: 600;
    font-size: 13px;
}

.mega-desc {
    font-size: 11px;
    color: var(--muted);
    font-weight: 400;
    margin-top: 1px;
}

.mega-col li a:hover {
    background: var(--bg2);
    color: var(--blue);
}

.mega-col li a .ph {
    font-size: 18px;
    color: var(--muted);
    transition: color 0.15s;
    flex-shrink: 0;
    margin-top: 2px;
}

.mega-col li a:hover .ph {
    color: var(--blue);
}



.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-ghost {
    color: var(--ink2);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1.5px solid var(--border-strong);
    transition: all 0.15s;
}

.nav-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

.nav-cta {
    background: var(--blue);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 9px 22px;
    border-radius: 8px;
    transition: background 0.15s;
}

.nav-cta:hover {
    background: var(--blue-dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
    transition: 0.3s;
}

/* === HERO === */
.hero {
    padding: 140px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #eef4ff 0%, #f8faff 50%, #ffffff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(70, 104, 224, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(70, 104, 224, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 70%);
    pointer-events: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    border: 1px solid var(--blue-mid);
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 28px;
    animation: up 0.5s ease both;
    /* Reset h1 defaults when used as the semantic H1 */
    line-height: 1.4;
    margin-top: 0;
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    animation: blink 2s ease infinite;
}

/* Legacy hero-eyebrow from plugin page */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    border: 1px solid var(--blue-mid);
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 28px;
    animation: up 0.5s ease both;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    animation: blink 2s ease infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.2
    }
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

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

.hero-display {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(48px, 6.5vw, 84px);
    font-weight: 900;
    line-height: 0.95;
    color: var(--ink);
    margin-bottom: 28px;
    animation: up 0.5s 0.08s ease both;
}

.hero-display .accent {
    color: var(--blue);
}

.hero-display .block {
    display: block;
}

.hero-sub {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 44px;
    line-height: 1.6;
    animation: up 0.5s 0.14s ease both;
}

.hero-sub strong {
    color: var(--ink2);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: up 0.5s 0.2s ease both;
}

/* Hero social proof */
.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    animation: up 0.5s 0.26s ease both;
}

.hero-proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.hero-proof-item strong {
    color: var(--ink2);
    font-weight: 600;
}

.proof-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-strong);
}

/* Legacy hero stats from plugin page */
.hero-stats {
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    animation: up 0.5s 0.25s ease both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    font-family: 'Barlow', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: var(--blue);
    display: block;
    line-height: 1;
}

.hero-stat-label {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 4px;
}

.hero-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* === BUTTONS === */
.btn-primary {
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 36px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.15s;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);
    display: inline-block;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.btn-outline {
    color: var(--ink2);
    font-weight: 500;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    border: 1.5px solid var(--border-strong);
    background: white;
    transition: all 0.15s;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

/* Legacy ghost button from plugin page */
.btn-ghost {
    color: var(--ink2);
    font-weight: 500;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    border: 1.5px solid var(--border-strong);
    background: white;
    transition: all 0.15s;
    display: inline-block;
}

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

.btn-white {
    background: white;
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
    display: inline-block;
}

.btn-white:hover {
    background: var(--bg2);
}

/* === SHARED === */
.container {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 100px 0;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 900;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 14px;
}

.section-sub {
    color: var(--muted);
    font-size: 17px;
    max-width: 520px;
    line-height: 1.6;
}

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

.text-center .section-sub {
    margin: 0 auto;
}

/* === LOGOS / COMPATIBLE === */
.logos-strip {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
    position: relative;
    z-index: 2;
    transform: translateY(0);
    box-shadow: none;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.6s ease;
}

.logos-strip--lifted {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: transparent;
}

/* === VIDEO REVEAL — Parallax Ledge === */
.video-reveal-zone {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg2) 0%, #ffffff 100%);
    padding: 0 0 80px;
    margin-top: -1px;
    /* seamless connection to logos-strip */
}

.video-reveal-frame {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    perspective: 1200px;
    padding-top: 60px;
    /* Initial state — GSAP overrides these */
    opacity: 0;
    transform: translateY(-40px) rotateX(4deg);
    transform-origin: top center;
}

.video-reveal-glow {
    position: absolute;
    inset: 48px -20px -20px -20px;
    border-radius: 28px;
    background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.video-reveal-frame.is-revealed .video-reveal-glow {
    opacity: 1;
}

.video-reveal-player {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(37, 99, 235, 0.15);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    background: #f1f5f9;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    z-index: 1;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.video-reveal-player:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 40px rgba(37, 99, 235, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.video-reveal-player:hover .video-play-btn svg {
    transform: scale(1.1);
}

.video-reveal-player:hover .video-play-bg {
    fill: var(--blue);
    fill-opacity: 1;
}

.video-reveal-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.video-play-btn svg {
    transition: transform 0.2s ease;
}

.video-play-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    transform: translate(-50%, -50%) scale(1);
    animation: video-pulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes video-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.video-reveal-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-reveal-player.is-playing .video-play-btn,
.video-reveal-player.is-playing .video-reveal-label,
.video-reveal-player.is-playing .video-reveal-thumb {
    display: none;
}

.video-reveal-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mask top edge — sells the "emerging from behind" illusion */
.video-reveal-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--bg2) 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

@media (max-width: 768px) {
    .video-reveal-frame {
        max-width: 100%;
        padding-top: 40px;
    }

    .video-reveal-player {
        border-radius: 14px;
    }

    .video-reveal-zone {
        padding-bottom: 48px;
    }

    .video-reveal-label {
        font-size: 11px;
        padding: 6px 14px;
        bottom: 12px;
    }
}

.logos-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted2);
    margin-bottom: 24px;
}

.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--muted2);
    letter-spacing: -0.01em;
    transition: color 0.15s;
    cursor: default;
}

.logo-item:hover {
    color: var(--ink);
}

/* Legacy compat strip from plugin page */
.compat-strip {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.compat-label {
    text-align: center;
    font-size: 11px;
    color: var(--muted2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
    font-weight: 600;
}

.compat-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.compat-logo {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--muted2);
    letter-spacing: -0.01em;
    transition: color 0.15s;
    cursor: default;
}

.compat-logo:hover {
    color: var(--ink);
}

/* === WAVE SECTION DIVIDERS === */
/* Wave sits at bottom of a section, painted in THAT section's color, overlapping the next section */
.wave-divider {
    position: relative;
    overflow: visible;
}

.wave-divider::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -59px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

/* White section → colored section below: wave is white */
.wave-divider--white::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,0 C240,60 480,60 720,30 C960,0 1200,0 1440,30 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}

/* bg2 section → white section below: wave is bg2 (#f5f7fb) */
.wave-divider--bg2::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23f5f7fb' d='M0,0 C240,60 480,60 720,30 C960,0 1200,0 1440,30 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}

/* Dark section (mid-cta) → light section below: wave is dark navy */
.wave-divider--dark::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%230c0e14' d='M0,0 C240,60 480,60 720,30 C960,0 1200,0 1440,30 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}

/* Receiving end: section below a wave needs top padding for the overlap */
.wave-receive {
    padding-top: 140px !important;
}

/* === WHAT IS SDP === */
.sdp-section {
    padding: 100px 0;
    position: relative;
}

.sdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sdp-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.sdp-stat {
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}

.sdp-stat-num {
    font-family: 'Barlow', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 4px;
}

.sdp-stat-label {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
}

.sdp-visual {
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
}

.sdp-engine-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.sdp-engine-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* === THREE PRODUCTS === */
.products-section {
    padding: 100px 0;
    background: var(--bg2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.product-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--border-strong);
}

.product-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.icon-blue {
    background: var(--blue-light);
    border: 1px solid var(--blue-mid);
    color: var(--blue);
}

.icon-green {
    background: var(--green-light);
    border: 1px solid rgba(50, 182, 122, 0.2);
    color: var(--green);
}

.icon-amber {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: var(--amber);
}

.product-card h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 8px;
}

.product-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.product-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* === HOMEPAGE FEATURES PREVIEW === */
.hp-features-section {
    padding: 100px 0;
}

.features-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.features-header .section-sub {
    max-width: 400px;
}

.hp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feat-card {
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.feat-card:hover {
    background: white;
    border-color: var(--blue-mid);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.feat-icon {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--blue);
}

.feat-card h4 {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.feat-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
}

.feat-pro {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    background: var(--blue-light);
    border: 1px solid var(--blue-mid);
    padding: 2px 7px;
    border-radius: 99px;
    margin-top: 8px;
}

.features-cta {
    text-align: center;
    margin-top: 40px;
}

/* === PROBLEM STRIP (plugin page) === */
.problem-strip {
    background: var(--ink);
    padding: 22px 0;
}

.problem-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.problem-item strong {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

/* === WHAT IT IS (plugin page) === */
.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.what-card {
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 14px;
}

.what-card:last-child {
    margin-bottom: 0;
}

.what-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 14px;
}

.what-card.blue-card {
    background: var(--blue-light);
    border-color: var(--blue-mid);
}

.what-card.blue-card .what-card-label {
    color: var(--blue);
}

.what-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.what-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.chk {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 1px;
    font-weight: 700;
}

.xmk {
    color: var(--red);
    flex-shrink: 0;
    margin-top: 1px;
    font-weight: 700;
}

/* === FEATURES GRID (plugin page) === */
.features-section {
    background: var(--bg2);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.feature-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 26px;
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.feature-card.featured {
    border-color: var(--blue-mid);
    box-shadow: var(--shadow-sm);
}

.feature-card.pro-card {
    border-color: var(--blue-mid);
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: var(--blue-light);
    border: 1px solid var(--blue-mid);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 7px;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

a.feature-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-link {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
}

.pro-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    background: var(--blue-light);
    border: 1px solid var(--blue-mid);
    padding: 2px 8px;
    border-radius: 99px;
    margin-top: 10px;
}

/* === CITATION SECTION === */
.citation-section {
    padding: 100px 0;
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.citation-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(70, 104, 224, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.citation-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.citation-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green);
    background: rgba(50, 182, 122, 0.1);
    border: 1px solid rgba(50, 182, 122, 0.2);
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 20px;
}

/* Legacy */
.citation-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green);
    background: rgba(50, 182, 122, 0.1);
    border: 1px solid rgba(50, 182, 122, 0.25);
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 20px;
}

.citation-section .section-title {
    color: white;
}

.citation-section p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.citation-mock {
    background: #141c2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
}

.mock-titlebar {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mock-titlebar-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-left: 8px;
}

.mock-body {
    padding: 24px;
}

.mock-section-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 14px;
    font-weight: 700;
}

/* Legacy mock-header */
.mock-header {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
}

.mock-header span:last-child {
    color: var(--green);
}

.mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

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

.mock-engine {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 500;
}

.edot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.edot-g {
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
}

.edot-b {
    background: #60a5fa;
    box-shadow: 0 0 6px #60a5fa;
}

/* Legacy dots */
.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
}

.dot-b {
    background: #60a5fa;
    box-shadow: 0 0 6px #60a5fa;
}

.mock-count {
    font-family: 'Barlow', sans-serif;
    font-weight: 900;
    color: white;
    font-size: 14px;
}

.mock-trend {
    font-size: 11px;
    color: var(--green);
}

.mock-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 16px 0;
}

.mock-referral {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-referral-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    font-weight: 700;
}

.mock-referral-nums {
    display: flex;
    gap: 20px;
}

.mock-num {
    font-family: 'Barlow', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.mock-source {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 2px;
}

/* === FREE TOOLS === */
.tools-section {
    padding: 100px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 48px;
}

.tool-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.2s;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.tool-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--blue-light);
    border: 1px solid var(--blue-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.tool-text h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 6px;
}

.tool-text p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 12px;
}

.tool-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
}

/* === BLOG TEASER === */
.blog-section {
    padding: 100px 0;
    background: var(--bg2);
}

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

.blog-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s;
    display: block;
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.blog-thumb {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.thumb-blue {
    background: linear-gradient(135deg, #eff4ff, #dbeafe);
}

.thumb-green {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.thumb-amber {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.blog-body {
    padding: 20px;
}

.blog-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 8px;
    display: block;
}

.blog-card h4 {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 8px;
}

.blog-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* === VS TABLE (plugin page) === */
.vs-section {
    padding: 100px 0;
    background: var(--bg2);
}

.vs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 48px;
    font-size: 14px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
}

.vs-table th {
    padding: 16px 24px;
    text-align: center;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 700;
    background: var(--bg3);
    border-bottom: 1.5px solid var(--border);
    letter-spacing: -0.01em;
}

.vs-table th:first-child {
    text-align: left;
}

.vs-table th.hl {
    background: var(--blue-light);
    color: var(--blue);
}

.vs-table td {
    padding: 13px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    background: white;
}

.vs-table tr:last-child td {
    border-bottom: none;
}

.vs-table td:first-child {
    text-align: left;
    color: var(--ink2);
    font-weight: 500;
}

.vs-table td.hl {
    background: var(--blue-light);
}

.vc {
    color: var(--green);
    font-weight: 700;
}

.vx {
    color: var(--red);
    font-weight: 700;
}

.vp {
    font-size: 12px;
    color: #f59e0b;
    font-weight: 600;
}

/* === PRICING === */
.pricing-section {
    padding: 100px 0;
}

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

.pricing-header .section-sub {
    margin: 0 auto;
}

/* Currency Toggle */
.currency-toggle {
    display: inline-flex;
    gap: 0;
    margin-top: 24px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    background: var(--bg-100);
}

.cur-btn {
    padding: 8px 18px;
    border: none;
    background: transparent;
    color: var(--text-400);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.cur-btn:hover {
    background: var(--bg-200);
    color: var(--text-600);
}

.cur-btn.active {
    background: var(--blue);
    color: #fff;
}

.cur-flag {
    font-size: 15px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.pricing-card.popular {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px var(--blue-light), var(--shadow);
    transform: translateY(-6px);
}

.pricing-card.popular:hover {
    transform: translateY(-9px);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: white;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 16px;
    border-radius: 99px;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 6px;
}

.pricing-name {
    font-family: 'Barlow', sans-serif;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 4px;
    color: var(--ink);
}

.pricing-desc {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 4px;
}

.price-cur {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
}

.price-amt {
    font-family: 'Barlow', sans-serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
}

.price-per {
    font-size: 14px;
    color: var(--muted);
}

.price-note {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 24px;
}

.price-note .save {
    color: var(--green);
    font-weight: 700;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.15s;
    margin-bottom: 24px;
    border: 1.5px solid var(--border-strong);
    color: var(--ink2);
    background: white;
}

.pricing-cta:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

.pricing-card.popular .pricing-cta {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
    box-shadow: 0 4px 14px rgba(70, 104, 224, 0.3);
}

.pricing-card.popular .pricing-cta:hover {
    background: var(--blue-dark);
}

.pricing-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
}

.pricing-features li .chk {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 1px;
    font-weight: 700;
}

.pricing-features li.pro-item {
    color: var(--ink2);
    font-weight: 500;
}

.pricing-features li.pro-item .chk {
    color: var(--blue);
}

/* Credit Info Tooltip */
.credit-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
    margin-left: 2px;
    vertical-align: middle;
}

.credit-info i {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.15s;
}

.credit-info:hover i,
.credit-info:focus i {
    color: var(--blue);
}

.credit-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 10px;
    width: 240px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.credit-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--ink);
}

.credit-info:hover .credit-tooltip,
.credit-info:focus .credit-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Right-align tooltip on first card to avoid overflow */
.pricing-card:first-child .credit-tooltip {
    left: 0;
    transform: translateX(0);
}

.pricing-card:first-child .credit-tooltip::after {
    left: 16px;
    transform: none;
}

/* === COMPARE TABLE === */
.compare-section {
    padding: 100px 0;
    background: var(--bg2);
}

.compare-header {
    text-align: center;
    margin-bottom: 56px;
}

.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
    background: white;
    min-width: 700px;
}

.compare-table thead th {
    padding: 18px 24px;
    text-align: center;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 800;
    background: var(--bg3);
    border-bottom: 2px solid var(--border);
    color: var(--ink);
    letter-spacing: -0.01em;
}

.compare-table thead th:first-child {
    text-align: left;
}

.compare-table thead th.compare-hl {
    background: var(--blue-light);
    color: var(--blue);
}

.compare-feature-col {
    width: 38%;
}

.compare-table td {
    padding: 12px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.compare-table td:first-child {
    text-align: left;
    color: var(--ink2);
    font-weight: 500;
}

.compare-table td.compare-hl {
    background: rgba(70, 104, 224, 0.025);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-group td {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
    background: var(--bg2);
    padding: 14px 24px 10px;
    border-bottom: 1.5px solid var(--border);
}

.val-note {
    display: block;
    font-size: 11px;
    color: var(--muted2);
    font-weight: 400;
    margin-top: 2px;
}

.compare-table tfoot td {
    padding: 24px;
    background: var(--bg3);
    border-top: 2px solid var(--border);
    border-bottom: none;
}

.compare-cta {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}

.compare-cta-free {
    color: var(--ink2);
    border: 1.5px solid var(--border-strong);
    background: white;
}

.compare-cta-free:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

.compare-cta-pro {
    color: white;
    background: var(--blue);
    border: 1.5px solid var(--blue);
    box-shadow: 0 4px 14px rgba(70, 104, 224, 0.3);
}

.compare-cta-pro:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.compare-cta-agency {
    color: var(--ink2);
    border: 1.5px solid var(--border-strong);
    background: white;
}

.compare-cta-agency:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

/* === FAQ === */
.faq-section {
    padding: 100px 0;
    background: var(--bg2);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 48px;
}

.faq-item {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 26px;
    transition: all 0.15s;
}

.faq-item:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.faq-q {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.faq-a {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

/* === METRONYX STRIP === */
.agency-strip {
    padding: 64px 0;
    background: var(--ink);
}

.agency-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.agency-text h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
}

.agency-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    max-width: 480px;
}

/* === CTA === */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, white 0%, #eef4ff 100%);
    border-top: 1px solid var(--border);
}

.cta-section h2 {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.05;
    color: var(--ink);
}

.cta-section p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 36px;
}

.final-cta {
    padding: 100px 24px;
    text-align: center;
    background: linear-gradient(180deg, white 0%, #eef4ff 100%);
    border-top: 1px solid var(--border);
}

.final-cta h2 {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 900;
    line-height: 1.0;
    color: var(--ink);
    margin-bottom: 16px;
}

.final-cta h2 .accent {
    color: var(--blue);
}

.final-cta p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 40px;
}

/* === FOOTER v2 === */
.site-footer-v2 {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    background: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 260px;
}

.footer-col h4 {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col ul a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-col ul a:hover {
    color: var(--ink);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted2);
}

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

.footer-bottom a:hover {
    color: var(--ink);
}

/* Legacy footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
    background: white;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer,
.site-footer a {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--ink);
}

.footer-links {
    display: flex;
    gap: 24px;
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .site-nav {
        padding: 0 20px;
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        width: 100%;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .what-grid,
    .sdp-grid,
    .features-grid,
    .hp-features-grid,
    .pricing-grid,
    .faq-grid,
    .citation-inner,
    .products-grid,
    .blog-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-card:first-child .credit-tooltip {
        left: 50%;
        transform: translateX(-50%);
    }

    .pricing-card:first-child .credit-tooltip::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .vs-table {
        font-size: 12px;
    }

    .vs-table th,
    .vs-table td {
        padding: 10px 12px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .compare-table {
        font-size: 12px;
    }

    .compare-table td,
    .compare-table thead th {
        padding: 10px 14px;
    }

    .compare-feature-col {
        width: auto;
        min-width: 180px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agency-inner {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════
   DASHBOARD SHOWCASE — Floating Cards
   ═══════════════════════════════════════════════ */

.dashboard-showcase {
    background: linear-gradient(180deg, #f0f4f8 0%, #e8eef6 100%);
    padding: 80px 0;
    overflow: hidden;
}

.showcase-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 440px;
}

/* Central Browser Mockup */
.showcase-center {
    background: #141720;
    border: 1px solid rgba(38, 45, 64, 0.8);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25), 0 0 60px rgba(51, 141, 255, 0.06);
    position: relative;
    z-index: 1;
}

.showcase-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(12, 14, 20, 0.8);
    border-bottom: 1px solid rgba(38, 45, 64, 0.6);
}

.showcase-browser-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #32b67a;
}

.browser-title {
    margin-left: 12px;
    font-size: 11px;
    color: rgba(232, 236, 244, 0.5);
    font-family: 'Inter', system-ui, sans-serif;
}

.showcase-dash-body {
    padding: 24px;
}

.dash-header {
    margin-bottom: 20px;
}

.dash-page-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #e8ecf4;
    font-family: 'Inter', system-ui, sans-serif;
}

.dash-subtitle {
    font-size: 12px;
    color: rgba(232, 236, 244, 0.45);
    margin-top: 2px;
    display: block;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.dash-stat-card {
    background: rgba(26, 30, 46, 0.7);
    border: 1px solid rgba(38, 45, 64, 0.6);
    border-radius: 14px;
    padding: 14px;
    backdrop-filter: blur(12px);
}

.dash-stat-label {
    display: block;
    font-size: 10px;
    color: rgba(232, 236, 244, 0.4);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.dash-stat-val {
    font-size: 22px;
    font-weight: 700;
    color: #e8ecf4;
    font-family: 'Inter', sans-serif;
}

.dash-stat-dim {
    font-size: 11px;
    color: rgba(232, 236, 244, 0.3);
    font-weight: 400;
}

.dash-bar {
    height: 5px;
    background: rgba(42, 45, 58, 0.8);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 10px;
}

.dash-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s ease-out;
}

.dash-bar-fill.green {
    background: #32b67a;
}

.dash-bar-fill.amber {
    background: #f59e0b;
}

.dash-modules-row {
    display: flex;
    gap: 10px;
}

.dash-module {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(26, 30, 46, 0.6);
    border: 1px solid rgba(38, 45, 64, 0.5);
    border-radius: 12px;
    font-size: 11px;
    color: #e8ecf4;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.dash-module i {
    color: #338dff;
    font-size: 14px;
}

.dash-badge-on {
    margin-left: auto;
    font-size: 9px;
    font-weight: 600;
    color: #32b67a;
    background: rgba(50, 182, 122, 0.12);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

/* Floating Cards */
@keyframes float1 {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-14px) rotate(-2deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

@keyframes float4 {

    0%,
    100% {
        transform: translateY(0) rotate(1.5deg);
    }

    50% {
        transform: translateY(-16px) rotate(1.5deg);
    }
}

.float-card {
    position: absolute;
    background: #141720;
    border: 1px solid rgba(38, 45, 64, 0.9);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    z-index: 2;
    font-family: 'Inter', system-ui, sans-serif;
    min-width: 200px;
}

/* Health Score (top left) */
.float-health {
    top: -20px;
    left: -100px;
    animation: float1 5s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: absolute;
}

.float-health svg {
    display: block;
}

.health-ring {
    filter: drop-shadow(0 0 10px rgba(50, 182, 122, 0.35));
    transition: stroke-dashoffset 2s ease-out;
}

.health-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.health-num {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #e8ecf4;
}

.health-label {
    display: block;
    font-size: 7px;
    color: rgba(232, 236, 244, 0.4);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Citation Found (top right) */
.float-citation {
    top: -30px;
    right: -80px;
    animation: float2 4.5s ease-in-out infinite;
    animation-delay: 0.8s;
}

/* Crawler Visit (bottom left) */
.float-crawler {
    bottom: 20px;
    left: -120px;
    animation: float3 5.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Citability Score (bottom right) */
.float-citability {
    bottom: -10px;
    right: -100px;
    animation: float4 4.8s ease-in-out infinite;
    animation-delay: 2.2s;
}

/* Card inner elements */
.fc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.fc-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.fc-icon-wrap.green {
    background: rgba(50, 182, 122, 0.12);
    color: #32b67a;
}

.fc-icon-wrap.blue {
    background: rgba(51, 141, 255, 0.12);
    color: #338dff;
}

.fc-icon-wrap.purple {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.fc-title {
    font-size: 13px;
    font-weight: 600;
    color: #e8ecf4;
}

.fc-sub {
    font-size: 10px;
    color: rgba(232, 236, 244, 0.4);
}

.fc-body {
    margin-bottom: 8px;
}

.fc-query {
    font-size: 11px;
    color: rgba(232, 236, 244, 0.7);
    font-style: italic;
    margin-bottom: 4px;
}

.fc-url {
    font-size: 10px;
    color: #338dff;
}

.fc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
}

.fc-label {
    font-size: 10px;
    color: rgba(232, 236, 244, 0.4);
}

.fc-val {
    font-size: 11px;
    color: #e8ecf4;
    font-family: 'JetBrains Mono', monospace;
}

.fc-status-ok {
    color: #32b67a;
}

.fc-time {
    font-size: 9px;
    color: rgba(232, 236, 244, 0.3);
}

.fc-score-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.fc-score-big {
    font-size: 28px;
    font-weight: 800;
    color: #e8ecf4;
}

.fc-grade {
    font-size: 11px;
    font-weight: 600;
    color: #32b67a;
    background: rgba(50, 182, 122, 0.12);
    padding: 2px 8px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 1100px) {
    .float-health {
        left: -40px;
    }

    .float-citation {
        right: -30px;
    }

    .float-crawler {
        left: -50px;
    }

    .float-citability {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .dashboard-showcase {
        padding: 50px 0 40px;
    }

    .showcase-wrapper {
        min-height: auto;
    }

    .float-card {
        display: none;
    }

    .dash-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-modules-row {
        flex-wrap: wrap;
    }

    .dash-module {
        flex: 1 1 calc(50% - 5px);
    }
}

/* ═══════════════════════════════════════════════
   BLOG — SINGLE POST
   ═══════════════════════════════════════════════ */

/* Hero */
.blog-hero {
    position: relative;
    padding: 120px 0 56px;
    overflow: hidden;
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blog-hero-bg svg {
    width: 100%;
    height: 100%;
}

.blog-hero-inner {
    position: relative;
    z-index: 1;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted2);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumbs a:hover {
    color: var(--blue);
}

.bc-sep {
    font-size: 10px;
    color: var(--muted2);
    display: flex;
    align-items: center;
}

.bc-current {
    color: var(--muted2);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-cat-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    background: var(--blue-light);
    border: 1px solid var(--blue-mid);
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 16px;
}

.blog-title {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 24px;
    max-width: 740px;
}

/* Author + meta row */
.blog-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-author-chip {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-author-chip img.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.blog-author-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
}

.blog-author-name:hover {
    color: var(--blue);
}

.blog-meta-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 1px;
}

/* Social share */
.blog-share {
    display: flex;
    gap: 6px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    font-size: 16px;
    transition: all 0.15s;
    text-decoration: none;
}

.share-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

/* Two-column layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 100px;
    align-items: start;
}

/* Post body */
.post-body {
    min-width: 0;
}

.post-body h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
    margin: 56px 0 18px;
    line-height: 1.15;
    scroll-margin-top: 88px;
    padding: 10px 0 14px 18px;
    border-left: 4px solid var(--blue);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.post-body h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin: 36px 0 12px;
    line-height: 1.2;
}

.post-body h4 {
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin: 28px 0 10px;
}

.post-body p {
    margin-bottom: 20px;
    color: var(--ink2);
    line-height: 1.75;
    font-size: 16px;
}

.post-body ul,
.post-body ol {
    margin: 0 0 24px 24px;
    color: var(--ink2);
    line-height: 1.75;
}

.post-body li {
    margin-bottom: 6px;
}

.post-body a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-body a:hover {
    color: var(--blue-dark);
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0 0;
}

.post-body figure {
    margin: 32px 0 70px;
}

.post-body figure img {
    margin: 0;
}

.post-body figcaption {
    font-size: 14px;
    color: var(--muted);
    margin-top: 6px;
    text-align: center;
    line-height: 1.5;
}

.post-body blockquote {
    border-left: 4px solid var(--blue);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--blue-light);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--ink2);
}

.post-body code {
    font-size: 13px;
    background: var(--bg3);
    border: 1px solid var(--border);
    padding: 2px 6px;
    border-radius: 5px;
    font-family: 'SF Mono', Consolas, monospace;
}

.post-body pre {
    background: var(--ink);
    color: #e2e8f0;
    padding: 24px;
    border-radius: 14px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 13px;
    line-height: 1.6;
}

.post-body pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

.post-body hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 48px 0;
}

/* Sticky sidebar */
.blog-sidebar {
    position: relative;
    align-self: start;
    height: 100%;
}

.sidebar-sticky {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
}

/* TOC card */
.toc-card {
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 20px;
}

.toc-label {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
    margin-bottom: 12px;
}

.toc-list {
    list-style: none;
    counter-reset: toc;
    padding: 0;
    margin: 0;
}

.toc-list li {
    counter-increment: toc;
}

.toc-list li a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    padding: 7px 0;
    border-left: 2px solid transparent;
    padding-left: 12px;
    margin-left: -1px;
    transition: all 0.15s;
    line-height: 1.35;
}

.toc-list li a::before {
    content: counter(toc) ".";
    font-weight: 600;
    color: var(--muted2);
    min-width: 18px;
    flex-shrink: 0;
}

.toc-list li a:hover {
    color: var(--ink);
}

.toc-list li a.active {
    color: var(--blue);
    border-left-color: var(--blue);
    background: var(--blue-light);
    border-radius: 0 6px 6px 0;
    font-weight: 500;
}

/* Sidebar CTA */
.sidebar-cta-card {
    background: var(--ink);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    color: white;
}

.sidebar-cta-icon {
    font-size: 28px;
    color: var(--blue);
    margin-bottom: 10px;
}

.sidebar-cta-card strong {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    margin-bottom: 6px;
}

.sidebar-cta-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    line-height: 1.5;
}

.sidebar-cta-btn {
    width: 100%;
    text-align: center;
    display: block;
    padding: 11px 20px;
    font-size: 14px;
}

.sidebar-cta-link {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.sidebar-cta-link:hover {
    color: white;
}

/* Image-based CTA variant */
.sidebar-cta-card--image {
    padding: 0;
    background: transparent;
    overflow: hidden;
}

.sidebar-cta-card--image a:first-child {
    display: block;
}

.sidebar-cta-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.sidebar-cta-card--image:hover .sidebar-cta-img {
    transform: scale(1.02);
}

.sidebar-cta-card--image .sidebar-cta-link {
    text-align: center;
    padding: 10px 0 4px;
    color: var(--muted);
}

.sidebar-cta-card--image .sidebar-cta-link:hover {
    color: var(--blue);
}

/* ═══════════════════════════════════════════════
   SHORTCODE COMPONENTS
   ═══════════════════════════════════════════════ */

/* TL;DR */
.sc-tldr {
    background: var(--blue-light);
    border: 1.5px solid var(--blue-mid);
    border-radius: 14px;
    padding: 24px;
    margin: 0 0 32px;
}

.sc-tldr-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 10px;
}

.sc-tldr-label i {
    font-size: 18px;
}

.sc-tldr-body {
    font-size: 15px;
    color: var(--ink2);
    line-height: 1.7;
}

.sc-tldr-body p:last-child {
    margin-bottom: 0;
}

.sc-tldr-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sc-tldr-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--ink2);
    line-height: 1.65;
    margin-bottom: 8px;
}

.sc-tldr-list li:last-child {
    margin-bottom: 0;
}

.sc-tldr-arrow {
    color: var(--blue);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Force button text visible everywhere (override .post-body a styles) */
.post-body .btn-primary,
.post-body a.btn-primary,
.post-body .sc-cta-btn,
a.btn-primary,
a.sc-cta-btn,
.sidebar-cta-btn {
    color: #fff !important;
    text-decoration: none !important;
}

/* Pros */
.sc-pros {
    background: #ecfdf5;
    border: 1.5px solid rgba(50, 182, 122, 0.2);
    border-radius: 14px;
    padding: 24px;
    margin: 24px 0;
}

.sc-pros-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    margin-bottom: 12px;
}

.sc-pros-label i {
    font-size: 18px;
}

.sc-pros ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sc-pros li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ink2);
    line-height: 1.6;
    margin-bottom: 8px;
}

.sc-check {
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Cons */
.sc-cons {
    background: #fef2f2;
    border: 1.5px solid rgba(239, 68, 68, 0.15);
    border-radius: 14px;
    padding: 24px;
    margin: 24px 0;
}

.sc-cons-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
    margin-bottom: 12px;
}

.sc-cons-label i {
    font-size: 18px;
}

.sc-cons ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sc-cons li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ink2);
    line-height: 1.6;
    margin-bottom: 8px;
}

.sc-xmark {
    color: var(--red);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Pro Tip */
.sc-protip {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: 14px;
    padding: 24px;
    margin: 24px 0;
}

.sc-protip-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--amber);
    margin-bottom: 10px;
}

.sc-protip-label i {
    font-size: 18px;
}

.sc-protip-body {
    font-size: 14px;
    color: var(--ink2);
    line-height: 1.7;
}

.sc-protip-body p:last-child {
    margin-bottom: 0;
}

/* In-content CTA */
.sc-cta-inline {
    margin: 36px 0;
}

.sc-cta-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
}

.sc-cta-icon {
    font-size: 28px;
    color: var(--blue);
    flex-shrink: 0;
}

.sc-cta-text strong {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 2px;
}

.sc-cta-text span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.sc-cta-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 24px;
    font-size: 13px;
}

/* FAQ Accordion */
.sc-faq-accordion {
    margin: 32px 0;
}

.sc-faq-item {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    background: white;
    transition: box-shadow 0.15s;
}

.sc-faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.sc-faq-item.open .sc-faq-a {
    max-height: 600px;
    padding: 0 20px 20px;
    opacity: 1;
}

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

.sc-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.sc-faq-q:hover {
    color: var(--blue);
}

.sc-faq-arrow {
    font-size: 16px;
    color: var(--muted);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.sc-faq-a {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.sc-faq-a p:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════
   BLOG TABLES
   ═══════════════════════════════════════════════ */

.blog-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.blog-table-wrap.visible {
    opacity: 1;
    transform: translateY(0);
}

.post-body .blog-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0;
    border: none;
}

.post-body .blog-table-wrap th {
    padding: 14px 20px;
    text-align: left;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    background: var(--bg3);
    border-bottom: 1.5px solid var(--border);
    color: var(--ink);
}

.post-body .blog-table-wrap td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--ink2);
}

.post-body .blog-table-wrap tr:last-child td {
    border-bottom: none;
}

.post-body .blog-table-wrap tr:nth-child(even) td {
    background: var(--bg2);
}

/* ═══════════════════════════════════════════════
   AUTHOR BOX
   ═══════════════════════════════════════════════ */

.author-box-section {
    padding: 0 0 100px;
}

.author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}

.author-box-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.author-box-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted2);
    margin-bottom: 4px;
}

.author-box-name {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.author-box-name:hover {
    color: var(--blue);
}

.author-box-bio {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

.author-box-posts {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}

.author-box-posts:hover {
    text-decoration: underline;
}

/* E-E-A-T enriched author box */
.author-box-role {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

.author-box-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.author-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #e0e7ff;
    color: #4338ca;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
}

.author-box-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.author-cred {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--muted);
}

.author-cred i {
    color: var(--blue);
    font-size: 14px;
}

.author-box-edu {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.author-box-edu i {
    color: var(--blue);
    font-size: 14px;
}

.author-box-socials {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.author-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 16px;
}

.author-social:hover {
    background: var(--blue);
    color: #fff;
}

/* ═══════════════════════════════════════════════
   BLOG — ARCHIVE
   ═══════════════════════════════════════════════ */

.archive-hero {
    padding: 120px 0 48px;
    background: linear-gradient(180deg, #eef4ff 0%, #f8faff 50%, #ffffff 100%);
    text-align: center;
}

.archive-hero .section-sub {
    margin: 0 auto 36px;
}

/* Search */
.archive-search {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.archive-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--muted2);
}

.archive-search-input {
    width: 100%;
    padding: 14px 20px 14px 46px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    background: white;
    color: var(--ink);
    outline: none;
    transition: border-color 0.15s;
    box-shadow: var(--shadow-sm);
}

.archive-search-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px var(--blue-light);
}

/* Layout */
.archive-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 100px;
    align-items: start;
}

/* Grid */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.archive-main {
    min-width: 0;
}

/* Card */
.archive-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.archive-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.svg-thumb {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-card-body {
    padding: 18px;
}

.archive-card-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 8px;
}

.archive-card-title {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 8px;
}

.archive-card-excerpt {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.archive-card-meta {
    font-size: 11px;
    color: var(--muted2);
}

/* Pagination */
.archive-pagination {
    margin-top: 48px;
    text-align: center;
}

.archive-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.15s;
    background: white;
}

.archive-pagination .page-numbers:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

.archive-pagination .page-numbers.current {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.archive-pagination .prev,
.archive-pagination .next {
    font-weight: 600;
}

/* Empty state */
.archive-empty {
    text-align: center;
    padding: 80px 20px;
}

.archive-empty h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    margin: 16px 0 8px;
    color: var(--ink);
}

.archive-empty p {
    color: var(--muted);
}

/* Category sidebar */
.archive-sidebar {
    position: relative;
}

.cat-list-card {
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 16px;
}

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

.cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.15s;
}

.cat-list li a:hover {
    background: white;
    color: var(--ink);
}

.cat-list li.current a {
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 600;
}

.cat-count {
    font-size: 12px;
    background: var(--bg3);
    border-radius: 99px;
    padding: 1px 8px;
    color: var(--muted2);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════
   BLOG RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 960px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        display: none;
    }

    .archive-layout {
        grid-template-columns: 1fr;
    }

    .archive-sidebar {
        display: none;
    }

    .archive-grid {
        grid-template-columns: 1fr 1fr;
    }

    .blog-hero {
        padding: 100px 0 40px;
    }

    .blog-title {
        font-size: clamp(28px, 5vw, 40px);
    }

    .sc-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .sc-cta-btn {
        width: 100%;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

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

    .blog-share {
        flex-wrap: wrap;
    }
}

/* === SINGLE DOWNLOAD (EDD Product Page) === */
.download-hero {
    position: relative;
    padding: 100px 0 80px;
    background: #0f1219;
    color: #fff;
    overflow: hidden;
}

.download-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.download-hero-inner {
    position: relative;
    z-index: 1;
}

.breadcrumbs.dark a,
.breadcrumbs.dark .bc-current {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs.dark a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.download-hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 32px;
}

.download-tier-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.download-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #fff;
}

.download-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 32px;
    max-width: 540px;
}

.download-price-row {
    margin-bottom: 32px;
}

.download-price-block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-cur-toggle {
    display: inline-flex;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.dl-cur-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.dl-cur-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
}

.dl-cur-btn.active {
    background: rgba(51, 141, 255, 0.2);
    color: #338dff;
}

.download-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.dl-price-cur {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.dl-price-amt {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.dl-price-per {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    margin-left: 4px;
}

.download-price-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    width: 100%;
}

.download-price-note .save {
    color: #22c55e;
    font-weight: 600;
}

.download-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.download-buy-btn,
.download-actions .btn-primary {
    font-size: 1rem;
    padding: 14px 32px;
}

.download-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
}

.download-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.download-guarantee {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* Features card */
.download-features-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(20px);
}

.dfc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dfc-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.dfc-sites {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dfc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dfc-list li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dfc-check {
    color: #22c55e;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
}

/* CTA section */
.download-cta-section {
    padding: 60px 0;
    background: #f7f9fc;
}

.download-cta-card {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.download-cta-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: 12px;
}

.download-cta-card p {
    color: var(--text-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* EDD button override */
.edd-submit.btn-primary,
.edd_go_to_checkout {
    background: var(--orange);
    color: #fff !important;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.edd-submit.btn-primary:hover,
.edd_go_to_checkout:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

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

    .download-title {
        font-size: 1.8rem;
    }

    .dl-price-amt {
        font-size: 2.5rem;
    }
}

/* === CHECKOUT PAGE === */
.checkout-section {
    position: relative;
    min-height: 100vh;
    padding-top: 96px;
    background: #0f1219;
    color: #fff;
    overflow: hidden;
}

.checkout-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.checkout-container {
    position: relative;
    z-index: 1;
    padding-top: 32px;
    padding-bottom: 60px;
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 40px;
}

.checkout-logo-img {
    height: 32px;
    width: auto;
}

.checkout-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.checkout-back {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.checkout-back:hover {
    color: rgba(255, 255, 255, 0.8);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.checkout-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.checkout-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 32px;
}

/* EDD Checkout Form Overrides */
.edd-checkout-wrapper #edd_checkout_form_wrap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.edd-checkout-wrapper .edd-cart-items,
.edd-checkout-wrapper #edd_checkout_cart {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.edd-checkout-wrapper #edd_checkout_cart th {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.edd-checkout-wrapper #edd_checkout_cart td {
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
}

.edd-checkout-wrapper #edd_checkout_cart .edd_cart_total {
    font-weight: 700;
    color: #fff;
    font-size: 16px;
}

.edd-checkout-wrapper #edd_checkout_cart a {
    color: #338dff;
}

.edd-checkout-wrapper fieldset {
    border: none !important;
    padding: 0;
    margin: 24px 0 0 0;
}

.edd-checkout-wrapper legend,
.edd-checkout-wrapper #edd_checkout_form_wrap legend {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    padding: 0;
}

.edd-checkout-wrapper label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.edd-checkout-wrapper p,
.edd-checkout-wrapper .edd-description,
.edd-checkout-wrapper span.edd-description {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 12px;
}

.edd-checkout-wrapper input[type="text"],
.edd-checkout-wrapper input[type="email"],
.edd-checkout-wrapper input[type="password"],
.edd-checkout-wrapper input[type="tel"],
.edd-checkout-wrapper input[type="number"],
.edd-checkout-wrapper select,
.edd-checkout-wrapper textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px;
    color: #fff !important;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

/* Nuclear specificity override for ALL EDD input colors */
body .edd-checkout-wrapper input,
body .edd-checkout-wrapper textarea,
body .edd-checkout-wrapper select,
body #edd_checkout_form_wrap input,
body #edd_checkout_form_wrap textarea,
body #edd_checkout_form_wrap select,
body #edd_checkout_form_wrap input.edd-input,
body .edd-checkout-wrapper input.edd-input,
body #edd_checkout_form_wrap input[type="text"],
body #edd_checkout_form_wrap input[type="email"],
body #edd_checkout_form_wrap input[type="password"],
body #edd_checkout_form_wrap input[type="tel"],
body #edd_checkout_form_wrap input[type="number"],
#edd_profile_editor_form input,
#edd_login_form input {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Placeholder text */
body .edd-checkout-wrapper input::placeholder,
body .edd-checkout-wrapper textarea::placeholder,
body #edd_checkout_form_wrap input::placeholder,
body #edd_checkout_form_wrap textarea::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

/* Autofill override (browsers inject black text on autofill) */
body .edd-checkout-wrapper input:-webkit-autofill,
body .edd-checkout-wrapper input:-webkit-autofill:hover,
body .edd-checkout-wrapper input:-webkit-autofill:focus,
body #edd_checkout_form_wrap input:-webkit-autofill,
body #edd_checkout_form_wrap input:-webkit-autofill:hover,
body #edd_checkout_form_wrap input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(20, 25, 40, 0.99) inset !important;
    box-shadow: 0 0 0px 1000px rgba(20, 25, 40, 0.99) inset !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.edd-checkout-wrapper input:focus,
.edd-checkout-wrapper select:focus,
.edd-checkout-wrapper textarea:focus {
    outline: none;
    border-color: #338dff !important;
    box-shadow: 0 0 0 3px rgba(51, 141, 255, 0.15);
}

.edd-checkout-wrapper select {
    appearance: auto;
}

.edd-checkout-wrapper #edd_purchase_submit {
    margin-top: 24px;
}

.edd-checkout-wrapper #edd-purchase-button,
.edd-checkout-wrapper .edd-submit {
    background: #338dff;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}

.edd-checkout-wrapper #edd-purchase-button:hover,
.edd-checkout-wrapper .edd-submit:hover {
    background: #2b7ae6;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(51, 141, 255, 0.3);
}

/* ===== PAYMENT GATEWAY TABS/BUTTONS ===== */
/* EDD 3.x uses list items as gateway selectors */
.edd-checkout-wrapper #edd-payment-mode-wrap {
    margin-bottom: 24px;
}

/* Gateway option labels - the <label> IS the .edd-gateway-option */
#edd-payment-mode-wrap .edd-gateway-option,
#edd_payment_mode_select .edd-gateway-option,
body .edd-checkout-wrapper .edd-gateway-option,
body label.edd-gateway-option,
#edd-gateway-option-stripe,
#edd-gateway-option-paypal_commerce {
    color: rgba(255, 255, 255, 0.85) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 14px 24px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 12px;
    font-weight: 600;
    font-size: 15px;
}

#edd-payment-mode-wrap .edd-gateway-option:hover,
body .edd-checkout-wrapper .edd-gateway-option:hover,
body label.edd-gateway-option:hover {
    background: rgba(51, 141, 255, 0.12) !important;
    border-color: rgba(51, 141, 255, 0.3) !important;
}

/* Checked/selected gateway */
#edd-payment-mode-wrap .edd-gateway-option:has(input:checked),
body .edd-checkout-wrapper .edd-gateway-option:has(input:checked),
body label.edd-gateway-option:has(input:checked) {
    background: rgba(51, 141, 255, 0.15) !important;
    border-color: #338dff !important;
    color: #fff !important;
    box-shadow: 0 0 0 2px rgba(51, 141, 255, 0.2);
}

/* Hide the actual radio input */
#edd-payment-mode-wrap .edd-gateway-option input[type="radio"],
body .edd-gateway-option input.edd-gateway {
    appearance: none;
    -webkit-appearance: none;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    position: absolute;
    opacity: 0;
}

/* EDD 3.x gateway list items (tab-style) */
body .edd-checkout-wrapper #edd-gateway-list li,
body .edd-checkout-wrapper .edd-gateway,
body .edd-checkout-wrapper #edd-gateway-list li a,
body .edd-checkout-wrapper #edd-gateway-list li label,
body #edd_payment_mode_select .edd-gateway,
body #edd_payment_mode_select #edd-gateway-list li,
body #edd_payment_mode_select #edd-gateway-list li a,
body #edd_payment_mode_select #edd-gateway-list li label {
    color: #1a1f2e !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
}

/* Active/selected gateway */
body .edd-checkout-wrapper #edd-gateway-list li.edd-gateway-active,
body .edd-checkout-wrapper #edd-gateway-list li.selected,
body .edd-checkout-wrapper #edd-gateway-list li.edd-gateway-active a,
body #edd_payment_mode_select #edd-gateway-list li.edd-gateway-active {
    background: #fff !important;
    color: #0f1320 !important;
    border-color: #338dff !important;
    box-shadow: 0 0 0 2px rgba(51, 141, 255, 0.2);
}

/* Stripe Elements iframe container */
body .edd-checkout-wrapper .edd-stripe-card-element,
body .edd-checkout-wrapper #edd-stripe-card-element,
body .edd-checkout-wrapper .edd-stripe-card-wrap,
body #edd-stripe-card-element {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px;
    padding: 12px 14px;
}

/* EDD descriptions and helper text */
body .edd-checkout-wrapper .edd-description,
body .edd-checkout-wrapper span.edd-description,
body #edd_checkout_form_wrap .edd-description,
body #edd_checkout_form_wrap span.edd-description {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* EDD Payment Method Buttons (Stripe / PayPal selector) */
.edd-checkout-wrapper .edd-gateway {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    color: #1a1f2e !important;
}

.edd-checkout-wrapper .edd-gateway.active,
.edd-checkout-wrapper .edd-gateway:hover {
    background: #fff !important;
    border-color: #338dff !important;
    box-shadow: 0 0 0 2px rgba(51, 141, 255, 0.2);
}

.edd-checkout-wrapper .edd-gateway span,
.edd-checkout-wrapper .edd-gateway label {
    color: #1a1f2e !important;
}

/* EDD Payment Mode Selector (all variations) */
.edd-checkout-wrapper #edd-gateway-list,
.edd-checkout-wrapper .edd-payment-icons {
    background: transparent !important;
}

.edd-checkout-wrapper #edd-gateway-list li {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    margin-bottom: 8px;
}

.edd-checkout-wrapper #edd-gateway-list li.active,
.edd-checkout-wrapper #edd-gateway-list li:hover {
    background: #fff !important;
    border-color: #338dff !important;
    box-shadow: 0 0 0 2px rgba(51, 141, 255, 0.2);
}

.edd-checkout-wrapper #edd-gateway-list label,
.edd-checkout-wrapper #edd-gateway-list a {
    color: #1a1f2e !important;
}

/* Stripe credit card field iframe */
.edd-checkout-wrapper .edd-stripe-card-element,
.edd-checkout-wrapper .edd-stripe-card-element iframe {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    padding: 12px 14px;
}

/* All fieldsets (Personal Info, Payment Method, Payment Info) */
.checkout-section fieldset,
.edd-checkout-wrapper fieldset,
#edd_checkout_form_wrap fieldset {
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* EDD form-row */
.edd-checkout-wrapper .edd-cart-adjustment,
.edd-checkout-wrapper #edd_cc_fields,
.edd-checkout-wrapper #edd_profile_register_fields {
    border: none !important;
    background: transparent !important;
}

/* EDD form general text colors */
.edd-checkout-wrapper,
.edd-checkout-wrapper p,
.edd-checkout-wrapper span,
.edd-checkout-wrapper div {
    color: rgba(255, 255, 255, 0.6);
}

.edd-checkout-wrapper h2,
.edd-checkout-wrapper h3,
.edd-checkout-wrapper h4 {
    color: #fff !important;
}

/* Required asterisk */
.edd-checkout-wrapper .edd-required-indicator {
    color: #f87171 !important;
}

/* EDD discount/coupon */
.edd-checkout-wrapper #edd-discount-code-wrap {
    margin-top: 16px;
}

.edd-checkout-wrapper #edd-discount-code-wrap input {
    max-width: 240px;
}

/* Empty cart state */
.edd-checkout-wrapper .edd_empty_cart {
    text-align: center;
    padding: 48px 24px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

/* EDD errors */
.edd-checkout-wrapper .edd_errors {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fca5a5;
    font-size: 14px;
    margin-bottom: 16px;
}

/* EDD Login / Register tab buttons (EDD 3.x Blocks checkout) */
.edd-blocks__checkout-forms {
    margin-bottom: 20px;
}

.checkout-section .edd-button-secondary,
.edd-checkout-wrapper .edd-button-secondary,
body .edd-blocks__checkout-register,
body .edd-blocks__checkout-login,
body .edd-blocks__checkout-guest,
body .edd-blocks__checkout-forms button,
body .edd-blocks__checkout-forms .edd-button-secondary {
    background: rgba(51, 141, 255, 0.15) !important;
    color: #fff !important;
    border: 1px solid rgba(51, 141, 255, 0.4) !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none !important;
}

.checkout-section .edd-button-secondary:hover,
.edd-checkout-wrapper .edd-button-secondary:hover,
body .edd-blocks__checkout-register:hover,
body .edd-blocks__checkout-login:hover,
body .edd-blocks__checkout-guest:hover,
body .edd-blocks__checkout-forms button:hover {
    background: rgba(51, 141, 255, 0.25) !important;
    border-color: #338dff !important;
    transform: translateY(-1px);
}

/* Disabled guest button */
body .edd-blocks__checkout-guest[disabled],
body .edd-blocks__checkout-forms button[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

/* Trust sidebar */
.checkout-trust-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
}

.checkout-trust-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
}

.checkout-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checkout-trust-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(51, 141, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #338dff;
    font-size: 18px;
}

.checkout-trust-list strong {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 2px;
}

.checkout-trust-list p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    line-height: 1.4;
}

/* Testimonial */
.checkout-testimonial {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.testimonial-quote {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 16px 0;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 2rem;
    color: #338dff;
    line-height: 0;
    vertical-align: -8px;
    margin-right: 4px;
}

.testimonial-author strong {
    display: block;
    font-size: 13px;
    color: #fff;
}

.testimonial-author span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .checkout-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════
   PURCHASE CONFIRMATION PAGE
   ═══════════════════════════════════════════════ */

.confirm-section {
    position: relative;
    min-height: 100vh;
    background: #0a0d14;
    color: #fff;
    overflow: hidden;
}

.confirm-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.confirm-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 80px;
}

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

/* Success banner */
.confirm-success-banner {
    text-align: center;
    margin-bottom: 48px;
}

.confirm-check-circle {
    display: inline-flex;
    margin-bottom: 20px;
    animation: confirmPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes confirmPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confirm-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.2;
}

.confirm-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Layout */
.confirm-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

/* Cards */
.confirm-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}

.confirm-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
}

/* Steps */
.confirm-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
}

.confirm-steps li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.confirm-steps li:last-child {
    margin-bottom: 0;
}

.step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(51, 141, 255, 0.12);
    border: 1px solid rgba(51, 141, 255, 0.2);
    color: #338dff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-steps strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.confirm-steps p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.55;
}

.confirm-steps code {
    background: rgba(51, 141, 255, 0.08);
    border: 1px solid rgba(51, 141, 255, 0.15);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.82rem;
    color: #7ab8ff;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

/* EDD Receipt wrapper */
.edd-receipt-wrapper {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.edd-receipt-wrapper table {
    width: 100%;
    border-collapse: collapse;
}

.edd-receipt-wrapper th,
.edd-receipt-wrapper td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    font-size: 0.88rem;
}

.edd-receipt-wrapper th {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.edd-receipt-wrapper a {
    color: #338dff;
}

/* Sidebar */
.confirm-sidebar .confirm-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.confirm-sidebar .confirm-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 16px;
    line-height: 1.5;
}

/* Help card */
.confirm-help-card {
    border-color: rgba(51, 141, 255, 0.15);
    background: rgba(51, 141, 255, 0.04);
}

.confirm-help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.confirm-help-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
}

.confirm-help-list i {
    color: #338dff;
    font-size: 1.1rem;
}

.confirm-help-list a {
    color: #338dff;
    text-decoration: none;
}

.confirm-help-list a:hover {
    text-decoration: underline;
}

/* Features */
.confirm-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.confirm-features li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cf-check {
    color: #28c878;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Guarantee card */
.confirm-guarantee {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-color: rgba(40, 200, 120, 0.15);
    background: rgba(40, 200, 120, 0.04);
}

.confirm-guarantee i {
    font-size: 1.6rem;
    color: #28c878;
    flex-shrink: 0;
    margin-top: 2px;
}

.confirm-guarantee strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.confirm-guarantee p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

@media (max-width: 768px) {
    .confirm-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .confirm-title {
        font-size: 1.5rem;
    }
}



/* ═══════════════════════════════════════════════
   FEATURE LANDING PAGES
   ═══════════════════════════════════════════════ */

.feature-hero {
    padding: 120px 0 64px;
    background: linear-gradient(160deg, #0c0e14 0%, #141a2e 50%, #0c0e14 100%);
    text-align: center;
}

.feature-tier-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    /* Reset h1 defaults when used as semantic H1 */
    line-height: 1.4;
    margin-top: 0;
}

.feature-tier--free {
    background: rgba(50, 182, 122, 0.12);
    color: #34d399;
    border: 1px solid rgba(50, 182, 122, 0.25);
}

.feature-tier--pro {
    background: rgba(51, 141, 255, 0.12);
    color: #58aeff;
    border: 1px solid rgba(51, 141, 255, 0.25);
}

.feature-tier--agency {
    background: rgba(168, 85, 247, 0.12);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.feature-hero__title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.1;
}

.feature-hero__sub {
    font-size: clamp(16px, 2vw, 20px);
    color: #8b95a8;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.feature-hero__cta {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #338dff, #1b6ff5);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(51, 141, 255, 0.3);
}

.feature-hero__cta:hover {
    background: linear-gradient(135deg, #58aeff, #338dff);
    box-shadow: 0 6px 30px rgba(51, 141, 255, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Mockup */
.feature-mockup {
    padding: 0 0 64px;
    background: #0c0e14;
}

.feature-mockup__frame {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(51, 141, 255, 0.15);
    box-shadow: 0 8px 60px rgba(51, 141, 255, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.feature-mockup__frame img {
    width: 100%;
    display: block;
}

/* Body content — full-width section, content self-constrains */
.feature-body {
    padding: 72px 0;
    background: var(--bg);
    width: 100%;
}

.feature-content {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink2);
}

/* Allow WP blocks to break out to full width */
.feature-content .wp-block-group.alignfull,
.feature-content .wp-block-cover.alignfull,
.feature-content .wp-block-columns.alignfull {
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

/* ── WordPress Block Editor support ── */
.feature-content .wp-block-columns {
    display: flex;
    gap: 40px;
    margin: 48px 0;
    flex-wrap: wrap;
}

.feature-content .wp-block-columns.are-vertically-aligned-center {
    align-items: center;
}

.feature-content .wp-block-column {
    flex: 1 1 0%;
    min-width: 280px;
}

.feature-content .wp-block-media-text {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 40px;
    align-items: center;
    margin: 48px 0;
}

.feature-content .wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr 50%;
}

.feature-content .wp-block-media-text .wp-block-media-text__media {
    width: 100%;
}

.feature-content .wp-block-media-text .wp-block-media-text__media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.feature-content .wp-block-media-text .wp-block-media-text__content {
    padding: 0;
}

.feature-content .wp-block-group {
    margin: 32px 0;
}

/* Groups with background colors break out to full width */
.feature-content .wp-block-group.has-background,
.feature-content .wp-block-group[style*="background"] {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    padding: 72px 24px;
    border-radius: 0;
}

.feature-content .wp-block-group.has-background>.wp-block-group__inner-container,
.feature-content .wp-block-group[style*="background"]>.wp-block-group__inner-container {
    max-width: 1310px;
    margin: 0 auto;
}

/* Showcase sections break out to full viewport width */
.feature-content>section,
.feature-content>.showcase,
.feature-content section.showcase {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: none;
}

/* Let showcase .container still constrain inner content */
.feature-content section.showcase>.container {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 24px;
}

.feature-content .wp-block-image {
    margin: 32px 0;
}

.feature-content .wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.feature-content .wp-block-image.aligncenter {
    text-align: center;
}

/* Status cards grid (Indexed + AI Crawled, etc.) */
.feature-content .wp-block-columns:not(.are-vertically-aligned-center) .wp-block-column {
    background: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
}

@media (max-width: 768px) {
    .feature-content .wp-block-columns {
        flex-direction: column;
        gap: 24px;
    }

    .feature-content .wp-block-media-text {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-content .wp-block-media-text.has-media-on-the-right {
        grid-template-columns: 1fr;
    }

    .feature-content .wp-block-column {
        min-width: 0;
    }
}

.feature-content h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 16px;
    color: var(--ink);
}

.feature-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 36px 0 12px;
    color: var(--ink);
}

.feature-content p {
    margin: 0 0 20px;
}

.feature-content ul,
.feature-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.feature-content li {
    margin-bottom: 8px;
}

.feature-content strong {
    color: var(--ink);
}

/* Two-column feature layout */
.feature-content .feature-cols {
    display: flex;
    gap: 32px;
    margin: 36px 0 40px;
    flex-wrap: wrap;
}

.feature-content .feature-cols .feature-col {
    flex: 1 1 280px;
    background: var(--bg2, #f8f9fc);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    padding: 28px 24px;
}

.feature-content .feature-cols .feature-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--ink);
}

.feature-content .feature-cols .feature-col ul {
    margin: 0;
    padding-left: 20px;
}

.feature-content .feature-cols .feature-col p {
    margin: 0;
}

/* Feature data tables */
.feature-content .feature-table,
.feature-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border, #e5e7eb);
}

.feature-content .feature-table thead,
.feature-content table thead {
    background: var(--bg2, #f0f2f5);
}

.feature-content .feature-table th,
.feature-content table th {
    text-align: left;
    padding: 14px 18px;
    font-weight: 700;
    color: var(--ink);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--border, #e5e7eb);
}

.feature-content .feature-table td,
.feature-content table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border, #e5e7eb);
    color: var(--ink2);
    vertical-align: top;
}

.feature-content .feature-table tr:last-child td,
.feature-content table tr:last-child td {
    border-bottom: none;
}

.feature-content .feature-table tr:hover td,
.feature-content table tr:hover td {
    background: rgba(51, 141, 255, 0.03);
}

/* Code blocks inside feature pages */
.feature-content pre {
    background: #12151e;
    border: 1px solid rgba(51, 141, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0 32px;
    overflow-x: auto;
}

.feature-content pre code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
    background: none;
    padding: 0;
}

.feature-content code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.88em;
    background: rgba(51, 141, 255, 0.08);
    color: var(--blue, #338dff);
    padding: 2px 7px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .feature-content .feature-cols {
        flex-direction: column;
        gap: 20px;
    }

    .feature-content .feature-table,
    .feature-content table {
        font-size: 14px;
    }

    .feature-content .feature-table th,
    .feature-content .feature-table td,
    .feature-content table th,
    .feature-content table td {
        padding: 10px 12px;
    }
}

/* Inline mockup cards on white bg */
.feature-mockup-inline .float-card {
    background: #12151e;
    border: 1px solid rgba(51, 141, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(51, 141, 255, 0.06);
}

.feature-mockup-inline {
    padding: 32px;
    border-radius: 20px;
    background: #f8f9fc;
}

/* FAQ Section */
.feature-faq {
    padding: 72px 0;
    background: var(--bg2);
}

.feature-faq__heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 40px;
    color: var(--ink);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

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

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    gap: 16px;
}

.faq-toggle:hover {
    color: var(--blue);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-toggle[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 20px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink2);
}

/* Bottom CTA */
.feature-bottom-cta {
    padding: 80px 0;
    background: linear-gradient(160deg, #0c0e14 0%, #141a2e 50%, #0c0e14 100%);
    text-align: center;
}

.feature-bottom-cta h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
}

.feature-bottom-cta p {
    font-size: 18px;
    color: #8b95a8;
    margin: 0 0 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-hero {
        padding: 96px 20px 48px;
    }

    .feature-mockup__frame {
        border-radius: 10px;
    }

    .feature-body,
    .feature-faq {
        padding: 48px 20px;
    }

    .feature-bottom-cta {
        padding: 56px 20px;
    }
}

/* === WIDE FEATURE PAGE (AI Crawler Allowlist) === */
.feature-hero--wide {
    padding: 140px 48px 80px;
}

.feature-hero--wide .feature-hero__inner {
    max-width: none;
}

.feature-mockup--wide {
    padding: 0 48px 60px;
}

.feature-mockup__frame--wide {
    max-width: none;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.feature-mockup__frame--wide img {
    width: 100%;
    display: block;
}

.feature-body--wide {
    padding: 60px 48px;
}

.feature-content--wide {
    max-width: none;
}

.feature-faq--wide {
    padding: 80px 48px;
    background: var(--bg2);
}

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

.feature-bottom-cta--wide {
    padding: 80px 48px;
}

@media (max-width: 768px) {
    .feature-hero--wide {
        padding: 96px 20px 48px;
    }

    .feature-mockup--wide,
    .feature-body--wide,
    .feature-faq--wide,
    .feature-bottom-cta--wide {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ═══════════════════════════════════════════
   SHOWCASE SECTIONS — Screenshot feature cards
   ═══════════════════════════════════════════ */
.showcase {
    padding: 80px 0;
    position: relative;
    overflow: visible;
}

/* Showcase wave dividers — same ::after bottom-hang as main wave-dividers */
.showcase::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -49px;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

/* bg2 showcase: wave fill is bg2, overlapping white section below */
.showcase--bg2::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath fill='%23f5f7fb' d='M0,0 C240,50 480,50 720,25 C960,0 1200,0 1440,25 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}

/* White showcase: wave fill is white, overlapping bg2 section below */
.showcase:not(.showcase--bg2)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,0 C240,50 480,50 720,25 C960,0 1200,0 1440,25 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}

/* Showcase receiving a wave: extra top padding for the overlap */
.showcase+.showcase {
    padding-top: 120px;
}

/* More Features section receives the last showcase wave */
.more-features-section {
    position: relative;
    padding-top: 120px;
}

/* Explicit bg2 background for alternating showcases */
.showcase--bg2 {
    background: var(--bg2);
}

/* Suppress wave on showcases before sections with their own divider */
.showcase--no-wave::after {
    display: none;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.showcase-alt .showcase-grid {
    direction: rtl;
}

.showcase-alt .showcase-grid>* {
    direction: ltr;
}

.showcase-text .section-label {
    margin-bottom: 12px;
}

.showcase-text .section-title {
    margin-bottom: 16px;
}

.showcase-desc {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.showcase-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.showcase-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ink2);
    line-height: 1.5;
    padding: 6px 0;
}

.showcase-bullets li i {
    color: var(--green);
    font-size: 18px;
    margin-top: 1px;
    flex-shrink: 0;
}

/* Glow border card with 3D Perspective */
.showcase-img-wrap {
    position: relative;
    border-radius: 18px;
    padding: 3px;
    overflow: hidden;
    transform: perspective(1200px) rotateX(4deg) rotateY(-3deg) translateZ(0);
    box-shadow: -15px 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(51, 141, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.showcase-alt .showcase-img-wrap {
    transform: perspective(1200px) rotateX(4deg) rotateY(3deg) translateZ(0);
    box-shadow: 15px 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(51, 141, 255, 0.1);
}

.showcase-img-wrap:hover {
    transform: perspective(1200px) rotateX(1deg) rotateY(-1deg) translateZ(10px);
    box-shadow: -8px 15px 30px rgba(0, 0, 0, 0.4), 0 0 50px rgba(51, 141, 255, 0.25);
}

.showcase-alt .showcase-img-wrap:hover {
    transform: perspective(1200px) rotateX(1deg) rotateY(1deg) translateZ(10px);
    box-shadow: 8px 15px 30px rgba(0, 0, 0, 0.4), 0 0 50px rgba(51, 141, 255, 0.25);
}

.glow-border {
    background: linear-gradient(135deg, rgba(70, 104, 224, 0.15), rgba(50, 182, 122, 0.15), rgba(70, 104, 224, 0.15));
    box-shadow: 0 8px 40px rgba(70, 104, 224, 0.08), 0 2px 12px rgba(0, 0, 0, 0.06);
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 19px;
    background: conic-gradient(from var(--glow-angle, 0deg),
            transparent 0%,
            rgba(70, 104, 224, 0.3) 10%,
            transparent 20%,
            rgba(50, 182, 122, 0.2) 40%,
            transparent 50%,
            rgba(70, 104, 224, 0.25) 70%,
            transparent 80%);
    animation: glowSpin 6s linear infinite;
    z-index: 0;
}

@property --glow-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes glowSpin {
    to {
        --glow-angle: 360deg;
    }
}

.showcase-img {
    display: block;
    width: 100%;
    border-radius: 15px;
    position: relative;
    z-index: 1;
    background: #0f1218;
}

/* Mid-page CTA */
.mid-cta {
    padding: 80px 0;
    background: linear-gradient(160deg, #0c0e14 0%, #141a2e 50%, #0c0e14 100%);
    text-align: center;
}

.mid-cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.mid-cta h2 {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}

.mid-cta p {
    color: #8b95a8;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* More features grid */
.more-features-section {
    padding: 100px 0;
}

.more-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mf-card {
    background: var(--bg2);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.2s;
}

.mf-card:hover {
    background: white;
    border-color: var(--blue-mid);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.mf-card h4 {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.mf-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
}

/* CSS fade-in for More Features grid */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.css-fade-in>.mf-card {
    opacity: 0;
    animation: cardFadeIn 0.5s ease forwards;
}

/* Enhanced hover for all cards */
.mf-card {
    cursor: default;
}

.mf-card:hover {
    background: white;
    border-color: var(--blue-mid);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.10);
    transform: translateY(-4px);
}

.mf-card:hover .feat-icon {
    transform: scale(1.15);
    color: var(--blue);
}

.feat-icon {
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #0f1218;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    transform: translateY(100%);
    animation: cookieSlideIn 0.4s 1s ease forwards;
}

@keyframes cookieSlideIn {
    to {
        transform: translateY(0);
    }
}

.cookie-banner p {
    color: #c1c8d4;
    font-size: 13px;
    margin: 0;
    max-width: 560px;
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--blue);
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

.cookie-btn {
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: var(--blue-dark);
}

/* Responsive — showcase & more features */
@media (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .showcase-alt .showcase-grid {
        direction: ltr;
    }

    .more-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .more-features-grid {
        grid-template-columns: 1fr;
    }

    .showcase {
        padding: 48px 0;
    }

    .mid-cta {
        padding: 48px 20px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* ═══════════════════════════════════════════
   EDITOR PANEL SHOWCASE — Animated mockup
   ═══════════════════════════════════════════ */
.ep-showcase {
    padding: 80px 0 100px;
    background: var(--bg2);
    position: relative;
    overflow: hidden;
}

.ep-showcase-grid {
    display: grid;
    grid-template-columns: 5fr 2fr;
    gap: 48px;
    align-items: start;
}

.ep-showcase-text {
    padding-top: 40px;
}

/* Fake WP editor + panel composite */
.ep-composite {
    display: grid;
    grid-template-columns: 1fr 320px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #ddd;
    background: #fff;
    position: relative;
    align-items: stretch;
    max-height: 780px;
}

/* Fake editor area (left) */
.ep-editor-mock {
    background: #fff;
    padding: 32px 28px;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    max-height: 780px;
}

.ep-editor-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 12px;
    color: #999;
}

.ep-editor-topbar span {
    padding: 3px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 11px;
    color: #666;
    cursor: default;
}

.ep-editor-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e1e1e;
    line-height: 1.25;
    margin-bottom: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ep-editor-content {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.ep-editor-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.ep-editor-content li {
    margin-bottom: 8px;
    color: #555;
    font-size: 13px;
    line-height: 1.6;
}

/* Panel mockup (right sidebar) */
.ep-panel-mock {
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-y: auto;
    max-height: 780px;
}

/* Panel header */
.ep-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    font-weight: 600;
    color: #1e1e1e;
}

.ep-panel-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ep-panel-star {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #1e1e1e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.ep-panel-close {
    font-size: 18px;
    color: #999;
    cursor: default;
}

/* Score header in panel */
.ep-score-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.ep-score-badge {
    display: flex;
    align-items: baseline;
    gap: 1px;
    padding: 6px 10px;
    border-radius: 8px;
    color: #fff;
    background: #3b82f6;
    flex-shrink: 0;
    position: relative;
}

.ep-score-num {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.ep-score-denom {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
    line-height: 1;
}

.ep-score-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.ep-score-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e1e1e;
}

.ep-score-detail {
    font-size: 12px;
    color: #757575;
}

.ep-score-meta {
    font-size: 11px;
    color: #9e9e9e;
}

.ep-rescan-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 14px;
    cursor: default;
    flex-shrink: 0;
}

/* Score bar */
.ep-score-bar-wrap {
    height: 4px;
    background: #e0e0e0;
    overflow: hidden;
}

.ep-score-bar {
    height: 100%;
    width: 0%;
    background: #3b82f6;
    border-radius: 0 2px 2px 0;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Criteria list */
.ep-criterion {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    opacity: 0;
    transform: translateX(20px);
}

.ep-criterion.is-failed {
    background: #fff5f5;
}

.ep-criterion-icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.ep-criterion-label {
    flex: 1;
    font-weight: 500;
    color: #1e1e1e;
}

.ep-criterion-status {
    font-size: 13px;
    font-weight: 700;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    transform: scale(0);
}

.ep-criterion-status.pass {
    color: #22c55e;
}

.ep-criterion-status.fail {
    color: #ef4444;
}

/* Expanded content improvements section */
.ep-improvements {
    padding: 0 16px 16px 16px;
    opacity: 0;
}

.ep-improvements-desc {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.ep-analyzed {
    font-size: 13px;
    margin-bottom: 6px;
}

.ep-analyzed-check {
    color: #22c55e;
    font-weight: 600;
}

.ep-analyzed-count {
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
}

.ep-imp-card {
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(12px);
}

.ep-imp-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #dc2626;
    display: block;
    margin-bottom: 4px;
}

.ep-imp-text {
    font-size: 12px;
    color: #334155;
    line-height: 1.5;
}

/* Score pulse animation (after count-up) */
@keyframes epScorePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

@keyframes epScoreBounce {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.15);
    }

    70% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes epRingBurst {
    0% {
        transform: scale(0.8);
        opacity: 1;
        border-width: 3px;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
        border-width: 1px;
    }
}

.ep-score-badge.is-landed {
    animation: epScoreBounce 0.5s ease-out, epScorePulse 1s ease-out 0.3s;
}

.ep-score-ring {
    position: absolute;
    inset: -4px;
    border-radius: 12px;
    border: 3px solid #3b82f6;
    opacity: 0;
    pointer-events: none;
}

.ep-score-ring.is-burst {
    animation: epRingBurst 0.7s ease-out forwards;
}

/* Score glow shimmer */
@keyframes epScoreGlow {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.ep-score-glow {
    position: absolute;
    inset: -8px;
    border-radius: 16px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
}

.ep-score-glow.is-active {
    animation: epScoreGlow 1.2s ease-out forwards;
}

/* Responsive */
@media (max-width: 1100px) {
    .ep-composite {
        grid-template-columns: 1fr 280px;
    }
}

@media (max-width: 900px) {
    .ep-showcase-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ep-showcase-text {
        padding-top: 0;
        order: -1;
    }

    .ep-composite {
        grid-template-columns: 1fr;
    }

    .ep-editor-mock {
        display: none;
    }

    .ep-panel-mock {
        max-height: none;
    }
}

/* ═══════════════════════════════════════════
   LEGAL PAGES — Privacy & Terms
   ═══════════════════════════════════════════ */
.legal-page {
    padding: 120px 0 80px;
}

.legal-container {
    max-width: 720px;
}

.legal-title {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 4px;
}

.legal-updated {
    font-size: 13px;
    color: var(--muted2);
    margin-bottom: 40px;
}

.legal-container h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-container h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink2);
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-container p,
.legal-container li {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.legal-container ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-container a {
    color: var(--blue);
    text-decoration: none;
}

.legal-container a:hover {
    text-decoration: underline;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 16px 0;
}

.legal-table th {
    text-align: left;
    font-weight: 700;
    color: var(--ink);
    background: var(--bg2);
    padding: 10px 12px;
    border-bottom: 2px solid var(--border);
}

.legal-table td {
    padding: 8px 12px;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

.legal-table code {
    font-size: 12px;
    background: var(--bg2);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--ink2);
}

@media (max-width: 600px) {
    .legal-page {
        padding: 96px 20px 48px;
    }

    .legal-table {
        font-size: 12px;
    }

    .legal-table th,
    .legal-table td {
        padding: 6px 8px;
    }
}

/* ══════════════════════════════════════════════
   MY ACCOUNT PAGE
   ══════════════════════════════════════════════ */

.account-section {
    position: relative;
    min-height: 100vh;
    background: #0a0d14;
    color: #fff;
    overflow: hidden;
}

.account-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.account-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 80px;
}

.account-header {
    text-align: center;
    margin-bottom: 24px;
}

/* Hero */
.account-hero {
    text-align: center;
    margin-bottom: 48px;
}

.account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(51, 141, 255, 0.1);
    border: 2px solid rgba(51, 141, 255, 0.25);
    margin-bottom: 20px;
}

.account-avatar i {
    font-size: 36px;
    color: var(--accent);
}

.account-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

.account-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Layout */
.account-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

.account-layout--single {
    display: flex;
    justify-content: center;
}

/* Cards */
.account-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 24px;
}

.account-card--muted {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.account-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.account-card-header i {
    font-size: 22px;
    color: var(--accent);
}

.account-card-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.account-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-card h3 i {
    color: var(--accent);
    font-size: 20px;
}

.account-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0 0 16px;
}

/* AI Credits Card */
.account-credits-card .account-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.credits-plan-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 6px;
    margin-left: auto;
}

.credits-plan-badge--pro {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.credits-plan-badge--agency {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.credits-plan-badge--free {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.credits-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    padding: 12px 0;
}

.credits-loading i {
    font-size: 18px;
}

.credits-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.credits-stat {
    text-align: center;
    padding: 14px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.credits-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    font-family: 'Barlow', sans-serif;
    line-height: 1;
    margin-bottom: 4px;
}

.credits-stat--remaining .credits-stat-number {
    color: #22c55e;
}

.credits-stat--used .credits-stat-number {
    color: #f59e0b;
}

.credits-stat--total .credits-stat-number {
    color: rgba(255, 255, 255, 0.6);
}

.credits-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.credits-bar-wrap {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.credits-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
    width: 0;
}

.credits-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.credits-reset {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.credits-bonus {
    font-size: 12px;
    font-weight: 600;
    color: #a855f7;
}

.credits-hint {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.3) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.credits-error {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #f87171;
    padding: 12px 0;
}

.credits-error i {
    font-size: 18px;
}

/* Quick action cards row */
.account-actions-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.account-action-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.account-action-card:hover {
    border-color: rgba(51, 141, 255, 0.2);
    transform: translateY(-2px);
}

.action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 14px;
    font-size: 24px;
}

.action-icon--blue {
    background: rgba(51, 141, 255, 0.12);
    color: #338dff;
}

.action-icon--green {
    background: rgba(40, 200, 120, 0.12);
    color: #28c878;
}

.action-icon--purple {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.account-action-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 6px;
    justify-content: center;
}

.action-version {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0 0 14px;
    font-family: 'Barlow', sans-serif;
}

.action-hint {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 10px;
}

.action-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 6px 10px;
    display: inline-block;
}

/* Buttons */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.action-btn--primary {
    background: var(--accent);
    color: #fff;
    border: none;
}

.action-btn--primary:hover {
    background: #2678e0;
    transform: translateY(-1px);
    color: #fff;
}

.action-btn--outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.action-btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.action-btn--upgrade {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    border: none;
    font-weight: 700;
}

.action-btn--upgrade:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
    color: #fff;
}

/* Profile card */
.account-profile-card {
    background: rgba(51, 141, 255, 0.06);
    border-color: rgba(51, 141, 255, 0.12);
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-row:last-of-type {
    border-bottom: none;
}

.profile-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.profile-value {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
}

.profile-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.profile-logout:hover {
    color: #ef4444;
}

/* Update steps */
.update-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: ustep;
}

.update-steps li {
    counter-increment: ustep;
    padding-left: 28px;
    position: relative;
    margin-bottom: 16px;
}

.update-steps li::before {
    content: counter(ustep);
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(51, 141, 255, 0.15);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.update-steps li strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.update-steps li p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    line-height: 1.5;
}

.update-steps li code {
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.65);
}

/* Help card */
.account-help-card {
    background: rgba(40, 200, 120, 0.04);
    border-color: rgba(40, 200, 120, 0.1);
}

.help-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #28c878;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.help-email:hover {
    opacity: 0.8;
    color: #28c878;
}

/* Login card */
.account-login-card {
    max-width: 440px;
    width: 100%;
}

/* EDD form overrides */
.edd-history-wrapper table,
.account-login-card .edd_login_form {
    width: 100%;
}

.edd-history-wrapper table {
    border-collapse: collapse;
}

.edd-history-wrapper th {
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

.edd-history-wrapper td {
    padding: 12px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.edd-history-wrapper a {
    color: var(--accent);
}

.edd-history-wrapper .edd_pagination {
    margin-top: 16px;
}

/* EDD login form */
.account-login-card input[type="text"],
.account-login-card input[type="password"],
.account-login-card input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.account-login-card input:focus {
    outline: none;
    border-color: var(--accent);
}

.account-login-card label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
    font-weight: 600;
}

.account-login-card input[type="submit"],
.account-login-card .edd_login_submit button {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}

.account-login-card input[type="submit"]:hover,
.account-login-card .edd_login_submit button:hover {
    background: #2678e0;
}

/* EDD no-purchases message override */
.edd-history-wrapper .edd-no-purchases,
.edd-history-wrapper p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 900px) {
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-actions-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .account-container {
        padding: 24px 16px 60px;
    }

    .account-card {
        padding: 20px 16px;
    }

    .account-action-card {
        padding: 20px 16px;
    }
}

/* ═══════════════════════════════════════════════
   LICENSE KEY DISPLAY (Confirmation + Account)
   ═══════════════════════════════════════════════ */

.confirm-license-card {
    border-color: rgba(51, 141, 255, 0.2);
    background: rgba(51, 141, 255, 0.04);
}

/* Download Button Card */
.confirm-download-card {
    border-color: rgba(40, 200, 120, 0.25);
    background: rgba(40, 200, 120, 0.04);
}

.confirm-download-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.confirm-download-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(40, 200, 120, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.confirm-download-icon i {
    font-size: 24px;
    color: #28c878;
}

.confirm-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #28c878 0%, #1fa865 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.confirm-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(40, 200, 120, 0.3);
    color: #fff;
    text-decoration: none;
}

.confirm-download-btn:active {
    transform: scale(0.98);
}

.confirm-download-btn i {
    font-size: 20px;
}

.license-key-display {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.license-key-value {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    color: #7ab8ff;
    letter-spacing: 0.5px;
    word-break: break-all;
    user-select: all;
}

.license-copy-btn {
    flex-shrink: 0;
    background: rgba(51, 141, 255, 0.12);
    border: 1px solid rgba(51, 141, 255, 0.25);
    border-radius: 8px;
    padding: 10px 18px;
    color: #338dff;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.license-copy-btn:hover {
    background: rgba(51, 141, 255, 0.2);
    border-color: #338dff;
}

.license-key-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.license-masked {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    color: #7ab8ff;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════
   CUSTOM RECEIPT TABLE
   ═══════════════════════════════════════════════ */

.confirm-receipt-table {
    width: 100%;
    border-collapse: collapse;
}

.confirm-receipt-table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    vertical-align: middle;
}

.confirm-receipt-table tr:last-child td {
    border-bottom: none;
}

.receipt-label {
    color: rgba(255, 255, 255, 0.45);
    width: 140px;
    font-weight: 500;
}

.receipt-value {
    color: rgba(255, 255, 255, 0.85);
}

.receipt-product-name {
    font-weight: 600;
    color: #fff;
}

.receipt-total-row td {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 0;
}

.receipt-total-row .receipt-value strong {
    color: #fff;
    font-size: 1.05rem;
}

/* Plan badges */
.receipt-plan-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.receipt-plan-badge--pro {
    background: rgba(51, 141, 255, 0.12);
    color: #58aeff;
    border: 1px solid rgba(51, 141, 255, 0.25);
}

.receipt-plan-badge--agency {
    background: rgba(168, 85, 247, 0.12);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.25);
}

/* Status badge */
.receipt-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(40, 200, 120, 0.12);
    color: #28c878;
    border: 1px solid rgba(40, 200, 120, 0.2);
}

/* Account compact card */
.account-card--compact {
    padding: 16px 24px;
}

/* Small action buttons */
.action-btn--sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* ═══════════════════════════════════════
   GOOGLE LOGIN BUTTON
   ═══════════════════════════════════════ */
.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-sizing: border-box;
}

.google-login-btn:hover {
    background: #f7f8f8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    color: #3c4043;
    text-decoration: none;
}

.google-login-btn:active {
    transform: translateY(0);
    background: #eee;
}

.google-login-btn svg {
    flex-shrink: 0;
}

/* "or sign in with email" divider */
.google-login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: #6e7681;
    font-size: 13px;
}

.google-login-divider::before,
.google-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.google-login-divider span {
    white-space: nowrap;
}

/* Error message */
.google-login-error {
    background: rgba(248, 81, 73, 0.08);
    border: 1px solid rgba(248, 81, 73, 0.3);
    color: #f85149;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}

.google-login-error i {
    margin-right: 6px;
}

/* Checkout Google button wrap */
.edd-google-login-wrap {
    max-width: 480px;
    margin: 0 auto 12px;
}

/* ═══════════════════════════════════════
   COMING SOON BADGES
   ═══════════════════════════════════════ */
.badge-soon {
    display: inline-block;
    padding: 2px 8px;
    margin-left: 8px;
    background: rgba(251, 188, 5, 0.12);
    color: #f0b429;
    border: 1px solid rgba(251, 188, 5, 0.25);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.dfc-soon {
    opacity: 0.7;
}

/* Comparison table coming soon */
.compare-soon {
    display: inline-block;
    padding: 1px 6px;
    margin-left: 4px;
    background: rgba(251, 188, 5, 0.12);
    color: #f0b429;
    border: 1px solid rgba(251, 188, 5, 0.25);
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   INTERACTIVE SHOWCASE COMPONENTS
   Brand palette: Electric Blue #338dff
   Glass surfaces: #0c0e14 / #1a1f2e / #222838 / #333d54
   ═══════════════════════════════════════════════════════ */

/* Component frame: glow + border + bottom fade */
.sc-frame {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 40px rgba(51, 141, 255, 0.10), 0 0 80px rgba(51, 141, 255, 0.05);
    border: 1px solid rgba(51, 141, 255, 0.15);
}

.sc-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(8, 10, 16, 0.95), transparent);
    pointer-events: none;
    z-index: 5;
}

/* Browser chrome bar */
.sc-chrome {
    background: #0a0c12;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid rgba(51, 77, 84, 0.4);
}

.sc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sc-dot--r {
    background: #ff5f57;
}

.sc-dot--y {
    background: #ffbd2e;
}

.sc-dot--g {
    background: #28c840;
}

.sc-chrome-title {
    margin-left: 10px;
    font-size: 11px;
    color: #5a6478;
    font-weight: 500;
}

/* Float animations (reduced amplitude) */
.sc-float-1 {
    animation: scFloatA 6s ease-in-out infinite;
}

.sc-float-2 {
    animation: scFloatB 7s ease-in-out infinite;
}

.sc-float-3 {
    animation: scFloatC 8s ease-in-out infinite;
}

.sc-float-4 {
    animation: scFloatD 6.5s ease-in-out infinite;
}

.sc-float-5 {
    animation: scFloatA 7.5s ease-in-out infinite;
}

.sc-float-6 {
    animation: scFloatB 6s ease-in-out infinite;
}

.sc-float-7 {
    animation: scFloatC 7s ease-in-out infinite;
}

.sc-float-8 {
    animation: scFloatD 8s ease-in-out infinite;
}

@keyframes scFloatA {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

@keyframes scFloatB {

    0%,
    100% {
        transform: translateY(0) rotate(0deg)
    }

    50% {
        transform: translateY(-5px) rotate(0.3deg)
    }
}

@keyframes scFloatC {

    0%,
    100% {
        transform: translateY(0)
    }

    33% {
        transform: translateY(-4px)
    }

    66% {
        transform: translateY(2px)
    }
}

@keyframes scFloatD {

    0%,
    100% {
        transform: translateY(0) rotate(0deg)
    }

    50% {
        transform: translateY(-7px) rotate(-0.3deg)
    }
}

/* Inner panel */
.sc-inner {
    background: #0c0e14;
    padding: 24px 22px 40px;
    font-family: 'Inter', system-ui, sans-serif;
    color: #e8ecf4;
}

.sc-inner * {
    box-sizing: border-box;
}

/* Header */
.sc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.sc-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #e8ecf4;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.sc-header .sc-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(51, 141, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #338dff;
    filter: drop-shadow(0 0 8px rgba(51, 141, 255, 0.3));
}

.sc-header .sc-sub {
    font-size: 12px;
    color: #8b95a8;
    margin-top: 2px;
}

/* Buttons */
.sc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #338dff, #1b6ff5);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: default;
    font-family: inherit;
    white-space: nowrap;
    box-shadow: 0 0 12px rgba(51, 141, 255, 0.2);
    pointer-events: none;
}

.sc-btn--sec {
    background: rgba(26, 30, 46, 0.6);
    color: #8b95a8;
    border: 1px solid #333d54;
    box-shadow: none;
    backdrop-filter: blur(8px);
    font-weight: 500;
}

/* Cards */
.sc-card {
    background: rgba(34, 40, 56, 0.7);
    border: 1px solid #333d54;
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Pills */
.sc-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    overflow-x: auto;
    margin-bottom: 14px;
    -webkit-overflow-scrolling: touch;
}

.sc-pill {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid transparent;
    background: #1a1f2e;
    color: #8b95a8;
    white-space: nowrap;
}

.sc-pill--active {
    background: rgba(51, 141, 255, 0.08);
    color: #338dff;
    border-color: rgba(51, 141, 255, 0.2);
}

/* Stats grid */
.sc-stats {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.sc-stats--3 {
    grid-template-columns: repeat(3, 1fr);
}

.sc-stats--4 {
    grid-template-columns: repeat(4, 1fr);
}

.sc-stats--5 {
    grid-template-columns: repeat(5, 1fr);
}

.sc-stat {
    background: rgba(34, 40, 56, 0.7);
    border: 1px solid #333d54;
    border-radius: 16px;
    padding: 14px 10px;
    text-align: center;
    backdrop-filter: blur(12px);
}

.sc-stat .sc-stat-label {
    font-size: 10px;
    color: #8b95a8;
    margin-bottom: 4px;
}

.sc-stat .sc-stat-val {
    font-size: 22px;
    font-weight: 700;
}

.sc-stat-val--primary {
    color: #338dff;
}

.sc-stat-val--success {
    color: #34d399;
}

.sc-stat-val--warning {
    color: #fbbf24;
}

.sc-stat-val--danger {
    color: #f87171;
}

.sc-stat-val--text {
    color: #e8ecf4;
}

/* Tables */
.sc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.sc-table thead th {
    text-align: left;
    font-size: 10px;
    font-weight: 600;
    color: #5a6478;
    padding: 8px 10px;
    border-bottom: 1px solid #333d54;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.sc-table tbody td {
    padding: 7px 10px;
    border-bottom: 1px solid rgba(51, 77, 84, 0.15);
    color: #8b95a8;
    vertical-align: middle;
}

.sc-table tbody tr.sc-row-cited {
    background: rgba(52, 211, 153, 0.04);
}

/* Badges */
.sc-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid transparent;
}

.sc-badge--success {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.15);
}

.sc-badge--warning {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.15);
}

.sc-badge--danger {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.15);
}

.sc-badge--primary {
    background: rgba(51, 141, 255, 0.08);
    color: #338dff;
    border-color: rgba(51, 141, 255, 0.15);
}

/* Grade badge */
.sc-grade {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.sc-grade--A {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.sc-grade--B {
    background: rgba(51, 141, 255, 0.08);
    color: #338dff;
    border: 1px solid rgba(51, 141, 255, 0.2);
}

.sc-grade--C {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.sc-grade--D {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

/* Progress bar */
.sc-progress {
    width: 60px;
    height: 5px;
    background: #1a1f2e;
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

.sc-progress-fill {
    height: 100%;
    border-radius: 4px;
    background: #338dff;
}

.sc-progress--80 {
    width: 80px;
}

/* Toggle */
.sc-toggle {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    position: relative;
    background: #338dff;
}

.sc-toggle-dot {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Bot grid */
.sc-bot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sc-bot-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
}

.sc-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.sc-status-dot--on {
    background: #34d399;
}

.sc-status-dot--off {
    background: #f87171;
}

.sc-status-dot--na {
    background: #5a6478;
}

/* Author card preview */
.sc-author-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sc-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 18px;
    flex-shrink: 0;
}

.sc-author-info .sc-written-by {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.sc-author-info .sc-author-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.sc-author-info .sc-author-title {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.sc-author-info .sc-author-bio {
    font-size: 11px;
    color: #475569;
    margin-top: 5px;
    line-height: 1.5;
}

.sc-expertise-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.sc-expertise-tag {
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 600;
    background: rgba(51, 141, 255, 0.1);
    color: #338dff;
}

/* Spec compliance */
.sc-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}

.sc-spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #8b95a8;
}

/* Schema rule card */
.sc-rule-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a1f2e;
    border-radius: 10px;
    padding: 8px 10px;
}

.sc-rule-icon {
    color: #338dff;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

/* Code preview */
.sc-code-preview {
    background: #0c0e14;
    border: 1px solid #333d54;
    border-radius: 12px;
    padding: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #34d399;
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-wrap;
    line-height: 1.6;
}

/* Textarea mock */
.sc-textarea {
    width: 100%;
    background: rgba(12, 14, 20, 0.7);
    border: 1px solid #333d54;
    border-radius: 12px;
    padding: 12px;
    color: #8b95a8;
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    resize: none;
    height: 100px;
    backdrop-filter: blur(8px);
}

/* Tab bar */
.sc-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #333d54;
    margin-bottom: 14px;
}

.sc-tab {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #5a6478;
    border-bottom: 2px solid transparent;
}

.sc-tab--active {
    color: #338dff;
    border-bottom-color: #338dff;
}

/* Issue list items */
.sc-issue {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(51, 77, 84, 0.15);
    font-size: 11px;
}

.sc-issue:last-child {
    border-bottom: none;
}

.sc-fix-btn {
    font-size: 10px;
    padding: 3px 12px;
    border-radius: 8px;
    background: rgba(51, 141, 255, 0.08);
    color: #338dff;
    border: 1px solid rgba(51, 141, 255, 0.15);
    font-weight: 600;
    cursor: default;
    pointer-events: none;
}

/* Utility helpers */
.sc-text {
    color: #e8ecf4;
}

.sc-text-muted {
    color: #8b95a8;
}

.sc-text-dim {
    color: #5a6478;
}

.sc-text-primary {
    color: #338dff;
}

.sc-text-success {
    color: #34d399;
}

.sc-text-warning {
    color: #fbbf24;
}

.sc-text-danger {
    color: #f87171;
}

.sc-fw-500 {
    font-weight: 500;
}

.sc-fw-600 {
    font-weight: 600;
}

.sc-fw-700 {
    font-weight: 700;
}

.sc-mono {
    font-family: 'JetBrains Mono', monospace;
}

.sc-text-xs {
    font-size: 10px;
}

.sc-text-sm {
    font-size: 12px;
}

.sc-text-center {
    text-align: center;
}

.sc-text-right {
    text-align: right;
}

.sc-mb-6 {
    margin-bottom: 6px;
}

.sc-mb-8 {
    margin-bottom: 8px;
}

.sc-mb-10 {
    margin-bottom: 10px;
}

.sc-mb-14 {
    margin-bottom: 14px;
}

.sc-flex {
    display: flex;
}

.sc-items-center {
    align-items: center;
}

.sc-justify-between {
    justify-content: space-between;
}

.sc-gap-6 {
    gap: 6px;
}

.sc-gap-8 {
    gap: 8px;
}

.sc-gap-10 {
    gap: 10px;
}

.sc-flex-1 {
    flex: 1;
}

.sc-ml-8 {
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 768px) {

    .sc-stats--4,
    .sc-stats--5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .sc-bot-grid {
        grid-template-columns: 1fr;
    }

    .sc-spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   SDP Mockup Interactive
   ========================================================================== */
.sdp-mockup-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: left;
}
.sdp-mockup-sidebar {
  width: 250px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  box-shadow: 2px 0 10px rgba(0,0,0,0.03);
  position: relative;
  z-index: 10;
}
.sdp-ms-header {
  display: flex;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
.sdp-ms-back {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  margin-right: 8px;
  font-size: 14px;
}
.sdp-ms-subtitle {
  font-size: 9px;
  color: #64748b;
}
.sdp-ms-title {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}
.sdp-ms-content {
  padding: 16px 14px;
  overflow-y: auto;
}
.sdp-ms-section-title {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 10px;
}
.sdp-ms-layouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
.sdp-ms-layout {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px;
  background: #fff;
  transition: all 0.2s;
}
.sdp-ms-layout.active {
  border-color: #3B9EFF;
  box-shadow: 0 0 0 1px rgba(59,158,255,0.2) inset;
}
.sdp-ms-layout-preview {
  height: 40px;
  border-radius: 4px;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.classic-layout { background: linear-gradient(to bottom, #fff 40%, #f1f5f9 40%); border: 1px solid #e2e8f0; }
.minimal-layout { background: linear-gradient(to right, #f8fafc 40%, #e2e8f0 40%); }
.bold-layout { background: #cbd5e1; }
.sdp-ms-layout-name {
  font-size: 10px;
  font-weight: 600;
  color: #0f172a;
}
.sdp-ms-input {
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 11px;
  color: #0f172a;
  background: #fff;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.sdp-ms-textarea {
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 11px;
  color: #0f172a;
  background: #fff;
  height: 50px;
}
.sdp-mockup-preview {
  flex-grow: 1;
  background: #e2e8f0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sdp-mockup-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(167,243,208,0.4) 0%, rgba(56,189,248,0.4) 50%, rgba(129,140,248,0.4) 100%);
  z-index: 1;
}
/* Subtle grid pattern overlay */
.sdp-mockup-preview::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
}

.sdp-mp-navbar {
  position: relative;
  z-index: 2;
  background: #fff;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  justify-content: space-between;
}
.sdp-mp-logo { font-size: 15px; font-weight: 800; color: #0f172a; letter-spacing: -0.5px; }
.sdp-mp-links { display: flex; gap: 16px; display: none; }
@media(min-width:900px) { .sdp-mp-links { display: flex; } }
.sdp-mp-links span { font-size: 12px; font-weight: 500; color: #475569; }
.sdp-mp-actions { display: flex; align-items: center; gap: 12px; }
.sdp-mp-actions i { font-size: 16px; color: #64748b; }
.sdp-mp-user { font-size: 12px; font-weight: 500; color: #475569; display: none; }
@media(min-width:600px) { .sdp-mp-user { display: block; } }

.sdp-mp-hero { position: relative; z-index: 2; flex-grow: 1; display: flex; flex-direction: column; padding: 32px 32px; justify-content: space-between; }
.sdp-mp-hero-h1 { font-size: 32px; font-weight: 800; color: #0f172a; line-height: 1.1; margin: 0 0 12px 0; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(255,255,255,0.5); }
@media(min-width:900px) { .sdp-mp-hero-h1 { font-size: 42px; } }
.sdp-mp-hero-p { font-size: 14px; color: #334155; line-height: 1.5; margin: 0 0 20px 0; font-weight: 500; max-width: 400px; }
.sdp-mp-searchbar { display: flex; align-items: center; background: #fff; padding: 6px 6px 6px 16px; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); max-width: 400px; }
.sdp-mp-search-icon { color: #94a3b8; font-size: 16px; margin-right: 10px; }
.sdp-mp-search-text { flex-grow: 1; color: #94a3b8; font-size: 12px; }
.sdp-mp-search-btn { background: #93c5fd; color: #fff; padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 12px; }

.sdp-mp-cards { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-top: auto; }
.sdp-mp-card { background-size: cover; background-position: center; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; min-height: 120px; position: relative; overflow: hidden; }
.sdp-mp-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%); z-index: 1; }
.sdp-mp-card > * { position: relative; z-index: 2; }
.sdp-mp-card-large { background-color: #1e293b; 
    background-image: url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&q=80&w=800'); }
.sdp-mp-card-small:nth-child(2) { background-color: #334155; 
    background-image: url('https://images.unsplash.com/photo-1549887552-cb1071d3e5ca?auto=format&fit=crop&q=80&w=400'); }
.sdp-mp-card-small:nth-child(3) { background-color: #475569; 
    background-image: url('https://images.unsplash.com/photo-1534067783941-51c9c231f6f4?auto=format&fit=crop&q=80&w=400'); }
.sdp-mp-card-title { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.sdp-mp-card-count { font-size: 10px; opacity: 0.9; }

/* Mock Typing Animation */
@keyframes mockTyping { from { width: 0; } to { width: 100%; } }
@keyframes blinkCursor { 50% { border-color: transparent; } }
.anim-typing-heading {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation: mockTyping 3s steps(38, end) infinite alternate, blinkCursor 0.75s step-end infinite;
  border-right: 2px solid #0f172a;
}
.anim-typing-sub {
  position: relative;
  overflow: hidden;
}
.anim-typing-sub::after {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 100%; height: 100%;
  background: #fff;
  border-left: 2px solid #0f172a;
  animation: mockTyping 3s steps(40, end) infinite alternate-reverse, blinkCursor 0.75s step-end infinite;
}
@media (max-width: 800px) {
  .sdp-mockup-sidebar { display: none; }
  .sdp-mp-hero-content { align-items: center; text-align: center; margin: 0 auto; }
  .sdp-mp-cards { grid-template-columns: 1fr; }
  .sdp-mp-card { min-height: 100px; }
}

/* ==========================================================================
   SDP CSS LOGO
   ========================================================================== */
.sdp-css-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink); /* Dark text for Smart and Pro */
    letter-spacing: -0.5px;
    font-family: 'Inter', system-ui, sans-serif;
    display: inline-block;
    text-decoration: none;
}
.sdp-css-logo-accent {
    color: var(--blue); /* Tech blue for Directory */
    font-weight: 800;
}