/* ==========================================================================
   MANUSCRIPT ATLAS CSS STYLESHEET
   Aesthetics: Deep indigo slate, soft champagne gold accents, premium glassmorphism,
   crisp typography (Cormorant Garamond & Plus Jakarta Sans), micro-animations.
   ========================================================================== */

/* --- Custom Variables & Reset --- */
:root {
    /* Color Palette */
    --bg-dark: #0a0e17;
    --bg-dark-card: #131a26;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-light: #e2e8f0;
    
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-glow: rgba(79, 70, 229, 0.15);
    --secondary: #d4af37; /* Champagne Gold */
    --secondary-hover: #b89324;
    --accent: #06b6d4; /* Deep Cyan / Teal */
    --success: #10b981;
    
    --text-light: #f8fafc;
    --text-gray-light: #cbd5e1;
    --text-dark: #0f172a;
    --text-gray-dark: #334155;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
}

/* Ensure headings inside dark sections inherit light text coloring */
.hero h1, .hero h2, .hero h3, .hero h4,
.page-hero h1, .page-hero h2, .page-hero h3, .page-hero h4,
.calculator-section h1, .calculator-section h2, .calculator-section h3, .calculator-section h4,
.contact-info-panel h1, .contact-info-panel h2, .contact-info-panel h3, .contact-info-panel h4,
.footer h1, .footer h2, .footer h3, .footer h4 {
    color: var(--text-light);
}

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

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #3730a3;
    border-color: #3730a3;
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 14, 23, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-dark);
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(10, 14, 23, 0.95);
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.logo-icon {
    font-size: 1.8rem;
    color: var(--secondary);
    animation: rotateCompass 20s linear infinite;
}

@keyframes rotateCompass {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo-highlight {
    color: var(--secondary);
}

@media (max-width: 520px) {
    .logo {
        gap: 8px;
        min-width: 0;
    }

    .logo-icon {
        font-size: 1.45rem;
        flex: 0 0 auto;
    }

    .logo-text {
        font-size: clamp(1.05rem, 6vw, 1.28rem);
        letter-spacing: 0;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-gray-light);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.nav-btn:hover {
    background-color: var(--secondary);
    color: var(--bg-dark);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 180px 0 140px;
    overflow: hidden;
    /* Soft physical linen paper texture */
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0),
        radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}



.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-text-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-gray-light);
    margin-bottom: 40px;
    max-width: 540px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: var(--border-dark);
    padding-top: 30px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Sphere Visual Animation */
.hero-visual-area {
    display: flex;
    justify-content: center;
    align-items: center;
}

.atlas-sphere {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(19, 26, 38, 0.9) 0%, rgba(10, 14, 23, 0.5) 100%);
    box-shadow: 0 0 50px rgba(79, 70, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-orbit {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.ring-1 {
    width: 110%;
    height: 110%;
    animation: rotateCCW 25s linear infinite;
}

.ring-2 {
    width: 130%;
    height: 130%;
    border-color: rgba(212, 175, 55, 0.1);
    animation: rotateCW 35s linear infinite;
}

.ring-3 {
    width: 150%;
    height: 150%;
    animation: rotateCCW 45s linear infinite;
}

.sphere-book {
    font-size: 5rem;
    color: var(--secondary);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
    animation: pulseBook 4s ease-in-out infinite;
}

.floating-badge {
    position: absolute;
    background: rgba(19, 26, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.floating-badge i {
    color: var(--secondary);
}

.badge-1 { top: 10%; left: -10%; animation: floatY 6s ease-in-out infinite; }
.badge-2 { bottom: 20%; right: -15%; animation: floatY 6s ease-in-out infinite 2s; }
.badge-3 { bottom: 5%; left: 0%; animation: floatY 6s ease-in-out infinite 4s; }

@keyframes rotateCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes pulseBook {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.6)); }
}

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

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--bg-light);
}

/* --- Section Global Layout --- */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-gray-dark);
}

/* --- Journey / Pipeline Map --- */
.journey-section {
    background-color: var(--bg-light);
}

.pipeline-navigation {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 40px;
}

.process-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: -20px auto 70px;
}

.process-support-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.process-support-item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(67, 56, 202, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.process-support-item h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.process-support-item p {
    color: var(--text-gray-dark);
    font-size: 0.94rem;
    margin: 0;
}

.pipeline-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--border-light);
    transform: translateY(-50%);
    z-index: 1;
}

.pipeline-node {
    position: relative;
    z-index: 2;
    background-color: var(--bg-light);
    border: 3px solid var(--border-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.pipeline-node:hover,
.pipeline-node:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(67, 56, 202, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.pipeline-node::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: var(--transition);
}

.pipeline-node.active {
    background-color: var(--bg-dark);
    border-color: var(--secondary);
    color: var(--secondary);
}

.pipeline-node.active::before {
    border-color: rgba(212, 175, 55, 0.4);
    transform: scale(1.1);
}

.pipeline-node.completed {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
}

.node-label {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray-dark);
    white-space: nowrap;
    transition: var(--transition);
}

.pipeline-node.active .node-label {
    color: var(--text-dark);
    font-weight: 700;
}

.pipeline-content-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.pipeline-content-card.step-updated {
    animation: pipelineCardPulse 0.28s ease;
}

@keyframes pipelineCardPulse {
    from {
        transform: translateY(6px);
        opacity: 0.72;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pipeline-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pipeline-pane.active {
    display: block;
    opacity: 1;
}

.pipeline-step-kicker {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.pane-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.pane-text h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.pane-lead {
    font-size: 1.1rem;
    color: var(--text-gray-dark);
    margin-bottom: 24px;
}

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

.pane-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-gray-dark);
}

.pane-list li i {
    color: var(--success);
    margin-top: 4px;
}

.pane-visual {
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(255,255,255,0) 70%);
    height: 250px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pane-icon {
    font-size: 5rem;
    color: var(--primary);
    filter: drop-shadow(0 4px 10px rgba(79, 70, 229, 0.2));
}

/* --- Services Grid --- */
.services-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.3);
    background-color: var(--bg-white);
}

.service-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--secondary);
    display: block;
    margin-bottom: 20px;
    opacity: 0.6;
    transition: var(--transition);
    line-height: 1;
}

.service-card:hover .service-num {
    transform: translateY(-2px);
    opacity: 1;
    color: var(--primary-light);
}

.large-num-accent {
    font-family: var(--font-heading);
    font-size: 7rem;
    font-weight: 700;
    color: rgba(214, 175, 55, 0.12);
    user-select: none;
    line-height: 1;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-gray-dark);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link i {
    transition: var(--transition);
}

.service-card:hover .card-link i {
    transform: translateX(4px);
}

/* --- Royalty Calculator Section --- */
.calculator-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    /* Soft physical linen paper texture */
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0),
        radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.text-light {
    color: var(--text-light) !important;
}

.text-light-gray {
    color: var(--text-gray-light);
}

.calculator-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.calc-inputs-panel {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Range input styling */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: var(--transition);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    align-self: flex-end;
}

.format-chips {
    display: flex;
    gap: 12px;
}

.format-chip {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.format-chip:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.format-chip.active {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.4);
}

.format-chip i {
    font-size: 1.3rem;
}

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

.currency-row {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr);
    gap: 12px;
    align-items: center;
}

.calc-input-group .currency-label {
    color: var(--text-gray-dark);
    font-size: 0.78rem;
}

.currency-select {
    width: 100%;
    min-height: 44px;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.94rem;
    font-weight: 700;
    padding: 10px 12px;
    outline: none;
    transition: var(--transition);
}

.currency-select:hover,
.currency-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.1);
}

.currency-prefix {
    position: absolute;
    left: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-gray-light);
}

.price-input-wrapper input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 14px 14px 14px 36px;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
    transition: var(--transition);
}

.price-input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Calculator Results Panel */
.calc-results-panel {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.results-header {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.result-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result-box.highlight-box {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: var(--shadow-sm);
}

.result-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-val {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
}

.highlight-box .result-val {
    font-size: 2.2rem;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.profit-comparison-graph {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.graph-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.graph-pct {
    color: var(--secondary);
}

.graph-bar-outer {
    background-color: rgba(255, 255, 255, 0.08);
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.graph-bar-inner {
    height: 100%;
    border-radius: 6px;
    transition: width 0.6s ease;
}

.graph-bar-inner.yours {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.graph-bar-inner.traditional {
    background-color: #64748b;
}

.label-traditional {
    margin-top: 8px;
    color: var(--text-gray-light);
}

.label-traditional .graph-pct {
    color: var(--text-gray-light);
}

.calc-disclaimer {
    font-size: 0.75rem;
    color: var(--text-gray-light);
    margin-top: 20px;
    line-height: 1.4;
}

/* --- Showcase Section --- */
.showcase-section {
    background-color: var(--bg-light);
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.showcase-tab {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-gray-dark);
    transition: var(--transition);
}

.showcase-tab:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.showcase-tab.active {
    background-color: var(--bg-dark);
    color: var(--secondary);
    border-color: var(--bg-dark);
    box-shadow: var(--shadow-md);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

/* Book Item visual */
.book-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.book-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}

.book-spine-wrapper {
    position: relative;
    width: 140px;
    height: 200px;
    margin-bottom: 20px;
    perspective: 1000px;
}

.book-spine-wrapper:hover .book-3d {
    transform: rotateY(-20deg);
}

.book-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.book-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1e293b;
    border-radius: 2px 8px 8px 2px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
    text-align: center;
    color: #fff;
    border-left: 4px solid var(--secondary);
}

.book-front.fiction-style {
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    border-left-color: var(--secondary);
}

.book-front.nonfiction-style {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-left-color: var(--accent);
}

.book-front.poetry-style {
    background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
    border-left-color: #fca5a5;
}

.book-title-mock {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.book-author-mock {
    font-size: 0.7rem;
    color: var(--text-gray-light);
    text-transform: uppercase;
}

.book-badge-mock {
    margin-top: auto;
    font-size: 0.6rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.book-meta {
    text-align: center;
    width: 100%;
}

.book-genre-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.book-real-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.book-real-author {
    font-size: 0.85rem;
    color: var(--text-gray-dark);
}

/* --- Reviews Section --- */
.reviews-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.reviews-slider-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
}

.reviews-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
    min-width: 100%;
    padding: 40px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    color: var(--secondary);
    font-size: 1.1rem;
}

.review-quote {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.5;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 650px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 1.05rem;
    font-weight: 700;
}

.author-genre {
    font-size: 0.8rem;
    color: var(--text-gray-dark);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--bg-dark);
    color: var(--secondary);
    border-color: var(--bg-dark);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

/* --- Contact & Multi-step Form Section --- */
.contact-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    background-color: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.contact-info-panel {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-panel h2 {
    color: var(--text-light);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-info-panel p {
    color: var(--text-gray-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-detail-item i {
    font-size: 1.3rem;
    color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.05);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-item h4 {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.contact-detail-item p {
    margin: 0;
    font-size: 0.95rem;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
    border-top: var(--border-dark);
    font-size: 0.8rem;
    color: var(--text-gray-light);
}

.compliance-badge i {
    font-size: 1.4rem;
    color: var(--secondary);
}

/* Contact Form Panel styling */
.contact-form-panel {
    padding: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inquiry-form {
    width: 100%;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step-title {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.8rem;
    color: var(--text-gray-dark);
    line-height: 1.4;
}

.file-upload-group {
    margin-top: 4px;
}

.file-upload-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background-color: #f9fafb;
    border: 1px dashed #aeb7c5;
    border-radius: 12px;
    transition: var(--transition);
}

.file-upload-box:hover,
.file-upload-box:focus-within {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.08);
}

.file-upload-box > i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(67, 56, 202, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.file-upload-box input[type="file"] {
    width: 100%;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.file-upload-box input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background-color: #ffffff;
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-box input[type="file"]::file-selector-button:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.file-upload-box p {
    margin-top: 8px;
    color: var(--text-gray-dark);
    font-size: 0.8rem;
    line-height: 1.45;
}

.form-actions-right {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.form-actions-row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

/* Success State styling */
.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 0;
    animation: fadeIn 0.4s ease forwards;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.2));
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.success-message p {
    color: var(--text-gray-dark);
    max-width: 400px;
    margin-bottom: 30px;
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 0;
    border-top: var(--border-dark);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-tagline {
    color: var(--text-gray-light);
    margin: 20px 0 24px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray-light);
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.footer-links h4 {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 24px;
    font-weight: 600;
}

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

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

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: var(--border-dark);
    padding: 30px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-gray-light);
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text-area {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .pane-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pane-visual {
        height: 200px;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        padding: 40px;
    }
    
    .contact-form-panel {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Mobile navigation toggle logic in JS */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        border-top: var(--border-dark);
        border-bottom: var(--border-dark);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        z-index: 1000;
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .pipeline-navigation {
        padding: 0 10px;
    }

    .process-support-grid {
        grid-template-columns: 1fr;
        margin-bottom: 50px;
    }
    
    .node-label {
        display: none;
    }
    
    .pipeline-node.active .node-label {
        display: block;
        bottom: -32px;
    }
    
    .pipeline-content-card {
        padding: 24px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .result-box.highlight-box {
        grid-column: span 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .format-chips {
        flex-direction: column;
    }

    .currency-row {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* ==========================================================================
   PREMIUM LAUNCH STUDIO UPGRADES
   ========================================================================== */

.hidden-field {
    display: none;
}

.hero-actions {
    flex-wrap: wrap;
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 680px;
    margin-top: 18px;
}

.hero-proof-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text-dark);
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.hero-proof-row i {
    color: var(--success);
}

.authority-strip {
    padding: 26px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.authority-item {
    padding: 20px 22px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.authority-kicker,
.diagnostic-result-label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.authority-item strong {
    display: block;
    color: var(--text-dark);
    line-height: 1.45;
}

.diagnostic-section {
    padding: 110px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%),
        radial-gradient(circle at 12% 10%, rgba(193, 122, 22, 0.08), transparent 24%);
}

.diagnostic-shell {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: stretch;
}

.diagnostic-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.diagnostic-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 560px;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text-gray-dark);
    line-height: 1.6;
}

.diagnostic-note i {
    color: var(--secondary);
    margin-top: 4px;
}

.diagnostic-card {
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

.diagnostic-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.diagnostic-result {
    padding: 24px;
    border: 1px solid rgba(193, 122, 22, 0.24);
    border-radius: 8px;
    background: linear-gradient(135deg, #fffaf4 0%, #ffffff 58%, #f8fafc 100%);
    margin-bottom: 18px;
}

.diagnostic-result h3 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.diagnostic-result p {
    color: var(--text-gray-dark);
    line-height: 1.7;
}

.diagnostic-context {
    margin-top: 12px;
    font-size: 0.92rem;
}

.diagnostic-result ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.diagnostic-result li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 700;
}

.diagnostic-result li i {
    color: var(--success);
    margin-top: 3px;
}

.studio-difference-section {
    padding: 110px 0;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.difference-panel {
    min-height: 260px;
    padding: 28px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06);
}

.difference-panel.featured {
    background: #111827;
    color: #ffffff;
}

.difference-num {
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--secondary);
    font-weight: 800;
}

.difference-panel h3 {
    margin-bottom: 12px;
    font-size: 1.45rem;
    color: inherit;
}

.difference-panel p {
    color: var(--text-gray-dark);
    line-height: 1.7;
}

.difference-panel.featured p {
    color: rgba(255, 255, 255, 0.78);
}

.next-steps-panel {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.contact-section .next-steps-panel {
    border-color: rgba(255, 255, 255, 0.18);
}

.next-steps-panel h3 {
    color: inherit;
    margin-bottom: 12px;
}

.next-steps-panel ol {
    margin-left: 20px;
    display: grid;
    gap: 10px;
}

.next-steps-panel li {
    line-height: 1.55;
}

.thank-you-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 80px 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94)),
        url('images/hero-publishing-workspace.png') center / cover no-repeat;
}

.thank-you-card {
    max-width: 760px;
    padding: 56px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.12);
}

.thank-you-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.premium-service-cta {
    padding: 72px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
}

.premium-service-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #fffaf4 100%);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.premium-service-cta h2 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: clamp(2rem, 4vw, 3rem);
}

.premium-service-cta p {
    max-width: 760px;
    color: var(--text-gray-dark);
    line-height: 1.7;
}

.premium-service-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.portfolio-proof-note {
    max-width: 900px;
    margin: 28px auto 0;
    padding: 16px 18px;
    border: 1px solid rgba(193, 122, 22, 0.22);
    border-radius: 8px;
    background: #fffaf4;
    color: var(--text-gray-dark);
    font-size: 0.94rem;
    line-height: 1.65;
    text-align: center;
}

.sticky-mobile-cta {
    display: none;
}

@media (max-width: 992px) {
    .authority-grid,
    .diagnostic-shell,
    .difference-grid,
    .premium-service-cta-inner {
        grid-template-columns: 1fr;
    }

    .difference-panel {
        min-height: auto;
    }

    .hero-proof-row {
        justify-content: center;
    }

    .premium-service-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 128px;
    }

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

    .hero-actions {
        width: 100%;
    }

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

    .diagnostic-section,
    .studio-difference-section {
        padding: 72px 0;
    }

    .diagnostic-card,
    .thank-you-card {
        padding: 24px;
    }

    .premium-service-cta {
        padding: 52px 0;
    }

    .premium-service-cta-inner {
        padding: 24px;
    }

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

    .sticky-mobile-cta {
        position: fixed;
        right: 16px;
        bottom: 16px;
        z-index: 1200;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 13px 16px;
        border-radius: 999px;
        background: var(--primary);
        color: #ffffff;
        font-weight: 800;
        box-shadow: 0 16px 36px rgba(67, 56, 202, 0.28);
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .sticky-mobile-cta.visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

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

    .authority-item,
    .difference-panel,
    .diagnostic-card,
    .diagnostic-result {
        padding: 20px;
    }
}


/* ==========================================================================
   DROPDOWN NAVIGATION, PAGE HEROES, AND COMPONENT STYLES
   ========================================================================== */

/* --- Dropdown Navigation --- */
.nav-item.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}

.nav-chevron {
    font-size: 0.7rem;
    transition: var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius);
    padding: 12px;
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    color: var(--text-gray-light);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.dropdown-item i {
    width: 16px;
    color: var(--secondary);
    font-size: 0.9rem;
    text-align: center;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    padding-left: 20px;
}

/* --- Inner Page Hero --- */
.page-hero {
    position: relative;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 140px 0 70px;
    text-align: center;
    overflow: hidden;
    border-bottom: var(--border-dark);
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 12px;
}

.page-hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-gray-light);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-gray-light);
    margin-top: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.3);
}

/* --- Global Section Block Styles --- */
.bg-white {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.bg-light {
    background-color: var(--bg-light);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.block-text h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.block-text p {
    color: var(--text-gray-dark);
    margin-bottom: 24px;
}

.block-list {
    list-style: none;
    margin-bottom: 30px;
}

.block-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-gray-dark);
}

.block-list li i {
    color: var(--primary);
    margin-top: 5px;
}

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

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 24px;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

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

.faq-item.active {
    border-color: rgba(79, 70, 229, 0.2);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 200px;
}

.faq-icon {
    font-size: 0.9rem;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

/* --- Pricing Matrix --- */
.pricing-matrix {
    margin-top: 50px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pricing-table-head {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 30px;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    text-align: center;
    border-bottom: var(--border-dark);
}

.pricing-table-head .feature-col {
    text-align: left;
}

.pricing-table-head h3 {
    color: var(--text-light);
    font-size: 1.3rem;
}

.pricing-price {
    font-size: 1.8rem;
    color: var(--secondary);
    font-weight: 700;
    margin-top: 6px;
}

.pricing-price span {
    font-size: 0.8rem;
    color: var(--text-gray-light);
    font-weight: 500;
}

.pricing-table-row {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    font-size: 0.9rem;
}

.pricing-table-row .feature-col {
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.pricing-table-row:nth-child(even) {
    background-color: var(--bg-light);
}

.pricing-check {
    color: var(--success);
}

.pricing-cross {
    color: var(--text-gray-light);
    opacity: 0.5;
}

/* --- Portfolio Page --- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.portfolio-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.portfolio-img {
    height: 300px;
    background-color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.portfolio-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 14, 23, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-img-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.portfolio-desc {
    font-size: 0.9rem;
    color: var(--text-gray-dark);
}

/* --- Portfolio Page Segments --- */
.portfolio-snapshot-section,
.portfolio-featured-section,
.portfolio-segments-section,
.portfolio-cta-section {
    position: relative;
}

.portfolio-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.portfolio-metric {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.portfolio-metric-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 10px;
}

.portfolio-metric-label {
    color: var(--text-gray-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.portfolio-featured-grid {
    display: grid;
    gap: 28px;
}

.portfolio-featured-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.portfolio-cover-preview {
    min-height: 300px;
    padding: 34px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: var(--transition);
}

.portfolio-cover-preview:hover {
    transform: scale(1.01);
}

.portfolio-cover-preview span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.86;
}

.portfolio-cover-preview h3 {
    color: #ffffff;
    font-size: 2.2rem;
    line-height: 1.05;
    max-width: 260px;
}

.fantasy-preview {
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 55%, #0f766e 100%);
}

.business-preview {
    background: linear-gradient(135deg, #0f172a 0%, #334155 55%, #b7791f 100%);
}

.memoir-preview {
    background: linear-gradient(135deg, #7f1d1d 0%, #9f1239 55%, #b7791f 100%);
}

.holy-island-featured-card {
    border-color: rgba(183, 121, 31, 0.28);
}

.holy-island-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.holy-island-preview::before {
    display: none;
}

.holy-island-preview::after {
    display: none;
}

.holy-island-preview > * {
    position: relative;
    z-index: 1;
}

.portfolio-cover-author {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.real-cover-preview img {
    width: min(72%, 230px);
    max-height: 360px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.28);
}

.cover-link-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    background-color: rgba(17, 24, 39, 0.86);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.portfolio-featured-copy h3 a,
.portfolio-title a {
    color: inherit;
}

.portfolio-featured-copy h3 a:hover,
.portfolio-title a:hover {
    color: var(--primary);
}

.portfolio-book-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
}

.portfolio-book-link:hover {
    color: var(--secondary);
}

.portfolio-featured-copy {
    padding: 34px;
}

.portfolio-featured-copy h3 {
    font-size: 1.75rem;
    line-height: 1.15;
    margin: 10px 0 14px;
}

.portfolio-featured-copy p {
    color: var(--text-gray-dark);
    margin-bottom: 22px;
}

.portfolio-work-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.portfolio-work-list li {
    color: var(--text-gray-dark);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.portfolio-work-list i {
    color: var(--success);
    margin-top: 4px;
}

.portfolio-review-section {
    border-top: 1px solid var(--border-light);
}

.portfolio-review-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-review-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.review-source {
    display: inline-flex;
    color: var(--secondary);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.portfolio-review-card h3 {
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.portfolio-review-card p {
    color: var(--text-gray-dark);
    font-size: 0.94rem;
    margin: 0;
}

.portfolio-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 42px;
    box-shadow: var(--shadow-md);
}

.portfolio-cta .section-title,
.portfolio-cta .section-desc {
    margin-bottom: 0;
}

.portfolio-cta .section-desc {
    margin-top: 12px;
    max-width: 680px;
}

@media (max-width: 992px) {
    .portfolio-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-featured-card,
    .portfolio-cta {
        grid-template-columns: 1fr;
    }

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

    .portfolio-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .portfolio-metrics {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-copy,
    .portfolio-cover-preview,
    .portfolio-cta {
        padding: 26px;
    }

    .portfolio-review-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Success Stories Cards --- */
.story-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.story-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.story-header img,
.story-avatar-mock {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
}

.story-meta h4 {
    font-size: 1.15rem;
}

.story-meta span {
    font-size: 0.8rem;
    color: var(--text-gray-dark);
}

.story-content {
    font-style: italic;
    color: var(--text-gray-dark);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.story-stat-badge {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    align-self: flex-start;
}

/* --- Submission Guidelines List --- */
.guideline-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.guideline-step {
    display: flex;
    gap: 24px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.guideline-num {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.guideline-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.guideline-info p {
    color: var(--text-gray-dark);
    font-size: 0.95rem;
}

/* Responsive adjustment for dropdowns on mobile */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        display: none;
        background-color: rgba(255, 255, 255, 0.03);
        border: none;
        padding-left: 20px;
        box-shadow: none;
    }
    
    .nav-item.dropdown.open .dropdown-menu {
        display: flex;
    }
    
    .dropdown-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    
    .pricing-table-head {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .pricing-table-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px;
    }
    
    .pricing-table-row .feature-col {
        text-align: center;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 6px;
        margin-bottom: 6px;
    }
}

/* --- Constellation Canvas Background --- */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Ensure other hero contents are layered above canvas */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-glow-1, .hero-glow-2 {
    z-index: 0;
}

/* --- Hero Quick Start Form --- */
.hero-quick-start {
    margin-top: 24px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.quick-start-box {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.quick-start-field {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.quick-field-icon {
    position: absolute;
    left: 14px;
    color: var(--secondary);
    font-size: 0.9rem;
    pointer-events: none;
}

.quick-start-field input,
.quick-start-field select {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 12px 12px 38px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.quick-start-field input:focus,
.quick-start-field select:focus {
    border-color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.08);
}

.quick-start-field select option {
    background-color: var(--bg-dark-card);
    color: var(--text-light);
}

.quick-start-helper {
    font-size: 0.75rem;
    color: var(--text-gray-light);
    padding-left: 8px;
}

/* --- 3D Interactive Book Showcase --- */
.book-container-3d {
    perspective: 1200px;
    width: 280px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.book-3d-card {
    position: relative;
    width: 220px;
    height: 320px;
    transform-style: preserve-3d;
    transform: rotateY(-25deg) rotateX(12deg) rotateZ(-2deg);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 3px 12px 12px 3px;
}

.book-3d-face {
    position: absolute;
    height: 100%;
    backface-visibility: hidden;
}

.book-3d-front {
    width: 100%;
    background-color: #0b0f19;
    border-radius: 3px 12px 12px 3px;
    transform: translateZ(16px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset -4px 0 10px rgba(255, 255, 255, 0.05);
}

.book-3d-cover-design {
    height: 100%;
    padding: 24px;
    background: linear-gradient(135deg, #0f1626 0%, #06080d 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.15);
    margin: 6px;
    border-radius: 8px;
    position: relative;
}

.cover-design-frame {
    border: 1px solid rgba(212, 175, 55, 0.3);
    width: 100%;
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.cover-design-badge {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 2px;
}

.cover-design-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.25;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
}

.cover-design-divider {
    width: 30px;
    height: 1px;
    background-color: var(--secondary);
}

.cover-design-desc {
    font-size: 0.65rem;
    color: var(--text-gray-light);
    line-height: 1.4;
}

.cover-design-author {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-light);
    text-transform: uppercase;
}

/* Book Spine */
.book-3d-spine {
    width: 32px; /* thickness */
    background: linear-gradient(180deg, #090c14 0%, #05070a 100%);
    transform: rotateY(-90deg) translateZ(16px);
    transform-origin: left center;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    color: var(--secondary);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.spine-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    transform: rotate(180deg);
}

.spine-author {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.5rem;
    color: var(--text-gray-light);
    transform: rotate(180deg);
}

/* Book Back */
.book-3d-back {
    width: 100%;
    background-color: #06090e;
    border-radius: 12px 3px 3px 12px;
    transform: rotateY(180deg) translateZ(16px);
}

/* Responsive adjustment for quick start and 3d book */
@media (max-width: 992px) {
    .hero-quick-start {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .quick-start-box {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 10px;
    }
    
    .quick-start-field input,
    .quick-start-field select {
        background-color: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .book-container-3d {
        transform: scale(0.9);
        margin-top: -20px;
    }
}

/* Service Process Section styling */
.process-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.process-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 56px;
}

.process-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.process-step {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.15);
    box-shadow: var(--shadow-md);
}

.step-num-lbl {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-block;
    line-height: 1;
}

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-gray-dark);
    line-height: 1.6;
    margin: 0;
}

/* Service detail pages */
.service-detail-band {
    padding: 80px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-detail-panel {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.service-detail-panel h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.service-detail-panel p {
    color: var(--text-gray-dark);
    margin-bottom: 16px;
}

.service-detail-panel ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.service-detail-panel li {
    color: var(--text-gray-dark);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.94rem;
}

.service-detail-panel li i {
    color: var(--success);
    margin-top: 4px;
}

@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Featured Authors Grid Section */
.featured-authors-section {
    padding: 90px 0;
    background-color: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.author-showcase-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.author-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.15);
}

.author-photo-wrapper {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.author-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.author-showcase-card:hover .author-photo-wrapper img {
    transform: scale(1.03);
}

.author-details {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.author-showcase-genre {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.author-details h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.author-book-title {
    font-size: 0.95rem;
    color: var(--text-gray-dark);
    margin-bottom: 16px;
    font-style: normal;
}

.author-book-title em {
    color: var(--primary);
    font-weight: 600;
}

.author-testimony {
    font-size: 0.95rem;
    color: var(--text-gray-dark);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
    flex-grow: 1;
}

.author-case-link {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.author-case-link i {
    font-size: 0.85rem;
    transition: var(--transition);
}

.author-case-link:hover i {
    transform: translateX(4px);
}

/* Hero Cover Toggles */
.hero-cover-toggles {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    position: relative;
    z-index: 10;
}

.cover-toggle-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-gray-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.cover-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.cover-toggle-btn.active {
    background-color: var(--secondary);
    color: var(--bg-dark);
    border-color: var(--secondary);
}

/* Genre Cover Themes */
/* Theme 1: Fantasy (Default deep purple/indigo & gold) */
.book-3d-card.theme-fantasy .book-3d-front {
    background-color: #0b0f19;
}
.book-3d-card.theme-fantasy .book-3d-cover-design {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    border-color: rgba(212, 175, 55, 0.25);
}
.book-3d-card.theme-fantasy .book-3d-spine {
    background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%);
}

/* Theme 2: Business (Deep dark olive/forest green & cream/gold) */
.book-3d-card.theme-business .book-3d-front {
    background-color: #061c15;
}
.book-3d-card.theme-business .book-3d-cover-design {
    background: linear-gradient(135deg, #062f21 0%, #021a12 100%);
    border-color: rgba(212, 175, 55, 0.35);
}
.book-3d-card.theme-business .cover-design-frame {
    border-color: rgba(212, 175, 55, 0.45);
}
.book-3d-card.theme-business .cover-design-divider {
    background-color: rgba(212, 175, 55, 0.7);
}
.book-3d-card.theme-business .cover-design-title {
    background: linear-gradient(135deg, #fef08a 0%, #fef3c7 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.book-3d-card.theme-business .book-3d-spine {
    background: linear-gradient(180deg, #062f21 0%, #021a12 100%);
}

/* Theme 3: Memoir (Deep crimson red & ivory/gold) */
.book-3d-card.theme-memoir .book-3d-front {
    background-color: #1e0b0b;
}
.book-3d-card.theme-memoir .book-3d-cover-design {
    background: linear-gradient(135deg, #450a0a 0%, #1c0505 100%);
    border-color: rgba(212, 175, 55, 0.35);
}
.book-3d-card.theme-memoir .cover-design-frame {
    border-color: rgba(212, 175, 55, 0.45);
}
.book-3d-card.theme-memoir .cover-design-divider {
    background-color: rgba(212, 175, 55, 0.7);
}
.book-3d-card.theme-memoir .cover-design-title {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 50%, #fda4af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.book-3d-card.theme-memoir .book-3d-spine {
    background: linear-gradient(180deg, #450a0a 0%, #1c0505 100%);
}

/* ==========================================================================
   LIGHT READABILITY PASS
   Keeps the site bright and readable while preserving the premium accents.
   ========================================================================== */

:root {
    --bg-dark: #ffffff;
    --bg-dark-card: #ffffff;
    --bg-light: #f7f8fb;
    --bg-white: #ffffff;
    --border-dark: #e2e8f0;
    --border-light: #d8dee8;

    --primary: #4338ca;
    --primary-light: #6366f1;
    --primary-glow: rgba(67, 56, 202, 0.12);
    --secondary: #b7791f;
    --secondary-hover: #8f5d16;
    --accent: #0f766e;
    --success: #047857;

    --text-light: #111827;
    --text-gray-light: #4b5563;
    --text-dark: #111827;
    --text-gray-dark: #374151;

    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.1);
    --shadow-glow: 0 0 30px rgba(67, 56, 202, 0.16);
}

body {
    background: var(--bg-white);
    color: var(--text-dark);
}

.header,
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.logo-text,
.nav-link,
.mobile-toggle .bar {
    color: var(--text-dark);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
}

.nav-btn {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.nav-btn:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
}

.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}

.dropdown-item {
    color: var(--text-gray-dark);
}

.dropdown-item:hover {
    background-color: #f3f4f6;
    color: var(--primary);
}

.hero,
.page-hero,
.calculator-section,
.contact-info-panel,
.footer {
    background-color: #ffffff;
    color: var(--text-dark);
    background-image:
        radial-gradient(rgba(67, 56, 202, 0.05) 1px, transparent 0),
        radial-gradient(rgba(183, 121, 31, 0.035) 1px, transparent 0);
    border-color: var(--border-light);
}

.hero {
    padding-top: 160px;
}

.hero h1,
.hero h2,
.hero h3,
.hero h4,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero h4,
.calculator-section h1,
.calculator-section h2,
.calculator-section h3,
.calculator-section h4,
.contact-info-panel h1,
.contact-info-panel h2,
.contact-info-panel h3,
.contact-info-panel h4,
.footer h1,
.footer h2,
.footer h3,
.footer h4 {
    color: var(--text-dark);
}

.hero-description,
.page-hero-subtitle,
.text-light-gray,
.contact-info-panel p,
.brand-tagline,
.footer-links a,
.footer-bottom-flex,
.calc-disclaimer,
.label-traditional,
.label-traditional .graph-pct {
    color: var(--text-gray-dark);
}

.hero-badge {
    background-color: rgba(183, 121, 31, 0.1);
    border-color: rgba(183, 121, 31, 0.26);
    color: var(--secondary);
}

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

.hero-stats,
.footer-bottom,
.compliance-badge,
.profit-comparison-graph,
.results-header {
    border-color: var(--border-light);
}

.stat-lbl,
.result-lbl,
.calc-input-group label {
    color: var(--text-gray-dark);
}

.btn-primary {
    color: #ffffff;
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.hero-lead-card,
.quick-start-box,
.calculator-grid,
.calc-results-panel,
.result-box,
.contact-wrapper,
.review-card,
.service-card,
.book-item,
.pipeline-content-card,
.process-step,
.author-showcase-card,
.story-card,
.guideline-step,
.faq-item,
.pricing-matrix,
.portfolio-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.lead-card-header p,
.lead-card-footer {
    color: var(--text-gray-dark);
}

.form-group input,
.form-group select,
.form-group textarea,
.quick-start-field input,
.quick-start-field select,
.price-input-wrapper input {
    background-color: #ffffff;
    color: var(--text-dark);
    border-color: var(--border-light);
}

.form-group input::placeholder,
.quick-start-field input::placeholder,
.price-input-wrapper input::placeholder {
    color: #6b7280;
}

.quick-start-field select option {
    background-color: #ffffff;
    color: var(--text-dark);
}

.format-chip,
.showcase-tab,
.cover-toggle-btn,
.slider-btn {
    background-color: #ffffff;
    border-color: var(--border-light);
    color: var(--text-dark);
}

.format-chip:hover,
.cover-toggle-btn:hover,
.slider-btn:hover {
    background-color: #f3f4f6;
    border-color: var(--primary-light);
    color: var(--primary);
}

.format-chip.active,
.showcase-tab.active,
.cover-toggle-btn.active,
.pipeline-node.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.pipeline-node.completed,
.guideline-num {
    color: #ffffff;
}

.pipeline-node.active .node-label {
    color: var(--text-dark);
}

.results-header,
.result-val,
.graph-label-row,
.slider-value {
    color: var(--text-dark);
}

.result-box.highlight-box {
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.08) 0%, rgba(183, 121, 31, 0.08) 100%);
    border-color: rgba(183, 121, 31, 0.24);
}

.graph-bar-outer,
input[type=range]::-webkit-slider-runnable-track {
    background-color: #e5e7eb;
}

.currency-prefix,
.quick-start-helper,
.breadcrumbs,
.breadcrumbs span {
    color: var(--text-gray-dark);
}

.contact-detail-item i,
.social-links a {
    background-color: #f3f4f6;
    color: var(--primary);
}

.footer-links a:hover,
.social-links a:hover {
    color: #ffffff;
}

.pricing-table-head {
    background-color: #f8fafc;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
}

.pricing-table-head h3,
.pricing-price span {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .nav-menu {
        background-color: #ffffff;
        border-top: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
    }

    .dropdown-menu {
        background-color: #f8fafc;
        border: 1px solid var(--border-light);
    }

    .quick-start-box {
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .quick-start-field input,
    .quick-start-field select {
        background-color: #ffffff;
        border-color: var(--border-light);
    }
}

/* --- Refined Hero Lead Form --- */
.hero {
    background-color: #ffffff;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.58) 100%),
        url('images/hero-publishing-workspace.png') right center / cover no-repeat;
    opacity: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 18% 24%, rgba(67, 56, 202, 0.08), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(183, 121, 31, 0.12), transparent 24%);
    pointer-events: none;
}

.hero-content,
.hero-wave {
    position: relative;
    z-index: 2;
}

.hero-wave .shape-fill {
    fill: #ffffff;
}

.hero-visual-area {
    align-items: stretch;
}

.hero-lead-card {
    width: min(100%, 460px);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.lead-card-header {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}

.lead-card-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lead-card-header h3 {
    color: var(--text-dark);
    font-size: 1.75rem;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-lead-form {
    display: grid;
    gap: 14px;
}

.hero-lead-form .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
}

.hero-lead-form .grid-2-col-compact {
    grid-template-columns: 1fr 1fr;
}

.hero-lead-form .form-group {
    gap: 7px;
    margin-bottom: 0;
}

.hero-lead-form .form-group label {
    color: var(--text-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-lead-form .form-group input,
.hero-lead-form .form-group select {
    min-height: 48px;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 0.94rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-lead-form .form-group input:hover,
.hero-lead-form .form-group select:hover {
    border-color: #aeb7c5;
    background-color: #ffffff;
}

.hero-lead-form .form-group input:focus,
.hero-lead-form .form-group select:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.12);
}

.hero-lead-form .btn-block {
    width: 100%;
    min-height: 52px;
    margin-top: 4px;
    border-radius: 12px;
    font-size: 0.98rem;
    box-shadow: 0 14px 28px rgba(67, 56, 202, 0.2);
}

.lead-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 0.8rem;
    font-weight: 700;
}

.lead-card-footer span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.lead-card-footer i {
    color: var(--success);
}

@media (max-width: 576px) {
    .hero::before {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%),
            url('images/hero-publishing-workspace.png') center top / cover no-repeat;
        opacity: 0.82;
    }

    .hero-lead-card {
        padding: 22px;
    }

    .hero-lead-form .grid-2-col-compact,
    .lead-card-footer {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

/* ==========================================================================
   TOP-TIER LAUNCH ADDITIONS
   ========================================================================== */

.proof-stack-section,
.dashboard-preview-section,
.before-after-section,
.service-estimator-section,
.booking-flow-section,
.resource-hub-section,
.booking-page-section,
.trust-page-section,
.authority-article-section {
    padding: 96px 0;
    background: #ffffff;
}

.dashboard-preview-section,
.service-estimator-section,
.trust-page-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.proof-stack-layout,
.service-estimator-layout,
.booking-flow-grid,
.booking-page-grid,
.trust-hero-grid,
.authority-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: center;
}

.proof-stack-copy,
.service-estimator-copy,
.booking-flow-copy {
    max-width: 560px;
}

.proof-stack-actions,
.booking-flow-actions,
.guide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.proof-stack-actions .btn-secondary,
.booking-flow-actions .btn-secondary,
.guide-actions .btn-secondary {
    color: var(--text-dark);
    border-color: #cbd5e1;
    background: #ffffff;
}

.proof-stack-actions .btn-secondary:hover,
.booking-flow-actions .btn-secondary:hover,
.guide-actions .btn-secondary:hover {
    color: var(--text-dark);
    border-color: var(--secondary);
    background: #fffaf4;
}

.proof-stack-grid,
.before-after-grid,
.guide-card-grid,
.trust-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.proof-stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-stack-item,
.comparison-card,
.guide-card,
.trust-card,
.article-panel,
.booking-panel,
.booking-form-card,
.service-estimator-card,
.callback-card {
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.proof-stack-item {
    min-height: 240px;
    padding: 28px;
}

.proof-stack-item i {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--primary);
    font-size: 1.1rem;
}

.proof-stack-item h3,
.comparison-card h3,
.guide-card h3,
.dashboard-sidebar h3,
.booking-panel h3,
.trust-card h3,
.article-panel h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 1.45rem;
}

.proof-stack-item p,
.comparison-card p,
.guide-card p,
.dashboard-sidebar p,
.dashboard-panel p,
.booking-panel p,
.callback-card p,
.trust-card p,
.article-panel p {
    color: var(--text-gray-dark);
    line-height: 1.7;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

.dashboard-sidebar {
    padding: 34px;
    background: #101827;
    color: #ffffff;
}

.dashboard-sidebar h3,
.dashboard-sidebar p {
    color: #ffffff;
}

.dashboard-label,
.dashboard-kicker,
.guide-card span,
.comparison-label-row span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-status-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.dashboard-status-list span {
    display: flex;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.dashboard-status-list i {
    color: var(--secondary);
}

.dashboard-main {
    padding: 34px;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--text-dark);
    font-weight: 800;
}

.dashboard-progress {
    width: 100%;
    height: 10px;
    margin: 18px 0 28px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

.dashboard-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.dashboard-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-panel {
    min-height: 210px;
    padding: 22px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #f8fafc;
}

.dashboard-panel h4 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.comparison-card {
    padding: 28px;
}

.comparison-label-row {
    display: grid;
    gap: 2px;
    margin-bottom: 14px;
}

.comparison-label-row strong {
    color: var(--text-dark);
    font-size: 1.02rem;
}

.comparison-label-row.improved span {
    color: var(--success);
}

.sample-copy {
    min-height: 92px;
}

.sample-copy.muted {
    color: #64748b;
}

.comparison-divider {
    height: 1px;
    margin: 22px 0;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

.cover-mini {
    min-height: 148px;
    display: grid;
    place-items: center;
    padding: 18px;
    border-radius: 8px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
}

.before-cover {
    background: linear-gradient(135deg, #94a3b8, #475569);
}

.after-cover {
    align-content: end;
    gap: 6px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.84)),
        url('images/hero-publishing-workspace.png') center / cover no-repeat;
}

.after-cover span,
.after-cover small {
    display: block;
    color: #ffffff;
}

.after-cover small {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-estimator-card {
    display: grid;
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
    gap: 24px;
    padding: 28px;
}

.estimator-controls {
    display: grid;
    gap: 18px;
}

.estimator-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.estimator-checks label {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.estimator-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 260px;
    padding: 28px;
    border: 1px solid rgba(193, 122, 22, 0.25);
    border-radius: 8px;
    background: linear-gradient(135deg, #fffaf4 0%, #ffffff 100%);
}

.estimator-result strong {
    display: block;
    margin-bottom: 14px;
    color: #b7791f;
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1;
}

.booking-flow-section {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)),
        url('images/hero-publishing-workspace.png') center / cover no-repeat;
}

.callback-card {
    padding: 30px;
}

.callback-card h3 {
    margin-bottom: 18px;
    color: var(--text-dark);
    font-size: 1.9rem;
}

.callback-card .btn-block {
    width: 100%;
}

.callback-note {
    margin-top: 14px;
    font-size: 0.9rem;
}

.callback-note.success {
    color: var(--success);
    font-weight: 800;
}

.guide-card {
    display: block;
    min-height: 230px;
    padding: 28px;
    color: inherit;
}

.guide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.32);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.booking-page-grid,
.trust-hero-grid,
.authority-article-grid {
    align-items: start;
}

.booking-panel,
.booking-form-card,
.article-panel,
.trust-card {
    padding: 30px;
}

.booking-slot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.booking-slot {
    min-height: 74px;
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.booking-slot strong,
.booking-slot span {
    display: block;
}

.booking-slot strong {
    font-size: 0.96rem;
}

.booking-slot span {
    color: var(--text-gray-dark);
    font-size: 0.82rem;
}

.booking-slot:hover,
.booking-slot.active {
    border-color: var(--primary);
    background: #eef2ff;
}

.booking-form-card .btn-block {
    width: 100%;
}

.booking-success {
    display: none;
}

.trust-card-grid {
    margin-top: 36px;
}

.trust-card {
    min-height: 260px;
}

.trust-card i {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 22px;
}

.authority-article-grid {
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
}

.article-toc {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 10px;
    padding: 24px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #ffffff;
}

.article-toc a {
    color: var(--text-gray-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.article-toc a:hover {
    color: var(--primary);
}

.article-panel {
    display: grid;
    gap: 26px;
}

.article-panel section {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.article-panel section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.article-panel ul {
    display: grid;
    gap: 10px;
    margin-left: 18px;
    color: var(--text-gray-dark);
}

.article-panel li {
    line-height: 1.7;
}

.resource-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.resource-feature-card {
    min-height: 220px;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.resource-feature-card h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 1.45rem;
}

.resource-feature-card p {
    margin-bottom: 16px;
    color: var(--text-gray-dark);
}

.resource-feature-card a {
    color: var(--primary);
    font-weight: 800;
}

@media (max-width: 1100px) {
    .dashboard-columns,
    .before-after-grid,
    .guide-card-grid,
    .trust-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .proof-stack-layout,
    .service-estimator-layout,
    .booking-flow-grid,
    .booking-page-grid,
    .trust-hero-grid,
    .authority-article-grid,
    .dashboard-shell,
    .service-estimator-card,
    .resource-feature-grid {
        grid-template-columns: 1fr;
    }

    .proof-stack-copy,
    .service-estimator-copy,
    .booking-flow-copy {
        max-width: none;
    }

    .article-toc {
        position: static;
    }
}

@media (max-width: 640px) {
    .proof-stack-section,
    .dashboard-preview-section,
    .before-after-section,
    .service-estimator-section,
    .booking-flow-section,
    .resource-hub-section,
    .booking-page-section,
    .trust-page-section,
    .authority-article-section {
        padding: 68px 0;
    }

    .proof-stack-grid,
    .estimator-checks,
    .booking-slot-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar,
    .dashboard-main,
    .service-estimator-card,
    .callback-card,
    .booking-panel,
    .booking-form-card,
    .article-panel,
    .trust-card {
        padding: 22px;
    }
}

.dropdown-menu-wide {
    min-width: 300px;
}

.nav-menu {
    gap: clamp(14px, 2vw, 28px);
}

.nav-link.active {
    color: var(--text-light);
}

.nav-link.active::after {
    width: 100%;
}

.nav-btn.active {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.premium-service-actions .btn-secondary {
    color: var(--text-dark);
    border-color: #cbd5e1;
    background: #ffffff;
}

.premium-service-actions .btn-secondary:hover {
    color: var(--text-dark);
    border-color: var(--secondary);
    background: #fffaf4;
}

@media (max-width: 1180px) and (min-width: 769px) {
    .nav-container {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 1.35rem;
    }

    .nav-link,
    .nav-btn {
        font-size: 0.82rem;
    }

    .nav-btn {
        padding: 10px 18px;
    }
}

/* ==========================================================================
   PREMIER PRACTICAL THEME
   Clean editorial surfaces, ink/navy actions, muted bronze highlights.
   ========================================================================== */

:root {
    --bg-dark: #101926;
    --bg-dark-card: #162235;
    --bg-light: #f4f6f8;
    --bg-white: #ffffff;
    --border-dark: rgba(255, 255, 255, 0.12);
    --border-light: #d9e1ea;

    --primary: #12304a;
    --primary-light: #2f5f7d;
    --primary-glow: rgba(18, 48, 74, 0.14);
    --secondary: #a8672d;
    --secondary-hover: #875226;
    --accent: #2f6f73;
    --success: #0f766e;

    --text-light: #f8fafc;
    --text-gray-light: #d6dee8;
    --text-dark: #101828;
    --text-gray-dark: #42526a;

    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 10px 28px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 20px 55px rgba(16, 24, 40, 0.12);
    --shadow-glow: 0 0 0 4px rgba(18, 48, 74, 0.10);
    --border-radius: 8px;
}

body {
    background: #f4f6f8;
    color: var(--text-dark);
}

.header,
.header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(16, 24, 40, 0.10);
    box-shadow: 0 12px 35px rgba(16, 24, 40, 0.08);
}

.header.scrolled {
    padding: 0;
}

.logo-text,
.nav-link,
.nav-link.active,
.dropdown-toggle {
    color: var(--text-dark);
}

.logo-highlight,
.logo-icon,
.nav-link:hover,
.dropdown-item i,
.section-tag,
.lead-card-kicker,
.authority-kicker,
.diagnostic-result-label,
.dashboard-label,
.dashboard-kicker,
.guide-card span,
.comparison-label-row span {
    color: var(--secondary);
}

.nav-link::after {
    background-color: var(--secondary);
}

.nav-btn {
    border-radius: 8px;
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(18, 48, 74, 0.18);
}

.nav-btn:hover,
.nav-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(168, 103, 45, 0.20);
}

.dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.12);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(16, 24, 40, 0.14);
}

.dropdown-item {
    color: var(--text-dark);
}

.dropdown-item:hover {
    background: #f4f6f8;
    color: var(--primary);
}

.mobile-toggle .bar {
    background-color: var(--text-dark);
}

.btn {
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 0;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(18, 48, 74, 0.16);
}

.btn-primary:hover {
    background: #0b243a;
    border-color: #0b243a;
    box-shadow: 0 18px 34px rgba(18, 48, 74, 0.22);
}

.btn-secondary,
.premium-service-actions .btn-secondary,
.hero-actions .btn-secondary,
.proof-stack-actions .btn-secondary,
.booking-flow-actions .btn-secondary,
.guide-actions .btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border-color: #cad4df;
}

.btn-secondary:hover,
.premium-service-actions .btn-secondary:hover,
.hero-actions .btn-secondary:hover,
.proof-stack-actions .btn-secondary:hover,
.booking-flow-actions .btn-secondary:hover,
.guide-actions .btn-secondary:hover {
    background: #eef3f7;
    border-color: var(--primary-light);
    color: var(--primary);
}

.hero {
    background: #ffffff;
}

.hero::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 48%, rgba(255, 255, 255, 0.74) 100%),
        url('images/hero-publishing-workspace.png') right center / cover no-repeat;
}

.hero::after {
    background:
        linear-gradient(180deg, rgba(18, 48, 74, 0.04) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(90deg, rgba(168, 103, 45, 0.08) 0%, rgba(255, 255, 255, 0) 34%);
}

.hero-title,
.section-title,
.lead-card-header h3,
.hero h1,
.hero h2,
.hero h3,
.hero h4 {
    color: var(--text-dark);
}

.hero-description,
.section-desc,
.lead-card-header p,
.lead-card-footer,
.authority-item strong,
.difference-panel p,
.diagnostic-result p,
.dashboard-panel p,
.comparison-card p,
.guide-card p,
.resource-feature-card p {
    color: var(--text-gray-dark);
}

.hero-badge,
.hero-proof-row span {
    border-color: rgba(168, 103, 45, 0.22);
    background: #fff8f1;
    color: #7b4a21;
    box-shadow: none;
}

.hero-proof-row i,
.lead-card-footer i,
.diagnostic-result li i,
.service-detail-panel li i,
.portfolio-work-list li i {
    color: var(--success);
}

.hero-lead-card,
.authority-item,
.diagnostic-card,
.difference-panel,
.author-showcase-card,
.service-card,
.portfolio-card,
.portfolio-featured-card,
.review-card,
.story-card,
.proof-stack-item,
.comparison-card,
.guide-card,
.trust-card,
.article-panel,
.booking-panel,
.booking-form-card,
.service-estimator-card,
.callback-card,
.resource-feature-card,
.pipeline-content-card,
.calc-results-panel,
.result-box,
.contact-form-panel,
.contact-wrapper,
.premium-service-cta-inner {
    border-radius: 8px;
    border-color: rgba(16, 24, 40, 0.12);
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(16, 24, 40, 0.08);
}

.hero-lead-card {
    border-top: 4px solid var(--primary);
}

.lead-card-header {
    border-bottom-color: #d9e1ea;
}

.form-group label,
.hero-lead-form .form-group label,
.calc-input-group label,
.result-lbl {
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea,
.hero-lead-form .form-group input,
.hero-lead-form .form-group select,
.quick-start-field input,
.quick-start-field select,
.currency-select,
.price-input-wrapper input {
    border-radius: 8px;
    background: #ffffff;
    border-color: #c9d3de;
    color: var(--text-dark);
    box-shadow: none;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover,
.hero-lead-form .form-group input:hover,
.hero-lead-form .form-group select:hover,
.currency-select:hover {
    border-color: #9cadbd;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.hero-lead-form .form-group input:focus,
.hero-lead-form .form-group select:focus,
.currency-select:focus,
.price-input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(18, 48, 74, 0.10);
}

.authority-strip,
.proof-stack-section,
.services-section,
.before-after-section,
.resource-hub-section,
.booking-page-section,
.authority-article-section {
    background: #ffffff;
}

.journey-section,
.dashboard-preview-section,
.diagnostic-section,
.studio-difference-section,
.service-estimator-section,
.showcase-section,
.reviews-section,
.trust-page-section {
    background: #f4f6f8;
}

.dashboard-sidebar,
.difference-panel.featured,
.contact-info-panel,
.footer,
.page-hero {
    background: #101926;
    color: #ffffff;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(90deg, rgba(47, 111, 115, 0.16), rgba(168, 103, 45, 0.06));
}

.page-hero .page-hero-title,
.page-hero h1,
.page-hero h2,
.contact-info-panel h1,
.contact-info-panel h2,
.contact-info-panel h3,
.contact-info-panel h4,
.footer h1,
.footer h2,
.footer h3,
.footer h4 {
    color: #ffffff;
}

.page-hero-subtitle,
.breadcrumbs,
.breadcrumbs a,
.contact-info-panel p,
.contact-detail-item p,
.brand-tagline,
.footer-links a,
.footer-bottom-flex,
.footer-bottom-flex a {
    color: rgba(255, 255, 255, 0.76);
}

.breadcrumbs a:hover,
.footer-links a:hover,
.footer-bottom-flex a:hover {
    color: #ffffff;
}

.calculator-section {
    background: #101926;
    color: #ffffff;
    background-image:
        linear-gradient(135deg, rgba(47, 111, 115, 0.14), rgba(168, 103, 45, 0.06)),
        linear-gradient(180deg, #101926 0%, #142034 100%);
}

.calculator-section .section-title,
.calculator-section .section-desc,
.calculator-section h1,
.calculator-section h2,
.calculator-section h3,
.calculator-section h4 {
    color: #ffffff;
}

.calculator-grid {
    border-radius: 8px;
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.calc-results-panel {
    border-color: #d9e1ea;
}

.results-header,
.result-val,
.graph-label-row,
.slider-value,
.currency-prefix {
    color: var(--text-dark);
}

.result-box.highlight-box,
.diagnostic-result,
.estimator-result {
    background: linear-gradient(135deg, #fff8f1 0%, #ffffff 70%);
    border-color: rgba(168, 103, 45, 0.28);
}

.result-box.highlight-box .result-val,
.estimator-result strong {
    color: var(--secondary);
}

.format-chip,
.showcase-tab,
.cover-toggle-btn,
.slider-btn,
.booking-slot,
.estimator-checks label {
    border-radius: 8px;
    background: #ffffff;
    border-color: #c9d3de;
    color: var(--text-dark);
}

.format-chip:hover,
.showcase-tab:hover,
.cover-toggle-btn:hover,
.slider-btn:hover,
.booking-slot:hover {
    background: #eef3f7;
    border-color: var(--primary-light);
    color: var(--primary);
}

.format-chip.active,
.showcase-tab.active,
.cover-toggle-btn.active,
.pipeline-node.active,
.booking-slot.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(18, 48, 74, 0.18);
}

.pipeline-node.active .node-label {
    color: var(--text-dark);
}

.pipeline-track,
input[type=range]::-webkit-slider-runnable-track,
.graph-bar-outer {
    background: #d9e1ea;
}

input[type=range]::-webkit-slider-thumb {
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(168, 103, 45, 0.12);
}

.graph-bar-inner.yours,
.dashboard-progress span {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.graph-bar-inner.traditional {
    background: #7b8797;
}

.proof-stack-item i,
.trust-card i,
.contact-detail-item i,
.social-links a {
    background: #eef3f7;
    color: var(--primary);
}

.social-links a:hover,
.contact-detail-item i {
    border-color: rgba(255, 255, 255, 0.14);
}

.premium-service-cta {
    background: #ffffff;
}

.premium-service-cta-inner {
    background: linear-gradient(135deg, #ffffff 0%, #f4f6f8 100%);
}

.sticky-mobile-cta {
    background: var(--primary);
    color: #ffffff;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .header,
    .header.scrolled {
        background: rgba(255, 255, 255, 0.98);
    }

    .nav-menu {
        background: #ffffff;
        border: 1px solid rgba(16, 24, 40, 0.12);
        box-shadow: 0 24px 70px rgba(16, 24, 40, 0.14);
    }

    .nav-menu.open {
        padding: 22px;
    }

    .dropdown-menu,
    .dropdown-menu-wide {
        background: #f4f6f8;
        border-color: #d9e1ea;
        box-shadow: none;
    }

    .hero::before {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%),
            url('images/hero-publishing-workspace.png') center top / cover no-repeat;
    }
}

/* Real book portfolio additions */
.real-book-featured-card {
    border-color: rgba(168, 103, 45, 0.22);
}

.real-cover-preview {
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, #f8fafc 0%, #edf1f5 100%);
}

.real-cover-preview::before,
.real-cover-preview::after {
    display: none;
}

.real-cover-preview img {
    width: min(72%, 235px);
    max-height: 380px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 24px 45px rgba(16, 24, 40, 0.24);
}

@media (max-width: 576px) {
    .real-cover-preview img {
        width: min(82%, 240px);
    }
}

/* Portfolio premium showcase pass */
.portfolio-featured-section {
    background:
        linear-gradient(180deg, #f4f6f8 0%, #ffffff 42%, #f4f6f8 100%);
}

.portfolio-featured-section .section-header {
    max-width: 760px;
    margin-bottom: 46px;
}

.portfolio-featured-section .section-title {
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.95;
}

.portfolio-featured-section .section-desc {
    max-width: 560px;
    font-size: 1.05rem;
}

.portfolio-featured-grid {
    gap: 34px;
}

.portfolio-featured-card.real-book-featured-card,
.portfolio-featured-card.holy-island-featured-card {
    grid-template-columns: minmax(380px, 0.95fr) minmax(0, 1.05fr);
    min-height: 610px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    background: #ffffff;
    box-shadow: 0 30px 85px rgba(16, 24, 40, 0.12);
}

.portfolio-featured-card.real-book-featured-card:nth-child(even) .portfolio-cover-preview {
    order: 2;
}

.portfolio-featured-card.real-book-featured-card:nth-child(even) .portfolio-featured-copy {
    order: 1;
}

.portfolio-featured-card.real-book-featured-card .portfolio-cover-preview,
.portfolio-featured-card.holy-island-featured-card .portfolio-cover-preview {
    min-height: 610px;
    padding: 42px;
    background:
        radial-gradient(circle at 50% 35%, rgba(168, 103, 45, 0.13), transparent 32%),
        linear-gradient(135deg, #f8fafc 0%, #e7edf3 100%);
}

.portfolio-featured-card.real-book-featured-card .real-cover-preview img,
.portfolio-featured-card.holy-island-featured-card .real-cover-preview img {
    width: min(82%, 330px);
    max-height: 500px;
    border-radius: 6px;
    box-shadow: 0 34px 70px rgba(16, 24, 40, 0.28);
}

.portfolio-featured-card.real-book-featured-card .portfolio-featured-copy,
.portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 5vw, 68px);
}

.portfolio-featured-card.real-book-featured-card .portfolio-tag,
.portfolio-featured-card.holy-island-featured-card .portfolio-tag {
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.portfolio-featured-card.real-book-featured-card .portfolio-featured-copy h3,
.portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy h3 {
    max-width: 620px;
    margin: 0 0 18px;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.portfolio-featured-card.real-book-featured-card .portfolio-featured-copy p,
.portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy p {
    max-width: 600px;
    margin-bottom: 24px;
    color: #344256;
    font-size: clamp(1.05rem, 1.7vw, 1.24rem);
    line-height: 1.55;
}

.portfolio-featured-card.real-book-featured-card .portfolio-work-list,
.portfolio-featured-card.holy-island-featured-card .portfolio-work-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-featured-card.real-book-featured-card .portfolio-work-list li,
.portfolio-featured-card.holy-island-featured-card .portfolio-work-list li {
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    background: #f0fdfa;
    color: #134e4a;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.25;
}

.portfolio-featured-card.real-book-featured-card .portfolio-work-list i,
.portfolio-featured-card.holy-island-featured-card .portfolio-work-list i {
    margin-top: 0;
}

.portfolio-featured-card.real-book-featured-card .portfolio-book-link,
.portfolio-featured-card.holy-island-featured-card .portfolio-book-link {
    width: fit-content;
    margin-top: 30px;
    padding: 13px 18px;
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(18, 48, 74, 0.18);
}

.portfolio-featured-card.real-book-featured-card .portfolio-book-link:hover,
.portfolio-featured-card.holy-island-featured-card .portfolio-book-link:hover {
    background: var(--secondary);
    color: #ffffff;
}

.portfolio-featured-card.real-book-featured-card .cover-link-badge,
.portfolio-featured-card.holy-island-featured-card .cover-link-badge {
    right: 28px;
    bottom: 28px;
    border-radius: 8px;
    background: rgba(16, 25, 38, 0.92);
}

@media (max-width: 992px) {
    .portfolio-featured-card.real-book-featured-card,
    .portfolio-featured-card.holy-island-featured-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .portfolio-featured-card.real-book-featured-card:nth-child(even) .portfolio-cover-preview,
    .portfolio-featured-card.real-book-featured-card:nth-child(even) .portfolio-featured-copy {
        order: initial;
    }

    .portfolio-featured-card.real-book-featured-card .portfolio-cover-preview,
    .portfolio-featured-card.holy-island-featured-card .portfolio-cover-preview {
        min-height: 560px;
    }
}

@media (max-width: 576px) {
    .portfolio-featured-section .section-title {
        font-size: 2.65rem;
    }

    .portfolio-featured-card.real-book-featured-card .portfolio-cover-preview,
    .portfolio-featured-card.holy-island-featured-card .portfolio-cover-preview {
        min-height: 420px;
        padding: 28px;
    }

    .portfolio-featured-card.real-book-featured-card .real-cover-preview img,
    .portfolio-featured-card.holy-island-featured-card .real-cover-preview img {
        width: min(88%, 260px);
        max-height: 340px;
    }

    .portfolio-featured-card.real-book-featured-card .portfolio-featured-copy h3,
    .portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy h3 {
        font-size: 2.45rem;
    }

    .portfolio-featured-card.real-book-featured-card .portfolio-book-link,
    .portfolio-featured-card.holy-island-featured-card .portfolio-book-link {
        width: 100%;
        justify-content: center;
    }
}

/* Portfolio typography efficiency pass */
.portfolio-snapshot-section .section-title,
.portfolio-featured-section .section-title,
.portfolio-review-section .section-title,
.portfolio-segments-section .section-title,
.portfolio-cta .section-title {
    text-wrap: balance;
}

.portfolio-featured-section .section-title {
    max-width: 820px;
    font-size: clamp(2.35rem, 4.8vw, 4.1rem);
    line-height: 1.02;
}

.portfolio-featured-section .section-desc {
    font-size: 1rem;
    line-height: 1.55;
}

.portfolio-featured-card.real-book-featured-card .portfolio-featured-copy,
.portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy {
    gap: 0;
}

.portfolio-featured-card.real-book-featured-card .portfolio-featured-copy h3,
.portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy h3 {
    max-width: 640px;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.25vw, 3.25rem);
    line-height: 1.03;
    text-wrap: balance;
}

.portfolio-featured-card.real-book-featured-card .portfolio-featured-copy p,
.portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy p {
    max-width: 560px;
    font-size: 1.02rem;
    line-height: 1.58;
}

.portfolio-featured-card.real-book-featured-card .portfolio-tag,
.portfolio-featured-card.holy-island-featured-card .portfolio-tag {
    font-family: var(--font-body);
    font-size: 0.73rem;
    line-height: 1.35;
}

.portfolio-featured-card.real-book-featured-card .portfolio-work-list li,
.portfolio-featured-card.holy-island-featured-card .portfolio-work-list li {
    font-size: 0.83rem;
    letter-spacing: 0;
}

.portfolio-featured-card:not(.real-book-featured-card):not(.holy-island-featured-card) .portfolio-featured-copy h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    line-height: 1.08;
    text-wrap: balance;
}

.portfolio-featured-card:not(.real-book-featured-card):not(.holy-island-featured-card) .portfolio-featured-copy p {
    font-size: 0.98rem;
    line-height: 1.58;
}

.portfolio-review-card h3,
.portfolio-title,
.portfolio-featured-copy h3 {
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .portfolio-featured-section .section-header {
        margin-bottom: 30px;
    }

    .portfolio-featured-section .section-title {
        font-size: 2.3rem;
        line-height: 1.05;
    }

    .portfolio-featured-section .section-desc {
        font-size: 0.96rem;
    }

    .portfolio-featured-card.real-book-featured-card .portfolio-featured-copy,
    .portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy {
        padding: 28px;
    }

    .portfolio-featured-card.real-book-featured-card .portfolio-featured-copy h3,
    .portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy h3 {
        font-size: clamp(1.95rem, 9vw, 2.65rem);
        line-height: 1.06;
        margin-bottom: 14px;
    }

    .portfolio-featured-card.real-book-featured-card .portfolio-featured-copy p,
    .portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy p {
        font-size: 0.98rem;
        line-height: 1.55;
        margin-bottom: 18px;
    }

    .portfolio-featured-card.real-book-featured-card .portfolio-work-list,
    .portfolio-featured-card.holy-island-featured-card .portfolio-work-list {
        gap: 8px;
    }

    .portfolio-featured-card.real-book-featured-card .portfolio-work-list li,
    .portfolio-featured-card.holy-island-featured-card .portfolio-work-list li {
        width: 100%;
        border-radius: 8px;
        font-size: 0.82rem;
    }
}

@media (max-width: 380px) {
    .portfolio-featured-card.real-book-featured-card .portfolio-featured-copy h3,
    .portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy h3 {
        font-size: 1.86rem;
    }

    .portfolio-featured-card.real-book-featured-card .portfolio-featured-copy p,
    .portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy p {
        font-size: 0.94rem;
    }
}

/* Portfolio text polish */
.portfolio-featured-card.real-book-featured-card .portfolio-featured-copy h3,
.portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy h3 {
    letter-spacing: -0.01em;
}

.portfolio-featured-copy a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.14em;
}

.portfolio-featured-card.real-book-featured-card .portfolio-featured-copy p,
.portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy p {
    color: #3c4a5f;
}

@media (max-width: 576px) {
    .portfolio-featured-section .section-title {
        font-size: 2.35rem;
        line-height: 1;
    }

    .portfolio-featured-card.real-book-featured-card .portfolio-featured-copy h3,
    .portfolio-featured-card.holy-island-featured-card .portfolio-featured-copy h3 {
        font-size: clamp(2.1rem, 10vw, 2.7rem);
        line-height: 1.02;
    }
}

/* Relevant image pass */
.visual-proof-section {
    padding: 92px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.visual-proof-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 54px;
    align-items: center;
}

.visual-proof-copy .section-title {
    max-width: 620px;
    margin-bottom: 18px;
    font-size: clamp(2.35rem, 4.8vw, 4.35rem);
    line-height: 1.02;
    text-wrap: balance;
}

.visual-proof-copy .section-desc {
    max-width: 560px;
    color: #3c4a5f;
}

.visual-proof-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.visual-proof-actions .btn-secondary {
    color: var(--text-dark);
    border-color: var(--border-light);
    background: #ffffff;
}

.visual-proof-actions .btn-secondary:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

.visual-proof-media {
    position: relative;
    min-height: 560px;
}

.visual-proof-workspace {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(216, 222, 232, 0.9);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.visual-cover-rail {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.visual-cover-tile {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(216, 222, 232, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.visual-cover-tile img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 6px;
    background: #eef2f7;
}

.visual-cover-tile span {
    color: #263348;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.portfolio-img-photo {
    padding: 0;
    background: #101926;
}

.portfolio-img-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.portfolio-img-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.24));
    pointer-events: none;
}

.portfolio-card:hover .portfolio-img-photo img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.portfolio-img-photo .portfolio-img-overlay {
    z-index: 2;
}

.image-pane-visual {
    padding: 0;
    min-height: 420px;
    overflow: hidden;
    background: #ffffff;
}

.image-pane-visual img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.team-photo {
    width: 116px;
    height: 116px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

@media (max-width: 992px) {
    .visual-proof-layout {
        grid-template-columns: 1fr;
    }

    .visual-proof-media {
        min-height: 520px;
    }
}

@media (max-width: 768px) {
    .visual-proof-section {
        padding: 70px 0;
    }

    .visual-proof-workspace {
        height: 320px;
    }

    .visual-cover-rail {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 16px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .visual-proof-media {
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .visual-proof-actions .btn {
        width: 100%;
    }

    .visual-cover-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .visual-cover-tile {
        padding: 10px;
    }
}

/* Location landing pages */
.location-intro-panel {
    padding: 34px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.location-intro-panel h3,
.location-card h3,
.location-region-heading {
    text-wrap: balance;
}

.location-landmark-band {
    padding: 42px 0 0;
    background: #ffffff;
}

.location-landmark-hero {
    position: relative;
    overflow: hidden;
    width: min(100%, 980px);
    margin: 0 auto;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #eef2f7;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.location-landmark-hero img {
    display: block;
    width: 100%;
    height: clamp(260px, 36vw, 430px);
    object-fit: cover;
}

.location-landmark-hero figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    max-width: min(520px, calc(100% - 36px));
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #263348;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.35;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.location-landmark {
    margin: -12px -12px 26px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef2f7;
}

.location-landmark img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.location-landmark figcaption {
    padding: 10px 12px;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
}

.location-side-stack {
    display: grid;
    gap: 18px;
    align-self: start;
}

.location-side-landmark {
    overflow: hidden;
    width: min(100%, 520px);
    justify-self: end;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #eef2f7;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.location-side-landmark img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.location-side-landmark figcaption {
    padding: 10px 12px;
    color: #263348;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
}

.location-meta-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    list-style: none;
}

.location-meta-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #334155;
    font-weight: 700;
}

.location-meta-list i {
    margin-top: 4px;
    color: var(--accent);
}

.location-city-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.location-card {
    display: grid;
    gap: 10px;
    padding: 22px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.location-card:hover {
    transform: translateY(-3px);
    border-color: rgba(67, 56, 202, 0.28);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.location-card h3 {
    font-size: 1.65rem;
    line-height: 1.05;
}

.location-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
}

.location-card span {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.location-region {
    margin-top: 46px;
}

.location-region:first-child {
    margin-top: 0;
}

.location-region-heading {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 6px;
}

@media (max-width: 900px) {
    .location-detail-grid {
        grid-template-columns: 1fr;
    }

    .location-side-landmark {
        justify-self: stretch;
        width: 100%;
    }

    .location-city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .location-intro-panel {
        padding: 24px;
    }

    .location-landmark-band {
        padding-top: 24px;
    }

    .location-landmark-hero img {
        height: 230px;
    }

    .location-landmark-hero figcaption {
        position: static;
        max-width: none;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid var(--border-light);
    }

    .location-city-grid {
        grid-template-columns: 1fr;
    }
}

/* Summerset Press LTD theme refresh */
:root {
    --bg-dark: #12302f;
    --bg-dark-card: #183b39;
    --bg-light: #f5f7f4;
    --bg-white: #ffffff;
    --border-dark: rgba(255, 255, 255, 0.14);
    --border-light: #d9e1d8;

    --primary: #143c3a;
    --primary-light: #2f6862;
    --primary-glow: rgba(20, 60, 58, 0.14);
    --secondary: #b46f38;
    --secondary-hover: #8f5228;
    --accent: #587f5a;
    --success: #2f7d59;

    --text-light: #f8fbf7;
    --text-gray-light: #dce7df;
    --text-dark: #101918;
    --text-gray-dark: #3f514c;

    --shadow-sm: 0 1px 2px rgba(16, 25, 24, 0.06);
    --shadow-md: 0 10px 28px rgba(16, 25, 24, 0.09);
    --shadow-lg: 0 22px 58px rgba(16, 25, 24, 0.13);
    --shadow-glow: 0 0 0 4px rgba(20, 60, 58, 0.10);
}

body {
    background: #f5f7f4;
    color: var(--text-dark);
}

.header,
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(20, 60, 58, 0.13);
    box-shadow: 0 12px 34px rgba(16, 25, 24, 0.08);
}

.logo-highlight,
.logo-icon,
.nav-link:hover,
.dropdown-item i,
.section-tag,
.lead-card-kicker,
.authority-kicker,
.diagnostic-result-label,
.dashboard-label,
.dashboard-kicker,
.guide-card span,
.comparison-label-row span,
.portfolio-tag {
    color: var(--secondary);
}

.nav-link::after {
    background-color: var(--secondary);
}

.nav-btn,
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(20, 60, 58, 0.18);
}

.nav-btn:hover,
.nav-btn.active,
.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(180, 111, 56, 0.22);
}

.btn-secondary,
.premium-service-actions .btn-secondary,
.hero-actions .btn-secondary,
.proof-stack-actions .btn-secondary,
.booking-flow-actions .btn-secondary,
.guide-actions .btn-secondary,
.visual-proof-actions .btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border-color: #cbd8cf;
}

.btn-secondary:hover,
.premium-service-actions .btn-secondary:hover,
.hero-actions .btn-secondary:hover,
.proof-stack-actions .btn-secondary:hover,
.booking-flow-actions .btn-secondary:hover,
.guide-actions .btn-secondary:hover,
.visual-proof-actions .btn-secondary:hover {
    background: #eef4ef;
    border-color: var(--primary-light);
    color: var(--primary);
}

.hero {
    background: #fbfcfa;
}

.hero::before {
    background:
        linear-gradient(90deg, rgba(251, 252, 250, 0.99) 0%, rgba(251, 252, 250, 0.94) 48%, rgba(251, 252, 250, 0.72) 100%),
        url('images/hero-publishing-workspace.png') right center / cover no-repeat;
}

.hero::after {
    background:
        linear-gradient(180deg, rgba(20, 60, 58, 0.06) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(90deg, rgba(180, 111, 56, 0.10) 0%, rgba(255, 255, 255, 0) 34%);
}

.hero-wave .shape-fill {
    fill: #ffffff;
}

.hero-badge,
.lead-card-kicker,
.section-tag,
.authority-kicker {
    color: var(--secondary);
}

.hero-badge {
    background: #fff8f1;
    border-color: rgba(180, 111, 56, 0.28);
}

.hero-proof-row span,
.hero-stats,
.hero-lead-card,
.authority-item,
.proof-stack-item,
.service-card,
.diagnostic-card,
.estimate-card,
.location-card,
.location-intro-panel,
.location-side-landmark,
.portfolio-card,
.portfolio-featured-card,
.portfolio-review-card,
.guide-card {
    border-color: #d9e1d8;
    box-shadow: 0 18px 42px rgba(16, 25, 24, 0.08);
}

.hero-lead-card,
.diagnostic-card,
.estimate-card,
.location-intro-panel,
.location-card,
.portfolio-card,
.portfolio-featured-card,
.portfolio-review-card {
    background: #ffffff;
}

.authority-strip,
.visual-proof-section,
.proof-stack-section,
.service-detail-band,
.bg-light {
    background: #f5f7f4;
}

.bg-white {
    background: #ffffff;
    border-color: #d9e1d8;
}

.page-hero,
.calculator-section,
.contact-info-panel,
.footer {
    background:
        radial-gradient(circle at top left, rgba(180, 111, 56, 0.16), transparent 34%),
        linear-gradient(135deg, #12302f 0%, #0d201f 100%);
    color: var(--text-light);
}

.page-hero-subtitle,
.calculator-section p,
.contact-info-panel p,
.footer,
.footer-links a,
.footer-bottom-flex {
    color: var(--text-gray-light);
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.13);
    background: rgba(6, 15, 14, 0.28);
}

.dropdown-menu {
    border-color: #d9e1d8;
    box-shadow: 0 22px 58px rgba(16, 25, 24, 0.13);
}

.dropdown-item:hover {
    background: #eef4ef;
    color: var(--primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.hero-lead-form .form-group input:focus,
.hero-lead-form .form-group select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(20, 60, 58, 0.10);
}

.portfolio-featured-card.real-book-featured-card .portfolio-work-list li,
.portfolio-featured-card.holy-island-featured-card .portfolio-work-list li {
    background: #eef7f1;
    border-color: rgba(47, 125, 89, 0.20);
    color: #1e5640;
}

.portfolio-featured-card.real-book-featured-card .portfolio-book-link,
.portfolio-featured-card.holy-island-featured-card .portfolio-book-link {
    background: var(--primary);
}

.portfolio-featured-card.real-book-featured-card .portfolio-book-link:hover,
.portfolio-featured-card.holy-island-featured-card .portfolio-book-link:hover {
    background: var(--secondary);
}

.comparison-after,
.diagnostic-result,
.royalty-highlight,
.visual-cover-tile {
    border-color: rgba(180, 111, 56, 0.25);
    background: #fffaf5;
}

/* UK-local Summerset theme */
:root {
    --bg-dark: #10283f;
    --bg-dark-card: #173650;
    --bg-light: #f3f6f7;
    --bg-white: #ffffff;
    --border-dark: rgba(255, 255, 255, 0.15);
    --border-light: #d7e0e3;

    --primary: #10283f;
    --primary-light: #28506f;
    --primary-glow: rgba(16, 40, 63, 0.14);
    --secondary: #9f2f3f;
    --secondary-hover: #7e2231;
    --accent: #0f6b5f;
    --success: #176f4f;

    --text-light: #f8fbfc;
    --text-gray-light: #dbe7ea;
    --text-dark: #111820;
    --text-gray-dark: #40515a;
}

body {
    background:
        linear-gradient(180deg, #f8fafb 0%, #f3f6f7 100%);
}

.header,
.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(16, 40, 63, 0.12);
    box-shadow: 0 12px 34px rgba(16, 40, 63, 0.08);
}

.logo-highlight,
.logo-icon,
.nav-link:hover,
.dropdown-item i,
.section-tag,
.lead-card-kicker,
.authority-kicker,
.diagnostic-result-label,
.dashboard-label,
.dashboard-kicker,
.guide-card span,
.comparison-label-row span,
.portfolio-tag {
    color: var(--secondary);
}

.nav-link::after {
    background-color: var(--secondary);
}

.nav-btn,
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(16, 40, 63, 0.18);
}

.nav-btn:hover,
.nav-btn.active,
.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(159, 47, 63, 0.22);
}

.hero {
    background: #f8fafb;
}

.hero::before {
    background:
        linear-gradient(90deg, rgba(248, 250, 251, 0.99) 0%, rgba(248, 250, 251, 0.94) 47%, rgba(248, 250, 251, 0.78) 100%),
        url('images/locations/real/london-landmark-real.jpg') right center / cover no-repeat;
}

.hero::after {
    background:
        linear-gradient(180deg, rgba(16, 40, 63, 0.08) 0%, rgba(255, 255, 255, 0) 44%),
        linear-gradient(90deg, rgba(159, 47, 63, 0.10) 0%, rgba(255, 255, 255, 0) 38%);
}

.hero-badge {
    background: #fff7f8;
    border-color: rgba(159, 47, 63, 0.24);
}

.hero-proof-row span,
.hero-stats,
.hero-lead-card,
.authority-item,
.proof-stack-item,
.service-card,
.diagnostic-card,
.estimate-card,
.location-card,
.location-intro-panel,
.location-side-landmark,
.portfolio-card,
.portfolio-featured-card,
.portfolio-review-card,
.guide-card {
    border-color: #d7e0e3;
    box-shadow: 0 18px 42px rgba(16, 40, 63, 0.08);
}

.page-hero,
.calculator-section,
.contact-info-panel,
.footer {
    background:
        radial-gradient(circle at 12% 8%, rgba(159, 47, 63, 0.20), transparent 30%),
        radial-gradient(circle at 92% 14%, rgba(15, 107, 95, 0.18), transparent 34%),
        linear-gradient(135deg, #10283f 0%, #071723 100%);
}

.authority-strip,
.visual-proof-section,
.proof-stack-section,
.service-detail-band,
.bg-light {
    background: #f3f6f7;
}

.uk-local-proof-section {
    padding: 92px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f6f7 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.uk-local-proof-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.uk-local-proof-copy .section-title {
    max-width: 620px;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 1.04;
    text-wrap: balance;
}

.uk-market-points {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.uk-market-points span {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #273946;
    font-weight: 800;
}

.uk-market-points i {
    margin-top: 4px;
    color: var(--accent);
}

.uk-local-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.uk-local-photo-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(16, 40, 63, 0.12);
}

.uk-local-photo-grid img:nth-child(2) {
    transform: translateY(26px);
}

.uk-local-photo-grid img:nth-child(3) {
    transform: translateY(-12px);
}

@media (max-width: 900px) {
    .uk-local-proof-layout {
        grid-template-columns: 1fr;
    }

    .uk-local-photo-grid img:nth-child(2),
    .uk-local-photo-grid img:nth-child(3) {
        transform: none;
    }
}

@media (max-width: 560px) {
    .uk-local-proof-section {
        padding: 70px 0;
    }

    .uk-local-photo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* Summerset crest brand integration */
:root {
    --brand-navy: #0b2d63;
    --brand-navy-deep: #071d42;
    --brand-gold: #c8a252;
    --brand-gold-dark: #9f7833;
    --brand-wine: #9f2f3f;

    --bg-dark: #0b2d63;
    --bg-dark-card: #123a75;
    --primary: #0b2d63;
    --primary-light: #194a86;
    --primary-glow: rgba(11, 45, 99, 0.16);
    --secondary: #c8a252;
    --secondary-hover: #a77d32;
    --accent: #9f2f3f;
}

.brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 162, 82, 0.36);
    border-radius: 50%;
    background:
        radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68) 44%, rgba(200, 162, 82, 0.18) 100%);
    box-shadow: 0 9px 20px rgba(11, 45, 99, 0.14);
    overflow: hidden;
}

.brand-mark img {
    width: 28px;
    height: 31px;
    object-fit: contain;
    display: block;
}

.logo {
    gap: 12px;
}

.logo-text {
    color: var(--text-dark);
    letter-spacing: 0.1px;
}

.footer .logo-text,
.text-light {
    color: var(--text-light);
}

.logo-highlight,
.footer .logo-highlight {
    color: var(--brand-gold);
}

.header,
.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(200, 162, 82, 0.22);
    box-shadow: 0 14px 38px rgba(11, 45, 99, 0.10);
}

.nav-link:hover,
.dropdown-item i,
.section-tag,
.lead-card-kicker,
.authority-kicker,
.diagnostic-result-label,
.dashboard-label,
.dashboard-kicker,
.guide-card span,
.comparison-label-row span,
.portfolio-tag {
    color: var(--brand-wine);
}

.nav-link::after {
    background-color: var(--brand-gold);
}

.nav-btn,
.btn-primary {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(11, 45, 99, 0.20);
}

.nav-btn:hover,
.nav-btn.active,
.btn-primary:hover {
    background: var(--brand-gold-dark);
    border-color: var(--brand-gold-dark);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(159, 120, 51, 0.24);
}

.btn-secondary {
    border-color: rgba(200, 162, 82, 0.48);
    color: var(--brand-navy);
}

.hero::before {
    background:
        linear-gradient(90deg, rgba(248, 250, 251, 0.99) 0%, rgba(248, 250, 251, 0.94) 47%, rgba(248, 250, 251, 0.80) 100%),
        url('images/locations/real/london-landmark-real.jpg') right center / cover no-repeat;
}

.hero::after {
    background:
        radial-gradient(circle at 12% 18%, rgba(200, 162, 82, 0.18), transparent 30%),
        linear-gradient(90deg, rgba(11, 45, 99, 0.10) 0%, rgba(255, 255, 255, 0) 42%);
}

.hero-badge {
    background: #ffffff;
    border-color: rgba(200, 162, 82, 0.42);
    color: var(--brand-wine);
    box-shadow: 0 10px 24px rgba(11, 45, 99, 0.08);
}

.hero-badge i,
.hero-proof-row i,
.uk-market-points i {
    color: var(--brand-gold-dark);
}

.page-hero,
.calculator-section,
.contact-info-panel,
.footer {
    background:
        radial-gradient(circle at 12% 8%, rgba(200, 162, 82, 0.24), transparent 30%),
        radial-gradient(circle at 90% 14%, rgba(159, 47, 63, 0.16), transparent 34%),
        linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
}

.comparison-after,
.diagnostic-result,
.royalty-highlight,
.visual-cover-tile {
    border-color: rgba(200, 162, 82, 0.30);
    background: #fffdf7;
}

.hero-proof-row span,
.hero-stats,
.hero-lead-card,
.authority-item,
.proof-stack-item,
.service-card,
.diagnostic-card,
.estimate-card,
.location-card,
.location-intro-panel,
.location-side-landmark,
.portfolio-card,
.portfolio-featured-card,
.portfolio-review-card,
.guide-card {
    border-color: rgba(11, 45, 99, 0.14);
    box-shadow: 0 18px 42px rgba(11, 45, 99, 0.09);
}

@media (max-width: 520px) {
    .brand-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .brand-mark img {
        width: 25px;
        height: 28px;
    }

    .logo {
        gap: 9px;
    }
}

/* Stronger logo visibility */
.brand-mark {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border: 2px solid rgba(200, 162, 82, 0.72);
    background:
        radial-gradient(circle at 50% 45%, #ffffff 0%, #fffaf0 46%, rgba(200, 162, 82, 0.30) 100%);
    box-shadow:
        0 0 0 4px rgba(11, 45, 99, 0.05),
        0 12px 26px rgba(11, 45, 99, 0.20);
}

.brand-mark img {
    width: 39px;
    height: 43px;
}

.logo {
    gap: 14px;
}

.logo-text {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
}

.logo-highlight {
    color: #b78b36;
}

.footer .brand-mark {
    background:
        radial-gradient(circle at 50% 45%, #ffffff 0%, #fff8e5 44%, rgba(200, 162, 82, 0.34) 100%);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.08),
        0 14px 28px rgba(0, 0, 0, 0.22);
}

@media (max-width: 700px) {
    .brand-mark {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .brand-mark img {
        width: 34px;
        height: 38px;
    }

    .logo-text {
        font-size: clamp(1.12rem, 5.2vw, 1.42rem);
    }
}

@media (max-width: 380px) {
    .brand-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .brand-mark img {
        width: 31px;
        height: 35px;
    }
}
