/* ===========================================
   Premium SaaS Landing Page System
   Based on premium_saas_landing_page_ui_guide.md
   =========================================== */

/* ─────────────────────────────────────────────
   0. Global Vendor Accent (consistent across all page themes)
   ───────────────────────────────────────────── */
:root {
    --vendor-accent: #10b981;
    --vendor-accent-dark: #059669;
    --vendor-accent-light: #f0fdf4;
}

/* ─────────────────────────────────────────────
   1. Per-Page Color Scopes
   ───────────────────────────────────────────── */

.page-home {
    --page-primary: #00A8CC;
    --page-accent: #0096B8;
    --page-pastel: #e0f7ff;
    --page-pastel-alt: #f0fbff;
    --page-surface: #ffffff;
    --page-surface-alt: #f8fcff;
    --page-text: #111827;
    --page-muted: #6B7280;
    --page-border: rgba(0, 168, 204, 0.12);
    --page-grad-1: #e0f7ff;
    --page-grad-2: #f5fbff;
    --page-grad-3: #ffffff;
}

.page-blookbidz {
    --page-primary: #d97706;
    --page-accent: #dc2626;
    --page-pastel: #fef3e2;
    --page-pastel-alt: #fff8ed;
    --page-surface: #ffffff;
    --page-surface-alt: #fffaf5;
    --page-text: #111827;
    --page-muted: #6B7280;
    --page-border: rgba(217, 119, 6, 0.12);
    --page-grad-1: #fef3e2;
    --page-grad-2: #fff8ed;
    --page-grad-3: #ffffff;
}

.page-blookvoice {
    --page-primary: #7c3aed;
    --page-accent: #5b21b6;
    --page-pastel: #f3f0ff;
    --page-pastel-alt: #f8f6ff;
    --page-surface: #ffffff;
    --page-surface-alt: #faf9ff;
    --page-text: #111827;
    --page-muted: #6B7280;
    --page-border: rgba(124, 58, 237, 0.12);
    --page-grad-1: #f3f0ff;
    --page-grad-2: #f8f6ff;
    --page-grad-3: #ffffff;
}

.page-queueless {
    --page-primary: #8b5cf6;
    --page-accent: #6366f1;
    --page-pastel: #f5f3ff;
    --page-pastel-alt: #faf9ff;
    --page-surface: #ffffff;
    --page-surface-alt: #f9f8ff;
    --page-text: #111827;
    --page-muted: #6B7280;
    --page-border: rgba(139, 92, 246, 0.12);
    --page-grad-1: #f5f3ff;
    --page-grad-2: #faf9ff;
    --page-grad-3: #ffffff;
}

.page-qr-access {
    --page-primary: #d94ce0;
    --page-accent: #c026d3;
    --page-pastel: #fdf2ff;
    --page-pastel-alt: #fef7ff;
    --page-surface: #ffffff;
    --page-surface-alt: #fdfaff;
    --page-text: #111827;
    --page-muted: #6B7280;
    --page-border: rgba(217, 76, 224, 0.12);
    --page-grad-1: #fdf2ff;
    --page-grad-2: #fef7ff;
    --page-grad-3: #ffffff;
}

.page-blookgate {
    --page-primary: #156C7D;
    --page-accent: #115E6C;
    --page-pastel: #e6f4f7;
    --page-pastel-alt: #f0f8fa;
    --page-surface: #ffffff;
    --page-surface-alt: #f7fbfc;
    --page-text: #111827;
    --page-muted: #6B7280;
    --page-border: rgba(21, 108, 125, 0.12);
    --page-grad-1: #e6f4f7;
    --page-grad-2: #f0f8fa;
    --page-grad-3: #ffffff;
}

.page-queucare {
    --page-primary: #ef4444;
    --page-accent: #dc2626;
    --page-pastel: #fef2f2;
    --page-pastel-alt: #fef7f7;
    --page-surface: #ffffff;
    --page-surface-alt: #fffafa;
    --page-text: #111827;
    --page-muted: #6B7280;
    --page-border: rgba(239, 68, 68, 0.12);
    --page-grad-1: #fef2f2;
    --page-grad-2: #fef7f7;
    --page-grad-3: #ffffff;
}

.page-queustyle {
    --page-primary: #f97316;
    --page-accent: #ea580c;
    --page-pastel: #fff7ed;
    --page-pastel-alt: #fffaf5;
    --page-surface: #ffffff;
    --page-surface-alt: #fffdfb;
    --page-text: #111827;
    --page-muted: #6B7280;
    --page-border: rgba(249, 115, 22, 0.12);
    --page-grad-1: #fff7ed;
    --page-grad-2: #fffaf5;
    --page-grad-3: #ffffff;
}

.page-billing {
    --page-primary: #22c55e;
    --page-accent: #16a34a;
    --page-pastel: #f0fdf4;
    --page-pastel-alt: #f5fef8;
    --page-surface: #ffffff;
    --page-surface-alt: #fafffef;
    --page-text: #111827;
    --page-muted: #6B7280;
    --page-border: rgba(34, 197, 94, 0.12);
    --page-grad-1: #f0fdf4;
    --page-grad-2: #f5fef8;
    --page-grad-3: #ffffff;
}

/* ─────────────────────────────────────────────
   2. Ambient Body Background
   ───────────────────────────────────────────── */

[class*="page-"] {
    background: var(--page-surface);
    color: var(--page-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    overflow-x: hidden;
}

[class*="page-"]::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, var(--page-grad-1) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 80% 100%, var(--page-grad-2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 50%, var(--page-grad-3) 0%, transparent 60%);
    pointer-events: none;
}

/* Blurred gradient blobs */
[class*="page-"]::after {
    content: '';
    position: fixed;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--page-primary) 0%, transparent 70%);
    opacity: 0.06;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: blob-drift 20s ease-in-out infinite;
}

@keyframes blob-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 20px) scale(1.1); }
    66% { transform: translate(20px, -15px) scale(0.95); }
}

/* Hide reCAPTCHA v3 floating badge */
.grecaptcha-badge {
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ─────────────────────────────────────────────
   3. Site Frame
   ───────────────────────────────────────────── */

a {
    text-decoration: none!important;
    color: var(--primary);
    transition: color 0.2s ease;
}

.site-frame {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: var(--page-surface);
    box-shadow: none;
    border: none;
    position: relative;
    z-index: 1;
}

/* Primary-colored scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--page-pastel);
}
::-webkit-scrollbar-thumb {
    background: var(--page-primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--page-primary-dark, var(--page-primary));
}

html {
    scrollbar-color: var(--page-primary) var(--page-pastel);
    scrollbar-width: thin;
}

/* ─────────────────────────────────────────────
   4. Typography System
   ───────────────────────────────────────────── */

.premium-hero-title {
    font-size: 50px;
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 600;
    color: var(--page-text);
    max-width: 620px;
}

.premium-hero-title .accent {
    color: var(--page-primary);
}

.premium-section-title {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: var(--page-text);
}

.premium-card-title {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: var(--page-text);
}

.premium-body {
    font-size: 16px;
    line-height: 1.65;
    color: var(--page-muted);
}

.premium-lead {
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.6;
    color: var(--page-muted);
    max-width: 540px;
}

.premium-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--page-primary);
    margin-bottom: 16px;
}

.premium-small {
    font-size: 13px;
    color: var(--page-muted);
}

/* ─────────────────────────────────────────────
   5. Geometry & Shadow Tokens
   ───────────────────────────────────────────── */

:root {
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 999px;
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 30px 80px rgba(0, 0, 0, 0.10);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --border-subtle: 1px solid rgba(0, 0, 0, 0.08);
}

/* ─────────────────────────────────────────────
   6. Premium Header
   ───────────────────────────────────────────── */

.premium-header {
    height: 76px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--page-border);
    transition: all 0.3s ease;
    z-index: 1000;
}

.premium-header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.premium-header .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--page-text) !important;
    padding: 8px 16px !important;
    transition: color 0.2s ease;
}

.premium-header .nav-link:hover {
    color: var(--page-primary) !important;
}

.premium-header .btn-premium-primary {
    background: var(--page-primary);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.premium-header .btn-premium-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    background: var(--page-accent);
}

.premium-header .btn-premium-ghost {
    background: transparent;
    color: var(--page-text);
    border: 1px solid var(--page-border);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.premium-header .btn-premium-ghost:hover {
    background: var(--page-pastel);
    border-color: var(--page-primary);
}

/* ─────────────────────────────────────────────
   7. Premium Buttons
   ───────────────────────────────────────────── */

.btn-premium-primary {
    background: var(--page-primary);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    background: var(--page-accent);
    color: #fff;
}

.btn-premium-secondary {
    background: var(--page-surface);
    color: var(--page-text);
    border: 1px solid var(--page-border);
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-premium-secondary:hover {
    background: var(--page-pastel);
    border-color: var(--page-primary);
    transform: translateY(-2px);
    color: var(--page-text);
}

/* Hero section buttons — tighter padding so all buttons fit on one line */
.hero-enter-4 .btn-premium-primary,
.hero-enter-4 .btn-premium-secondary {
    padding: 11px 20px;
    font-size: 14px;
    white-space: nowrap;
}

/* Keep hero buttons on a single row; allow wrap only on very small screens */
.hero-enter-4 {
    flex-wrap: nowrap !important;
}

@media (max-width: 575.98px) {
    .hero-enter-4 {
        flex-wrap: wrap !important;
    }
}

.btn-premium-light {
    background: #fff;
    color: var(--page-primary);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-premium-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: var(--page-accent);
}

/* ─────────────────────────────────────────────
   8. Floating Card System
   ───────────────────────────────────────────── */

.float-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-float);
    padding: 20px;
    transition: transform 0.3s ease;
}

.float-card.depth-1 {
    opacity: 0.85;
    transform: scale(0.88);
    z-index: 1;
}

.float-card.depth-2 {
    transform: scale(0.95);
    z-index: 2;
}

.float-card.depth-3 {
    transform: scale(1);
    z-index: 5;
}

.float-card-rotate-left {
    transform: rotate(-3deg);
}

.float-card-rotate-right {
    transform: rotate(3deg);
}

/* Hero float-card position refinements — pull cards inward so they don't
   overlap the adjacent text column. The Blade templates use negative offsets
   (left: -30px, left: -50px) which extend beyond the image column. These
   overrides keep the decorative cards within the visual area. */
@media (min-width: 1200px) {
    .product-visual .float-card.position-absolute[style*="left: -30px"] {
        left: 0 !important;
    }
    .product-visual .float-card.position-absolute[style*="left: -50px"] {
        left: 0 !important;
    }
    .product-visual .float-card.position-absolute[style*="right: -20px"] {
        right: 0 !important;
    }
    .product-visual .float-card.position-absolute[style*="top: -20px"] {
        top: -10px !important;
    }
    .product-visual .float-card.position-absolute[style*="bottom: -20px"] {
        bottom: -10px !important;
    }
}

/* ─────────────────────────────────────────────
   9. Premium Cards
   ───────────────────────────────────────────── */

.premium-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-card);
    padding: 28px;
    transition: all 0.3s ease;
    height: 100%;
}

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

.premium-card-flat {
    background: var(--page-pastel-alt);
    border-radius: var(--radius-md);
    padding: 28px;
    height: 100%;
}

.premium-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--page-pastel);
    color: var(--page-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

/* ─────────────────────────────────────────────
   10. Section Spacing
   ───────────────────────────────────────────── */

.premium-section {
    padding: 96px 0;
}

.premium-section-sm {
    padding: 64px 0;
}

.premium-section-lg {
    padding: 120px 0;
}

/* Hero section — extra top spacing to clear the fixed header and add breathing room.
   Overrides the inline `padding-top: 120px` on all landing page heroes. */
.site-frame > .premium-section-lg[style*="padding-top: 120px"] {
    padding-top: 200px !important;
}

@media (max-width: 991.98px) {
    .premium-section { padding: 64px 0; }
    .premium-section-sm { padding: 48px 0; }
    .premium-section-lg { padding: 80px 0; }
    .site-frame > .premium-section-lg[style*="padding-top: 120px"] {
        padding-top: 200px !important;
    }
}

@media (max-width: 767.98px) {
    .premium-section { padding: 48px 0; }
    .premium-section-sm { padding: 40px 0; }
    .premium-section-lg { padding: 64px 0; }
}

.premium-container {
    width: min(1080px, calc(100% - 48px));
    margin-inline: auto;
}

@media (max-width: 767.98px) {
    .premium-container {
        width: calc(100% - 32px);
    }
}

/* ─────────────────────────────────────────────
   11. Trust Indicators
   ───────────────────────────────────────────── */

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--page-muted);
}

.trust-item i {
    color: var(--page-primary);
    font-size: 16px;
}

/* ─────────────────────────────────────────────
   12. Announcement Bar
   ───────────────────────────────────────────── */

.announcement-bar {
    background: var(--page-pastel);
    border-top: 1px solid var(--page-border);
    border-bottom: 1px solid var(--page-border);
    padding: 14px 0;
    text-align: center;
    font-size: 14px;
    color: var(--page-text);
}

.announcement-bar a {
    color: var(--page-primary);
    font-weight: 600;
    text-decoration: none;
}

.announcement-bar a:hover {
    text-decoration: underline;
}

/* ─────────────────────────────────────────────
   13. How It Works
   ───────────────────────────────────────────── */

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--page-primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 12px;
}

.step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--page-primary), transparent);
    margin: 0 auto;
    opacity: 0.3;
}

/* ─────────────────────────────────────────────
   14. Final CTA
   ───────────────────────────────────────────── */

.final-cta {
    background: linear-gradient(135deg, var(--page-primary) 0%, var(--page-accent) 100%);
    border-radius: var(--radius-lg);
    padding: 80px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(60px);
}

.final-cta h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    position: relative;
}

.final-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    position: relative;
}

@media (max-width: 767.98px) {
    .final-cta {
        padding: 56px 24px;
        border-radius: var(--radius-md);
    }
}

/* ─────────────────────────────────────────────
   15. Testimonials
   ───────────────────────────────────────────── */

.testimonial-quote {
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1.4;
    font-weight: 500;
    color: var(--page-text);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--page-text);
}

.testimonial-role {
    font-size: 13px;
    color: var(--page-muted);
}

/* ─────────────────────────────────────────────
   16. Animations
   ───────────────────────────────────────────── */

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-float-slow {
    animation: float-slow 5s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 6s ease-in-out infinite 1s;
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero entrance sequence */
.hero-enter-1 { animation: fade-up 0.6s ease 0.1s both; }
.hero-enter-2 { animation: fade-up 0.6s ease 0.25s both; }
.hero-enter-3 { animation: fade-up 0.6s ease 0.4s both; }
.hero-enter-4 { animation: fade-up 0.6s ease 0.55s both; }
.hero-enter-5 { animation: scale-in 0.7s ease 0.7s both; }
.hero-enter-6 { animation: fade-up 0.6s ease 0.85s both; }

/* ─────────────────────────────────────────────
   17. Responsive
   ───────────────────────────────────────────── */

@media (max-width: 991.98px) {
    .premium-hero-title {
        font-size: clamp(36px, 8vw, 48px);
    }
    .float-card.depth-1,
    .float-card.depth-2 {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .premium-hero-title {
        font-size: clamp(32px, 9vw, 42px);
    }
    .premium-section-title {
        font-size: clamp(26px, 7vw, 36px);
    }
    .float-card {
        display: none;
    }
    .float-card.mobile-show {
        display: block;
    }
}

/* ─────────────────────────────────────────────
   18. Reduced Motion
   ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ─────────────────────────────────────────────
   19. Utility
   ───────────────────────────────────────────── */

.premium-divider {
    height: 1px;
    background: var(--page-border);
    border: none;
    margin: 0;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--page-pastel);
    color: var(--page-primary);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
}

.premium-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--page-primary);
}

.text-page-primary { color: var(--page-primary) !important; }
.text-page-accent { color: var(--page-accent) !important; }
.bg-page-pastel { background-color: var(--page-pastel) !important; }
.bg-page-primary { background-color: var(--page-primary) !important; }

/* Product visual container */
.product-visual {
    position: relative;
    border-radius: var(--radius-md);
    overflow: visible;
    /* Add breathing room so float cards don't overlap the adjacent text column.
       The float cards use negative left/right offsets; this padding keeps them
       inside the visual's own space. */
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
    margin-left: -12px;
    margin-right: -12px;
}

/* Hero row: increase the gap between text and image columns so float cards
   on the image don't crowd the text. */
.premium-section-lg > .premium-container > .row.align-items-center {
    --bs-gutter-x: 4rem;
}

@media (max-width: 1199.98px) {
    /* Below xl, float cards are hidden (d-none d-xl-*), so we can tighten the gap. */
    .premium-section-lg > .premium-container > .row.align-items-center {
        --bs-gutter-x: 2.5rem;
    }
    .product-visual {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

.product-visual-main {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    position: relative;
    z-index: 5;
}

.product-visual-main img {
    width: 100%;
    display: block;
}

/* Browser mockup in premium style */
.premium-browser-mockup {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.premium-browser-bar {
    background: #f8f9fa;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-browser-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.premium-browser-url {
    flex: 1;
    background: #fff;
    border-radius: var(--radius-pill);
    padding: 5px 16px;
    font-size: 11px;
    color: #999;
    font-family: monospace;
    text-align: center;
    margin-left: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Logo strip */
.logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.5;
}

.logo-strip-item {
    font-size: 18px;
    font-weight: 700;
    color: var(--page-muted);
    letter-spacing: -0.02em;
}

/* Feature alternating layout */
.feature-row {
    display: flex;
    align-items: center;
    gap: 64px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-row .feature-text {
    flex: 0 0 45%;
}

.feature-row .feature-visual {
    flex: 0 0 50%;
}

@media (max-width: 991.98px) {
    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .feature-row .feature-text,
    .feature-row .feature-visual {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* ─────────────────────────────────────────────
   Illustration Placeholders
   Shows a styled placeholder when the image file
   doesn't exist yet. Auto-replaced when uploaded.
   ───────────────────────────────────────────── */
.illustration-slot {
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--page-pastel);
    position: relative;
}

.illustration-slot img {
    display: block;
    width: 100%;
    height: auto;
}

.illustration-slot.is-placeholder {
    aspect-ratio: 4 / 3;
    border: 2px dashed var(--page-border, rgba(0,0,0,0.08));
    background: var(--page-pastel-alt, #fafafa);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 180px;
}

.illustration-slot.is-placeholder::before {
    content: "\f1c5";
    font-family: "bootstrap-icons", "hgi-stroke", sans-serif;
    font-size: 2rem;
    color: var(--page-primary, #ccc);
    opacity: 0.5;
}

.illustration-slot.is-placeholder::after {
    content: attr(data-label);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--page-muted, #6b7280);
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

/* Spot illustration in cards */
.spot-illustration {
    display: block;
    width: 100%;
    max-width: 140px;
    margin: 0 auto 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--page-pastel);
}

.spot-illustration img {
    display: block;
    width: 100%;
    height: auto;
}

.spot-illustration.is-placeholder {
    aspect-ratio: 1 / 1;
    border: 2px dashed var(--page-border, rgba(0,0,0,0.08));
    background: var(--page-pastel-alt, #fafafa);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.spot-illustration.is-placeholder::after {
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--page-muted, #6b7280);
    text-align: center;
    padding: 0 8px;
}

/* Module mark in grids */
.module-mark {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 0 auto;
}

.module-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.module-mark.is-placeholder {
    border: 2px dashed var(--page-border, rgba(0,0,0,0.08));
    background: var(--page-pastel-alt, #fafafa);
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-mark.is-placeholder::after {
    content: attr(data-label);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--page-muted, #6b7280);
    text-align: center;
    padding: 0 4px;
}
