/* ==========================================================================
   Easy Screen Print — Design System & Stylesheet (easyscreenprint.eu)
   ========================================================================== */

:root {
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-alt: #f1f5f9;
    --color-text-main: #0f172a;
    --color-text-muted: #475569;
    --color-text-light: #94a3b8;
    
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-light: #eff6ff;
    
    --color-accent: #10b981;
    --color-accent-hover: #059669;
    --color-accent-light: #ecfdf5;
    
    --color-navy: #0f172a;
    --color-navy-card: #1e293b;
    --color-border: #e2e8f0;
    --color-border-hover: #cbd5e1;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-weight: 700;
    line-height: 1.25;
}

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

button {
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    outline: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.hidden { display: none !important; }

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #1e293b, #0f172a);
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.announcement-badge {
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-link {
    background: transparent;
    color: #38bdf8;
    font-weight: 600;
    font-size: 0.9rem;
}

.announcement-link:hover {
    text-decoration: underline;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary), #1d4ed8);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-navy);
    line-height: 1.1;
}

.logo-domain {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    gap: 8px;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--color-surface-alt);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: #e2e8f0;
}

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

.btn-outline:hover {
    border-color: var(--color-navy);
    background: rgba(15, 23, 42, 0.04);
}

.btn-light {
    background: #ffffff;
    color: var(--color-navy);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.btn-white {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.btn-white:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

/* Sections */
.section {
    padding: 64px 0;
}

.section-alt {
    background-color: var(--color-surface-alt);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 44px;
}

.section-badge {
    display: inline-block;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--color-navy);
}

.section-lead {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}

/* Split Section Header */
.section-header-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 44px;
}

.section-header-left {
    text-align: left;
}

.section-header-left .section-title {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-header-left .section-lead {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}

.section-header-right {
    display: flex;
    justify-content: flex-end;
}

.media-column-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 500px;
}

.media-smallprint-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.media-smallprint-title::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--color-accent);
    border-radius: 50%;
}

.header-media-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    width: 100%;
    overflow: hidden;
}

.header-gif-media {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* Hero Section */
.hero-section {
    padding: 48px 0 56px;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: stretch;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    align-self: flex-start;
}

.pill-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent);
}

.hero-title {
    font-size: 3.1rem;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--color-navy);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Hero Carousel Showcase */
.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
}

.carousel-card {
    position: relative;
    background: var(--color-navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    max-width: 480px;
    height: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.carousel-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.02);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.carousel-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 44px 24px 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 5;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.carousel-card:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

.carousel-dots {
    position: absolute;
    bottom: 16px;
    right: 20px;
    z-index: 15;
    display: flex;
    gap: 8px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
}

.carousel-dots .dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 10px;
}

/* Comparison Section (You vs We) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.comparison-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.comparison-card.backend-card {
    background: #ffffff;
    border-color: #cbd5e1;
}

.header-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.operator-card .header-icon {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.backend-card .header-icon {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.header-icon svg {
    width: 26px;
    height: 26px;
}

.comparison-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.card-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Steps Timeline */
.steps-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.2s ease;
}

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

.step-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 12px;
}

.step-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Target Markets Grid */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.market-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.market-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.market-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.market-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.market-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* POD vs B2B Comparison */
.pod-vs-b2b {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 48px;
}

.comparison-column {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--color-border);
}

.b2b-column {
    border: 2px solid var(--color-accent);
    background: #ffffff;
    box-shadow: var(--shadow-lg);
}

.badge-tag {
    display: inline-block;
    background: var(--color-surface-alt);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.badge-tag.accent {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.comparison-column h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.pod-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
}

.vs-divider {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--color-text-light);
    background: var(--color-surface-alt);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
}

.batch-scale-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.scale-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.scale-item.highlighted {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
}

.scale-qty {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-navy);
}

.scale-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 4px 0 10px;
}

.scale-margin {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* Features Grid (What You Get) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Profit Calculator */
.calculator-wrapper {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xl);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.calc-group {
    margin-bottom: 24px;
}

.calc-group label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.calc-select {
    width: 100%;
    padding: 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.calc-slider {
    width: 100%;
    accent-color: var(--color-primary);
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-result-box {
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    border: 1px solid var(--color-border);
}

.calc-result-box.profit {
    background: var(--color-accent-light);
    border-color: rgba(16, 185, 129, 0.4);
}

.res-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.res-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-top: 4px;
}

.calc-result-box.profit .res-amount {
    color: var(--color-accent-hover);
}

.res-sub {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Pricing Grid */
.pricing-clarification-banner {
    background: var(--color-primary-light);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    font-size: 0.95rem;
    color: #1e3a8a;
}

.info-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.pricing-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1.5px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.plan-header h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 12px;
}

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

.plan-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
    font-size: 0.95rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li.disabled {
    color: var(--color-text-light);
    text-decoration: line-through;
}

.x-icon {
    width: 18px;
    height: 18px;
    color: #ef4444;
    flex-shrink: 0;
}

/* Dedicated Product Visual: Sample Kit */
.sample-kit-box {
    background: var(--color-navy);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-xl);
}

.sample-kit-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.box-illustration {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 36px;
    text-align: center;
}

.box-tag {
    display: inline-block;
    background: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.box-illustration h4 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.box-items {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.kit-badge {
    color: #34d399;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.sample-kit-content h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 16px;
}

.sample-kit-content p {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 24px;
}

.sample-kit-price-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sk-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
}

.sk-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #94a3b8;
}

.sk-note {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Existing Business Banner */
.existing-business-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    box-shadow: var(--shadow-xl);
}

.eb-content h2 {
    color: #ffffff;
    font-size: 2.4rem;
    margin: 16px 0;
}

.eb-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 800px;
    margin-bottom: 32px;
}

.eb-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.eb-item {
    background: rgba(255, 255, 255, 0.06);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Production Grid */
.production-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.prod-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--color-border);
}

.prod-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.prod-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--color-primary);
    transition: transform 0.2s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

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

/* Final CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--color-primary), #1d4ed8);
    color: #ffffff;
    padding: 100px 0;
}

.cta-title {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: var(--color-navy);
    color: #ffffff;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo .logo-title {
    color: #ffffff;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* Modals System */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 540px;
    width: 100%;
    padding: 36px;
    box-shadow: var(--shadow-xl);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-card.modal-lg {
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 1.8rem;
    background: transparent;
    color: var(--color-text-muted);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.form-input:focus {
    border-color: var(--color-primary);
}

.sample-kit-checkbox-card {
    background: var(--color-accent-light);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
}

.checkbox-label input {
    accent-color: var(--color-accent);
    margin-top: 4px;
}

.checkout-summary-box {
    background: var(--color-surface-alt);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
}

.territory-result {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.territory-result.available {
    background: var(--color-accent-light);
    border: 1px solid var(--color-accent);
    color: var(--color-accent-hover);
}

/* Portal Tabs */
.portal-nav-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.tab-btn {
    padding: 10px 18px;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.portal-tab-content {
    display: none;
}

.portal-tab-content.active {
    display: block;
}

.lessons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.l-num {
    font-weight: 800;
    color: var(--color-primary);
}

.l-status {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
    background: #e2e8f0;
}

.lesson-item.completed .l-status {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.l-status.in-progress {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.portal-quote-box {
    background: var(--color-surface-alt);
    padding: 20px;
    border-radius: var(--radius-md);
}

.quote-calc-summary {
    background: #ffffff;
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    font-size: 0.9rem;
}

.highlight-profit {
    color: var(--color-accent);
    font-size: 1rem;
    margin-top: 6px;
}

.websites-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid,
    .comparison-grid,
    .calculator-wrapper,
    .sample-kit-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .pod-vs-b2b {
        grid-template-columns: 1fr;
    }

    .vs-divider {
        margin: 0 auto;
    }

    .batch-scale-strip {
        grid-template-columns: 1fr 1fr;
    }

    .site-nav {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-actions,
    .cta-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .batch-scale-strip {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Interactive Netherlands Territory Map & Legend Styling
   ========================================================================== */
.section-map {
    background: #f8fafc;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.accent-badge {
    background: var(--color-accent-light) !important;
    color: var(--color-accent) !important;
}

.map-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 18px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.map-search-group {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-text-light);
}

.map-search-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    outline: none;
}

.map-search-input:focus {
    border-color: var(--color-primary);
}

.map-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.legend-item:hover {
    background: var(--color-surface-alt);
}

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

.legend-dot.status-available, .status-badge.status-available { background: #10b981; color: #ffffff; }
.legend-dot.status-pending, .status-badge.status-pending { background: #f59e0b; color: #ffffff; }
.legend-dot.status-protected, .status-badge.status-protected { background: #ef4444; color: #ffffff; }
.legend-dot.status-merged, .status-badge.status-merged { background: #06b6d4; color: #ffffff; }

/* Province Filter Pills */
.province-filter-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 24px;
    scrollbar-width: thin;
}

.prov-pill {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.prov-pill:hover, .prov-pill.active {
    background: var(--color-navy);
    color: #ffffff;
    border-color: var(--color-navy);
}

/* Map Workspace Grid */
.map-workspace {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

.map-canvas-container {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    min-height: 540px;
    position: relative;
    overflow: hidden;
}

.vector-map-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dynamic Territory Path styling */
.territory-block-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.territory-block-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.map-sidebar {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sb-territory-id {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-primary);
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
}

.sb-title {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.sb-province {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.sb-info-block {
    margin-bottom: 16px;
}

.sb-info-block label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.sb-info-block p {
    font-size: 0.95rem;
    color: var(--color-navy);
}

.sb-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin: 20px 0;
    font-size: 0.9rem;
}

.sb-price-row strong {
    font-size: 1.2rem;
    color: var(--color-accent);
}

/* Admin Portal Modal Styling */
.admin-auth-bar {
    background: var(--color-surface-alt);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.auth-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.auth-actions {
    display: flex;
    gap: 8px;
}

.admin-linker-tool {
    background: var(--color-primary-light);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 28px;
}

.tool-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.tool-title h4 {
    font-size: 1.15rem;
    color: #1e3a8a;
}

.tool-desc {
    font-size: 0.88rem;
    color: #3b82f6;
    margin-bottom: 20px;
}

.linker-form .form-group {
    margin-bottom: 0;
}

.admin-table-scroll {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-top: 12px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table th, .admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.admin-table th {
    background: var(--color-surface-alt);
    font-weight: 700;
    color: var(--color-navy);
    position: sticky;
    top: 0;
    z-index: 5;
}

/* Clean Territory Banner Section */
.section-map-banner {
    padding: 60px 0;
    background: #f8fafc;
}

.territory-banner-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-content .section-badge {
    background: rgba(37, 99, 235, 0.25);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.banner-content .section-title {
    color: #ffffff !important;
}

.banner-content .section-lead {
    color: #94a3b8 !important;
}

.banner-map-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.banner-map-preview:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.preview-badge-pill {
    display: inline-block;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.mini-netherlands-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mini-prov-label {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 6px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;

}

/* ==========================================================================
   Full-Screen Territory Map Layover Overlay
   ========================================================================== */
.territory-overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.92) !important;
    backdrop-filter: blur(16px);
    z-index: 999999 !important;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.territory-overlay-backdrop.open {
    display: flex !important;
}

.territory-overlay-card {
    background: #ffffff;
    width: 100%;
    max-width: 1280px;
    height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.overlay-header-bar {
    padding: 18px 28px;
    background: var(--color-navy);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overlay-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.overlay-logo {
    background: var(--color-accent);
    color: #ffffff;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 1rem;
}

.overlay-title-group h3 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.overlay-title-group p {
    font-size: 0.82rem;
    color: #94a3b8;
}

.overlay-actions-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.overlay-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.overlay-close-btn:hover {
    opacity: 1;
}

.overlay-controls {
    padding: 14px 28px;
    background: #f8fafc;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.overlay-search-box {
    position: relative;
    flex: 1;
    max-width: 480px;
}

.overlay-search-box input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.9rem;
}

.overlay-legend {
    display: flex;
    gap: 12px;
}

.leg-tag {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.leg-tag:hover {
    transform: scale(1.05);
}

.leg-available { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.leg-pending { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.leg-protected { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.leg-merged { background: #ecfeff; color: #155e75; border: 1px solid #a5f3fc; }

.overlay-province-bar {
    padding: 10px 28px;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.overlay-map-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    flex: 1;
    overflow: hidden;
}

.map-view-container {
    padding: 24px;
    position: relative;
    overflow-y: auto;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.interactive-svg-map {
    width: 100%;
    max-width: 820px;
    display: flex;
    justify-content: center;
}

.svg-map-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.map-flag {
    font-size: 1.4rem;
}

.svg-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.netherlands-svg {
    width: 100%;
    max-height: 540px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.province-g {
    cursor: pointer;
}

.prov-path {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.province-g:hover .prov-path {
    stroke: #fbbf24 !important;
    stroke-width: 5px !important;
    filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.6));
    opacity: 1 !important;
}

.prov-text {
    pointer-events: none;
    font-family: 'Inter', system-ui, sans-serif;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}

/* Floating Tooltip */
.map-hover-tooltip {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.overlay-sidebar {
    background: #ffffff;
    border-left: 1px solid var(--color-border);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.sb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sb-section {
    margin-bottom: 16px;
}

.sb-section label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.sb-section p {
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 500;
}

.sb-price-block {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sb-price-block strong {
    font-size: 1.25rem;
    color: var(--color-accent);
}

@media (max-width: 992px) {
    .territory-banner-card {
        grid-template-columns: 1fr;
    }

    .overlay-map-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating Left Legend (Ledger) for Map */
.map-ledger-card {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 100;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-width: 320px;
    pointer-events: auto;
}

.map-ledger-card h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.ledger-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.ledger-item:last-child {
    margin-bottom: 0;
}

.ledger-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-top: 3px;
    flex-shrink: 0;
    box-shadow: 0 0 8px currentColor;
}

.dot-available { background: #10b981; color: #10b981; }
.dot-pending { background: #f59e0b; color: #f59e0b; }
.dot-protected { background: #ef4444; color: #ef4444; }
.dot-merged { background: #3b82f6; color: #3b82f6; }

.ledger-info {
    display: flex;
    flex-direction: column;
}

.ledger-info strong {
    color: #f8fafc;
    font-size: 0.84rem;
    font-weight: 700;
}

.ledger-info span {
    color: #94a3b8;
    font-size: 0.75rem;
    line-height: 1.3;
    margin-top: 2px;
}

/* Zoom-In Regional Detail Modal Grid */
.pzm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 6px;
    margin-top: 20px;
}

.pzm-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pzm-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.pzm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pzm-id {
    font-size: 0.8rem;
    font-weight: 800;
    color: #2563eb;
    background: #eff6ff;
    padding: 3px 8px;
    border-radius: 6px;
}

.pzm-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 4px 0 6px 0;
}

.pzm-area {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 12px;
}

.pzm-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    margin-top: 8px;
}

.pzm-fee {
    font-weight: 800;
    color: #059669;
    font-size: 0.95rem;
}

#provinceZoomModal {
    z-index: 10000005 !important;
}

#provinceZoomModal.open {
    display: flex !important;
}

#provinceZoomModal .modal-card {
    max-height: 88vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

#provinceZoomModal .pzm-grid {
    overflow-y: auto !important;
    max-height: calc(88vh - 120px) !important;
    padding-right: 8px;
    margin-right: -4px;
}

#provinceZoomModal .pzm-grid::-webkit-scrollbar {
    width: 6px;
}

#provinceZoomModal .pzm-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

#provinceZoomModal .pzm-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

#provinceZoomModal .pzm-grid::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Country Map Selector Toggle */
.country-toggle-bar {
    display: flex;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 4px;
    gap: 4px;
    margin: 0 16px;
}

.country-pill {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 8px 18px;
    border-radius: 26px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.country-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.country-pill.active {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}


