/*
Theme Name: UpWiz Theme
Theme URI: https://upwiz.app
Author: UpWiz Team
Author URI: https://upwiz.app
Description: High-performance WooCommerce theme for UpWiz marketing, checkout, and account experiences.
Version: 1.1.4
Text Domain: upwiz-theme
*/

/* =========================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================= */

:root {
    /* Brand Palette */
    --color-primary: #2945FF;
    --color-primary-light: #5B73FF;
    --color-primary-deep: #1E35CC;
    --color-success: #10B981;
    --color-success-light: #D1FAE5;
    --color-warning: #F59E0B;
    --color-warning-light: #FEF3C7;
    --color-danger: #EF4444;
    --color-danger-light: #FEE2E2;

    /* Neutrals - Slate */
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;

    /* Semantic Colors */
    --bg-primary: var(--slate-50);
    --bg-secondary: #FFFFFF;
    --text-primary: var(--slate-900);
    --text-secondary: var(--slate-700);
    --text-muted: var(--slate-500);
    --border-color: var(--slate-200);
    --border-light: var(--slate-100);

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --container-width: 1200px;
    --header-height: 40px;
    --upwiz-fixed-header-offset: 72px;
    --upwiz-page-top-gap: clamp(1.15rem, 3vw, 2rem);
    --upwiz-page-bottom-gap: clamp(2.5rem, 6vw, 4.5rem);

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 4px 14px 0 rgba(41, 69, 255, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-blur: blur(12px);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
    font-size: 1.125rem;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-primary-deep);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 0.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.section-padding {
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 1rem 0;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 1rem 0;
    }
}

/* Keep standard content templates clear of the fixed header and give short pages room above the footer. */
body:not(.home):not(.front-page):not(.woocommerce-page) {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body:not(.home):not(.front-page):not(.woocommerce-page) #content.site-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

body:not(.home):not(.front-page):not(.woocommerce-page) #content.site-content > .site-main {
    flex: 1 0 auto;
}

body:not(.home):not(.front-page):not(.woocommerce-page) .site-footer {
    margin-top: auto;
}

body:not(.home):not(.front-page):not(.woocommerce-page) .site-main.section-padding:not(.upwiz-trial-main) {
    padding-top: calc(var(--upwiz-admin-bar-offset, 0px) + var(--upwiz-fixed-header-offset) + var(--upwiz-page-top-gap));
    padding-bottom: var(--upwiz-page-bottom-gap);
}

body:not(.home):not(.front-page):not(.woocommerce-page) .site-main.section-padding:not(.upwiz-trial-main) :is(.entry-header, .page-header) {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

body:not(.home):not(.front-page):not(.woocommerce-page) .site-main.section-padding:not(.upwiz-trial-main) :is(.entry-title, .page-title) {
    margin-top: 0;
}

/* BetterDocs archive/single templates render directly under #content (no .site-main wrapper),
   so add fixed-header clearance explicitly. */
body.post-type-archive-docs #content.site-content > .betterdocs-wrapper,
body.single-docs #content.site-content > .betterdocs-wrapper {
    padding-top: calc(var(--upwiz-admin-bar-offset, 0px) + var(--upwiz-fixed-header-offset) + clamp(0.5rem, 1.5vw, 1rem));
}

.upwiz-account-page-header {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.upwiz-account-shell {
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: white;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
}

.btn svg {
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-primary-deep);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(41, 69, 255, 0.04);
}

/* =========================================
   SECTION HEADERS
   ========================================= */

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(41, 69, 255, 0.08);
    color: var(--color-primary);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    margin-bottom: 1rem;
}

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

/* =========================================
   HERO SECTION
   ========================================= */

.hero-section {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 0;
    background: linear-gradient(135deg, var(--slate-50) 0%, white 50%, rgba(41, 69, 255, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(41, 69, 255, 0.08), transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-section .container.hero-grid {
    max-width: 1360px;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
        gap: clamp(2.2rem, 3vw, 3.8rem);
        align-items: center;
    }
}

.hero-content {
    max-width: 540px;
    display: grid;
    gap: 1.5rem;
}

.hero-copy {
    display: grid;
    gap: 1rem;
}

.hero-copy-secondary {
    gap: 0;
}

@media (max-width: 1023px) {
    .hero-grid {
        gap: 1.1rem;
    }

    .hero-content {
        display: contents;
    }

    .hero-copy-primary,
    .hero-copy-secondary {
        width: min(100%, 38rem);
        margin: 0 auto;
        text-align: center;
    }

    .hero-copy {
        gap: 0.75rem;
    }

    .hero-copy-primary {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-copy-secondary {
        order: 3;
    }

    /* Avoid a split-tone seam on smaller screens from the desktop-only overlay */
    .hero-section::before {
        display: none;
    }

    .hero-section {
        background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 78%);
    }
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(41, 69, 255, 0.1), rgba(41, 69, 255, 0.05));
    color: var(--color-primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(41, 69, 255, 0.1);
}

.badge-icon {
    font-size: 1rem;
}

/* Title */
.hero-title {
    margin-bottom: 0;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Description */
.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.35rem;
    line-height: 1.7;
}

.hero-copy-secondary .hero-description:last-of-type {
    margin-bottom: 0;
}

/* Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

@media (max-width: 1023px) {
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* Trust Items */
.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

@media (max-width: 1023px) {
    .hero-trust {
        align-items: center;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trust-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* =========================================
   HERO VISUAL / MOCKUP
   ========================================= */

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.mockup-container {
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 247, 252, 0.98) 100%);
    border-radius: 30px;
    box-shadow: 0 36px 86px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    position: relative;
    isolation: isolate;
}

.hero-gallery-shell {
    padding: clamp(0.8rem, 1.5vw, 1.15rem);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.94) 100%);
}

.hero-gallery {
    display: grid;
    gap: 1.1rem;
}

.hero-gallery-main-wrap {
    position: relative;
}

.hero-gallery-counter {
    color: var(--text-muted);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-gallery-expand {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 3;
    display: inline-grid;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(2, 6, 23, 0.54);
    color: #ffffff;
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.2);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-gallery-expand:hover,
.hero-gallery-expand:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.28);
    border-color: rgba(255, 255, 255, 0.34);
}

.hero-gallery-expand:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.76);
    outline-offset: 2px;
}

.hero-gallery-expand-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-gallery-main {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 32%),
        linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 20px 44px rgba(15, 23, 42, 0.12);
    outline: none;
    cursor: zoom-in;
}

.hero-gallery-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.006);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.hero-gallery-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
}

.hero-gallery-nav {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.hero-gallery-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.45rem;
    height: 2.45rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(2, 6, 23, 0.52);
    color: #ffffff;
    border-radius: 999px;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: auto;
    cursor: pointer;
    opacity: 0.24;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.hero-gallery-main:hover .hero-gallery-nav-button,
.hero-gallery-main:focus-within .hero-gallery-nav-button {
    opacity: 0.9;
}

.hero-gallery-nav-button:hover,
.hero-gallery-nav-button:focus-visible {
    background: rgba(2, 6, 23, 0.78);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    opacity: 1;
}

.hero-gallery-nav-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 2px;
}

.hero-gallery-footer {
    display: grid;
    gap: 0.85rem;
    padding: 0.15rem 0.1rem 0.1rem;
}

.hero-gallery-caption {
    display: grid;
    gap: 0.5rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

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

.hero-gallery-caption-eyebrow {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-gallery-caption-eyebrow {
    color: var(--color-primary);
}

.hero-gallery-caption-divider {
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.54);
}

.hero-gallery-caption-title {
    margin: 0;
    font-size: clamp(1.08rem, 1.8vw, 1.38rem);
    line-height: 1.16;
}

.hero-gallery-caption-body {
    margin: 0;
    max-width: 58ch;
    font-size: 0.95rem;
    line-height: 1.58;
    color: var(--text-secondary);
}

.hero-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(var(--hero-gallery-slide-count), minmax(0, 1fr));
    gap: 0.55rem;
}

.hero-gallery-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 3rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    text-align: left;
    color: var(--text-secondary);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-gallery-thumb:hover,
.hero-gallery-thumb:focus-visible,
.hero-gallery-thumb.is-active {
    border-color: rgba(37, 99, 235, 0.22);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.95) 0%, rgba(219, 234, 254, 0.95) 100%);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.08);
}

.hero-gallery-thumb:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

.hero-gallery-thumb-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
}

.hero-gallery-dialog {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(18px);
}

.hero-gallery-dialog[hidden] {
    display: none;
}

.hero-gallery-dialog__panel {
    width: min(1560px, calc(100vw - 1.2rem));
    max-height: calc(100dvh - 1.2rem);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: clamp(0.7rem, 1.35vw, 0.95rem);
    padding: clamp(0.72rem, 1.5vw, 1rem);
    overflow: auto;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 34px 84px rgba(15, 23, 42, 0.28);
}

.hero-gallery-dialog__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.15rem;
}

.hero-gallery-dialog__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-width: 0;
}

.hero-gallery-dialog__eyebrow,
.hero-gallery-dialog__counter {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-gallery-dialog__eyebrow {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
}

.hero-gallery-dialog__counter {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-secondary);
}

.hero-gallery-dialog__close {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.78);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-gallery-dialog__close:hover,
.hero-gallery-dialog__close:focus-visible {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.hero-gallery-dialog__close:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.24);
    outline-offset: 2px;
}

.hero-gallery-dialog__viewer {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.95) 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.hero-gallery-dialog__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: clamp(1rem, 1.8vw, 1.55rem) clamp(1.15rem, 2.3vw, 1.8rem);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(241, 245, 249, 0.88) 100%);
    overflow: hidden;
}

.hero-gallery-dialog__image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: min(82dvh, 920px);
    object-fit: contain;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.hero-gallery-dialog__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-gallery-dialog__nav:hover,
.hero-gallery-dialog__nav:focus-visible {
    transform: translateY(-50%) scale(1.02);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.hero-gallery-dialog__nav:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.24);
    outline-offset: 2px;
}

.hero-gallery-dialog__nav--prev {
    left: 0.85rem;
}

.hero-gallery-dialog__nav--next {
    right: 0.85rem;
}

.hero-gallery-dialog__caption {
    display: grid;
    gap: 0.38rem;
    padding: 0.88rem 1.05rem 0.98rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 252, 0.94) 100%);
}

.hero-gallery-dialog__title {
    margin: 0;
    font-size: clamp(1.08rem, 1.55vw, 1.32rem);
    line-height: 1.2;
}

.hero-gallery-dialog__body {
    margin: 0;
    max-width: 72ch;
    font-size: 0.94rem;
    line-height: 1.58;
    color: var(--text-secondary);
}

.hero-gallery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 1.25rem;
    border-radius: calc(var(--radius-lg) - 4px);
    background: #0f172a;
    color: #e2e8f0;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 640px) {
    .hero-section .container.hero-grid {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .mockup-container {
        border-radius: 24px;
    }

    .hero-gallery-shell {
        padding: 0.58rem;
    }

    .hero-gallery {
        gap: 0.8rem;
    }

    .hero-gallery-main {
        border-radius: 22px;
    }

    .hero-gallery-expand {
        top: 0.7rem;
        right: 0.7rem;
        width: 2.35rem;
        height: 2.35rem;
    }

    .hero-gallery-nav {
        display: none;
    }

    .hero-gallery-nav-button {
        min-width: 2.25rem;
        height: 2.25rem;
    }

    .hero-gallery-thumb {
        flex: 0 0 auto;
        scroll-snap-align: start;
        padding: 0.44rem 0.7rem;
    }

    .hero-gallery-thumbs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
        margin: 0 -0.1rem;
        padding-right: 0.1rem;
    }

    .hero-gallery-footer {
        gap: 0.65rem;
        padding-top: 0.8rem;
    }

    .hero-gallery-caption-title {
        font-size: 1rem;
    }

    .hero-gallery-caption-body {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .hero-gallery-dialog {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
        background: rgba(15, 23, 42, 0.82);
    }

    .hero-gallery-dialog__panel {
        width: 100vw;
        max-width: none;
        max-height: none;
        height: 100dvh;
        padding: max(env(safe-area-inset-top), 0.7rem) max(env(safe-area-inset-right), 0.7rem) max(env(safe-area-inset-bottom), 0.7rem) max(env(safe-area-inset-left), 0.7rem);
        gap: 0.55rem;
        border-radius: 0;
        border: 0;
        box-shadow: none;
    }

    .hero-gallery-dialog__header {
        gap: 0.55rem;
        padding: 0;
    }

    .hero-gallery-dialog__meta {
        gap: 0.4rem;
    }

    .hero-gallery-dialog__eyebrow,
    .hero-gallery-dialog__counter {
        min-height: 1.6rem;
        padding: 0.3rem 0.55rem;
        font-size: 0.68rem;
    }

    .hero-gallery-dialog__close {
        gap: 0.35rem;
        padding: 0.38rem 0.62rem;
        font-size: 0.78rem;
    }

    .hero-gallery-dialog__viewer {
        border-radius: 20px;
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .hero-gallery-dialog__stage {
        padding: 0.85rem 0.75rem 0.6rem;
        min-height: min(68dvh, 720px);
        justify-content: flex-start;
        align-items: flex-start;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
    }

    .hero-gallery-dialog__nav {
        min-width: 2.35rem;
        height: 2.35rem;
    }

    .hero-gallery-dialog__nav--prev {
        left: 0.45rem;
    }

    .hero-gallery-dialog__nav--next {
        right: 0.45rem;
    }

    .hero-gallery-dialog__image {
        width: auto;
        max-width: none;
        height: min(52dvh, 430px);
        max-height: none;
        border-radius: 12px;
    }

    .hero-gallery-dialog__caption {
        gap: 0.32rem;
        padding: 0.72rem 0.8rem 0.82rem;
        max-height: 22dvh;
        overflow: auto;
    }

    .hero-gallery-dialog__title {
        font-size: 1rem;
    }

    .hero-gallery-dialog__body {
        font-size: 0.89rem;
        line-height: 1.52;
    }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background: var(--slate-50);
    border-bottom: 1px solid var(--border-light);
}

.dots {
    display: flex;
    gap: 6px;
}

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

.dot-red {
    background: #FF5F57;
}

.dot-yellow {
    background: #FEBC2E;
}

.dot-green {
    background: #28C840;
}

.mockup-url {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Monaco', monospace;
}

.mockup-content {
    padding: 1.25rem;
}

/* Dashboard Stub */
.dashboard-stub {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    min-height: 320px;
}

.stub-sidebar {
    background: var(--slate-50);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-item {
    height: 32px;
    background: var(--slate-200);
    border-radius: 6px;
    transition: background var(--transition-base);
}

.sidebar-item.active {
    background: var(--color-primary);
}

.stub-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.stub-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.stub-badge {
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
    background: var(--color-warning-light);
    color: #B45309;
    border-radius: 100px;
    font-weight: 600;
}

.stub-card {
    padding: 0.875rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.stub-card.status-ok {
    background: var(--color-success-light);
    border-color: rgba(16, 185, 129, 0.2);
}

.stub-card.status-caution {
    background: var(--color-warning-light);
    border-color: rgba(245, 158, 11, 0.2);
}

.stub-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.375rem;
}

.stub-plugin-name {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-primary);
}

.status-pill {
    font-size: 0.625rem;
    padding: 0.1875rem 0.5rem;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pill-success {
    background: var(--color-success);
    color: white;
}

.pill-warning {
    background: var(--color-warning);
    color: white;
}

.stub-card-body {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.stub-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

/* Floating Stats */
.floating-stat {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    z-index: 10;
    pointer-events: none;
}

.floating-stat-top {
    top: -16px;
    right: -20px;
}

.floating-stat-bottom {
    bottom: 40px;
    left: -30px;
}

.floating-icon {
    font-size: 1.5rem;
}

.floating-content {
    display: flex;
    flex-direction: column;
}

.floating-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.floating-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .floating-stat {
        display: none;
    }

    .stub-sidebar {
        display: none;
    }

    .dashboard-stub {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   LOGO STRIP / TRUST SECTION
   ========================================= */

.logo-strip {
    display: block;
    background: white;
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.strip-label {
    text-align: center;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

@media (min-width: 768px) {
    .logo-grid {
        gap: 3rem;
    }
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--slate-400);
    transition: color var(--transition-base);
}

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

.logo-icon {
    font-size: 1.25rem;
}

/* =========================================
   STATUS TICKER
   ========================================= */

.status-strip {
    display: none;
    background: var(--slate-900);
    color: white;
    padding: 0.875rem 0;
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0 2rem;
    font-size: 0.8125rem;
    color: var(--slate-400);
}

.ticker-item strong {
    color: var(--color-success);
    font-weight: 600;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   STATS SECTION
   ========================================= */

.stats-section {
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-danger);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.stat-source {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =========================================
   FEATURES SECTION
   ========================================= */

.features-section {
    background: var(--slate-50);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.feature-card.feature-pro {
    border-color: rgba(41, 69, 255, 0.2);
    background: linear-gradient(135deg, white, rgba(41, 69, 255, 0.02));
}

.pro-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.625rem;
    background: var(--color-primary);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 69, 255, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* =========================================
   COMPARISON SECTION
   ========================================= */

.comparison-section {
    background: white;
}

.ai-comparison {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

@media (min-width: 768px) {
    .ai-comparison {
        grid-template-columns: 1fr 1fr;
    }
}

.ai-box {
    padding: 2rem;
    transition: all var(--transition-base);
    cursor: pointer;
}

.ai-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .ai-box {
        padding: 2.5rem;
    }
}

.ai-box.old-way {
    background: var(--slate-100);
}

.ai-box.upwiz-way {
    background: linear-gradient(135deg, white, rgba(41, 69, 255, 0.03));
    border-left: none;
}

@media (min-width: 768px) {
    .ai-box.upwiz-way {
        border-left: 1px solid var(--border-light);
    }
}

@media (max-width: 767px) {
    .ai-box.upwiz-way {
        border-top: 1px solid var(--border-light);
    }
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.ai-icon {
    font-size: 1.75rem;
}

.ai-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
}

.old-way .ai-label {
    color: var(--slate-500);
}

.upwiz-way .ai-label {
    color: var(--color-primary);
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.list-icon {
    flex-shrink: 0;
    font-size: 0.875rem;
    margin-top: 2px;
}

/* =========================================
   STEPS SECTION (HOW IT WORKS)
   ========================================= */

.how-it-works {
    background: var(--slate-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.step-card {
    position: relative;
    padding: 1.75rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.step-card.step-pro {
    border-color: rgba(41, 69, 255, 0.3);
    background: linear-gradient(135deg, white, rgba(41, 69, 255, 0.03));
}

.step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--slate-100);
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    line-height: 1;
}

.step-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.step-card h4 {
    margin-bottom: 0.625rem;
    color: var(--text-primary);
}

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

/* =========================================
   PRICING SECTION
   ========================================= */

.pricing-section {
    background: white;
}

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

@media (min-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.pricing-card {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    cursor: pointer;
}

@media (min-width: 768px) {
    .pricing-card {
        padding: 2.5rem;
    }
}

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

.pricing-card-pro {
    border: 1px solid var(--color-primary);
    background: linear-gradient(180deg, white 0%, rgba(41, 69, 255, 0.02) 100%);
}

.pricing-card-pro:hover {
    box-shadow: var(--shadow-xl);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 1rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.pricing-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.price {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-features li svg {
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-features .feature-highlight {
    color: var(--text-primary);
}

.pricing-features .feature-highlight strong {
    color: var(--color-primary);
}

.pricing-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* Billing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.toggle-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.toggle-label.active {
    color: var(--text-primary);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--slate-300, #cbd5e1);
    border-radius: 26px;
    transition: background 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--color-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.save-badge {
    display: inline-block;
    background: var(--color-success-light, rgba(16, 185, 129, 0.1));
    color: var(--color-success);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    margin-left: 0.25rem;
    vertical-align: middle;
}

/* 3-Column Pricing Grid */
.pricing-cards-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-cards-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        align-items: start;
    }
}

/* Pro card is the featured recommendation */
.pricing-card-pro {
    position: relative;
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(180deg, white 0%, rgba(41, 69, 255, 0.02) 100%);
}

.pricing-card-pro:hover {
    box-shadow: var(--shadow-2xl), var(--shadow-primary);
}

@media (min-width: 768px) {
    .pricing-card-pro {
        transform: scale(1.04);
        z-index: 2;
    }
}

/* Price amount inside template */
.price-amount {
    font-family: 'Outfit', sans-serif;
    font-size: inherit;
    font-weight: inherit;
}

.price-equiv {
    font-size: 0.875rem;
    font-weight: 400;
    font-style: normal;
    color: var(--text-muted);
}

/* Pricing Trust Strip */
.pricing-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 600px) {
    .pricing-trust-strip {
        flex-direction: column;
        gap: 0.25rem;
    }
    .pricing-trust-strip span:nth-child(even) {
        display: none;
    }
}

/* Trial Note */
.trial-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 1.25rem;
    background: var(--slate-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.trial-note-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.trial-note p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* =========================================
   FAQ SECTION
   ========================================= */

.faq-section {
    background: var(--slate-50);
}

.faq-accordion {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-color);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    transition: color var(--transition-base);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform var(--transition-base);
}

.faq-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
}

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

/* =========================================
   FINAL CTA SECTION
   ========================================= */

.final-cta {
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--slate-300);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-note {
    font-size: 0.875rem;
    color: var(--slate-400);
}

/* =========================================
   FOOTER STYLES
   ========================================= */

.site-footer {
    background-color: var(--slate-900);
    color: white;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 4rem;
    }
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-description {
    color: var(--slate-400);
    max-width: 300px;
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-400);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: var(--slate-300);
    font-size: 0.9375rem;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
    text-align: center;
}

.footer-bottom p {
    color: var(--slate-500);
    font-size: 0.875rem;
}

/* =========================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .feature-card,
    .pricing-card,
    .step-card,
    .stat-card {
        padding: 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .ai-box {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.9375rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1rem;
    }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {

    .feature-card,
    .stat-card,
    .step-card,
    .pricing-card,
    .faq-item {
        animation: fadeInUp 0.5s ease-out both;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* =========================================
   WOOCOMMERCE STYLES
   ========================================= */

/* General WooCommerce Reset */
.woocommerce,
.woocommerce-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.woocommerce-message {
    background: var(--color-success-light);
    color: #166534;
    border-left: 4px solid var(--color-success);
}

.woocommerce-info {
    background: rgba(41, 69, 255, 0.08);
    color: var(--color-primary-deep);
    border-left: 4px solid var(--color-primary);
}

.woocommerce-error {
    background: var(--color-danger-light);
    color: #991B1B;
    border-left: 4px solid var(--color-danger);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none;
}

/* =========================================
   MY ACCOUNT
   ========================================= */

.woocommerce-account .woocommerce {
    max-width: 1000px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
}

.woocommerce-MyAccount-navigation {
    margin-bottom: 2rem;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 0.625rem 1.25rem;
    background: var(--slate-100);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--color-primary);
    color: white;
}

.woocommerce-MyAccount-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1rem;
}

/* Orders Table */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.woocommerce-orders-table th {
    font-weight: 600;
    background: var(--slate-50);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
}

.woocommerce-orders-table .button {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* =========================================
   UTILITIES FOR WOOCOMMERCE
   ========================================= */

.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 2rem;
}

@media (min-width: 768px) {
    .p-5 {
        padding: 3rem;
    }
}

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

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

.mb-5 {
    margin-bottom: 2rem;
}

/* Security trust badges */
.checkout-trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.trust-badge svg {
    color: var(--color-success);
}

/* WooCommerce Responsive */
@media (max-width: 768px) {
    .woocommerce-orders-table {
        font-size: 0.875rem;
    }

    .woocommerce-orders-table th,
    .woocommerce-orders-table td {
        padding: 0.75rem 0.5rem;
    }

    .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }

    .woocommerce-MyAccount-content {
        padding: 1.5rem;
    }
}

/* =========================================
   WOOCOMMERCE - MY ACCOUNT PAGE
   ========================================= */

/* Account Page Container */
.woocommerce-account {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    background: var(--bg-primary);
    min-height: 100vh;
}

.woocommerce-account .woocommerce {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Account Layout - 2 Column */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
}

.woocommerce-account .woocommerce::after {
    content: "";
    display: table;
    clear: both;
}

@media (min-width: 768px) {
    .woocommerce-account .woocommerce {
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 2rem;
        align-items: start;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
    }
}

/* Account Navigation */
.woocommerce-MyAccount-navigation {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: sticky;
    top: calc(var(--header-height) + 1rem);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--slate-50);
    color: var(--color-primary);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--color-primary);
    color: white;
    font-weight: 600;
}

/* Navigation Icons */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "📊";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "📦";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--subscriptions a::before {
    content: "⭐";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--downloads a::before {
    content: "⬇️";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "📍";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "⚙️";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--licenses a::before {
    content: "🔑";
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "🚪";
}

/* Account Content */
.woocommerce-MyAccount-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.woocommerce-MyAccount-content>h2,
.woocommerce-MyAccount-content>h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.woocommerce-MyAccount-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Account Tables */
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.woocommerce-MyAccount-content table th {
    background: var(--slate-50);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-color);
}

.woocommerce-MyAccount-content table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.woocommerce-MyAccount-content table tbody tr:hover {
    background: var(--slate-50);
}

/* Order Status Badges */
.woocommerce-orders-table__cell-order-status,
.subscription-status {
    display: inline-block;
}

.woocommerce-orders-table__cell-order-status mark,
.subscription-status {
    background: var(--color-success-light) !important;
    color: var(--color-success) !important;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

/* Subscription Details */
.subscription_details {
    background: var(--slate-50);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.subscription_details dt {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.subscription_details dd {
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-left: 0;
}

/* Account Buttons */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content .woocommerce-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.woocommerce-MyAccount-content .button:not(.cancel),
.woocommerce-MyAccount-content .woocommerce-button:not(.cancel) {
    background: var(--color-primary);
    color: white;
}

.woocommerce-MyAccount-content .button:not(.cancel):hover,
.woocommerce-MyAccount-content .woocommerce-button:not(.cancel):hover {
    background: var(--color-primary-deep);
    transform: translateY(-1px);
}

.woocommerce-MyAccount-content .button.cancel {
    background: var(--color-danger);
    color: white;
}

.woocommerce-MyAccount-content .button.cancel:hover {
    background: #DC2626;
}

/* Address Cards */
.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.woocommerce-Address {
    background: var(--slate-50);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

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

.woocommerce-Address-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
}

.woocommerce-Address address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Form Styling in Account */
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
    max-width: 600px;
}

.woocommerce-EditAccountForm .form-row,
.woocommerce-address-fields .form-row {
    margin-bottom: 1.25rem;
}

.woocommerce-EditAccountForm label,
.woocommerce-address-fields label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.woocommerce-EditAccountForm input,
.woocommerce-address-fields input,
.woocommerce-EditAccountForm select,
.woocommerce-address-fields select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: white;
    transition: all var(--transition-base);
}

.woocommerce-EditAccountForm input:focus,
.woocommerce-address-fields input:focus,
.woocommerce-EditAccountForm select:focus,
.woocommerce-address-fields select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(41, 69, 255, 0.1);
}

/* =========================================
   WOOCOMMERCE - NOTICES & MESSAGES
   ========================================= */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.woocommerce-message {
    background: var(--color-success-light);
    color: #065F46;
    border-left: 4px solid var(--color-success);
}

.woocommerce-info {
    background: #DBEAFE;
    color: #1E40AF;
    border-left: 4px solid #3B82F6;
}

.woocommerce-error {
    background: var(--color-danger-light);
    color: #991B1B;
    border-left: 4px solid var(--color-danger);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none;
}

/* =========================================
   WOOCOMMERCE - SUBSCRIPTIONS
   ========================================= */

/* Subscription Table */
.shop_table.my_account_subscriptions {
    border: none;
}

.shop_table.my_account_subscriptions th,
.shop_table.my_account_subscriptions td {
    padding: 1rem;
}

/* Subscription Single View */
.woocommerce-account .subscription-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: var(--slate-50);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.subscription-details dt {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.subscription-details dd {
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0 0 1rem 0;
}

/* Subscription Totals */
.order_details.subscription_totals {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

/* Related Orders */
.order_details.orders {
    margin-top: 2rem;
}

/* =========================================
   WOOCOMMERCE - RESPONSIVE MOBILE
   ========================================= */

@media (max-width: 767px) {

    /* Account Navigation Mobile */
    .woocommerce-MyAccount-navigation {
        position: static;
        margin-bottom: 1.5rem;
    }

    .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .woocommerce-MyAccount-navigation ul li a {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
        white-space: nowrap;
    }

    .woocommerce-MyAccount-navigation ul li a::before {
        display: none !important;
    }

    /* Account Content Mobile */
    .woocommerce-MyAccount-content {
        padding: 1.25rem;
    }

    .woocommerce-MyAccount-content table {
        font-size: 0.8125rem;
    }

    .woocommerce-MyAccount-content table th,
    .woocommerce-MyAccount-content table td {
        padding: 0.75rem 0.5rem;
    }

    /* Hide less important columns on mobile */
    .woocommerce-orders-table__header-order-date,
    .woocommerce-orders-table__cell-order-date {
        display: none;
    }

    /* Subscription Details Mobile */
    .woocommerce-account .subscription-details {
        grid-template-columns: 1fr;
    }
}

/* Very Small Screens */
@media (max-width: 480px) {
    .woocommerce-account .woocommerce {
        padding: 0 1rem;
    }

    .woocommerce-MyAccount-navigation ul li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   WOOCOMMERCE - ORDER RECEIVED (NEW)
   ========================================= */

.woocommerce-order {
    max-width: 900px;
    margin: 4rem auto;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.woocommerce-order::before {
    content: '✓';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 12rem;
    color: rgba(16, 185, 129, 0.05);
    font-weight: 900;
    pointer-events: none;
}

.woocommerce-thankyou-order-received {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-success);
    margin-bottom: 3rem !important;
}

.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    padding: 2.5rem;
    background: var(--slate-50);
    border-radius: var(--radius-xl);
    margin-bottom: 4rem;
    text-align: left;
    border: 1px solid var(--border-light);
}

@media (min-width: 640px) {
    .woocommerce-order-overview {
        grid-template-columns: repeat(4, 1fr);
    }
}

.woocommerce-order-overview li {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.woocommerce-order-overview li strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.125rem;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: normal;
    font-family: 'Outfit', sans-serif;
}

.woocommerce-order-details {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.woocommerce-order-details__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.woocommerce-table--order-details {
    width: 100%;
}

.woocommerce-table--order-details thead {
    display: none;
}

.woocommerce-table--order-details tr td,
.woocommerce-table--order-details tr th {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.woocommerce-table--order-details .product-name {
    font-weight: 600;
}

.woocommerce-table--order-details .product-total {
    text-align: right;
}

.woocommerce-table--order-details tfoot th {
    text-align: left;
    color: var(--text-secondary);
    font-weight: 500;
}

.woocommerce-table--order-details tfoot td {
    text-align: right;
    font-weight: 700;
}

.woocommerce-table--order-details .order-total td {
    font-size: 1.75rem;
    color: var(--color-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    border-bottom: none;
}

/* =========================================
   ADDITIONAL UX REFINEMENTS
   ========================================= */

/* =========================================
   WOOCOMMERCE - MY ACCOUNT (NEW)
   ========================================= */

.woocommerce-account .woocommerce {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 992px) {
    .woocommerce-account .woocommerce {
        flex-direction: row;
        align-items: flex-start;
    }
}

.woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    z-index: 10;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 0.5rem;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--slate-50);
    color: var(--color-primary);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.woocommerce-MyAccount-content {
    flex: 1;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.woocommerce-MyAccount-content table.shop_table {
    border: none;
    width: 100%;
}

.woocommerce-orders-table__cell-order-status mark {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--slate-100) !important;
    color: var(--text-secondary) !important;
}

.woocommerce-orders-table__cell-order-status.status-completed mark {
    background: var(--color-success-light) !important;
    color: var(--color-success) !important;
}

@media (max-width: 820px) {
    .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}


/* =========================================
   UI/UX IMPROVEMENTS (DOCS)
   ========================================= */

/* Mobile Menu Scroll Lock */
body.menu-open {
    overflow: hidden !important;
}

body.hero-gallery-dialog-open {
    overflow: hidden !important;
    overscroll-behavior: contain;
}

/* Hero Section Refinements */
.hero-section {
    padding: clamp(80px, 8vw, 120px) 0 clamp(64px, 8vw, 120px);
}

.hero-title {
    line-height: 1.15;
}

.hero-actions .btn-primary {
    box-shadow: 0 10px 30px rgba(37, 99, 235, .35);
}

.hero-trust-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

@media (max-width: 1023px) {
    .badge {
        align-self: center;
    }

    .hero-trust-text {
        justify-content: center;
        margin-bottom: 0.25rem;
    }

    .hero-trust {
        margin-top: 0.75rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: clamp(68px, 14vw, 88px) 0 2.75rem;
    }

    .hero-title {
        font-size: clamp(2.15rem, 9vw, 3rem);
    }

    .hero-content {
        gap: 0.85rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1rem;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .hero-trust-text {
        gap: 0.5rem;
        font-size: 0.8125rem;
    }

    .hero-trust {
        margin-top: 0.5rem;
        gap: 0.625rem;
    }
}

/* Stats Section Refinements */
.stat-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-icon {
    font-size: 2.5rem;
    /* Increased size */
    margin-bottom: 1rem;
}

.stat-number {
    color: var(--slate-900);
}

/* Features Section Refinements */
.feature-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
    color: inherit;
}

.feature-card p {
    color: var(--text-secondary);
    /* Ensure contrast */
}

/* Comparison Section Refinements */
.comparison-section .ai-comparison {
    gap: 3rem;
    /* Increase horizontal spacing */
}

.ai-comparison .upwiz-way {
    background: rgba(37, 99, 235, .04);
    border-radius: 20px;
}

.comparison-subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .ai-comparison {
        display: flex;
        flex-direction: column;
    }

    .ai-comparison .upwiz-way {
        order: -1;
        margin-bottom: 2rem;
    }
}

/* How It Works Refinements */
.step-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary-light);
    margin-bottom: 1rem;
}

.steps-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 2rem;
    padding: 0.5rem 1rem;
    background: var(--slate-50);
    display: inline-block;
    border-radius: 100px;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.step-card {
    height: 100%;
    /* Normalize heights */
}

@media (min-width: 1024px) {
    .steps-grid {
        align-items: start;
    }
}

/* How It Works Mobile Accordion */
.step-header-mobile {
    display: none;
    /* Hidden by default (desktop) */
}

@media (max-width: 768px) {
    .step-header-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        cursor: pointer;
    }

    .desktop-only {
        display: none;
    }

    .step-header-mobile .step-num {
        position: static;
        /* Reset absolute */
        margin-bottom: 0;
        font-size: 1.25rem;
        margin-right: 0.75rem;
        color: var(--color-primary);
        opacity: 0.6;
    }

    .step-card h4 {
        margin-bottom: 0;
        text-align: left;
        flex: 1;
        /* Takes available space */
        order: -1;
        /* Title first */
        font-size: 1.125rem;
    }

    .step-desc {
        display: none;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-light);
        text-align: left;
    }

    .step-card.active .step-desc {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .step-toggle-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        background: var(--slate-100);
        border-radius: 50%;
        color: var(--color-primary);
        transition: all 0.2s ease;
    }

    .step-card.active .step-toggle-icon {
        background: var(--color-primary);
        color: white;
        transform: rotate(180deg);
    }

    .step-toggle-icon::after {
        content: '+';
        font-weight: bold;
        font-size: 1.25rem;
        line-height: 1;
        margin-top: -2px;
        /* Visual adjustment */
    }

    .step-card.active .step-toggle-icon::after {
        content: '−';
        /* Minus sign */
        margin-top: -4px;
    }

    .step-card {
        display: block;
        padding: 1.25rem;
        /* Reduce padding on mobile */
        text-align: left;
    }

    /* Hide default pro badge on mobile to avoid overlap */
    .step-card .pro-badge {
        display: none;
    }

    /* Style the step number as a pro badge for pro steps */
    .step-card.step-pro .step-num {
        background: var(--color-primary);
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 100px;
        font-size: 0.875rem;
        opacity: 1;
        margin-right: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.05em;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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


/* Pricing Section Refinements — 3-card layout */
.pricing-card.pricing-card-pro {
    border: 1px solid var(--color-primary);
}

.badge-popular {
    background: var(--color-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .pricing-cards-3 {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .pricing-card.pricing-card-pro {
        order: -1;
        transform: none;
        margin-bottom: 1rem;
    }
}

/* FAQ Refinements */
.faq-question {
    padding: 18px 20px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
}

.faq-short-label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Better icon animation approach */
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
    width: 14px;
    height: 2px;
}

/* Vertical line */
.faq-icon::after {
    width: 2px;
    height: 14px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
    /* Forms an X */
}

/* Final CTA */
.final-cta {
    /* Reduce height slightly */
    padding: 4rem 0;
}

.cta-note {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    /* Ensure visibility */
    opacity: 0.8;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* =========================================
   MOBILE RESPONSIVENESS PATCHES
   ========================================= */

@media (max-width: 768px) {

    /* Hide top bar buttons to prevent header overcrowding */
    .header-actions .btn {
        display: none;
    }

    /* Stack hero buttons for easy thumb tapping */
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Color code comparison lists when stacked */
    .ai-box.old-way {
        background-color: rgba(239, 68, 68, 0.03) !important;
        border-color: rgba(239, 68, 68, 0.2) !important;
    }

    .ai-box.upwiz-way {
        background-color: rgba(16, 185, 129, 0.03) !important;
        border-color: rgba(16, 185, 129, 0.2) !important;
    }
}

/* =========================================
   WOOCOMMERCE UI/UX PATCHES
   ========================================= */

/* Sticky Mobile CTA Bar */
.uw-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-top: 1px solid var(--border-light);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.uw-sticky-cta.visible {
    display: block;
    transform: translateY(0);
}

.uw-sticky-cta .single_add_to_cart_button {
    margin: 0 !important;
    width: 100%;
}

@media (min-width: 769px) {
    .uw-sticky-cta {
        display: none !important;
    }
}

/* Cart Typography Adjustments */
.woocommerce-cart .product-name .subscription-details {
    font-size: 0.85em;
    opacity: 0.8;
}

/* Note: Duplicate @keyframes fadeIn and Pricing/FAQ/CTA refinements removed.
   See primary definitions above. */

/* Added per user feedback */
.guarantee-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    padding: 2rem 3rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: left;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.2);
}

.guarantee-box h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.guarantee-box p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 769px) {
    .step-num-desktop {
        font-family: 'Outfit', sans-serif;
        font-size: 2.5rem;
        font-weight: 900;
        color: var(--color-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 64px;
        background: rgba(41, 69, 255, 0.08);
        border-radius: var(--radius-md);
        margin: 0 auto 1.25rem;
        line-height: 1;
    }
}

@media (max-width: 768px) {
    .step-num-desktop {
        display: none !important;
    }

    .guarantee-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }

    .guarantee-box>div {
        width: 100%;
    }
}

/* =========================================
   WOOCOMMERCE UI/UX REFINEMENTS (CHECKOUT & PRODUCT)
   ========================================= */

/* Hide distractions on checkout */
.woocommerce-checkout .site-header .main-navigation,
.woocommerce-checkout .site-header .header-actions {
    display: none !important;
}

.woocommerce-checkout .header-container {
    justify-content: center;
}

/* Breadcrumbs enhancements */
.woocommerce-breadcrumb {
    font-size: 0.9375rem !important;
    padding: 1rem 0 1.5rem !important;
    color: var(--text-muted);
}

.woocommerce-breadcrumb a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.woocommerce-breadcrumb a:hover {
    color: var(--color-primary);
}

/* Custom Product Quantity Input */
.quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
}

.quantity .qty-btn {
    background: var(--slate-50);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    color: var(--slate-700);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.quantity .qty-btn:hover {
    background: var(--slate-100);
    color: var(--text-primary);
}

.quantity input.qty {
    width: 3rem;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    -moz-appearance: textfield;
    /* Hide Firefox spinner */
    appearance: textfield;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    /* Hide Chrome/Safari spinner */
    appearance: none;
    margin: 0;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials-section {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--slate-50);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.testimonial-name {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.testimonial-role {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.testimonial-source {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.testimonial-source a {
    color: var(--color-primary);
    text-decoration: none;
}

.testimonial-source a:hover {
    text-decoration: underline;
}

.testimonials-wp-rating {
    text-align: center;
    margin-top: 2rem;
}

.testimonials-wp-rating a {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.testimonials-wp-rating a:hover {
    color: var(--color-primary-dark);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ============================================
   Feature Comparison Table Section
   ============================================ */

.compare-section {
    overflow-x: auto;
}

.compare-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 2rem;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 600px;
}

.compare-table th,
.compare-table td {
    padding: 0.875rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.compare-table thead th {
    background: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--border-light);
    position: sticky;
    top: 0;
}

.compare-table thead th.highlight-col {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(79, 70, 229, 0.02));
    color: var(--color-primary);
}

.compare-table td.highlight-col {
    background: rgba(79, 70, 229, 0.03);
}

.compare-table tbody tr:hover {
    background: rgba(79, 70, 229, 0.02);
}

.compare-check {
    color: var(--color-success);
    font-weight: 700;
    font-size: 1.1rem;
}

.compare-x {
    color: var(--text-muted);
    font-size: 1.1rem;
    opacity: 0.5;
}

.compare-highlight-row td {
    font-weight: 600;
}

.compare-price-row {
    border-top: 2px solid var(--border-light);
}

.compare-price-row td {
    padding: 1.25rem 1.25rem;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .compare-table {
        font-size: 0.85rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 0.625rem 0.75rem;
    }
}

/* ============================================
   Account Dashboard Styles
   ============================================ */

.account-dashboard {
    max-width: 800px;
    margin: 0 auto;
}

.account-plan-card {
    background: var(--slate-50);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.plan-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.plan-badge-free {
    background: var(--slate-100);
    color: var(--text-secondary);
}

.plan-badge-pro {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
}

.plan-badge-pro-plus {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.license-key-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.license-key-display {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    letter-spacing: 0.05em;
    user-select: all;
}

.copy-license-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-license-btn:hover {
    background: var(--color-primary-dark);
}

.copy-license-btn.copied {
    background: var(--color-success);
}

.usage-progress {
    margin: 1.5rem 0;
}

.usage-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.usage-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--slate-200);
    border-radius: 999px;
    overflow: hidden;
}

.usage-progress-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 999px;
    transition: width 0.3s ease;
}

/* Theme customization backend: frontend helpers */
.upwiz-disabled-cta {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

.upwiz-pricing-admin-warning {
    margin: 0 auto 1.5rem;
    max-width: 900px;
    border: 1px solid #f59e0b;
    background: #fffbeb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #92400e;
}

.upwiz-pricing-admin-warning ul {
    margin: 0.5rem 0 0 1.2rem;
    padding: 0;
}

/* ============================================
   Thank You Page Styles
   ============================================ */

.upwiz-thankyou {
    max-width: 680px;
    margin: 3rem auto;
    padding: 0 1rem;
}

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

.upwiz-thankyou__icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.upwiz-thankyou__success h2 {
    font-size: 1.75rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.upwiz-thankyou__subtitle {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.upwiz-thankyou__license-card {
    background: var(--color-surface);
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 0 auto 2rem;
    max-width: 420px;
}

.upwiz-thankyou__license-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.upwiz-thankyou__license-key-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.upwiz-thankyou__license-key {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
    letter-spacing: 0.05em;
    color: var(--color-text);
    background: none;
    padding: 0;
    user-select: all;
}

.upwiz-thankyou__copy-btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.upwiz-thankyou__copy-btn:hover {
    opacity: 0.9;
}

.upwiz-thankyou__steps {
    text-align: left;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.upwiz-thankyou__steps h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.upwiz-thankyou__steps-list {
    list-style: none;
    counter-reset: steps;
    padding: 0;
    margin: 0;
}

.upwiz-thankyou__steps-list li {
    counter-increment: steps;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 0 0.75rem 2.5rem;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.upwiz-thankyou__steps-list li:last-child {
    border-bottom: none;
}

.upwiz-thankyou__steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.upwiz-thankyou__steps-list li strong {
    font-weight: 600;
    color: var(--color-text);
}

.upwiz-thankyou__steps-list li span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.upwiz-thankyou__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.upwiz-thankyou__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}

.upwiz-thankyou__btn--primary {
    background: var(--color-primary);
    color: #fff;
    border: none;
}

.upwiz-thankyou__btn--primary:hover {
    opacity: 0.9;
    color: #fff;
}

.upwiz-thankyou__btn--secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.upwiz-thankyou__btn--secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Checkout auto-sign-in message */
.upwiz-checkout-autosign {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.upwiz-checkout-signin-link {
    display: inline-block;
    margin-left: 0.25rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.upwiz-checkout-signin-link:hover {
    text-decoration: underline;
}

/* Checkout trust list */
.checkout-trust-list {
    list-style: none;
    padding: 1rem 0 0;
    margin: 1rem 0 0;
    border-top: 1px solid var(--color-border);
}

.checkout-trust-list li {
    padding: 0.35rem 0;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .upwiz-thankyou__license-key-row {
        flex-direction: column;
    }

    .upwiz-thankyou__steps {
        padding: 1.25rem 1rem;
    }

    .upwiz-thankyou__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .upwiz-thankyou__btn {
        justify-content: center;
    }
}

/* =========================================
   FRONT-PAGE CONVERSION REFINEMENTS (v1.1)
   ========================================= */

.section-mobile-toggle {
    display: none;
    text-align: center;
    margin-top: 1.25rem;
}

.hero-trust-text {
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

.hero-trust-text__label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-wporg-link {
    font-size: 0.8rem;
}

.compare-table-desktop {
    display: block;
}

.compare-mobile-plans {
    display: none;
}

@media (max-width: 768px) {
    body.home .site-main {
        display: flex;
        flex-direction: column;
    }

    body.home .site-main > * {
        width: 100%;
    }

    body.home .hero-section {
        order: 10;
    }

    body.home .logo-strip {
        order: 20;
    }

    body.home .status-strip {
        order: 25;
    }

    body.home .how-it-works {
        order: 30;
    }

    body.home .pricing-section {
        order: 40;
    }

    body.home .compare-section {
        order: 45;
    }

    body.home .comparison-section {
        order: 50;
    }

    body.home .features-section {
        order: 60;
    }

    body.home .testimonials-section {
        order: 70;
    }

    body.home .founder-section {
        order: 80;
    }

    body.home .faq-section {
        order: 90;
    }

    body.home .final-cta {
        order: 100;
    }

    body.home .stats-section {
        display: none;
    }

    .section-mobile-toggle {
        display: block;
    }

    .features-mobile-toggle,
    .faq-mobile-toggle {
        width: 100%;
        justify-content: center;
    }

    .features-grid:not(.features-show-all) .feature-mobile-extra {
        display: none;
    }

    .features-grid .feature-card p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .faq-accordion:not(.faq-show-all) .faq-extra-item {
        display: none;
    }

    .compare-table-desktop {
        display: none;
    }

    .compare-mobile-plans {
        display: grid;
        gap: 0.75rem;
        margin-top: 2rem;
    }

    .compare-mobile-plan {
        background: #ffffff;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-md);
        overflow: hidden;
    }

    .compare-mobile-plan[open] {
        border-color: var(--color-primary);
        box-shadow: var(--shadow-sm);
    }

    .compare-mobile-plan__summary {
        list-style: none;
        cursor: pointer;
        padding: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
    }

    .compare-mobile-plan__summary::-webkit-details-marker {
        display: none;
    }

    .compare-mobile-plan__heading {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .compare-mobile-plan__name {
        font-family: 'Outfit', sans-serif;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-primary);
    }

    .compare-mobile-plan__badge {
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-weight: 700;
        padding: 0.2rem 0.55rem;
        border-radius: 100px;
        background: rgba(41, 69, 255, 0.12);
        color: var(--color-primary);
    }

    .compare-mobile-plan__price {
        font-weight: 700;
        color: var(--color-primary);
        font-size: 0.95rem;
    }

    .compare-mobile-plan__list {
        list-style: none;
        margin: 0;
        padding: 0 1rem 0.75rem;
        border-top: 1px solid var(--border-light);
    }

    .compare-mobile-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        padding: 0.7rem 0;
        border-bottom: 1px solid var(--slate-100);
    }

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

    .compare-mobile-row-highlight {
        background: rgba(41, 69, 255, 0.04);
        margin: 0 -0.5rem;
        padding: 0.7rem 0.5rem;
        border-radius: 0.5rem;
        border-bottom: 0;
    }

    .compare-mobile-feature {
        font-size: 0.875rem;
        color: var(--text-secondary);
    }

    .compare-mobile-value {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-primary);
        text-align: right;
    }

    .compare-mobile-value .compare-check,
    .compare-mobile-value .compare-x {
        font-size: 1rem;
    }
}
