/* ===================================================
   AppifyHub - Luxury Warm Editorial Design System
   High Aesthetic Website-to-App Converter Platform
   =================================================== */

:root {
    --bg-page: #FFFFFF;
    --bg-strip: #F7F5F0;
    --bg-card: #FFFFFF;
    --bg-tinted: #F9F7F4;
    --bg-bubble: #F3EEE7;
    --text-heading: #1C1917;
    --text-body: #57514B;
    --text-muted: #7E756B;
    --accent-bronze: #78593D;
    --accent-light-bronze: #A68A70;
    --border-subtle: #EBE6DF;
    --border-line: #E2DBD0;
    --btn-bg: #EFEAE2;
    --btn-border: #78593D;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-pill: 9999px;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-soft: 0 10px 30px -5px rgba(44, 38, 33, 0.06);
}

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

html {
    scroll-behavior: smooth;
}

body.site-layout {
    font-family: var(--font-sans);
    background-color: #FFFFFF;
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

/* ===================================================
   GLOBAL HEADER
   =================================================== */
.app-header {
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.brand-text {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-heading);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--text-heading);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.btn-text {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text-heading);
}
.btn-text:hover {
    color: var(--accent-bronze);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.15rem;
    border: 1px solid var(--text-heading);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-heading);
    background: transparent;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: var(--text-heading);
    color: #FFFFFF;
}

/* ===================================================
   ALERTS
   =================================================== */
.global-alert {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}
.alert-success { background: #E1EBE2; color: #2A5430; border-bottom: 1px solid #CCE0CE; }
.alert-error { background: #F7E4E4; color: #8F2D2D; border-bottom: 1px solid #EBC6C6; }

/* ===================================================
   HERO SECTION (SPACIOUS & BALANCED)
   =================================================== */
.hero-section {
    position: relative;
    background-color: #F7F5F0;
    background-image: url('../images/hero_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    min-height: 550px;
    padding: 5rem 2rem 4.25rem 2rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.eyebrow-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-bronze);
    margin-bottom: 1rem;
}

.hero-heading {
    font-family: var(--font-serif);
    font-size: 3.6rem;
    line-height: 1.1;
    color: var(--text-heading);
    font-weight: 400;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.hero-heading em {
    font-style: italic;
    font-family: var(--font-serif);
    font-weight: 400;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-body);
    max-width: 460px;
    margin-bottom: 1.85rem;
}

.btn-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: var(--text-heading);
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-action-pill:hover {
    background: #DBD2C5;
    transform: translateY(-1px);
}

/* ===================================================
   2. UNIFIED PLATFORMS & TRUST ECOSYSTEM SECTION
   =================================================== */
.trust-platforms-section {
    background: #FFFFFF;
    border-top: 1px solid #ECE7E0;
    border-bottom: 1px solid #ECE7E0;
    padding: 2.5rem 2rem 2.75rem 2rem;
    position: relative;
}

.trust-platforms-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-intro-bar {
    text-align: center;
    margin-bottom: 1.5rem;
}

.trust-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-bronze);
    background: #FAF8F5;
    border: 1px solid #EFEAE2;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
}

.trust-eyebrow svg {
    color: var(--accent-bronze);
}

/* Platforms Row: 3 Elevated Cards */
.platforms-cards-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.platform-pill-card {
    background: #FFFFFF;
    border: 1px solid #EBE5DC;
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(44, 38, 33, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.platform-pill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -4px rgba(120, 89, 61, 0.1);
}

.platform-pill-card-wp:hover {
    border-color: #21759B;
}

.platform-pill-card-woo:hover {
    border-color: #7F54B3;
}

.platform-pill-card-shopify:hover {
    border-color: #95BF47;
}

.platform-main-info {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.platform-logo-badge {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #FAF8F5;
    border: 1px solid #EFEAE2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.platform-pill-card:hover .platform-logo-badge {
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.platform-pill-card-wp:hover .platform-logo-badge {
    border-color: rgba(33, 117, 155, 0.3);
    background: rgba(33, 117, 155, 0.04);
}

.platform-pill-card-woo:hover .platform-logo-badge {
    border-color: rgba(127, 84, 179, 0.3);
    background: rgba(127, 84, 179, 0.04);
}

.platform-pill-card-shopify:hover .platform-logo-badge {
    border-color: rgba(149, 191, 71, 0.3);
    background: rgba(149, 191, 71, 0.04);
}

.platform-logo-img {
    display: block;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.platform-pill-card:hover .platform-logo-img {
    transform: scale(1.06);
}

.platform-logo-wordpress {
    width: 34px;
    height: 34px;
}

.platform-logo-woocommerce {
    width: 44px;
    height: 28px;
}

.platform-logo-shopify {
    width: 30px;
    height: 36px;
}

.platform-details {
    display: flex;
    flex-direction: column;
}

.platform-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.25;
}

.platform-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.platform-badge-pill {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6E6258;
    background: #F5F1EB;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* ===================================================
   3. WHY CHOOSE APPIFYHUB SECTION (COMPACT & SLEEK)
   =================================================== */
.why-choose-section {
    position: relative;
    background-color: #FAF7F2;
    background-image: 
        radial-gradient(circle at 14% 30%, rgba(242, 233, 222, 0.75) 0%, transparent 45%),
        radial-gradient(circle at 86% 70%, rgba(246, 238, 228, 0.65) 0%, transparent 45%);
    padding: 3rem 2rem 3.25rem 2rem;
    overflow: hidden;
    border-top: 1px solid #ECE7E0;
    border-bottom: 1px solid #ECE7E0;
}

.why-choose-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header - Compact */
.why-choose-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem auto;
}

.why-choose-eyebrow-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.why-choose-eyebrow-line {
    width: 36px;
    height: 1px;
    background: #D5C7B8;
}

.why-choose-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6E533C;
    background: #F3ECE3;
    border: 1px solid #E4D7C9;
    padding: 0.28rem 0.95rem;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(44, 38, 33, 0.04);
}

.why-choose-eyebrow-pill svg {
    color: #A37E5A;
}

.why-choose-title {
    font-family: var(--font-serif);
    font-size: 2.65rem;
    font-weight: 500;
    color: #1A1613;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}

.why-choose-title em {
    font-style: italic;
    font-weight: 400;
    color: #78593D;
}

/* Content Layout: 3D Visual Showcase & 6 Cards Grid (Perfect Baseline Balance) */
.why-choose-content-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 1.5rem;
    align-items: stretch;
}

.why-choose-visual-col {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
}

.why-visual-frame {
    background: #FFFFFF;
    border: 1px solid #ECE4DA;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px -6px rgba(120, 89, 61, 0.08), 0 2px 6px rgba(44, 38, 33, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    position: relative;
}

.why-visual-frame:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -6px rgba(120, 89, 61, 0.12), 0 4px 10px rgba(44, 38, 33, 0.04);
}

.why-visual-inner {
    position: relative;
    background: #FAF5EE;
    overflow: hidden;
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
}

.why-visual-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-visual-frame:hover .why-visual-img {
    transform: scale(1.02);
}

/* 6 Cards Grid (2 cols x 3 rows) - Spacious & Balanced */
.why-choose-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0.85rem;
    height: 100%;
}

.why-card {
    background: #FFFFFF;
    border: 1px solid #ECE4DA;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 6px rgba(44, 38, 33, 0.02);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #78593D, #C2A88F);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.why-card:hover {
    transform: translateY(-2px);
    border-color: #BFA892;
    box-shadow: 0 8px 20px -4px rgba(120, 89, 61, 0.09);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #FAF5EE;
    border: 1px solid #E8DDD0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #78593D;
    transition: all 0.22s ease;
}

.why-card:hover .why-card-icon-wrap {
    background: #78593D;
    border-color: #78593D;
    color: #FFFFFF;
    transform: scale(1.05);
}

.why-card-icon-wrap svg {
    transition: transform 0.22s ease;
}

.why-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.why-card-header {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}

.why-card-num {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 800;
    color: #9E836A;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    line-height: 1.2;
}

.why-card-title {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    color: #1A1613;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.01em;
}

.why-card-desc {
    font-family: var(--font-sans);
    font-size: 0.77rem;
    color: #65584C;
    line-height: 1.4;
    margin: 0;
}

/* ===================================================
   4. VERIFIED TRACK RECORD (METRICS) SECTION
   =================================================== */
.verified-metrics-section {
    background: #FFFFFF;
    border-bottom: 1px solid #ECE7E0;
    padding: 2.5rem 2rem 3rem 2rem;
    position: relative;
}

.verified-metrics-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Subtle Section Divider */
.trust-subtle-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 0 0 2rem 0;
}

.trust-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E5DFD5 20%, #E5DFD5 80%, transparent);
}

.trust-divider-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-bronze);
    background: #FAF8F5;
    border: 1px solid #ECE7E0;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
}

.trust-divider-chip svg {
    color: var(--accent-bronze);
}

/* Impact Metrics Grid: 4 Balanced Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.metric-box {
    background: #FAF8F5;
    border: 1px solid #ECE7E0;
    border-radius: 14px;
    padding: 1.35rem 1.15rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(44, 38, 33, 0.02);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-box:hover {
    background: #FFFFFF;
    transform: translateY(-3px);
    border-color: var(--accent-light-bronze);
    box-shadow: 0 10px 24px -4px rgba(120, 89, 61, 0.09);
}

.metric-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #EAE4DA;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--accent-bronze);
    transition: all 0.25s ease;
}

.metric-box:hover .metric-icon-wrap {
    background: var(--accent-bronze);
    color: #FFFFFF;
    border-color: var(--accent-bronze);
}

.metric-box .metric-number {
    font-family: var(--font-serif);
    font-size: 2.35rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.1;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.metric-box .metric-accent {
    color: var(--accent-bronze);
    font-family: var(--font-serif);
    font-weight: 500;
}

.metric-box .metric-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.2rem;
}

.metric-box .metric-sub {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* ===================================================
   HOW IT WORKS SECTION
   =================================================== */
.how-it-works-section {
    padding: 5.5rem 2rem;
}

.how-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.how-visual {
    display: flex;
    justify-content: flex-start;
}

.how-image-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 490px;
    box-shadow: var(--shadow-soft);
    background: #FAF7F2;
    border: 1px solid #ECE7E0;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: 2.85rem;
    line-height: 1.15;
    color: var(--text-heading);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

/* Steps Timeline */
.steps-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 17px;
    width: 1px;
    border-left: 1.5px dashed var(--border-line);
    z-index: 1;
}

.step-card {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.step-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .step-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.step-marker {
    flex-shrink: 0;
}

.step-icon-bubble {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--bg-bubble);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.step-number {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-bronze);
    width: 28px;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.1rem;
}

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

/* ===================================================
   CHOOSE A THEME SECTION
   =================================================== */
.theme-showcase-section {
    padding: 5.5rem 2rem;
    background: transparent;
}

.theme-showcase-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4.5rem;
    align-items: center;
}

.theme-description {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-body);
    max-width: 440px;
    margin-bottom: 2.25rem;
}

.theme-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.theme-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.2rem;
}

.theme-phones-hotspots {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 5;
}

.theme-phone-hotspot {
    flex: 1;
    height: 100%;
    cursor: pointer;
    transition: background 0.25s ease;
}

.theme-phone-hotspot:hover {
    background: rgba(44, 38, 33, 0.05);
}

.theme-pill-tags {
    display: flex;
    gap: 1.75rem;
    justify-content: center;
    margin-top: 0.5rem;
    width: 100%;
    flex-wrap: wrap;
}

.theme-pill {
    background: #FFFFFF;
    color: #2C2622;
    border: 1px solid #E4DDD3;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.55rem 1.6rem;
    border-radius: 9999px;
    letter-spacing: 0.02em;
    min-width: 110px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    box-shadow: 0 4px 12px rgba(44, 38, 33, 0.06);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.theme-pill:hover {
    background: #2C2622;
    color: #FAF8F5;
    border-color: #2C2622;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 38, 33, 0.16);
}

.theme-pill .pill-arrow {
    transition: transform 0.2s ease;
}

.theme-pill:hover .pill-arrow {
    transform: translateX(3px);
}

/* ===================================================
   BOTTOM CTA SECTION
   =================================================== */
.bottom-cta-section {
    padding: 5.5rem 2rem 6rem 2rem;
}

.bottom-cta-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
}

.bottom-cta-description {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-body);
    max-width: 440px;
    margin-bottom: 2.25rem;
}

.bottom-cta-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* ===================================================
   GLOBAL FOOTER
   =================================================== */
.app-footer {
    background: var(--bg-strip);
    border-top: 1px solid var(--border-subtle);
    padding: 4.5rem 2rem 2.5rem 2rem;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-line);
}

.brand-tagline {
    font-size: 0.925rem;
    color: var(--text-muted);
    max-width: 250px;
    margin-top: 1rem;
    line-height: 1.5;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-body);
}

.footer-links a:hover {
    color: var(--text-heading);
}

.social-icons {
    display: flex;
    gap: 0.85rem;
    justify-content: flex-end;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-heading);
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: var(--text-heading);
    color: var(--bg-page);
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-legal a:hover {
    color: var(--text-heading);
}

.sep {
    color: var(--border-line);
}

/* ===================================================
   RESPONSIVE MEDIA QUERIES
   =================================================== */
@media (max-width: 1024px) {
    .hero-heading { font-size: 3.25rem; }
    .hero-container,
    .how-container,
    .theme-showcase-container,
    .bottom-cta-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
    .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .app-header { padding: 1rem; }
    .main-nav { display: none; }
    .hero-heading { font-size: 2.5rem; }
    .section-heading { font-size: 2.1rem; }
    .platforms-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .platform-divider { display: none; }
    .footer-top-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-bar { flex-direction: column; gap: 1rem; text-align: center; }
    .theme-pill-tags { gap: 1rem; }
}

/* ===================================================
   COHESIVE EDITORIAL SUB-PAGES & FORMS
   =================================================== */
.page-body {
    min-height: calc(100vh - 400px);
}

.website-enter-container,
.analyzing-container,
.compatibility-result-container,
.improvement-form-container,
.themes-catalog-container,
.theme-details-container,
.theme-preview-container,
.addons-container,
.addon-details-container,
.checkout-summary-container,
.checkout-payment-container,
.checkout-success-container,
.auth-box {
    max-width: 1100px;
    margin: 3.5rem auto;
    padding: 0 1.5rem;
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.analyzer-form-card,
.form-card,
.auth-box,
.score-card,
.theme-card,
.addon-card,
.summary-details,
.summary-action-card,
.payment-card,
.success-card,
.app-summary-card,
.stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-soft);
}

.form-standard {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: #FAF8F5;
    color: var(--text-heading);
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-bronze);
    background: #FFFFFF;
}

.input-with-button {
    display: flex;
    gap: 0.65rem;
}
.input-with-button input {
    flex: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.925rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.btn-primary {
    background: var(--accent-bronze);
    color: #FFFFFF;
}
.btn-primary:hover {
    background: #63472E;
}

.btn-secondary {
    background: #E5DDD1;
    color: var(--text-heading);
    border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
    background: #D9CFC1;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.825rem;
}

.table-standard {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.table-standard th, .table-standard td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
    font-size: 0.925rem;
}

.table-standard th {
    background: #F4EFEA;
    font-weight: 700;
    color: var(--text-heading);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    background: #E8E2D8;
    color: var(--text-heading);
}
.badge-success { background: #D9E8DC; color: #23522A; }
.badge-primary { background: #E6DFD4; color: var(--accent-bronze); }

/* ===================================================
   HOME EXPANDED SECTIONS: COMMON STYLES
   =================================================== */
.text-center {
    text-align: center;
}

.section-subheading {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0.75rem auto 0;
    line-height: 1.6;
}


/* ===================================================
   6. NATIVE CAPABILITIES & FEATURES GRID
   =================================================== */
.features-grid-section {
    background: #FFFFFF;
    padding: 6rem 2rem;
    overflow: hidden;
}

.features-container {
    max-width: 1180px;
    margin: 0 auto;
}

.features-header {
    margin-bottom: 3.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.feature-card {
    background: #FAF8F5;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-light-bronze);
    box-shadow: var(--shadow-soft);
    background: #FFFFFF;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-card:hover .feature-icon-box {
    background: #FAF8F5;
    border-color: var(--accent-light-bronze);
}

.feature-badge {
    align-self: flex-start;
    background: #EFEAE2;
    color: var(--accent-bronze);
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.9rem;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-heading);
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.feature-desc {
    font-size: 0.925rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ===================================================
   STACKED DECK ENTRANCE ANIMATION FOR FEATURES
   =================================================== */
.features-deck-init .feature-card {
    will-change: transform, box-shadow;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Desktop 3-Column Stacked Initial States */
@media (min-width: 992px) {
    /* Row 1 Initial Stack (Cards 1, 2, 3) */
    .features-deck-init:not(.spread-row-1) .feature-card:nth-child(1) {
        transform: translate3d(calc(100% + 2rem), 0, 0) rotate(-3.5deg) scale(0.96);
        z-index: 10;
        box-shadow: 0 6px 20px rgba(44, 38, 33, 0.08);
    }
    .features-deck-init:not(.spread-row-1) .feature-card:nth-child(2) {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        z-index: 30;
        box-shadow: 0 16px 40px rgba(44, 38, 33, 0.12);
    }
    .features-deck-init:not(.spread-row-1) .feature-card:nth-child(3) {
        transform: translate3d(calc(-100% - 2rem), 0, 0) rotate(3.5deg) scale(0.96);
        z-index: 20;
        box-shadow: 0 10px 28px rgba(44, 38, 33, 0.10);
    }

    /* Row 2 Initial Stack (Cards 4, 5, 6) */
    .features-deck-init:not(.spread-row-2) .feature-card:nth-child(4) {
        transform: translate3d(calc(100% + 2rem), 0, 0) rotate(-3.5deg) scale(0.96);
        z-index: 10;
        box-shadow: 0 6px 20px rgba(44, 38, 33, 0.08);
    }
    .features-deck-init:not(.spread-row-2) .feature-card:nth-child(5) {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        z-index: 30;
        box-shadow: 0 16px 40px rgba(44, 38, 33, 0.12);
    }
    .features-deck-init:not(.spread-row-2) .feature-card:nth-child(6) {
        transform: translate3d(calc(-100% - 2rem), 0, 0) rotate(3.5deg) scale(0.96);
        z-index: 20;
        box-shadow: 0 10px 28px rgba(44, 38, 33, 0.10);
    }

    /* Spread States */
    .features-deck-init.spread-row-1 .feature-card:nth-child(1),
    .features-deck-init.spread-row-1 .feature-card:nth-child(2),
    .features-deck-init.spread-row-1 .feature-card:nth-child(3) {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        box-shadow: none;
        z-index: 1;
    }

    .features-deck-init.spread-row-2 .feature-card:nth-child(4),
    .features-deck-init.spread-row-2 .feature-card:nth-child(5),
    .features-deck-init.spread-row-2 .feature-card:nth-child(6) {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        box-shadow: none;
        z-index: 1;
    }
}

/* Tablet 2-Column Stacked Initial States */
@media (min-width: 768px) and (max-width: 991px) {
    .features-deck-init:not(.spread-row-1) .feature-card:nth-child(1) {
        transform: translate3d(calc(50% + 0.75rem), 0, 0) rotate(-2.5deg) scale(0.97);
        z-index: 10;
        box-shadow: 0 6px 20px rgba(44, 38, 33, 0.08);
    }
    .features-deck-init:not(.spread-row-1) .feature-card:nth-child(2) {
        transform: translate3d(calc(-50% - 0.75rem), 0, 0) rotate(2.5deg) scale(1);
        z-index: 20;
        box-shadow: 0 14px 36px rgba(44, 38, 33, 0.12);
    }
    .features-deck-init:not(.spread-row-2) .feature-card:nth-child(3) {
        transform: translate3d(calc(50% + 0.75rem), 0, 0) rotate(-2.5deg) scale(0.97);
        z-index: 10;
        box-shadow: 0 6px 20px rgba(44, 38, 33, 0.08);
    }
    .features-deck-init:not(.spread-row-2) .feature-card:nth-child(4) {
        transform: translate3d(calc(-50% - 0.75rem), 0, 0) rotate(2.5deg) scale(1);
        z-index: 20;
        box-shadow: 0 14px 36px rgba(44, 38, 33, 0.12);
    }
    .features-deck-init:not(.spread-row-2) .feature-card:nth-child(5) {
        transform: translate3d(calc(50% + 0.75rem), 0, 0) rotate(-2.5deg) scale(0.97);
        z-index: 10;
        box-shadow: 0 6px 20px rgba(44, 38, 33, 0.08);
    }
    .features-deck-init:not(.spread-row-2) .feature-card:nth-child(6) {
        transform: translate3d(calc(-50% - 0.75rem), 0, 0) rotate(2.5deg) scale(1);
        z-index: 20;
        box-shadow: 0 14px 36px rgba(44, 38, 33, 0.12);
    }

    .features-deck-init.spread-row-1 .feature-card:nth-child(1),
    .features-deck-init.spread-row-1 .feature-card:nth-child(2) {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        box-shadow: none;
        z-index: 1;
    }
    .features-deck-init.spread-row-2 .feature-card:nth-child(3),
    .features-deck-init.spread-row-2 .feature-card:nth-child(4),
    .features-deck-init.spread-row-2 .feature-card:nth-child(5),
    .features-deck-init.spread-row-2 .feature-card:nth-child(6) {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        box-shadow: none;
        z-index: 1;
    }
}

/* Mobile 1-Column Stacked Initial States */
@media (max-width: 767px) {
    .features-deck-init:not(.spread-row-1) .feature-card:nth-child(1),
    .features-deck-init:not(.spread-row-1) .feature-card:nth-child(2),
    .features-deck-init:not(.spread-row-1) .feature-card:nth-child(3) {
        transform: scale(0.96) rotate(-1.5deg);
        box-shadow: 0 6px 20px rgba(44, 38, 33, 0.08);
    }
    .features-deck-init:not(.spread-row-2) .feature-card:nth-child(4),
    .features-deck-init:not(.spread-row-2) .feature-card:nth-child(5),
    .features-deck-init:not(.spread-row-2) .feature-card:nth-child(6) {
        transform: scale(0.96) rotate(1.5deg);
        box-shadow: 0 6px 20px rgba(44, 38, 33, 0.08);
    }

    .features-deck-init.spread-row-1 .feature-card:nth-child(1),
    .features-deck-init.spread-row-1 .feature-card:nth-child(2),
    .features-deck-init.spread-row-1 .feature-card:nth-child(3),
    .features-deck-init.spread-row-2 .feature-card:nth-child(4),
    .features-deck-init.spread-row-2 .feature-card:nth-child(5),
    .features-deck-init.spread-row-2 .feature-card:nth-child(6) {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
        box-shadow: none;
        z-index: 1;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .features-deck-init .feature-card {
        transform: none !important;
        transition: none !important;
        box-shadow: none !important;
    }
}

/* ===================================================
   8. NATIVE APP VS MOBILE BROWSER COMPARISON
   =================================================== */
.comparison-section {
    background: #FAF8F5;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 6rem 2rem;
}

.comparison-container {
    max-width: 1060px;
    margin: 0 auto;
}

.comparison-table-wrapper {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-top: 3.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    padding: 1.25rem 1.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border-subtle);
}

.col-feature {
    width: 42%;
    text-align: left;
    background: #F7F5F0;
    color: var(--text-heading);
}

.col-web {
    width: 29%;
    text-align: center;
    background: #F2ECE4;
    color: var(--text-muted);
}

.col-native {
    width: 29%;
    text-align: center;
    background: var(--accent-bronze);
    color: #FFFFFF;
}

.comparison-table td {
    padding: 1.2rem 1.75rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.925rem;
}

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

.feature-name strong {
    display: block;
    font-size: 0.975rem;
    color: var(--text-heading);
}

.feature-name span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.val-native {
    text-align: center;
    background: rgba(120, 89, 61, 0.03);
}

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

.badge-gold {
    color: var(--accent-bronze);
    font-weight: 600;
    font-size: 0.925rem;
}

/* ===================================================
   9. PRICING & PLANS SECTION
   =================================================== */
.pricing-section {
    background: #FFFFFF;
    padding: 6rem 2rem;
}

.pricing-container {
    max-width: 1180px;
    margin: 0 auto;
}

.pricing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.25rem;
    background: #F7F5F0;
    border: 1px solid var(--border-subtle);
    padding: 0.45rem 1.35rem;
    border-radius: var(--radius-pill);
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    display: inline-flex;
    align-items: center;
}

.save-tag {
    background: var(--accent-bronze);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-pill);
    margin-left: 0.35rem;
}

.pricing-switch {
    width: 48px;
    height: 26px;
    background: #D8D1C7;
    border-radius: var(--radius-pill);
    border: none;
    position: relative;
    cursor: pointer;
    transition: background 0.25s ease;
}

.pricing-switch.active {
    background: var(--accent-bronze);
}

.switch-handle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.pricing-switch.active .switch-handle {
    transform: translateX(22px);
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    align-items: stretch;
}

.pricing-card {
    background: #FAF8F5;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    background: #FFFFFF;
    border: 2px solid var(--accent-bronze);
    box-shadow: 0 20px 40px -10px rgba(120, 89, 61, 0.15);
    transform: scale(1.03);
}

.featured-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-bronze);
    color: #FFFFFF;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.9rem;
    border-radius: var(--radius-pill);
}

.plan-name {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--text-heading);
    margin-bottom: 0.35rem;
}

.plan-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    min-height: 42px;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.plan-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.plan-price-wrap .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-heading);
}

.plan-price-wrap .price-val {
    font-family: var(--font-serif);
    font-size: 3.25rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1;
}

.plan-price-wrap .period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.925rem;
    color: var(--text-body);
    margin-bottom: 0.85rem;
}

.check-icon {
    color: var(--accent-bronze);
    font-weight: 700;
    flex-shrink: 0;
}

.btn-plan {
    display: block;
    text-align: center;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

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

.btn-plan-outline:hover {
    background: #DBD2C5;
    transform: translateY(-1px);
}

.btn-plan-primary {
    background: var(--accent-bronze);
    color: #FFFFFF;
    border: 1px solid var(--accent-bronze);
}

.btn-plan-primary:hover {
    background: #63472E;
    transform: translateY(-1px);
}

/* ===================================================
   10. SOCIAL PROOF & TESTIMONIALS
   =================================================== */
.testimonials-section {
    background: #FAF8F5;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 6rem 2rem;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}

.testimonial-stars {
    color: #C59B27;
    font-size: 1.15rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 0.975rem;
    font-style: italic;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.75rem;
    flex: 1;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
}

.author-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.author-metric {
    background: #EFEAE2;
    color: var(--accent-bronze);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}

/* ===================================================
   11. FREQUENTLY ASKED QUESTIONS (ACCORDION)
   =================================================== */
.faq-section {
    background: #FFFFFF;
    padding: 6rem 2rem;
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
}

.faq-accordion {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #FAF8F5;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item.active {
    background: #FFFFFF;
    border-color: var(--accent-bronze);
    box-shadow: 0 4px 20px rgba(44, 38, 33, 0.05);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.35rem 1.65rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    text-align: left;
    cursor: pointer;
    font-family: var(--font-sans);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-bronze);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    line-height: 1;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    padding: 0 1.65rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.65rem 1.5rem 1.65rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* ===================================================
   RESPONSIVE BREAKPOINTS FOR EXPANDED SECTIONS
   =================================================== */
@media (max-width: 991px) {
    .hero-section {
        background: linear-gradient(to right, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0.65) 100%), url('../images/hero_bg.png') right center / cover no-repeat;
        min-height: 460px;
        padding: 3.5rem 1.5rem;
    }
    .hero-heading {
        font-size: 2.85rem;
    }
    .platforms-cards-strip {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 3rem auto 0;
    }
    .pricing-card.featured {
        transform: none;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 3rem auto 0;
    }
    .why-choose-section {
        padding: 2.75rem 1.25rem 3rem 1.25rem;
    }
    .why-choose-content-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .why-choose-visual-col {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
        height: 380px;
        min-height: 380px;
    }
    .why-choose-cards-grid {
        max-width: 600px;
        margin: 0 auto;
        grid-template-rows: none;
        height: auto;
    }
}

@media (max-width: 767px) {
    .hero-section {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 75%, rgba(255, 255, 255, 0.8) 100%), url('../images/hero_bg.png') center center / cover no-repeat;
        min-height: 380px;
        padding: 2.5rem 1.25rem;
        text-align: center;
    }
    .hero-container {
        justify-content: center;
    }
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    .hero-heading {
        font-size: 2.3rem;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .why-choose-title {
        font-size: 2rem;
    }
    .why-choose-visual-col {
        height: 320px;
        min-height: 320px;
    }
    .why-choose-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
    .why-card {
        padding: 0.85rem 0.95rem;
    }
    .why-card-title {
        white-space: normal;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
    }
    .col-feature {
        width: 40%;
    }
    .col-web, .col-native {
        width: 30%;
    }
}

/* ===================================================
   COMPATIBILITY ANALYZER WIZARD & API SETUP SUITE
   =================================================== */
.analyzer-wizard-page {
    background-color: #FAF8F5;
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(245, 238, 230, 0.8) 0%, transparent 45%),
        radial-gradient(circle at 90% 85%, rgba(242, 233, 222, 0.7) 0%, transparent 50%);
    padding: 3.5rem 1.5rem 5rem 1.5rem;
    min-height: calc(100vh - 240px);
}

.analyzer-wizard-container {
    max-width: 980px;
    margin: 0 auto;
}

/* Header */
.analyzer-hero-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
}

.analyzer-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #EFEAE7;
    border: 1px solid #DDD8D3;
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #403A32;
    margin-bottom: 0.85rem;
}

.analyzer-eyebrow-pill svg {
    color: #B69A78;
}

.analyzer-main-title {
    font-family: var(--font-serif);
    font-size: 2.85rem;
    color: #252525;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.85rem 0;
}

.analyzer-main-title em {
    font-style: italic;
    font-weight: 400;
    color: #B69A78;
}

.analyzer-subtitle {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: #77716D;
    line-height: 1.55;
    margin: 0;
}

/* Stepper (Minimalist, Editorial) */
.analyzer-stepper {
    margin-bottom: 2.5rem;
}

.stepper-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #DDD8D3;
    background: #FFFFFF;
    color: #9A9490;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.step-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #9A9490;
    text-align: center;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.step-node.active .step-num {
    background: #403A32;
    border-color: #403A32;
    color: #FAF7F2;
    box-shadow: 0 0 0 4px rgba(182, 154, 120, 0.25);
}

.step-node.active .step-label {
    color: #252525;
    font-weight: 700;
}

.step-node.completed .step-num {
    background: #B69A78;
    border-color: #B69A78;
    color: #FFFFFF;
}

.step-node.completed .step-label {
    color: #403A32;
    font-weight: 600;
}

.step-connector {
    flex: 1;
    height: 1.5px;
    background: #DDD8D3;
    margin: 0 0.5rem;
    margin-top: -16px;
    position: relative;
    z-index: 1;
}

/* Card Containers */
.analyzer-card {
    background: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 14px;
    box-shadow: 0 8px 24px -6px rgba(44, 38, 33, 0.05), 0 2px 6px rgba(44, 38, 33, 0.02);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.analyzer-card .card-inner {
    padding: 2.25rem 2.5rem;
}

.card-heading {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: #252525;
    margin: 0 0 0.35rem 0;
    font-weight: 500;
}

.card-instruction {
    font-size: 0.92rem;
    color: #77716D;
    line-height: 1.55;
    margin: 0 0 1.5rem 0;
}

.badge-subtle {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #403A32;
    background: #F2ECE4;
    border: 1px solid #E2D7CA;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.eyebrow-accent {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #B69A78;
    display: block;
    margin-bottom: 0.25rem;
}

/* STAGE 1: URL Analyzer Input */
.url-analyzer-card {
    background: #FFFFFF;
    border: 1px solid #EAE4DC;
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(44, 38, 33, 0.05);
    transition: box-shadow 0.3s ease;
}

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

.url-input-wrapper {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 2px solid #E5DFD7;
    border-radius: 12px;
    padding: 0.35rem 0.45rem 0.35rem 1rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(44, 38, 33, 0.03);
    position: relative;
}

.url-input-wrapper:hover {
    border-color: #D6CDC2;
}

.url-input-wrapper:focus-within {
    background: #FFFFFF;
    border-color: #78593D;
    box-shadow: 0 0 0 4px rgba(120, 89, 61, 0.14), 0 4px 16px rgba(44, 38, 33, 0.06);
}

.url-icon-prefix {
    padding: 0;
    margin-right: 0.75rem;
    color: #78593D;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.url-input-wrapper:focus-within .url-icon-prefix {
    color: #78593D;
    transform: scale(1.05);
}

#websiteUrlInput {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.8rem 0.75rem 0.8rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: #1C1917;
    outline: none;
    font-family: inherit;
    letter-spacing: -0.01em;
}

#websiteUrlInput::placeholder {
    color: #A39B91;
    font-weight: 400;
}

.btn-analyze-pill {
    background: linear-gradient(135deg, #78593D 0%, #5B412B 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.85rem 1.85rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.94rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(91, 65, 43, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    position: relative;
    overflow: hidden;
}

.btn-analyze-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: left 0.6s ease;
}

.btn-analyze-pill:hover::before {
    left: 100%;
}

.btn-analyze-pill .btn-analyze-text,
.btn-analyze-pill .btn-text {
    color: #FFFFFF !important;
    font-weight: 600 !important;
    font-size: 0.94rem !important;
    letter-spacing: 0.015em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn-analyze-pill .btn-arrow {
    color: #FFFFFF;
    stroke: #FFFFFF;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-analyze-pill:hover {
    background: linear-gradient(135deg, #8A6747 0%, #694B32 100%);
    color: #FFFFFF !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(91, 65, 43, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-analyze-pill:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-analyze-pill:active {
    transform: translateY(0.5px);
    box-shadow: 0 2px 8px rgba(91, 65, 43, 0.22);
}

.btn-analyze-pill.is-loading {
    opacity: 0.92;
    cursor: wait;
    pointer-events: none;
    background: linear-gradient(135deg, #6B4E34 0%, #523A25 100%);
}

.btn-analyze-pill .btn-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spinBtn 0.7s linear infinite;
    display: inline-block;
}

@keyframes spinBtn {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .url-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 0.85rem;
        gap: 0.75rem;
    }
    #websiteUrlInput {
        padding: 0.5rem 0;
        font-size: 1rem;
    }
    .btn-analyze-pill {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.4rem;
    }
}

.form-feedback-message {
    font-size: 0.85rem;
    margin-top: 0.75rem;
    padding: 0.65rem 0.95rem;
    border-radius: 6px;
}
.feedback-error {
    background: #FDF4F2;
    border: 1px solid #ECC4BC;
    color: #7D281E;
}
.feedback-success {
    background: #F4F8F1;
    border: 1px solid #BDDDB3;
    color: #1C4510;
}
.feedback-warning {
    background: #FEF9EB;
    border: 1px solid #F5D78E;
    color: #7A540A;
}

/* STAGE 2: Platform Selector (3 Selectable Cards) */
.section-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.suggested-badge-box {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #FAF8F5;
    border: 1px solid #C8DEC1;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #4E522C;
}

.pulse-dot-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4E522C;
}

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

.platform-select-card {
    background: #EFEAE7;
    border: 1.5px solid #DDD8D3;
    border-radius: 12px;
    padding: 1.4rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    min-height: 175px;
    box-sizing: border-box;
}

.platform-select-card:hover {
    background: #FAF7F2;
    border-color: #B69A78;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -4px rgba(64, 58, 50, 0.08);
}

.platform-select-card.is-selected {
    background: #FFFFFF;
    border-color: #B69A78;
    border-width: 2px;
    box-shadow: 0 8px 24px -4px rgba(182, 154, 120, 0.22);
}

.platform-select-card.is-suggested {
    border-color: #B69A78;
}

.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.platform-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #DDD8D3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.platform-select-card:hover .platform-icon-wrap,
.platform-select-card.is-selected .platform-icon-wrap {
    border-color: #B69A78;
}

.selection-indicator .radio-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #DDD8D3;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.platform-select-card.is-selected .radio-dot {
    border-color: #B69A78;
    background: #B69A78;
    box-shadow: inset 0 0 0 3px #FFFFFF;
}

.platform-heading {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: #252525;
    margin: 0 0 0.25rem 0;
}

.platform-auth-type {
    font-size: 0.8rem;
    color: #77716D;
    font-weight: 500;
    display: block;
    line-height: 1.35;
}

.card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(221, 216, 211, 0.6);
}

.badge-time {
    font-size: 0.72rem;
    color: #403A32;
    background: #E6DFD5;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
}

.platform-cta-arrow {
    font-size: 1.05rem;
    color: #B69A78;
    transition: transform 0.2s ease;
}

.platform-select-card:hover .platform-cta-arrow {
    transform: translateX(3px);
}

.suggested-ribbon {
    position: absolute;
    top: -10px;
    right: 14px;
    background: #4E522C;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(78, 82, 44, 0.25);
}

/* STAGE 3: Setup Guide Section */
.setup-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #ECE4DA;
    margin-bottom: 1.5rem;
}

.btn-change-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #FAF8F5;
    border: 1px solid #DDD8D3;
    border-radius: 6px;
    padding: 0.45rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #403A32;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-change-platform:hover {
    background: #FFFFFF;
    border-color: #B69A78;
    color: #252525;
}

.setup-time-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: #403A32;
    background: #F3EDE5;
    border: 1px solid #E5DBCF;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}

.guide-platform-title {
    font-family: var(--font-serif);
    font-size: 1.95rem;
    color: #252525;
    margin: 0 0 0.35rem 0;
    font-weight: 500;
}

.guide-platform-desc {
    font-size: 0.95rem;
    color: #77716D;
    line-height: 1.55;
    margin: 0 0 1.75rem 0;
}

/* Step-by-Step Cards */
.guide-steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guide-step-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.6rem;
    background: #FAF8F5;
    border: 1px solid #EBE4DA;
    border-radius: 12px;
}

.step-badge-col {
    flex-shrink: 0;
}

.step-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    background: #B69A78;
    border-radius: 4px;
    padding: 0.25rem 0.65rem;
    white-space: nowrap;
}

.step-content-col {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    color: #252525;
    margin: 0 0 0.45rem 0;
}

.step-instruction {
    font-size: 0.92rem;
    color: #55504A;
    line-height: 1.6;
    margin: 0 0 0.95rem 0;
}

.step-example-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 6px;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.15rem;
    font-size: 0.84rem;
}

.step-example-chip .chip-label {
    font-weight: 700;
    color: #403A32;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.step-example-chip code {
    color: #78593D;
    font-family: monospace;
    font-weight: 600;
}

.btn-copy-chip {
    background: #F3ECE3;
    border: 1px solid #DDD8D3;
    border-radius: 4px;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #403A32;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-chip:hover {
    background: #B69A78;
    color: #FFFFFF;
    border-color: #B69A78;
}

.btn-copy-chip.is-copied {
    background: #4E522C;
    color: #FFFFFF;
    border-color: #4E522C;
}

.step-screenshot-wrapper {
    margin-top: 0.85rem;
}

.screenshot-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #E0D7CB;
    background: #FAF8F5;
    box-shadow: 0 4px 14px rgba(44, 38, 33, 0.05);
    max-width: 680px;
}

.guide-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
}

.where-to-find-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #403A32;
    margin-top: 0.65rem;
}

.where-to-find-row svg {
    color: #B69A78;
    flex-shrink: 0;
}

/* Credentials Input Form */
.credentials-input-card {
    background: #FAF7F2;
    border: 1px solid #E6DFD5;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    margin: 2.25rem 0 1.25rem 0;
}

.credentials-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.cred-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #DDD8D3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #78593D;
    flex-shrink: 0;
}

.credentials-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: #252525;
    margin: 0 0 0.2rem 0;
}

.credentials-sub {
    font-size: 0.86rem;
    color: #77716D;
    margin: 0;
    line-height: 1.45;
}

.dynamic-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.form-group-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.field-label-row label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #403A32;
}

.badge-secure-field {
    font-size: 0.68rem;
    font-weight: 700;
    color: #4E522C;
    background: #EAECE2;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.field-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.field-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 2.5rem;
    border: 1.5px solid #DDD8D3;
    border-radius: 8px;
    font-size: 0.92rem;
    background: #FFFFFF;
    color: #252525;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.field-input-wrapper input:focus {
    border-color: #B69A78;
    box-shadow: 0 0 0 3px rgba(182, 154, 120, 0.15);
}

.field-input-wrapper input.is-invalid {
    border-color: #C27351;
    background: #FFF9F7;
}

.btn-toggle-secret {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    padding: 0.4rem;
    color: #9A9490;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.btn-toggle-secret:hover {
    color: #403A32;
}

.btn-toggle-secret.active {
    color: #B69A78;
}

.field-help-text {
    font-size: 0.78rem;
    color: #77716D;
    margin: 0;
    line-height: 1.4;
}

/* Verification Action Row */
.verification-action-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.btn-verify-primary {
    background: linear-gradient(135deg, #78593D 0%, #5B412B 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.85rem 1.85rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 4px 14px rgba(91, 65, 43, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-verify-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #8A6747 0%, #694B32 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(91, 65, 43, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-verify-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-text-link {
    background: transparent;
    border: none;
    color: #78593D;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.btn-text-link:hover {
    color: #403A32;
}

/* Verification Alert Box */
.verification-alert-box {
    border-radius: 8px;
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.verification-alert-box.alert-success {
    background: #F4F8F1;
    border: 1.5px solid #BDDDB3;
    color: #1C4510;
}

.verification-alert-box.alert-error {
    background: #FDF4F2;
    border: 1.5px solid #ECC4BC;
    color: #7D281E;
}

.alert-icon-box {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.alert-success .alert-icon-box {
    background: #2E691A;
    color: #FFFFFF;
}

.alert-error .alert-icon-box {
    background: #C27351;
    color: #FFFFFF;
}

.alert-heading {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
}

.alert-message {
    font-size: 0.86rem;
    margin: 0;
    line-height: 1.45;
}

/* Proceed to Analysis Row */
.proceed-analysis-row {
    background: #FFFFFF;
    border: 1.5px solid #BDDDB3;
    border-radius: 10px;
    padding: 1.25rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 14px rgba(46, 105, 26, 0.08);
}

.verified-status-banner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.verified-check-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2E691A;
    color: #FFFFFF;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.verified-banner-text strong {
    display: block;
    color: #1C4510;
    font-size: 0.95rem;
}

.verified-banner-text span {
    font-size: 0.82rem;
    color: #55504A;
}

.btn-analyze-site-pill {
    background: linear-gradient(135deg, #78593D 0%, #5B412B 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.85rem 1.85rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 4px 14px rgba(91, 65, 43, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-analyze-site-pill:hover {
    background: linear-gradient(135deg, #8A6747 0%, #694B32 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(91, 65, 43, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.security-notice-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.8rem;
    color: #77716D;
    line-height: 1.45;
    padding: 0.75rem 0.5rem 0 0.5rem;
}

.security-notice-callout svg {
    color: #B69A78;
    flex-shrink: 0;
    margin-top: 2px;
}

/* STAGE 4: Interactive Analysis Running */
.analysis-running-section .card-inner {
    padding: 3.5rem 2.5rem;
}

.analyzing-spinner-ring {
    width: 48px;
    height: 48px;
    border: 3px solid #E6DFD5;
    border-top-color: #B69A78;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    animation: ringSpin 0.9s infinite linear;
}

@keyframes ringSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.analysis-checklist-box {
    max-width: 460px;
    margin: 2rem auto 0 auto;
    background: #FAF8F5;
    border: 1px solid #E6DFD5;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: #77716D;
    transition: color 0.2s ease;
}

.check-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #DDD8D3;
    transition: background 0.3s ease;
}

.check-item.is-running {
    color: #252525;
    font-weight: 600;
}

.check-item.is-running .check-status-dot {
    background: #B69A78;
    box-shadow: 0 0 0 3px rgba(182, 154, 120, 0.25);
}

/* STAGE 5: Compatibility Result Report */
.result-status-banner {
    border-radius: 12px;
    padding: 2.25rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.result-status-banner.banner-compatible {
    background: #F7FAF5;
    border: 1.5px solid #C8E3BF;
}

.result-status-banner.banner-incompatible {
    background: #FAF7F6;
    border: 1.5px solid #E8D3CE;
}

.score-circle-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.score-ring-svg {
    transform: rotate(-9deg);
}

.score-ring-svg .ring-progress {
    transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-display-number {
    position: absolute;
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: #252525;
}

.status-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #B69A78;
    display: block;
    margin-bottom: 0.25rem;
}

.status-heading {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: #252525;
    margin: 0 0 0.45rem 0;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.status-summary {
    font-size: 0.95rem;
    color: #55504A;
    line-height: 1.5;
    margin: 0;
}

.result-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.75rem 0;
}

.metric-cell {
    background: #FAF7F2;
    border: 1px solid #E6DFD5;
    border-radius: 8px;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.metric-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #77716D;
}

.metric-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #252525;
}

/* Incompatible Issues Box */
.result-issues-box {
    background: #FAF7F6;
    border: 1px solid #E8D3CE;
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    margin: 1.75rem 0;
}

.issues-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #7D281E;
    margin: 0 0 0.25rem 0;
}

.issues-sub {
    font-size: 0.88rem;
    color: #77716D;
    margin: 0 0 1.25rem 0;
}

.issues-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.issue-item-card {
    background: #FFFFFF;
    border: 1px solid #EBD5D0;
    border-radius: 8px;
    padding: 1.15rem;
}

.issue-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.issue-icon-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #C27351;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.issue-problem-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #252525;
    margin: 0;
}

.issue-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.issue-col-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #77716D;
    display: block;
    margin-bottom: 0.2rem;
}

.issue-col p {
    font-size: 0.86rem;
    color: #403A32;
    margin: 0;
    line-height: 1.45;
}

.issue-solution-text {
    font-weight: 600;
    color: #4E522C !important;
}

/* Result CTA Row */
.result-cta-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ECE4DA;
}

.btn-cta-primary {
    background: #B69A78;
    color: #FFFFFF;
    border: none;
    padding: 0.95rem 2.25rem;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-cta-primary:hover {
    background: #9E836A;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(182, 154, 120, 0.35);
}

.btn-cta-warning {
    background: #C27351;
    color: #FFFFFF;
    border: none;
    padding: 0.95rem 2.25rem;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-cta-warning:hover {
    background: #AB5E3D;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(194, 115, 81, 0.35);
}

.btn-secondary-link {
    background: transparent;
    border: none;
    color: #77716D;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.btn-secondary-link:hover {
    color: #252525;
}

/* Spinners */
.btn-spinner,
.btn-verify-spinner,
.btn-analyze-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: ringSpin 0.7s infinite linear;
}

/* ===================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   =================================================== */
@media (max-width: 991px) {
    .platforms-selector-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.85rem;
    }
    .platform-select-card {
        padding: 1.15rem 1rem;
        min-height: 160px;
    }
    .platform-heading {
        font-size: 1.05rem;
    }
    .result-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .analyzer-card .card-inner {
        padding: 1.75rem 1.85rem;
    }
    .stepper-track {
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
}

@media (max-width: 767px) {
    .analyzer-wizard-page {
        padding: 2.25rem 1rem 3.5rem 1rem;
    }
    .analyzer-main-title {
        font-size: 2.15rem;
    }
    .analyzer-subtitle {
        font-size: 0.95rem;
    }
    
    /* Stepper Mobile Vertical / Compact */
    .stepper-track {
        flex-direction: row;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 0.75rem;
        padding-bottom: 0.85rem;
    }
    .step-connector {
        display: none;
    }
    .step-node {
        flex-direction: row;
        gap: 0.45rem;
        background: #FFFFFF;
        padding: 0.4rem 0.75rem;
        border-radius: 999px;
        border: 1px solid #DDD8D3;
    }
    .step-num {
        width: 24px;
        height: 24px;
        font-size: 0.72rem;
    }

    /* URL input wraps */
    .url-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem;
    }
    .url-icon-prefix {
        display: none;
    }
    #websiteUrlInput {
        padding: 0.65rem 0.5rem;
        font-size: 0.95rem;
    }
    .btn-analyze-pill {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    /* Platform selector stacks */
    .platforms-selector-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .platform-select-card {
        min-height: auto;
    }

    /* Steps & Screenshot stack */
    .guide-step-card {
        flex-direction: column;
        gap: 0.85rem;
        padding: 1.25rem;
    }
    .dynamic-fields-grid {
        grid-template-columns: 1fr;
    }
    .proceed-analysis-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .btn-analyze-site-pill {
        width: 100%;
    }
    .verification-action-row {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-verify-primary {
        width: 100%;
        justify-content: center;
    }

    /* Result Banner & CTAs */
    .result-status-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        padding: 1.5rem;
    }
    .result-metrics-grid {
        grid-template-columns: 1fr;
    }
    .issue-details-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .result-cta-row {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-cta-primary,
    .btn-cta-warning {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================================
   AppifyHub - Dedicated "How It Works" Editorial Page
   Matching Palette: #F5F3F4, #F6F2EF, #EFEAE7, #DDD8D3,
   #252525, #77716D, #9A9490, #4E522C, #B69A78, #403A32
   =================================================== */

.hiw-page-wrapper {
    background-color: #F5F3F4;
    color: #252525;
    min-height: 100vh;
    font-family: var(--font-sans);
    overflow: visible;
}

.hiw-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 1. HERO SECTION */
.hiw-hero-section {
    padding: 5rem 0 4.5rem;
    background-color: #F5F3F4;
    text-align: center;
    position: relative;
}

.hiw-hero-content {
    max-width: 820px;
    margin: 0 auto 3.5rem;
}

.hiw-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4E522C;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    padding: 0.45rem 1.15rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hiw-eyebrow-accent {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4E522C;
    margin-bottom: 0.85rem;
}

.hiw-hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 500;
    color: #252525;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hiw-hero-title em {
    font-style: italic;
    font-weight: 400;
    color: #4E522C;
}

.hiw-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #77716D;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.hiw-hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-hiw-primary {
    background-color: #403A32;
    color: #FFFFFF;
    padding: 0.95rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #403A32;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-hiw-primary:hover {
    background-color: #252525;
    border-color: #252525;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 37, 37, 0.12);
}

.btn-hiw-secondary {
    background-color: #EFEAE7;
    color: #252525;
    padding: 0.95rem 1.85rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #DDD8D3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-hiw-secondary:hover {
    background-color: #DDD8D3;
    color: #252525;
}

.btn-hiw-outline {
    background-color: transparent;
    color: #252525;
    padding: 0.95rem 1.85rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #DDD8D3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-hiw-outline:hover {
    border-color: #403A32;
    color: #403A32;
    background-color: #FFFFFF;
}

.hiw-hero-visual-wrap {
    max-width: 1040px;
    margin: 0 auto;
}

.hiw-hero-media-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #DDD8D3;
    box-shadow: 0 20px 45px -10px rgba(37, 37, 37, 0.08);
    background-color: #EFEAE7;
}

.hiw-hero-media-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.hiw-hero-caption-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.25rem 1rem 0;
    font-size: 0.88rem;
    color: #77716D;
}

.hiw-caption-node {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.caption-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4E522C;
}

.hiw-caption-arrow {
    color: #9A9490;
    font-weight: 600;
}

/* 2. INTRODUCTION SECTION */
.hiw-intro-section {
    padding: 5.5rem 0;
    background-color: #F6F2EF;
    border-top: 1px solid #DDD8D3;
    border-bottom: 1px solid #DDD8D3;
}

.hiw-intro-box {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.hiw-section-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4E522C;
    margin-bottom: 0.85rem;
}

.hiw-section-heading {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: #252525;
    margin-bottom: 1.25rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.hiw-intro-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #77716D;
    margin-bottom: 2.5rem;
}

.hiw-clarification-card {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-left: 4px solid #4E522C;
    border-radius: 8px;
    padding: 1.25rem 1.65rem;
    text-align: left;
    margin-bottom: 3.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.clarification-icon {
    color: #4E522C;
    flex-shrink: 0;
    margin-top: 2px;
}

.clarification-content {
    font-size: 0.95rem;
    color: #403A32;
    line-height: 1.6;
}

.clarification-content strong {
    color: #252525;
    margin-right: 0.4rem;
}

.hiw-foundation-pipeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.pipeline-card {
    flex: 1;
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 12px;
    padding: 1.85rem 1.35rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pipeline-card.highlight-card {
    background-color: #EFEAE7;
    border-color: #B69A78;
    box-shadow: 0 8px 24px rgba(64, 58, 50, 0.06);
}

.pipeline-step-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #B69A78;
    display: block;
    margin-bottom: 0.5rem;
}

.pipeline-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: #252525;
    margin-bottom: 0.5rem;
}

.pipeline-desc {
    font-size: 0.85rem;
    color: #77716D;
    line-height: 1.5;
}

.pipeline-connector {
    color: #B69A78;
    flex-shrink: 0;
}

/* 3. MAIN PROCESS TIMELINE & STEPS */
/* 3. MAIN PROCESS WORKFLOW (SCROLL-DRIVEN STEP-BY-STEP STAGE) */
.hiw-workflow-intro-section {
    padding: 4rem 0 1.5rem;
    text-align: center;
    background-color: #F5F3F4;
}

.hiw-workflow-intro-box {
    max-width: 720px;
    margin: 0 auto;
}

.hiw-workflow-heading {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 500;
    color: #252525;
    margin: 0.85rem 0 0.65rem;
    letter-spacing: -0.01em;
}

.hiw-workflow-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #77716D;
    margin: 0;
}

/* Dedicated Scroll Track for 13 Steps - Responsive and Natural Scroll */
.hiw-scroll-story-wrapper {
    position: relative;
    height: calc(13 * 240px);
    min-height: 3120px;
    background-color: #F5F3F4;
}

.hiw-triggers-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    z-index: 1;
}

.hiw-scroll-trigger {
    flex: 1;
    width: 100%;
    pointer-events: none;
}

/* Sticky Viewport Stage - Perfectly Proportioned and Never Clipped */
.hiw-sticky-viewport {
    position: sticky;
    top: 75px;
    height: calc(100vh - 85px);
    max-height: 760px;
    display: flex;
    align-items: center;
    z-index: 10;
    overflow: visible;
}

.hiw-sticky-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

/* LEFT: PROCESS FLOW NAVIGATION */
.hiw-process-nav {
    display: flex;
    flex-direction: column;
}

.hiw-nav-sticky-box {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 14px;
    padding: 0.85rem 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.hiw-nav-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid #DDD8D3;
}

.nav-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #403A32;
    margin: 0;
}

.nav-active-name-mobile {
    display: none;
}

.nav-step-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #4E522C;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
}

.hiw-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0;
    margin: 0;
}

.hiw-nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #57514B;
    padding: 0.32rem 0.65rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
}

.hiw-nav-link span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9A9490;
    min-width: 20px;
    transition: color 0.2s ease;
}

.hiw-nav-link:hover {
    color: #252525;
    background-color: #EFEAE7;
    transform: translateX(2px);
}

.hiw-nav-link.active {
    color: #252525;
    font-weight: 700;
    background-color: #EFEAE7;
    box-shadow: inset 3px 0 0 #4E522C;
}

.hiw-nav-link.active span {
    color: #4E522C;
    font-weight: 700;
}

/* RIGHT: SINGLE STAGE CONTENT WINDOW */
.hiw-stage-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.hiw-single-stage-window {
    position: relative;
    width: 100%;
    min-height: 520px;
    height: min(600px, calc(100vh - 105px));
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 18px;
    box-shadow: 0 10px 30px -5px rgba(44, 38, 33, 0.05);
    overflow: hidden;
    box-sizing: border-box;
}

.hiw-stage-panel {
    position: absolute;
    inset: 0;
    padding: 1.65rem 2.25rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #FFFFFF;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #DDD8D3 transparent;
}

.hiw-stage-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 2;
}

.hiw-stage-panel.is-exiting-up {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    z-index: 1;
}

.hiw-stage-panel.is-exiting-down {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
    z-index: 1;
}

.hiw-step-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.hiw-step-num {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: #4E522C;
    line-height: 1;
}

.hiw-step-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #77716D;
    background-color: #EFEAE7;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid #DDD8D3;
}

.hiw-tag-warning {
    color: #8A5B29;
    background-color: #FAF0E4;
    border: 1px solid #EEDBC5;
}

.hiw-step-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.25rem;
    align-items: center;
}

.hiw-step-grid.hiw-grid-reversed {
    grid-template-columns: 1fr 1.15fr;
}

.hiw-step-heading {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 500;
    color: #252525;
    margin-bottom: 0.6rem;
    line-height: 1.22;
    letter-spacing: -0.01em;
}

.hiw-step-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #77716D;
    margin-bottom: 0.7rem;
}

.hiw-step-subtext {
    font-size: 0.86rem;
    line-height: 1.5;
    color: #9A9490;
    margin-bottom: 0.7rem;
}

.hiw-step-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.86rem;
    color: #403A32;
    line-height: 1.4;
}

.bullet-check {
    color: #4E522C;
    font-size: 1.1rem;
    line-height: 1;
}

.hiw-step-action-row {
    margin-top: 0.85rem;
}

.btn-step-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #403A32;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    border: 1px solid #403A32;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-step-action:hover {
    background-color: #252525;
    border-color: #252525;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.btn-step-warning {
    background-color: #684824;
    border-color: #684824;
}

.btn-step-warning:hover {
    background-color: #4E3416;
    border-color: #4E3416;
}

/* Step 01: UI Mockup Card */
.hiw-ui-mockup-card {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.04);
}

.mockup-header-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #DDD8D3;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #DDD8D3;
}

.mockup-title-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9A9490;
    margin-left: auto;
    letter-spacing: 0.05em;
}

.mockup-input-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background-color: #F6F2EF;
    border: 1px solid #DDD8D3;
    border-radius: 6px;
    padding: 0.6rem 0.85rem;
    margin-bottom: 0.75rem;
}

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

.mockup-url-val {
    font-family: monospace;
    font-size: 0.85rem;
    color: #252525;
    font-weight: 500;
    flex: 1;
}

.mockup-pill-verified {
    font-size: 0.62rem;
    font-weight: 700;
    background-color: #EFEAE7;
    color: #4E522C;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    border: 1px solid #DDD8D3;
}

.mockup-btn-preview {
    background-color: #403A32;
    color: #FFFFFF;
    padding: 0.6rem;
    text-align: center;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.mockup-footer-note {
    font-size: 0.74rem;
    color: #9A9490;
    text-align: center;
}

/* Step 02: Platform Triad */
.hiw-platform-triad {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.hiw-platform-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #252525;
}

.hiw-platform-card:hover {
    border-color: #B69A78;
    background-color: #EFEAE7;
    transform: translateX(3px);
}

.triad-logo-box {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background-color: #F6F2EF;
    border: 1px solid #DDD8D3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.triad-info h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: #252525;
    margin-bottom: 0.1rem;
}

.triad-info span {
    font-size: 0.75rem;
    color: #77716D;
}

.triad-badge {
    margin-left: auto;
    font-size: 0.64rem;
    font-weight: 600;
    color: #4E522C;
    background-color: #F6F2EF;
    border: 1px solid #DDD8D3;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
}

/* Step 03: Live Audit Checklist */
.hiw-audit-params-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.audit-param-pill {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 9999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    color: #403A32;
    font-weight: 500;
}

.hiw-step-disclaimer {
    font-size: 0.8rem;
    color: #9A9490;
    font-style: italic;
}

.hiw-report-card-preview {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.04);
}

.report-top-banner {
    background-color: #EFEAE7;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #DDD8D3;
}

.report-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #4E522C;
    display: block;
    margin-bottom: 0.2rem;
}

.report-top-banner h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #252525;
}

.report-items-table {
    padding: 0.35rem 1rem;
}

.report-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid #F6F2EF;
    font-size: 0.8rem;
}

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

.item-name {
    color: #77716D;
    font-weight: 500;
}

.item-val.is-good {
    color: #4E522C;
    font-weight: 600;
}

/* Step 04: API Accordion Box */
.hiw-api-accordion-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.api-preview-card {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 8px;
    padding: 0.75rem 0.95rem;
}

.acc-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.acc-platform {
    font-weight: 600;
    font-size: 0.85rem;
    color: #252525;
}

.acc-badge {
    font-size: 0.65rem;
    font-weight: 600;
    color: #4E522C;
    background-color: #EFEAE7;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.acc-desc {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #77716D;
    margin: 0;
}

/* Step 05: Needs Attention Card */
.hiw-needs-attention-card {
    background-color: #FFFFFF;
    border: 1px solid #EEDBC5;
    border-radius: 10px;
    padding: 0.95rem 1.15rem;
    box-shadow: 0 8px 20px -4px rgba(138, 91, 41, 0.06);
}

.attention-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #FAF0E4;
}

.attention-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #8A5B29;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
}

.attention-header h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: #252525;
    margin: 0;
}

.attention-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.attention-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
}

.attention-row.is-warn {
    background-color: #FAF0E4;
    color: #8A5B29;
}

.attention-row.is-ok {
    background-color: #F6F2EF;
    color: #4E522C;
}

.attention-footer {
    font-size: 0.74rem;
    color: #9A9490;
    line-height: 1.4;
}

/* Step 06: Theme Visual Frame */
.hiw-theme-showcase-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #DDD8D3;
    background-color: #EFEAE7;
    margin-bottom: 0.65rem;
    max-height: 200px;
}

.hiw-theme-showcase-img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.hiw-theme-badges-row {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.theme-pill {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #4E522C;
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
}

/* Step 07: Features Grid */
.hiw-features-chips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
}

.feature-chip-box {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 6px;
    padding: 0.55rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chip-icon {
    font-size: 0.9rem;
}

.chip-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: #403A32;
}

/* Step 08: Real-Time Sync */
.hiw-sync-flow-preview {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 10px;
    padding: 1rem 1.15rem;
}

.sync-flow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.sync-endpoint {
    background-color: #F6F2EF;
    border: 1px solid #DDD8D3;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    flex: 1;
}

.sync-endpoint strong {
    display: block;
    font-size: 0.78rem;
    color: #252525;
}

.sync-endpoint span {
    font-size: 0.65rem;
    color: #77716D;
}

.sync-arrows-pulse {
    font-size: 0.95rem;
    color: #B69A78;
    font-weight: bold;
}

.sync-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sync-item {
    font-size: 0.76rem;
    color: #57514B;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sync-item span:first-child {
    color: #4E522C;
    font-weight: bold;
}

/* Step 09: App Store Badges */
.hiw-store-badges-preview {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 10px;
    padding: 1.15rem;
    text-align: center;
}

.store-preview-header {
    margin-bottom: 0.85rem;
}

.store-preview-header h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #252525;
    margin-bottom: 0.2rem;
}

.store-preview-header p {
    font-size: 0.76rem;
    color: #77716D;
    margin: 0;
}

.store-badges-duo {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.store-mock-pill {
    background-color: #252525;
    color: #FFFFFF;
    border-radius: 6px;
    padding: 0.5rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    font-weight: 600;
}

.store-trust-note {
    font-size: 0.72rem;
    color: #9A9490;
    margin: 0;
}

/* Step 10: Checkout Card */
.hiw-pricing-summary-card {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 10px;
    padding: 1.15rem;
}

.pricing-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #F6F2EF;
}

.pricing-preview-top span {
    font-size: 0.76rem;
    color: #77716D;
}

.pricing-preview-top strong {
    font-size: 1.15rem;
    color: #252525;
}

.pricing-preview-items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.price-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    color: #57514B;
}

.pricing-guarantee-strip {
    font-size: 0.7rem;
    color: #4E522C;
    background-color: #EFEAE7;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

/* Step 11: Build Pipeline */
.hiw-pipeline-steps-card {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 10px;
    padding: 1.15rem;
}

.pipeline-mini-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pipe-mini-step {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background-color: #F6F2EF;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    color: #403A32;
}

.pipe-mini-step.is-done {
    background-color: #EFEAE7;
    color: #252525;
    font-weight: 600;
}

.pipe-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4E522C;
}

/* Step 12: Testing Matrix */
.hiw-testing-matrix-card {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 10px;
    padding: 1.15rem;
}

.test-matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.test-item-pill {
    background-color: #F6F2EF;
    border: 1px solid #DDD8D3;
    border-radius: 6px;
    padding: 0.45rem 0.65rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #403A32;
}

.test-status-ok {
    color: #4E522C;
    font-weight: bold;
}

.test-footer-guarantee {
    font-size: 0.72rem;
    color: #9A9490;
    text-align: center;
    margin: 0;
}

/* Step 13: Launch Celebration Card */
.hiw-launch-celebration-card {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 10px;
    padding: 1.15rem;
    text-align: center;
}

.launch-party-icon {
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
}

.hiw-launch-celebration-card h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: #252525;
    margin-bottom: 0.3rem;
}

.hiw-launch-celebration-card p {
    font-size: 0.78rem;
    color: #77716D;
    line-height: 1.45;
    margin: 0;
}


/* 4. FINAL RESULT SECTION */
.hiw-final-result-section {
    padding: 6rem 0;
    background-color: #F6F2EF;
    border-top: 1px solid #DDD8D3;
    text-align: center;
}

.hiw-result-showcase-box {
    max-width: 960px;
    margin: 0 auto;
}

.hiw-result-heading {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 500;
    color: #252525;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.hiw-result-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #77716D;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.hiw-result-diagram-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.result-node {
    flex: 1;
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 12px;
    padding: 1.85rem 1.25rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.02);
}

.result-node.highlight-node {
    background-color: #EFEAE7;
    border-color: #B69A78;
    box-shadow: 0 10px 30px rgba(64, 58, 50, 0.06);
}

.node-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4E522C;
    display: block;
    margin-bottom: 0.5rem;
}

.result-node h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #252525;
    margin-bottom: 0.35rem;
}

.result-node p {
    font-size: 0.82rem;
    color: #77716D;
}

.result-divider-arrow {
    font-size: 1.35rem;
    color: #B69A78;
    flex-shrink: 0;
}

.hiw-result-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* 5. FAQ SECTION */
.hiw-faq-section {
    padding: 5.5rem 0;
    background-color: #F5F3F4;
    border-top: 1px solid #DDD8D3;
}

.hiw-faq-header-center {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

.hiw-faq-lead {
    font-size: 1.05rem;
    color: #77716D;
    margin-top: 0.5rem;
}

.hiw-faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hiw-faq-item {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.hiw-faq-item[open] {
    border-color: #B69A78;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.faq-question {
    padding: 1.25rem 1.65rem;
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 500;
    color: #252525;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-toggle-icon {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    color: #B69A78;
    font-weight: 400;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 1.65rem 1.35rem;
    color: #77716D;
    font-size: 0.94rem;
    line-height: 1.7;
}

/* 6. FINAL CTA SECTION */
.hiw-cta-section {
    padding: 5rem 0 6rem;
    background-color: #F5F3F4;
}

.hiw-cta-card {
    max-width: 960px;
    margin: 0 auto;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    border-radius: 20px;
    padding: 4.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 15px 40px -10px rgba(64, 58, 50, 0.06);
}

.hiw-cta-heading {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 500;
    color: #252525;
    margin: 0.85rem auto 1.25rem;
    max-width: 680px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.hiw-cta-subtext {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #77716D;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hiw-cta-button-row {
    margin-bottom: 2rem;
}

.hiw-cta-badges {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #77716D;
    letter-spacing: 0.04em;
}

.hiw-cta-badges .dot {
    color: #B69A78;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .hiw-sticky-viewport {
        height: calc(100vh - 80px);
        top: 70px;
    }

    .hiw-sticky-grid {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        height: 100%;
        justify-content: center;
    }

    .hiw-process-nav {
        width: 100%;
        max-height: none;
        flex-shrink: 0;
    }

    .hiw-nav-sticky-box {
        padding: 0.65rem 1rem;
        border-radius: 10px;
        max-height: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }

    .hiw-nav-header-row {
        width: 100%;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-title {
        display: none;
    }

    .nav-active-name-mobile {
        display: inline-block;
        font-size: 0.88rem;
        font-weight: 700;
        color: #403A32;
        letter-spacing: 0.02em;
    }

    .hiw-nav-list {
        display: none;
    }

    .hiw-stage-column {
        width: 100%;
        flex: 1;
        min-height: 0;
        max-height: none;
        justify-content: stretch;
    }

    .hiw-single-stage-window {
        height: 100%;
        max-height: calc(100vh - 200px);
        min-height: 480px;
        border-radius: 14px;
    }

    .hiw-stage-panel {
        padding: 1.5rem 1.25rem;
    }

    .hiw-step-grid,
    .hiw-step-grid.hiw-grid-reversed {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hiw-step-heading {
        font-size: 1.65rem;
        margin-bottom: 0.75rem;
    }

    .hiw-step-desc {
        font-size: 0.95rem;
        margin-bottom: 0.85rem;
    }


    .hiw-foundation-pipeline {
        flex-direction: column;
    }

    .pipeline-connector {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }

    .diagram-destinations-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dest-sync-indicator {
        text-align: center;
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }

    .hiw-result-diagram-row {
        flex-direction: column;
    }

    .result-divider-arrow {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .hiw-hero-title {
        font-size: 2.35rem;
    }

    .hiw-section-heading {
        font-size: 1.95rem;
    }

    .hiw-workflow-heading {
        font-size: 2.1rem;
    }

    .hiw-step-heading {
        font-size: 1.55rem;
    }

    .hiw-single-stage-window {
        min-height: 440px;
    }

    .hiw-result-heading,
    .hiw-cta-heading {
        font-size: 2rem;
    }

    .hiw-hero-actions,
    .hiw-result-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hiw-primary,
    .btn-hiw-secondary,
    .btn-hiw-outline {
        width: 100%;
    }

    .hiw-features-editorial-grid {
        grid-template-columns: 1fr;
    }

    .decoupled-box {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .decoupled-vs-divider {
        padding: 0.5rem 0;
    }

    .qa-stages-row {
        flex-direction: column;
    }

    .qa-arrow {
        transform: rotate(90deg);
    }

    .hiw-cta-card {
        padding: 3rem 1.5rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hiw-page-wrapper *,
    .hiw-page-wrapper *::before,
    .hiw-page-wrapper *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===================================================
   AppifyHub - Premium Visual Theme Marketplace & Live Demo
   Matching Palette: #F5F3F4, #F6F2EF, #EFEAE7, #DDD8D3,
   #252525, #77716D, #9A9490, #4E522C, #B69A78, #403A32
   =================================================== */

.themes-marketplace-wrapper {
    background-color: #F5F3F4;
    color: #252525;
    min-height: 100vh;
    font-family: var(--font-sans);
}

.themes-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 1. HERO SECTION */
.themes-hero-section {
    padding: 3.5rem 0 2rem;
    text-align: center;
}

.themes-hero-content {
    max-width: 720px;
    margin: 0 auto 2rem;
}

.themes-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4E522C;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.themes-hero-title {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 500;
    color: #252525;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.themes-hero-title em {
    font-style: italic;
    font-weight: 400;
    color: #4E522C;
}

.themes-hero-subheading {
    font-size: 1.1rem;
    line-height: 1.55;
    color: #403A32;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.themes-hero-lead {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #77716D;
    max-width: 600px;
    margin: 0 auto;
}

/* Filters & Search Toolbar */
.themes-filter-search-toolbar {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(44, 38, 33, 0.03);
}

.themes-category-filters {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.filter-pill {
    background-color: #F6F2EF;
    border: 1px solid #DDD8D3;
    color: #57514B;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.38rem 0.95rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.filter-pill:hover {
    background-color: #EFEAE7;
    color: #252525;
    border-color: #B69A78;
}

.filter-pill.is-active {
    background-color: #403A32;
    color: #FFFFFF;
    border-color: #403A32;
}

.themes-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #F6F2EF;
    border: 1px solid #DDD8D3;
    border-radius: 9999px;
    padding: 0.4rem 1rem;
    min-width: 250px;
}

.search-icon {
    color: #9A9490;
    flex-shrink: 0;
}

.theme-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.84rem;
    color: #252525;
    width: 100%;
    font-family: var(--font-sans);
}

.theme-search-input::placeholder {
    color: #9A9490;
}

/* 2. THEMES GRID */
.themes-grid-section {
    padding: 1.75rem 0 4rem;
}

.themes-marketplace-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.theme-card-block {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px -5px rgba(44, 38, 33, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.theme-card-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -8px rgba(44, 38, 33, 0.12);
    border-color: #B69A78;
}

.theme-card-block.is-featured-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
}

.theme-card-block.is-selected {
    border: 2px solid #4E522C;
    box-shadow: 0 12px 32px -6px rgba(78, 82, 44, 0.18);
}

.theme-card-block.is-selected::after {
    content: "✓ Active Theme";
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #4E522C;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    z-index: 10;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* MARKETPLACE TOAST NOTIFICATION */
.theme-market-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #252525;
    color: #FFFFFF;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.theme-market-toast.is-show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.market-toast-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #10B981;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.theme-card-media-wrap {
    position: relative;
    overflow: hidden;
    background-color: #EFEAE7;
    aspect-ratio: 16 / 10;
    max-height: 280px;
}

.theme-card-block.is-featured-wide .theme-card-media-wrap {
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
}

.theme-preview-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.theme-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.theme-card-block:hover .theme-preview-img {
    transform: scale(1.03);
}

.theme-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 37, 37, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-card-block:hover .theme-preview-overlay {
    opacity: 1;
}

.overlay-badge {
    background-color: #FFFFFF;
    color: #252525;
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.theme-floating-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: #403A32;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.theme-selected-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: #4E522C;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    pointer-events: none;
}

.theme-card-body {
    padding: 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.theme-card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.theme-category-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #B69A78;
    text-transform: uppercase;
}

.theme-price-tag {
    font-size: 1.05rem;
    font-weight: 700;
    color: #252525;
}

.theme-card-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 500;
    color: #252525;
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.theme-card-title a {
    color: inherit;
    text-decoration: none;
}

.theme-card-title a:hover {
    color: #4E522C;
}

.theme-card-desc {
    font-size: 0.86rem;
    line-height: 1.5;
    color: #77716D;
    margin-bottom: 0.95rem;
}

.theme-features-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.feature-chip {
    font-size: 0.74rem;
    background-color: #F6F2EF;
    color: #57514B;
    padding: 0.22rem 0.55rem;
    border-radius: 4px;
    border: 1px solid #DDD8D3;
}

.theme-card-actions-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: auto;
}

.btn-theme-demo {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    color: #252525;
    padding: 0.65rem 0.9rem;
    border-radius: 7px;
    font-size: 0.84rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-theme-demo:hover {
    background-color: #DDD8D3;
    color: #252525;
}

.theme-select-form {
    flex: 1;
}

.btn-theme-select {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #403A32;
    border: 1px solid #403A32;
    color: #FFFFFF;
    padding: 0.65rem 0.9rem;
    border-radius: 7px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.btn-theme-select:hover {
    background-color: #252525;
    border-color: #252525;
}

.btn-theme-select.is-active-btn {
    background-color: #4E522C;
    border-color: #4E522C;
}

/* Empty Search State */
.themes-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 16px;
    max-width: 540px;
    margin: 2rem auto;
}

.empty-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.btn-theme-reset {
    margin-top: 1.25rem;
    background-color: #403A32;
    color: #FFFFFF;
    border: none;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

/* 3. THEME COMPARISON TABLE */
.themes-comparison-section {
    padding: 4rem 0;
    background-color: #F6F2EF;
    border-top: 1px solid #DDD8D3;
}

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

.comparison-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4E522C;
    margin-bottom: 0.75rem;
}

.comparison-heading {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 500;
    color: #252525;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.comparison-sub {
    font-size: 1rem;
    color: #77716D;
}

.comparison-table-card {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(44, 38, 33, 0.03);
}

.table-responsive-wrapper {
    overflow-x: auto;
}

.themes-compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.themes-compare-table th {
    background-color: #EFEAE7;
    padding: 1.15rem 1.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #403A32;
    border-bottom: 1px solid #DDD8D3;
}

.themes-compare-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #F6F2EF;
    font-size: 0.92rem;
    color: #57514B;
    vertical-align: middle;
}

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

.theme-name-cell strong {
    display: block;
    color: #252525;
    font-size: 1rem;
    font-family: var(--font-serif);
}

.theme-cat-sub {
    font-size: 0.75rem;
    color: #9A9490;
}

.price-cell strong {
    color: #252525;
    font-size: 1rem;
}

.table-actions-wrap {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-tbl-demo {
    padding: 0.4rem 0.85rem;
    background-color: #F6F2EF;
    border: 1px solid #DDD8D3;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #252525;
    text-decoration: none;
}

.btn-tbl-demo:hover {
    background-color: #EFEAE7;
}

.btn-tbl-select {
    padding: 0.4rem 0.85rem;
    background-color: #403A32;
    border: 1px solid #403A32;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
}

.btn-tbl-select:hover {
    background-color: #252525;
}

/* 4. FINAL CTA */
.themes-final-cta-section {
    padding: 3.75rem 0 4.5rem;
    background-color: #F5F3F4;
}

.themes-cta-card {
    max-width: 860px;
    margin: 0 auto;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 15px 40px -10px rgba(64, 58, 50, 0.06);
}

.themes-cta-title {
    font-family: var(--font-serif);
    font-size: 2.35rem;
    font-weight: 500;
    color: #252525;
    margin: 0.75rem auto 1rem;
    max-width: 680px;
}

.themes-cta-lead {
    font-size: 1rem;
    line-height: 1.65;
    color: #77716D;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.themes-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.themes-cta-guarantee {
    font-size: 0.85rem;
    font-weight: 600;
    color: #77716D;
}

/* ===================================================
   ONE-TIME COMPLETE THEME VISUAL SHOWCASE
   Static high-fidelity mockup with complete app poster composition
   =================================================== */

.theme-showcase-page {
    background-color: #F5F3F4;
    min-height: calc(100vh - 75px);
    display: flex;
    justify-content: center;
    padding: 1.5rem 2rem 2.5rem;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

.theme-showcase-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 3.5rem;
    align-items: start;
    position: relative;
}

/* LEFT: THEME SPECIFICATION & ACTION PANEL */
.theme-info-panel {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 16px;
    padding: 2rem 2.25rem;
    box-shadow: 0 10px 30px -5px rgba(44, 38, 33, 0.05);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #DDD8D3 transparent;
    position: relative;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

.theme-info-panel::-webkit-scrollbar {
    width: 6px;
}

.theme-info-panel::-webkit-scrollbar-track {
    background: transparent;
}

.theme-info-panel::-webkit-scrollbar-thumb {
    background: #DDD8D3;
    border-radius: 9999px;
}

.theme-info-panel::-webkit-scrollbar-thumb:hover {
    background: #B69A78;
}

.btn-back-themes {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #77716D;
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: color 0.2s ease;
}

.btn-back-themes:hover {
    color: #252525;
}

.theme-header-block {
    margin-bottom: 1.25rem;
}

.theme-category-pill {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4E522C;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.65rem;
}

.theme-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: #252525;
    line-height: 1.2;
    margin: 0 0 0.65rem;
    letter-spacing: -0.01em;
}

.theme-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #77716D;
    margin: 0;
}

.theme-capabilities-block {
    border-top: 1px solid #EFEAE7;
    border-bottom: 1px solid #EFEAE7;
    padding: 1.25rem 0;
    margin-bottom: 1.25rem;
}

.capabilities-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #403A32;
    margin: 0 0 0.75rem;
}

.capabilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.capabilities-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.86rem;
    color: #403A32;
    line-height: 1.4;
}

.cap-check {
    color: #4E522C;
    font-weight: 700;
    font-size: 0.95rem;
}

.theme-action-box {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.theme-price-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-label {
    font-size: 0.88rem;
    color: #77716D;
}

.price-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #252525;
}

.btn-select-theme-primary {
    width: 100%;
    background-color: #403A32;
    color: #FFFFFF;
    border: none;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-select-theme-primary:hover {
    background-color: #252525;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.theme-switch-inline {
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.switch-inline-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9A9490;
}

.switch-inline-select {
    width: 100%;
    background-color: #F8F6F4;
    border: 1px solid #DDD8D3;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-size: 0.82rem;
    color: #403A32;
    cursor: pointer;
    outline: none;
    font-family: var(--font-sans);
}

/* RIGHT: COMPLETE PHONE PREVIEW STAGE (STICKY IN VIEWPORT) */
.theme-preview-stage {
    position: sticky;
    top: 85px;
    height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    align-self: flex-start;
    box-sizing: border-box;
}

.preview-stage-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.preview-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4E522C;
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10B981;
    display: inline-block;
    animation: liveDotPulse 1.8s infinite;
}

@keyframes liveDotPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.preview-aspect-hint {
    font-size: 0.75rem;
    color: #9A9490;
    font-weight: 500;
}

/* SMARTPHONE CHASSIS - SCALED TO FIT VIEWPORT */
.showcase-smartphone-frame {
    height: min(650px, calc(100vh - 120px));
    aspect-ratio: 9 / 18.5;
    width: auto;
    max-width: 320px;
    background-color: #1C1917;
    border: 4px solid #3F3935;
    border-radius: 44px;
    padding: 8px;
    box-shadow: 0 25px 60px -12px rgba(37, 33, 29, 0.35);
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.phone-speaker-bar {
    width: 48px;
    height: 3.5px;
    background-color: #292524;
    border-radius: 9999px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
}

.phone-island-pill {
    width: 80px;
    height: 18px;
    background-color: #000000;
    border-radius: 9999px;
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 7px;
}

.island-camera {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #172554;
    box-shadow: inset 0 0 2px #3B82F6;
}

/* SCREEN CANVAS - STRICTLY OVERFLOW HIDDEN (STATIC VISUAL POSTER, NO OVERLAPPING) */
.showcase-screen-canvas {
    width: 100%;
    height: 100%;
    background-color: var(--app-bg, #FFFFFF);
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    user-select: none;
    box-sizing: border-box;
}

/* 1. Status Bar */
.app-mock-status-bar {
    height: 28px;
    padding: 6px 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--app-text, #111827);
    z-index: 40;
    flex-shrink: 0;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.58rem;
}

/* 2. App Mock Header */
.app-mock-header {
    padding: 0.2rem 0.75rem 0.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--app-bg, #FFFFFF);
    border-bottom: 1px solid var(--app-border, #E5E7EB);
    flex-shrink: 0;
}

.mock-brand-name {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--app-primary, #252525);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.mock-brand-sub {
    display: block;
    font-size: 0.52rem;
    color: var(--app-muted, #78716C);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app-mock-header-icons {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.mock-icon-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--app-card, #FFFFFF);
    border: 1px solid var(--app-border, #E5E7EB);
    color: var(--app-text, #111827);
}

.mock-cart-wrap {
    position: relative;
}

.mock-cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: var(--app-accent, #B69A78);
    color: #FFFFFF;
    font-size: 0.48rem;
    font-weight: 700;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3. Hero Showcase Banner */
.app-mock-hero-banner {
    margin: 0.3rem 0.65rem 0.25rem;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--app-card, #FFFFFF) 0%, var(--app-border, #F0ECE7) 100%);
    border: 1px solid var(--app-border, #E5E7EB);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.mock-hero-badge {
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--app-accent, #B69A78);
    margin-bottom: 1px;
    line-height: 1;
}

.mock-hero-title {
    font-family: var(--font-serif);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--app-primary, #252525);
    margin: 0 0 1px;
    line-height: 1.15;
}

.mock-hero-subtitle {
    font-size: 0.55rem;
    color: var(--app-muted, #78716C);
    margin: 0 0 0.35rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mock-hero-btn {
    align-self: flex-start;
    background-color: var(--app-primary, #252525);
    color: #FFFFFF;
    font-size: 0.52rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    line-height: 1;
}

/* 4. Categories Row */
.app-mock-categories {
    padding: 0.15rem 0.65rem;
    flex-shrink: 0;
}

.mock-section-label {
    display: block;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--app-text, #252525);
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.mock-category-chips {
    display: flex;
    gap: 0.25rem;
    overflow: hidden;
}

.mock-cat-chip {
    font-size: 0.52rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    background-color: var(--app-card, #FFFFFF);
    border: 1px solid var(--app-border, #E5E7EB);
    color: var(--app-muted, #78716C);
    white-space: nowrap;
    flex-shrink: 0;
}

.mock-cat-chip.is-active {
    background-color: var(--app-primary, #252525);
    border-color: var(--app-primary, #252525);
    color: #FFFFFF;
}

/* 5. Featured Products Grid (2 compact cards) */
.app-mock-products-section {
    padding: 0.2rem 0.65rem;
    flex-shrink: 0;
}

.mock-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.2rem;
}

.mock-see-all {
    font-size: 0.52rem;
    color: var(--app-accent, #B69A78);
    font-weight: 600;
}

.mock-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
}

.mock-product-card {
    background-color: var(--app-card, #FFFFFF);
    border: 1px solid var(--app-border, #E5E7EB);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mock-card-media {
    height: 40px;
    background: linear-gradient(135deg, rgba(239, 234, 231, 0.4) 0%, rgba(221, 216, 211, 0.4) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-item-badge {
    position: absolute;
    top: 2px;
    left: 3px;
    font-size: 0.44rem;
    font-weight: 700;
    background-color: var(--app-accent, #B69A78);
    color: #FFFFFF;
    padding: 1px 3px;
    border-radius: 2px;
    text-transform: uppercase;
}

.artwork-emoji {
    font-size: 1.15rem;
}

.mock-card-info {
    padding: 0.2rem 0.35rem;
    display: flex;
    flex-direction: column;
}

.mock-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.46rem;
    color: var(--app-muted, #78716C);
    margin-bottom: 1px;
}

.mock-rating {
    color: #F59E0B;
    font-weight: 700;
}

.mock-item-name {
    font-size: 0.56rem;
    font-weight: 600;
    color: var(--app-text, #252525);
    margin: 0 0 0.15rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-prices {
    display: flex;
    gap: 2px;
    align-items: baseline;
}

.mock-curr-price {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--app-primary, #252525);
}

.mock-old-price {
    font-size: 0.46rem;
    color: #9A9490;
    text-decoration: line-through;
}

.mock-add-btn {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--app-primary, #252525);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 6. Offer / Promotion Strip */
.app-mock-offer-strip {
    margin: 0.2rem 0.65rem;
    background-color: rgba(182, 154, 120, 0.12);
    border: 1px dashed var(--app-accent, #B69A78);
    border-radius: 5px;
    padding: 0.2rem 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.5rem;
    color: var(--app-primary, #252525);
    font-weight: 600;
    flex-shrink: 0;
}

.offer-icon {
    font-size: 0.6rem;
    color: var(--app-accent, #B69A78);
}

/* 7. Bottom Navigation Bar */
.app-mock-bottom-nav {
    height: 38px;
    margin-top: auto;
    background-color: var(--app-card, #FFFFFF);
    border-top: 1px solid var(--app-border, #E5E7EB);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-shrink: 0;
    padding-bottom: 2px;
}

.mock-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    color: var(--app-muted, #78716C);
    font-size: 0.46rem;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    padding: 2px 4px;
    border-radius: 4px;
}

.mock-nav-tab:hover {
    color: var(--app-primary, #252525);
    transform: translateY(-1px);
}

.mock-nav-tab.is-active {
    color: var(--app-primary, #252525);
    font-weight: 700;
}

.mock-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.mock-nav-tab:active .mock-tab-icon {
    transform: scale(0.85);
}

/* INTERACTIVE CURSORS & MICRO-INTERACTIONS */
.mock-cat-chip,
.mock-add-btn,
.mock-icon-btn,
.mock-hero-btn,
.mock-product-card,
.app-mock-hero-banner,
.app-mock-offer-strip {
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}

.mock-cat-chip:hover {
    border-color: var(--app-primary, #252525);
    color: var(--app-primary, #252525);
    transform: translateY(-1px);
}

.mock-add-btn:hover {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.mock-add-btn:active {
    transform: scale(0.88);
}

.mock-icon-btn:hover {
    background-color: var(--app-border, #E5E7EB);
    transform: scale(1.05);
}

.mock-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--app-accent, #B69A78);
}

/* INTERACTIVE PHONE VIEWS CONTAINER */
.app-mock-body-views {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.app-mock-view {
    display: none;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
}

.app-mock-view::-webkit-scrollbar {
    display: none;
}

.app-mock-view.is-active {
    display: flex;
    animation: mockViewFadeIn 0.22s ease-out;
}

@keyframes mockViewFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SEARCH BAR SLIDEOUT */
.app-mock-search-bar {
    padding: 0.35rem 0.65rem;
    background-color: var(--app-card, #FFFFFF);
    border-bottom: 1px solid var(--app-border, #E5E7EB);
    display: none;
    align-items: center;
    gap: 0.4rem;
    animation: searchSlideDown 0.2s ease-out;
}

.app-mock-search-bar.is-open {
    display: flex;
}

@keyframes searchSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.app-mock-search-input {
    flex: 1;
    border: 1px solid var(--app-border, #E5E7EB);
    background-color: var(--app-bg, #FBF9F7);
    color: var(--app-text, #1C1917);
    border-radius: 9999px;
    padding: 0.25rem 0.55rem;
    font-size: 0.54rem;
    outline: none;
}

.app-mock-search-close {
    cursor: pointer;
    font-size: 0.65rem;
    color: var(--app-muted, #78716C);
    padding: 0.1rem 0.25rem;
}

/* DYNAMIC ISLAND NOTIFICATION TOAST */
.app-mock-toast {
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background-color: #1C1917;
    color: #FFFFFF;
    border-radius: 9999px;
    padding: 0.28rem 0.65rem;
    font-size: 0.52rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 80;
    pointer-events: none;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.app-mock-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.app-mock-toast-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10B981;
}

/* NATIVE BOTTOM SHEET / MODAL */
.app-mock-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 70;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.app-mock-sheet-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.app-mock-sheet {
    background-color: var(--app-card, #FFFFFF);
    border-radius: 18px 18px 0 0;
    padding: 0.75rem 0.85rem 0.95rem;
    transform: translateY(100%);
    transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
}

.app-mock-sheet-backdrop.is-open .app-mock-sheet {
    transform: translateY(0);
}

.sheet-drag-handle {
    width: 28px;
    height: 3px;
    background-color: var(--app-border, #DDD8D3);
    border-radius: 9999px;
    margin: 0 auto 0.25rem;
}

.sheet-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sheet-title {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--app-text, #1C1917);
    margin: 0;
    line-height: 1.2;
}

.sheet-close-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 0.85rem;
    color: var(--app-muted, #78716C);
    padding: 0;
    line-height: 1;
}

.sheet-artwork {
    font-size: 1.8rem;
    text-align: center;
    padding: 0.4rem 0;
    background: linear-gradient(135deg, rgba(239, 234, 231, 0.4) 0%, rgba(221, 216, 211, 0.4) 100%);
    border-radius: 8px;
}

.sheet-desc {
    font-size: 0.54rem;
    color: var(--app-muted, #78716C);
    line-height: 1.35;
    margin: 0;
}

.sheet-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.2rem;
}

.sheet-btn-add {
    background-color: var(--app-primary, #252525);
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.58rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.sheet-btn-add:active {
    transform: scale(0.94);
}

/* CART VIEW SPECIFIC STYLES */
.app-cart-view {
    padding: 0.4rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.app-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--app-border, #E5E7EB);
}

.app-cart-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--app-text, #1C1917);
    margin: 0;
}

.app-cart-item {
    background-color: var(--app-card, #FFFFFF);
    border: 1px solid var(--app-border, #E5E7EB);
    border-radius: 8px;
    padding: 0.35rem 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.app-cart-item-art {
    font-size: 1.1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--app-bg, #FBF9F7);
    border-radius: 6px;
    flex-shrink: 0;
}

.app-cart-item-details {
    flex: 1;
    min-width: 0;
}

.app-cart-item-name {
    font-size: 0.54rem;
    font-weight: 600;
    color: var(--app-text, #1C1917);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 1px;
}

.app-cart-item-price {
    font-size: 0.52rem;
    font-weight: 700;
    color: var(--app-primary, #252525);
    margin: 0;
}

.app-cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 3px;
    background: var(--app-bg, #FBF9F7);
    border: 1px solid var(--app-border, #E5E7EB);
    border-radius: 9999px;
    padding: 1px 4px;
}

.cart-qty-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.56rem;
    font-weight: 700;
    color: var(--app-text, #1C1917);
    padding: 0 2px;
    line-height: 1;
}

.cart-qty-val {
    font-size: 0.52rem;
    font-weight: 700;
    min-width: 8px;
    text-align: center;
}

.app-cart-summary {
    margin-top: auto;
    padding-top: 0.4rem;
    border-top: 1px dashed var(--app-border, #E5E7EB);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.52rem;
    color: var(--app-muted, #78716C);
}

.cart-sum-row.total {
    font-weight: 700;
    color: var(--app-text, #1C1917);
    font-size: 0.62rem;
}

.btn-mock-checkout {
    background-color: var(--app-primary, #252525);
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    padding: 0.38rem;
    font-size: 0.58rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: transform 0.15s ease, filter 0.15s ease;
    margin-top: 0.2rem;
}

.btn-mock-checkout:hover {
    filter: brightness(1.1);
}

.btn-mock-checkout:active {
    transform: scale(0.96);
}

/* PROFILE / ACCOUNT VIEW */
.app-profile-view {
    padding: 0.5rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.profile-card {
    background-color: var(--app-card, #FFFFFF);
    border: 1px solid var(--app-border, #E5E7EB);
    border-radius: 10px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--app-primary, #252525) 0%, var(--app-accent, #B69A78) 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-info h5 {
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--app-text, #1C1917);
    margin: 0 0 1px;
}

.profile-info span {
    font-size: 0.48rem;
    color: var(--app-muted, #78716C);
}

.profile-options-list {
    background-color: var(--app-card, #FFFFFF);
    border: 1px solid var(--app-border, #E5E7EB);
    border-radius: 10px;
    overflow: hidden;
}

.profile-opt-row {
    padding: 0.35rem 0.55rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--app-border, #E5E7EB);
    font-size: 0.52rem;
    color: var(--app-text, #1C1917);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

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

.profile-opt-row:hover {
    background-color: var(--app-bg, #FBF9F7);
}

.profile-switch {
    width: 24px;
    height: 13px;
    background-color: #D1D5DB;
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.profile-switch.is-on {
    background-color: #10B981;
}

.profile-switch-handle {
    width: 9px;
    height: 9px;
    background-color: #FFFFFF;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
}

.profile-switch.is-on .profile-switch-handle {
    transform: translateX(11px);
}

/* LIVE DARK MODE THEME PREVIEW ON SCREEN CANVAS */
.showcase-screen-canvas.is-dark-theme {
    --app-bg: #121212 !important;
    --app-card: #1E1E1E !important;
    --app-text: #F3F4F6 !important;
    --app-muted: #9CA3AF !important;
    --app-border: #2E2E2E !important;
    --app-primary: #FFFFFF !important;
}

.showcase-screen-canvas.is-dark-theme .app-mock-status-bar {
    color: #F3F4F6;
}

.showcase-screen-canvas.is-dark-theme .status-signal {
    color: #F3F4F6;
}

.showcase-screen-canvas.is-dark-theme .mock-hero-btn {
    background-color: #FFFFFF;
    color: #121212;
}

.showcase-screen-canvas.is-dark-theme .btn-mock-checkout {
    background-color: #FFFFFF;
    color: #121212;
}

/* QUICK THEME SWITCHER GRID ON LEFT PANEL */
.theme-switch-grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.theme-switch-card-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.55rem;
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 8px;
    text-decoration: none;
    color: #403A32;
    transition: all 0.2s ease;
    cursor: pointer;
}

.theme-switch-card-item:hover {
    border-color: #B69A78;
    background-color: #FBF9F7;
    transform: translateY(-1px);
}

.theme-switch-card-item.is-current {
    border-color: #4E522C;
    background-color: #EFEAE7;
    font-weight: 700;
    box-shadow: inset 2px 0 0 #4E522C;
}

.switch-card-emoji {
    font-size: 0.95rem;
    line-height: 1;
}

.switch-card-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.switch-card-name {
    font-size: 0.72rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.switch-card-cat {
    font-size: 0.55rem;
    color: #77716D;
}


/* RESPONSIVE LAYOUT FOR DEMO */
@media (max-width: 900px) {
    .theme-showcase-page {
        padding: 1rem 1rem 2rem;
        min-height: auto;
    }

    .theme-showcase-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: stretch;
    }

    .theme-info-panel {
        order: 2;
        max-height: none;
        overflow-y: visible;
        padding: 1.5rem;
    }

    .theme-preview-stage {
        order: 1;
        position: relative;
        top: auto;
        height: auto;
        align-self: auto;
    }

    .showcase-smartphone-frame {
        height: 560px;
        width: calc(560px * (9 / 18.5));
    }
}


/* Details Page Styles */
.theme-details-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.details-top-breadcrumb {
    margin-bottom: 2rem;
}

.details-top-breadcrumb a {
    color: #77716D;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.details-top-breadcrumb a:hover {
    color: #252525;
}

.details-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.details-media-frame {
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.08);
    position: relative;
}

.details-preview-img {
    width: 100%;
    height: auto;
    display: block;
}

.preview-overlay-btn-wrap {
    padding: 1.25rem;
    background-color: #FFFFFF;
    border-top: 1px solid #DDD8D3;
    text-align: center;
}

.btn-overlay-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #403A32;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-overlay-demo:hover {
    background-color: #252525;
}

.details-header-strip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.details-cat-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #4E522C;
    background-color: #EFEAE7;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.details-badge-pill {
    font-size: 0.72rem;
    font-weight: 700;
    color: #B69A78;
    background-color: #FAF5EF;
    border: 1px solid #EEDBC5;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}

.details-theme-title {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    color: #252525;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.details-theme-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #77716D;
    margin-bottom: 2rem;
}

.details-price-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    margin-bottom: 2.25rem;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #77716D;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-number {
    font-size: 1.65rem;
    color: #252525;
}

.price-guarantee {
    font-size: 0.8rem;
    color: #77716D;
    max-width: 200px;
    text-align: right;
    line-height: 1.4;
}

.details-features-block {
    margin-bottom: 2.5rem;
}

.details-features-block h3 {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #403A32;
    margin-bottom: 1rem;
}

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

.detail-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #403A32;
}

.feature-tick {
    color: #4E522C;
    font-weight: bold;
}

.details-cta-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-details-demo {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    color: #252525;
    padding: 0.95rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-details-demo:hover {
    background-color: #DDD8D3;
}

.details-select-form {
    flex: 1.2;
}

.btn-details-select {
    width: 100%;
    background-color: #403A32;
    border: 1px solid #403A32;
    color: #FFFFFF;
    padding: 0.95rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: var(--font-sans);
}

.btn-details-select:hover {
    background-color: #252525;
}

.details-trust-note {
    font-size: 0.8rem;
    color: #9A9490;
    line-height: 1.5;
}

/* Responsive Queries for Themes */
@media (max-width: 1024px) {
    .themes-marketplace-grid {
        grid-template-columns: 1fr;
    }

    .theme-card-block.is-featured-wide {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .demo-stage-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .demo-specs-sidebar {
        width: 100%;
        max-width: 390px;
    }

    .details-main-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .themes-hero-title {
        font-size: 2.25rem;
    }

    .themes-filter-search-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .themes-search-input-wrap {
        min-width: auto;
    }

    .themes-category-filters {
        overflow-x: auto;
        padding-bottom: 0.25rem;
        flex-wrap: nowrap;
    }

    .filter-pill {
        white-space: nowrap;
    }

    .theme-card-body {
        padding: 1.5rem;
    }

    .theme-card-actions-row {
        flex-direction: column;
    }

    .btn-theme-demo,
    .theme-select-form {
        width: 100%;
    }

    .demo-toolbar-left,
    .demo-toolbar-center,
    .demo-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .smartphone-chassis {
        width: 100%;
        max-width: 360px;
        height: 720px;
        padding: 8px;
        border-radius: 36px;
    }

    .phone-screen-glass {
        border-radius: 28px;
    }

    .details-features-grid {
        grid-template-columns: 1fr;
    }

    .details-cta-actions {
        flex-direction: column;
    }
}

/* Theme Lightbox Preview Modal */
.theme-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 37, 37, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.theme-lightbox-dialog {
    background-color: #FAF7F2;
    border: 1px solid #DDD8D3;
    border-radius: 16px;
    max-width: 860px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: lightboxPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxPopIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lightbox-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: #EFEAE7;
    border: 1px solid #DDD8D3;
    color: #403A32;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-close-btn:hover {
    background: #252525;
    color: #FAF7F2;
    border-color: #252525;
}

.theme-lightbox-body {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2rem;
    padding: 2.25rem;
}

.theme-lightbox-media {
    background: #EFEAE7;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #DDD8D3;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.theme-lightbox-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lightbox-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.lightbox-cat-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4E522C;
    background: #EBF0E6;
    padding: 3px 8px;
    border-radius: 4px;
}

.lightbox-badge-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: #FFFFFF;
    background: #4E522C;
    padding: 3px 8px;
    border-radius: 4px;
}

.lightbox-title {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: #252525;
    margin: 0 0 0.5rem 0;
}

.lightbox-desc {
    font-size: 0.95rem;
    color: #77716D;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

.lightbox-price-box {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #EFEAE7;
    border-radius: 8px;
    border: 1px solid #DDD8D3;
    margin-bottom: 1.25rem;
}

.lightbox-price-label {
    font-size: 0.8rem;
    color: #9A9490;
    text-transform: uppercase;
    font-weight: 600;
}

.lightbox-price-val {
    font-size: 1.4rem;
    color: #252525;
    font-weight: 700;
}

.lightbox-features-wrap {
    margin-bottom: 1.5rem;
}

.lightbox-features-wrap h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #403A32;
    margin: 0 0 0.5rem 0;
}

.lightbox-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.lightbox-features-list li {
    font-size: 0.85rem;
    color: #403A32;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lightbox-features-list li::before {
    content: "✓";
    color: #4E522C;
    font-weight: bold;
}

.lightbox-actions-row {
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .theme-lightbox-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    .lightbox-features-list {
        grid-template-columns: 1fr;
    }
    .lightbox-actions-row {
        flex-direction: column;
    }
}

/* Global Flash Alerts */
.global-alert {
    padding: 0.85rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 100;
    animation: alertSlideDown 0.3s ease;
}

@keyframes alertSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.alert-success {
    background-color: #EBF3E8;
    color: #2D5A27;
    border-color: #C8DEC1;
}

.alert-error {
    background-color: #FDF2F2;
    color: #9B1C1C;
    border-color: #F8B4B4;
}

.alert-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===================================================
   DEDICATED PRICING PAGE STYLES (/pricing)
   AppifyHub Editorial & Interactive Experience
   =================================================== */

.pricing-page-wrapper {
    background-color: #F5F3F4;
    min-height: 100vh;
    font-family: var(--font-sans);
    color: #252525;
}

.pricing-page-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 1. HERO SECTION */
.pricing-hero-section {
    padding: 4.5rem 0 2.5rem;
    text-align: center;
}

.pricing-hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.pricing-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4E522C;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    padding: 0.4rem 1.15rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.pricing-hero-title {
    font-family: var(--font-serif);
    font-size: 3.15rem;
    line-height: 1.15;
    font-weight: 500;
    color: #252525;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.pricing-hero-title em {
    font-style: italic;
    font-weight: 400;
    color: #4E522C;
}

.pricing-hero-subheading {
    font-size: 1.12rem;
    line-height: 1.65;
    color: #57514B;
    max-width: 680px;
    margin: 0 auto 2rem;
}



/* Billing Switcher */
.pricing-billing-switch-wrap {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #FFFFFF;
    border: 1px solid #DDD8D3;
    padding: 0.45rem 1.35rem;
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.billing-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #77716D;
    transition: color 0.2s ease;
}

.billing-label.is-active {
    color: #252525;
    font-weight: 700;
}

.billing-save-tag {
    background-color: #4E522C;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    margin-left: 0.25rem;
}

.pricing-billing-toggle {
    width: 46px;
    height: 25px;
    background: #D8D1C7;
    border-radius: 9999px;
    border: none;
    position: relative;
    cursor: pointer;
    transition: background 0.25s ease;
    padding: 0;
}

.pricing-billing-toggle.active {
    background: #4E522C;
}

.billing-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 19px;
    height: 19px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pricing-billing-toggle.active .billing-toggle-thumb {
    transform: translateX(21px);
}

/* 2. CORE PLANS GRID */
.pricing-cards-section {
    padding: 1.5rem 0 4.5rem;
}

.pricing-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card-box {
    background: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 8px 24px -5px rgba(44, 38, 33, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -10px rgba(44, 38, 33, 0.08);
    border-color: #B69A78;
}

.pricing-card-box.is-featured {
    border: 2px solid #4E522C;
    background-color: #FAF8F5;
    box-shadow: 0 18px 40px -10px rgba(78, 82, 44, 0.12);
    transform: scale(1.02);
}

.pricing-card-box.is-featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4E522C;
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.9rem;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(78, 82, 44, 0.25);
}

.card-head {
    margin-bottom: 1.5rem;
}

.card-plan-tier {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #B69A78;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
}

.card-plan-name {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: #252525;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.card-plan-desc {
    font-size: 0.86rem;
    line-height: 1.5;
    color: #77716D;
    min-height: 40px;
    margin-bottom: 1.25rem;
}

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

.price-currency {
    font-size: 1.45rem;
    font-weight: 600;
    color: #252525;
}

.price-amount {
    font-family: var(--font-serif);
    font-size: 2.85rem;
    font-weight: 600;
    color: #252525;
    line-height: 1;
    transition: opacity 0.15s ease;
}

.price-billing-period {
    font-size: 0.82rem;
    color: #77716D;
    margin-left: 0.35rem;
}

.price-usd-equivalent {
    font-size: 0.76rem;
    color: #9A9490;
    font-weight: 500;
}

.card-divider {
    height: 1px;
    background-color: #DDD8D3;
    margin: 1.25rem 0 1.5rem;
}

.card-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.card-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: #403A32;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.feat-check-icon {
    color: #4E522C;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.card-action-wrap {
    margin-top: auto;
}

.btn-pricing-action {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.btn-pricing-outline {
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    color: #252525;
}

.btn-pricing-outline:hover {
    background-color: #DDD8D3;
    color: #252525;
}

.btn-pricing-primary {
    background-color: #403A32;
    border: 1px solid #403A32;
    color: #FFFFFF;
}

.btn-pricing-primary:hover {
    background-color: #252525;
    border-color: #252525;
}

.card-sub-guarantee {
    display: block;
    text-align: center;
    font-size: 0.72rem;
    color: #9A9490;
    margin-top: 0.65rem;
}

/* 3. INTERACTIVE CALCULATOR SECTION */
.pricing-calculator-section {
    background-color: #F6F2EF;
    border-top: 1px solid #DDD8D3;
    border-bottom: 1px solid #DDD8D3;
    padding: 5rem 0;
}

.calculator-header {
    max-width: 680px;
    margin: 0 auto 3rem;
}

.calc-section-title {
    font-family: var(--font-serif);
    font-size: 2.45rem;
    font-weight: 500;
    color: #252525;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.calc-section-sub {
    font-size: 1.05rem;
    color: #77716D;
    line-height: 1.6;
}

.pricing-calc-box-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2.25rem;
    align-items: start;
}

.calc-controls-pane {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-group {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.calc-group-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #252525;
    margin-bottom: 1.25rem;
}

.calc-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #EFEAE7;
    color: #4E522C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Plan Pills inside Calculator */
.calc-plan-pills-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-plan-pill-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background-color: #FAF8F5;
    border: 1px solid #DDD8D3;
    border-radius: 10px;
    padding: 0.85rem 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-plan-pill-item:hover {
    border-color: #B69A78;
    background-color: #F6F2EF;
}

.calc-plan-pill-item input[type="radio"]:checked ~ .plan-pill-content {
    color: #252525;
}

.calc-plan-pill-item:has(input[type="radio"]:checked) {
    border-color: #4E522C;
    background-color: #F1F4EE;
    box-shadow: 0 0 0 1px #4E522C;
}

.plan-pill-content {
    flex: 1;
}

.plan-pill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.2rem;
}

.plan-pill-name {
    font-size: 0.95rem;
    color: #252525;
}

.plan-pill-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: #4E522C;
}

.plan-pill-brief {
    font-size: 0.78rem;
    color: #77716D;
    margin: 0;
    line-height: 1.4;
}

/* Themes Selector */
.calc-themes-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.calc-theme-choice-item {
    cursor: pointer;
}

.calc-theme-choice-item input[type="radio"] {
    display: none;
}

.theme-choice-box {
    background-color: #FAF8F5;
    border: 1px solid #DDD8D3;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: all 0.2s ease;
}

.theme-choice-box strong {
    font-size: 0.85rem;
    color: #252525;
}

.theme-choice-box span {
    font-size: 0.72rem;
    color: #77716D;
}

.calc-theme-choice-item input[type="radio"]:checked + .theme-choice-box {
    border-color: #4E522C;
    background-color: #F1F4EE;
    box-shadow: 0 0 0 1px #4E522C;
}

/* Add-ons List */
.calc-addons-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.calc-addon-check-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background-color: #FAF8F5;
    border: 1px solid #DDD8D3;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-addon-check-card:hover {
    border-color: #B69A78;
    background-color: #F6F2EF;
}

.calc-addon-check-card:has(input[type="checkbox"]:checked) {
    border-color: #4E522C;
    background-color: #F1F4EE;
    box-shadow: 0 0 0 1px #4E522C;
}

.addon-check-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 1rem;
}

.addon-title {
    font-size: 0.86rem;
    color: #252525;
    display: block;
}

.addon-desc {
    font-size: 0.74rem;
    color: #77716D;
    margin: 0;
    line-height: 1.35;
}

.addon-price-badge {
    font-size: 0.82rem;
    font-weight: 700;
    color: #4E522C;
    white-space: nowrap;
}

/* Calculator Summary Receipt */
.calc-summary-pane {
    position: sticky;
    top: 6rem;
}

.calc-receipt-card {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px -5px rgba(44, 38, 33, 0.05);
}

.receipt-header {
    margin-bottom: 1.25rem;
}

.receipt-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #252525;
    margin: 0 0 0.25rem 0;
}

.receipt-sub {
    font-size: 0.78rem;
    color: #9A9490;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.receipt-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.86rem;
    color: #403A32;
}

.receipt-row.addon-row {
    color: #77716D;
    font-size: 0.82rem;
    padding-left: 0.5rem;
}

.row-amount {
    font-weight: 600;
    color: #252525;
}

.receipt-divider {
    height: 1px;
    background-color: #DDD8D3;
    margin: 1.25rem 0;
}

.receipt-calc-totals {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.totals-subrow {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #77716D;
}

.totals-main-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 0.5rem;
    border-top: 1px dashed #DDD8D3;
    font-size: 1rem;
    font-weight: 700;
    color: #252525;
}

.total-big-val {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: #4E522C;
}

.btn-receipt-checkout {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #403A32;
    color: #FFFFFF;
    padding: 0.85rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    box-sizing: border-box;
}

.btn-receipt-checkout:hover {
    background-color: #252525;
}

.receipt-guarantee-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #77716D;
    margin: 0.75rem 0 0 0;
}

/* 4. COMPARISON MATRIX TABLE */
.pricing-comparison-table-section {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.comp-title {
    font-family: var(--font-serif);
    font-size: 2.35rem;
    color: #252525;
    margin-bottom: 0.65rem;
    font-weight: 500;
}

.comp-sub {
    font-size: 1.05rem;
    color: #77716D;
    max-width: 620px;
    margin: 0 auto 3rem;
}

.pricing-matrix-card {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(44, 38, 33, 0.03);
}

.table-responsive-wrap {
    overflow-x: auto;
}

.pricing-matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pricing-matrix-table th {
    padding: 1.35rem 1.25rem;
    border-bottom: 1px solid #DDD8D3;
    vertical-align: middle;
}

.pricing-matrix-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #F6F2EF;
    font-size: 0.88rem;
    color: #57514B;
    vertical-align: middle;
}

.pricing-matrix-table th.col-feature-spec {
    width: 40%;
    font-size: 0.95rem;
    font-weight: 700;
    color: #252525;
    background-color: #FAF8F5;
}

.pricing-matrix-table th.col-plan {
    width: 20%;
    background-color: #FAF8F5;
}

.th-plan-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #252525;
    margin-bottom: 0.2rem;
}

.th-plan-price {
    font-size: 0.92rem;
    font-weight: 700;
    color: #77716D;
}

.pricing-matrix-table th.th-highlight,
.pricing-matrix-table td.highlight-cell {
    background-color: #F8F6F2;
}

.th-featured-pill {
    display: inline-block;
    background-color: #4E522C;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    margin-bottom: 0.25rem;
}

.matrix-cat-row td {
    background-color: #EFEAE7;
    font-weight: 700;
    color: #252525;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #DDD8D3;
}

.matrix-check {
    color: #4E522C;
    font-weight: bold;
    font-size: 1.1rem;
}

.matrix-cross {
    color: #B5AFA9;
    font-size: 1.25rem;
}

.btn-matrix-action {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #252525;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-matrix-action:hover {
    background-color: #DDD8D3;
}

.btn-matrix-action.is-primary {
    background-color: #403A32;
    border-color: #403A32;
    color: #FFFFFF;
}

.btn-matrix-action.is-primary:hover {
    background-color: #252525;
}

/* 5. AGENCY COMPARISON SECTION */
.pricing-comparison-agency-section {
    padding: 5rem 0;
    background-color: #F6F2EF;
    border-top: 1px solid #DDD8D3;
}

.agency-header {
    max-width: 680px;
    margin: 0 auto 3rem;
}

.agency-title {
    font-family: var(--font-serif);
    font-size: 2.35rem;
    font-weight: 500;
    color: #252525;
    margin-bottom: 0.65rem;
}

.agency-sub {
    font-size: 1.05rem;
    color: #77716D;
}

.agency-comparison-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.agency-compare-card {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    border-radius: 14px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
}

.agency-compare-card.is-appifyhub-highlight {
    background-color: #FFFFFF;
    border: 2px solid #4E522C;
    box-shadow: 0 15px 35px -5px rgba(78, 82, 44, 0.12);
    position: relative;
    transform: scale(1.02);
}

.agency-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #77716D;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.agency-card-tag.highlight-tag {
    color: #4E522C;
}

.agency-card-cost {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: #252525;
    margin: 0 0 0.2rem 0;
}

.agency-card-timing {
    font-size: 0.85rem;
    color: #9A9490;
    margin-bottom: 1.5rem;
}

.agency-points-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.agency-points-list li {
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.agency-points-list li.negative {
    color: #77716D;
}

.agency-points-list li.positive {
    color: #252525;
    font-weight: 500;
}

.btn-agency-cta {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #4E522C;
    color: #FFFFFF;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    margin-top: auto;
    box-sizing: border-box;
}

.btn-agency-cta:hover {
    background-color: #3b3f21;
}

/* 6. FAQ SECTION */
.pricing-faq-section {
    padding: 5rem 0;
    background-color: #FFFFFF;
    border-top: 1px solid #DDD8D3;
}

.faq-header {
    max-width: 640px;
    margin: 0 auto 3rem;
}

.faq-heading {
    font-family: var(--font-serif);
    font-size: 2.35rem;
    font-weight: 500;
    color: #252525;
    margin-bottom: 0.65rem;
}

.faq-sub {
    font-size: 1.05rem;
    color: #77716D;
}

.faq-accordion-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    background-color: #FAF8F5;
    border: 1px solid #DDD8D3;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item.active {
    background-color: #FFFFFF;
    border-color: #B69A78;
    box-shadow: 0 4px 16px rgba(44, 38, 33, 0.04);
}

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

.faq-chevron {
    color: #9A9490;
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: #4E522C;
}

.faq-answer {
    padding: 0 1.5rem 1.35rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #57514B;
    margin: 0;
}

/* 7. FINAL CTA */
.pricing-final-cta-section {
    padding: 4.5rem 0 5.5rem;
    background-color: #F5F3F4;
}

.pricing-cta-card {
    max-width: 860px;
    margin: 0 auto;
    background-color: #EFEAE7;
    border: 1px solid #DDD8D3;
    border-radius: 18px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 15px 40px -10px rgba(64, 58, 50, 0.06);
}

.pricing-cta-title {
    font-family: var(--font-serif);
    font-size: 2.35rem;
    font-weight: 500;
    color: #252525;
    margin: 0.85rem auto 1rem;
}

.pricing-cta-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #77716D;
    max-width: 600px;
    margin: 0 auto 2.25rem;
}

.pricing-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-pricing-cta-primary {
    background-color: #403A32;
    color: #FFFFFF;
    padding: 0.85rem 1.65rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-pricing-cta-primary:hover {
    background-color: #252525;
}

.btn-pricing-cta-secondary {
    background-color: #FFFFFF;
    border: 1px solid #DDD8D3;
    color: #252525;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-pricing-cta-secondary:hover {
    background-color: #F6F2EF;
}

.pricing-cta-trust-strip {
    font-size: 0.82rem;
    color: #77716D;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dot-sep {
    color: #DDD8D3;
}

/* RESPONSIVE QUERIES */
@media (max-width: 960px) {
    .pricing-grid-cards,
    .agency-comparison-cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card-box.is-featured,
    .agency-compare-card.is-appifyhub-highlight {
        transform: none;
    }

    .pricing-card-box.is-featured:hover {
        transform: translateY(-4px);
    }

    .pricing-calc-box-layout {
        grid-template-columns: 1fr;
    }

    .calc-summary-pane {
        position: static;
    }
}

@media (max-width: 640px) {
    .pricing-hero-title {
        font-size: 2.25rem;
    }

    .calc-themes-selector-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cta-card {
        padding: 2.5rem 1.5rem;
    }

    .pricing-cta-buttons {
        flex-direction: column;
    }
}

/* ===================================================
   GLOBAL ALERTS & FLASH NOTIFICATIONS
   =================================================== */
.global-alert {
    max-width: 980px;
    margin: 1.25rem auto;
    padding: 0.85rem 1.4rem;
    border-radius: 8px;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.global-alert.alert-success {
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
}

.global-alert.alert-error {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.global-alert.alert-info {
    background-color: #F8F5F0;
    border: 1px solid #E2DBD0;
    color: #57514B;
}

.alert-content {
    flex: 1;
    font-weight: 500;
}

/* ===================================================
   APPIFYHUB LUXURY AUTHENTICATION SYSTEM
   =================================================== */
body.auth-layout {
    background-color: #FAF8F5;
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(245, 238, 230, 0.85) 0%, transparent 45%),
        radial-gradient(circle at 90% 85%, rgba(242, 233, 222, 0.75) 0%, transparent 50%);
    min-height: 100vh;
    font-family: var(--font-sans);
    color: var(--text-heading);
    margin: 0;
    padding: 0;
}

.auth-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-nav-bar {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.1rem 2rem;
    backdrop-filter: blur(8px);
}

.auth-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.auth-back-link:hover {
    border-color: var(--border-subtle);
    background: #FFFFFF;
    color: var(--text-heading);
}

.auth-flash-wrapper {
    max-width: 500px;
    width: 100%;
    margin: 1.25rem auto 0 auto;
    padding: 0 1rem;
}

.auth-flash-wrapper .global-alert {
    margin: 0.5rem 0;
}

.auth-main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem 3.5rem 1.25rem;
}

.auth-card-wrapper {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.auth-card {
    background: #FFFFFF;
    border: 1px solid #EBE6DF;
    border-radius: 14px;
    padding: 2.75rem 2.5rem;
    box-shadow: 
        0 10px 30px -5px rgba(44, 38, 33, 0.06), 
        0 20px 45px -15px rgba(44, 38, 33, 0.04);
}

.auth-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #EFEAE7;
    border: 1px solid #DDD8D3;
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #403A32;
    margin-bottom: 0.85rem;
}

.auth-eyebrow-pill svg {
    color: #B69A78;
}

.auth-main-title {
    font-family: var(--font-serif);
    font-size: 2.35rem;
    color: #252525;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.65rem 0;
}

.auth-main-title em {
    font-style: italic;
    font-weight: 400;
    color: #B69A78;
}

.auth-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #77716D;
    line-height: 1.5;
    margin: 0;
}

/* Context Banner for Wizard Transition */
.auth-context-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #FAF7F2;
    border: 1px solid #E4DDD3;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    margin-bottom: 1.75rem;
}

.auth-context-icon {
    color: #78593D;
    flex-shrink: 0;
    margin-top: 2px;
}

.auth-context-text {
    font-size: 0.84rem;
    color: #57514B;
    line-height: 1.45;
}

.auth-context-text strong {
    display: block;
    color: #2C2622;
    font-weight: 600;
    margin-bottom: 2px;
}

/* Form Layout */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: #2C2622;
}

.auth-badge-optional {
    font-size: 0.72rem;
    color: #A8A199;
    font-weight: 500;
    background: #F5EFEB;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
}

.auth-forgot-link {
    font-size: 0.82rem;
    color: #78593D;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-forgot-link:hover {
    color: #2C2622;
    text-decoration: underline;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 1.05rem;
    color: #A8A199;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.85rem;
    border: 1px solid #E5DFD7;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #FAF8F5;
    color: #2C2622;
    font-family: inherit;
    transition: all 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #78593D;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(120, 89, 61, 0.12);
}

.auth-password-input {
    padding-right: 2.85rem;
}

.auth-toggle-pwd {
    position: absolute;
    right: 0.85rem;
    background: none;
    border: none;
    color: #A8A199;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.auth-toggle-pwd:hover {
    color: #2C2622;
}

.auth-actions {
    margin-top: 0.65rem;
}

.btn-auth-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: #2C2622;
    color: #FAF8F5;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1.6rem;
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(44, 38, 33, 0.16);
}

.btn-auth-submit:hover {
    background: #1C1917;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(44, 38, 33, 0.22);
}

.btn-auth-submit:active {
    transform: translateY(0);
}

.btn-auth-submit .btn-arrow {
    transition: transform 0.2s ease;
}

.btn-auth-submit:hover .btn-arrow {
    transform: translateX(3px);
}

.auth-footer-switch {
    margin-top: 1.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid #EFEAE5;
    text-align: center;
    font-size: 0.9rem;
    color: #77716D;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.auth-footer-switch .switch-link {
    color: #2C2622;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-footer-switch .switch-link:hover {
    color: #78593D;
    transform: translateX(2px);
}

.auth-footer {
    padding: 1.75rem 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #9E968E;
    border-top: 1px solid rgba(235, 230, 223, 0.6);
}

@media (max-width: 540px) {
    .auth-card {
        padding: 2.25rem 1.5rem;
        border-radius: 12px;
    }

    .auth-main-title {
        font-size: 2rem;
    }

    .auth-nav-bar {
        padding: 1rem 1.25rem;
    }
}

/* ===================================================
   REGISTRATION: WEBSITE & STORE DETAILS STYLING
   =================================================== */
.auth-section-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 0.5rem 0;
}

.auth-section-divider .divider-line {
    flex: 1;
    height: 1px;
    background: #EBE4DA;
}

.auth-section-divider .divider-title {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #78593D;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.auth-badge-required {
    font-size: 0.72rem;
    color: #78593D;
    font-weight: 600;
    background: #FAF7F2;
    border: 1px solid #EBE4DA;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
}

.required-star {
    color: #C2410C;
    font-weight: 700;
}

.auth-field-hint {
    font-size: 0.78rem;
    color: #8C847C;
    line-height: 1.4;
    margin: 0.25rem 0 0 0;
}

.auth-platform-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.auth-platform-radio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.85rem 0.85rem;
    background: #FAF8F5;
    border: 1.5px solid #EBE4DA;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-platform-radio-card:hover {
    border-color: #B69A78;
    background: #FFFFFF;
    transform: translateY(-1px);
}

.auth-platform-radio-card.is-active {
    border-color: #78593D;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(120, 89, 61, 0.12);
}

.platform-radio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.platform-icon-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.icon-woo { background: #E9D5FF; color: #6B21A8; }
.icon-shopify { background: #DCFCE7; color: #166534; }
.icon-wp { background: #DBEAFE; color: #1E40AF; }

.radio-custom-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #D1C9BE;
    background: #FFFFFF;
    display: inline-block;
    transition: all 0.2s ease;
}

.auth-platform-radio-card.is-active .radio-custom-dot {
    border-color: #78593D;
    background: #78593D;
    box-shadow: inset 0 0 0 2.5px #FFFFFF;
}

.platform-radio-body {
    display: flex;
    flex-direction: column;
}

.platform-opt-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2C2622;
}

.platform-opt-desc {
    font-size: 0.74rem;
    color: #8C847C;
}

/* ===================================================
   COMPATIBILITY WIZARD: PRE-FILLED DETAILS BANNER
   =================================================== */
.prefilled-details-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #F7F3EE;
    border: 1px solid #E6DED4;
    border-radius: 10px;
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.25rem;
    transition: all 0.25s ease;
}

.prefilled-banner-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prefilled-icon-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #78593D;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.prefilled-banner-text {
    font-size: 0.86rem;
    color: #4A443E;
    line-height: 1.4;
}

.prefilled-banner-text .prefilled-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #78593D;
}

.prefilled-banner-text .prefilled-val strong {
    color: #2C2622;
}

.prefilled-editable-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #78593D;
    background: #FFFFFF;
    border: 1px solid #E2D7CC;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .prefilled-details-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .auth-platform-options {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Live URL Platform Match Feedback (Register & Analyzer)
   ========================================================================== */
.platform-match-feedback {
    margin-top: 0.85rem;
    font-size: 0.85rem;
    animation: fadeInMatch 0.25s ease forwards;
}

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

.platform-match-feedback .feedback-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.95rem;
    border-radius: 9px;
    line-height: 1.45;
}

.platform-match-feedback .feedback-inner.is-checking {
    background: #FAF8F5;
    border: 1px solid #E4DDD5;
    color: #6A6055;
    align-items: center;
}

.feedback-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #D5CBC0;
    border-top-color: #78593D;
    border-radius: 50%;
    animation: spinMatch 0.7s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes spinMatch {
    to { transform: rotate(360deg); }
}

.platform-match-feedback .feedback-inner.is-matched {
    background: #F2F8ED;
    border: 1px solid #B8E0A6;
    color: #235817;
}

.platform-match-feedback .feedback-inner.is-mismatched {
    background: #FEF9EB;
    border: 1px solid #F5D78E;
    color: #7A540A;
    flex-wrap: wrap;
    justify-content: space-between;
}

.platform-match-feedback .feedback-inner.is-unsupported {
    background: #FDF3F1;
    border: 1px solid #F2B9B0;
    color: #8C2517;
}

.feedback-badge-icon {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.feedback-text-wrap {
    flex: 1;
    min-width: 180px;
}

.feedback-text-wrap strong {
    display: block;
    font-size: 0.86rem;
    margin-bottom: 0.15rem;
}

.feedback-text-wrap p {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.92;
}

.btn-quick-switch {
    background: #78593D;
    color: #FAF7F2;
    border: none;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: center;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(120, 89, 61, 0.2);
}

.btn-quick-switch:hover {
    background: #5A422D;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(120, 89, 61, 0.3);
}

/* Platform Mismatch Banner inside Setup Guide */
.platform-mismatch-banner {
    background: linear-gradient(135deg, #FFFDF8 0%, #FEF8E7 100%);
    border: 1.5px solid #F5D78E;
    border-radius: 10px;
    padding: 0.95rem 1.15rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(180, 130, 20, 0.06);
    animation: fadeInMatch 0.3s ease;
}

.mismatch-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    flex: 1;
}

.mismatch-banner-icon {
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 2px;
}

.mismatch-banner-text strong {
    display: block;
    color: #7A540A;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}

.mismatch-banner-text p {
    margin: 0;
    color: #5C4109;
    font-size: 0.84rem;
    line-height: 1.45;
}

.btn-switch-detected {
    background: #78593D;
    color: #FAF7F2;
    border: none;
    padding: 0.55rem 1.1rem;
    border-radius: 7px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(120, 89, 61, 0.22);
}

.btn-switch-detected:hover {
    background: #4A3422;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(120, 89, 61, 0.3);
}

@media (max-width: 680px) {
    .platform-mismatch-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-switch-detected {
        width: 100%;
        text-align: center;
    }
}

