:root {
    /* Colors */
    --color-primary: #FDC300;
    --color-primary-light: #fff2c9;
    --color-primary-dark: #efa700;
    --color-success: #34a853;
    --color-success-light: #e8f5e9;
    --color-success-dark: #2e7d32;
    --color-info: #4285f4;
    --color-info-dark: #1565c0;
    --color-info-light: #e3f2fd;
    --color-warning: #e65100;
    --color-warning-light: #fff3e0;
    --color-danger: #ea4335;
    --color-danger-dark: #be123c;
    
    /* Text colors */
    --text-primary: #333;
    --text-secondary: #555;
    --text-tertiary: #666;
    --text-muted: #64748b;
    
    /* Background colors */
    --bg-primary: #fff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-quaternary: #e2e8f0;
    
    /* Border colors */
    --border-primary: #ddd;
    --border-secondary: #e2e8f0;
    
    /* Spacing */
    --spacing-2xs: 2px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 24px;
    --spacing-3xl: 32px;
    --spacing-4xl: 40px;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Font weights */
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Font sizes */
    --text-xs: 0.875rem;
    --text-sm: 0.9rem;
    --text-base: 1rem;
    --text-lg: 1.1rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.06);
    
    /* Transitions */
    --transition-base: 0.2s ease;
    --transition-smooth: 0.3s ease;
    
    /* Layout */
    --bottom-sheet-width: 89%;
    --bottom-sheet-max-width: 670px;
    --drag-icon-size: 40px;
    --drag-icon-height: 4px;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: var(--spacing-md) 0;
    transition: background-color 0.3s ease;
}

.site-header:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-xl);
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
    vertical-align: middle;
    margin: auto;
}

.quote-cta {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--text-primary);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.quote-cta:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 var(--spacing-lg);
    }
    
    .logo img {
        height: 44px;
    }
    
    .quote-cta {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--text-sm);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: var(--font-weight-regular);
    line-height: 1.3;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

#map {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Adjust the map controls to account for the header */
.gm-style .gm-style-mtc,
.gm-style .gm-style-cc,
.gm-style .gmnoprint {
    margin-top: 64px !important;
}

.gm-style-iw {
    padding: 0 !important;
}
.gm-style-iw-chr {
    align-items: center;
}
.gm-style-iw-d {
    overflow: hidden !important;
    padding: 0;
}

.bottom-sheet {
    position: fixed;
    inset: 0;
    display: flex;
    opacity: 0;
    pointer-events: none;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-base);
}

.bottom-sheet.show {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.bottom-sheet.show.collapsed {
    pointer-events: none;
}

.bottom-sheet.show.collapsed .content {
    pointer-events: auto;
}

.bottom-sheet .sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.3;
    background: #000;
    pointer-events: auto;
    transition: opacity var(--transition-smooth);
}

.bottom-sheet .sheet-overlay.collapsed {
    opacity: 0;
    pointer-events: none;
}

.bottom-sheet .content {
    width: var(--bottom-sheet-width);
    position: relative;
    background: var(--bg-primary);
    max-height: 100vh;
    height: auto;
    max-width: var(--bottom-sheet-max-width);
    transform: translateY(100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
}

.bottom-sheet.show .content {
    transform: translateY(0%);
}

.bottom-sheet.dragging .content {
    transition: none;
}

.bottom-sheet.fullscreen .content {
    border-radius: 0;
    overflow-y: hidden;
}

.bottom-sheet .header {
    display: flex;
    justify-content: center;
}

.header .drag-icon {
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    padding: var(--spacing-lg);
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--bg-quaternary);
}

.header .drag-icon span {
    height: var(--drag-icon-height);
    width: var(--drag-icon-size);
    background: var(--bg-quaternary);
    border-radius: var(--radius-full);
}

.bottom-sheet .body {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-sm) 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: var(--spacing-sm);
}

.bottom-sheet .body::-webkit-scrollbar {
    width: 0;
}

.instructions {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.instructions h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
}

.instructions p {
    color: var(--text-tertiary);
    font-size: var(--text-sm);
}

.input-group {
    margin-bottom: var(--spacing-lg);
}

.input-base {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    transition: all var(--transition-smooth);
    background: var(--bg-primary);
}

.input-base:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    outline: none;
}

#address-input,
#bill-input {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    transition: all var(--transition-smooth);
}

#address-input:focus,
#bill-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    outline: none;
}

.bill-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.input-label {
    color: var(--text-tertiary);
    font-size: var(--text-sm);
    white-space: nowrap;
}

#calculate-button {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--color-info);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-transform: uppercase;
}

#calculate-button:hover:not(:disabled) {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

#calculate-button:disabled {
    background: var(--bg-quaternary);
    color: var(--text-muted);
    transform: none;
    cursor: not-allowed;
}

.results-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-2xl);
}
.results-container:first-of-type {
    padding-top: 0;
}


.results-container > * {
    margin-bottom: var(--spacing-md);
}

.results-container > *:last-child {
    margin-bottom: 0;
}

.results-container h1 {
    color: var(--text-primary);
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
}

.results-container h2 {
    color: var(--text-primary);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-lg);
}

.subtitle {
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-regular);
    margin-bottom: var(--spacing-2xl);
}

.main-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    width: 100%;
}

.main-stats .stat-item {
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    transition: transform var(--transition-base);
    background: var(--bg-secondary);
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-item .label {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--spacing-xs);
}

.stat-item .value {
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-xl);
}

/* moved to embed.css theme-specific mapping */
/* .main-stats .stat-item:nth-child(1) { background: var(--color-primary-light); } */

/* moved to embed.css theme-specific mapping */
/* .main-stats .stat-item:nth-child(2) { background: var(--color-info-light); } */

/* moved to embed.css theme-specific mapping */
/* .main-stats .stat-item:nth-child(3) { background: var(--color-warning-light); } */

/* moved to embed.css theme-specific mapping */
/* .main-stats .stat-item:nth-child(4) { background: var(--color-success-light); } */

.main-stats .stat-item:nth-child(1) .value {
    color: var(--color-primary-dark);
}

.main-stats .stat-item:nth-child(2) .value {
    color: var(--color-info);
}

.main-stats .stat-item:nth-child(3) .value {
    color: var(--color-warning);
}

.main-stats .stat-item:nth-child(4) .value {
    color: var(--color-success-dark);
}

.panels-bar-container {
    width: 100%;
    margin: 20px 0;
    background: var(--bg-tertiary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.panels-bar {
    width: 100%;
    height: var(--spacing-sm);
    background: var(--bg-quaternary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 8px 0;
    position: relative;
}

.panels-bar .savings {
    height: 100%;
    background: linear-gradient(90deg, #4285f4, #34a853);
    border-radius: 4px;
}

.panels-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.co2-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: var(--color-success-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    justify-content: center;
    margin: var(--spacing-2xl) 0;
}

.co2-icon {
    background: white;
    padding: 8px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
}

.co2-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.co2-section .stat-item {
    text-align: center;
}

.quote-form {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 15;
    filter: none;
    -webkit-user-select: auto;
    user-select: auto;
    pointer-events: auto;
}

.quote-form h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-weight: var(--font-weight-bold);
}

.gender-toggle {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    justify-content: center;
}

.gender-toggle input[type="radio"] {
    display: none;
}

.gender-toggle label {
    padding: var(--spacing-sm) var(--spacing-2xl);
    background: var(--bg-quaternary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.gender-toggle input[type="radio"]:checked + label {
    background: var(--color-primary);
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.form-row input {
    width: 100%;
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    font-size: var(--text-base);
    transition: all var(--transition-smooth);
}

.form-row input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    outline: none;
}

.form-row input:valid {
    border-color: var(--color-success-light);
}

.form-row input:invalid:not(:placeholder-shown) {
    border-color: var(--color-danger-light);
}

.form-row input[type="tel"] {
    letter-spacing: 0.5px;
}

.form-row input[type="tel"]:placeholder-shown {
    letter-spacing: normal;
}

button[type="submit"], .quote-form button {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--color-primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-smooth);
    margin-top: 12px;
    text-transform: uppercase;
}

button[type="submit"]:hover, .quote-form button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.loading-indicator {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    background: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: none;
    align-items: center;
    gap: var(--spacing-md);
    z-index: 1000;
}

.loading-indicator.show {
    display: flex;
}

.loading-indicator .spinner {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 3px solid var(--bg-quaternary);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-indicator .message {
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
}

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

.savings-bar-section {
    margin: var(--spacing-xl) 0;
}

.savings-bar {
    height: var(--spacing-sm);
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    margin-bottom: var(--spacing-md);
}

.savings-progress,
.savings-bar .savings {
    background: var(--color-success);
    height: 100%;
    transition: width var(--transition-smooth);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.sellback-progress,
.savings-bar .sellback {
    background: var(--color-info);
    height: 100%;
    transition: width var(--transition-smooth);
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.savings-details {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-md);
}

.saving-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.saving-item .label {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.savings-value {
    color: var(--color-success-dark) !important;
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
}

.sellback-value {
    color: var(--color-info) !important;
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
}

.financial-analysis {
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 12px;
}

.cost-section {
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-3xl);
}

.cost-table {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    padding-bottom: 0;
    border-radius: var(--radius-lg);
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-secondary);
}

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

.cost-row.main-cost .value {
    font-size: var(--text-xl);
    font-weight: 600;
}

.cost-row.net-cost {
    background: var(--color-info-light);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-inline: calc(var(--spacing-lg)* -1);
}

.cost-row.tax-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-lg);
}

.tax-input {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.tax-input input {
    width: 60px;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
}

.tax-result {
    text-align: right;
}

.reduction {
    color: var(--color-success-dark);
}

.net-cost {
    background: var(--color-info-light);
    padding: 16px;
    border-radius: 0 0 8px 8px;
}

.net-cost .value {
    color: var(--color-info);
    font-weight: 600;
}

.chart-section {
    height: 250px;
    margin: var(--spacing-xl) 0;
}

.summary-section {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profitability-card {
    background: var(--color-info-light);
    border: 1px solid var(--color-info);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.profitability-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    color: var(--color-info);
}

.profitability-title {
    flex: 1;
}

.profitability-title .label {
    color: var(--color-info);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.highlight {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-info-dark);
}

.costs-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.cost-card {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
}

.cost-without {
    background: var(--color-danger-light, #fff1f2);
    border: 1px solid var(--color-danger);
}

.cost-with {
    background: var(--color-success-light);
    border: 1px solid var(--color-success);
}

.cost-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.cost-without .icon-wrapper {
    color: var(--color-danger-dark);
    background: var(--bg-primary);
}

.cost-with .icon-wrapper {
    color: var(--color-success-dark);
    background: var(--bg-primary);
}

.cost-without .profitability-title .label {
    color: var(--color-danger-dark);
}

.cost-with .profitability-title .label {
    color: var(--color-success-dark);
}

.cost-value-container {
    margin-top: 4px;
    display: flex;
}

.cost-value {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
}

.negative {
    color: var(--color-danger-dark);
}

.positive {
    color: var(--color-success-dark);
}

.cost-period {
    font-size: var(--text-base);
    color: var(--text-muted);
    display: inline-block;
    margin-left: 6px;
}

@media (max-width: 768px) {
    .results-container h1 {
        font-size: var(--text-xl);
    }

    .results-container {
        padding: var(--spacing-xl);
    }

    .loading-indicator {
        padding: var(--spacing-md);
    }

    .loading-indicator .spinner {
        min-width: 20px;
        min-height: 20px;
    }

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

    .costs-comparison,
    .form-row {
        grid-template-columns: 1fr;
    }

    .cost-row.tax-row {
        grid-template-columns: 1fr;
    }

    .savings-details {
        gap: var(--spacing-sm);
    }

    .chart-section {
        height: 200px;
    }

    .quote-form {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .results-container {
        padding: var(--spacing-lg);
    }

    .quote-form {
        padding: var(--spacing-md);
    }

    .gender-toggle label {
        padding: var(--spacing-sm) var(--spacing-lg);
    }

}

/* Results header with reset button */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.results-header h1 {
    margin: 0;
}

.reset-button {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 16px;
}

.reset-button:hover {
    background-color: var(--bg-quaternary);
    border-color: var(--border-secondary);
}

/* Footer styles */
.footer {
    padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-lg);
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-secondary);
    text-align: center;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: auto;
    flex-shrink: 0;
    transform: translateY(100%); /* Hidden by default */
    transition: transform 0.3s ease;
    will-change: transform;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: var(--bottom-sheet-max-width);
    margin-left: auto;
    margin-right: auto;
    z-index: 15;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer p {
    margin: 0;
}

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

.footer a:hover {
    color: var(--color-info-dark);
    text-decoration: underline;
}

.copyright {
    font-weight: 500;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-xl);
    }
}

.bottom-sheet.collapsed .footer {
    display: none;
}

/* Styles for the lead capture form and blurred elements */
.blurred {
    position: relative;
}

.blurred .value {
    filter: blur(4px);
    color: #888;
}

/* Enhanced blur styles */
.blur-section {
    position: relative;
    filter: blur(4px);
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.blur-overlay:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.blur-overlay .lock-icon {
    font-size: 32px;
    color: #4285F4;
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.blur-overlay .lock-icon:hover {
    transform: scale(1.1);
}

.blur-overlay .unlock-text {
    font-size: 18px;
    color: #4285F4;
    font-weight: 600;
    text-align: center;
    max-width: 80%;
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.blur-overlay .unlock-text:hover {
    color: #3367d6;
}

.blur-overlay .unlock-button {
    margin-top: 12px;
    background-color: #4285F4;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.blur-overlay .unlock-button:hover {
    background-color: #3367d6;
}

.blur-container {
    position: relative;
    margin-bottom: 24px;
}

/* Lead Capture Popup Styles */
.lead-capture-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-capture-popup {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
}

.lead-capture-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.lead-capture-popup-close:hover {
    color: var(--text-primary);
}

.lead-capture-popup h2 {
    color: #4285F4;
    margin-top: 0;
    margin-bottom: 16px;
    text-align: center;
}

.lead-capture-popup p {
    margin-bottom: 20px;
    text-align: center;
    color: #555;
}

.teaser-section {
    background-color: var(--color-info-light);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 24px 0;
    border-left: 4px solid var(--color-info);
}

.teaser-section h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--color-info);
    font-size: 18px;
}

.benefits-list {
    margin: 0;
    padding-left: 24px;
}

.benefits-list li {
    margin-bottom: 8px;
    position: relative;
}

.benefits-list li:before {
    content: "✓";
    color: var(--color-info);
    position: absolute;
    left: -20px;
    font-weight: bold;
}

.lead-capture-form {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lead-capture-form h2 {
    text-align: center;
    color: #4285F4;
    margin-top: 0;
    margin-bottom: 20px;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    margin: 16px 0;
}

.consent-checkbox input {
    margin-top: 4px;
    margin-right: 10px;
}

.consent-checkbox label {
    font-size: 14px;
    line-height: 1.4;
}

.unlock-cta-button {
    background-color: #4285F4;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: block;
    width: 100%;
    margin: 16px auto;
    text-transform: uppercase;
}

.unlock-cta-button:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
}

.cta-section {
    margin: 30px 0;
    text-align: center;
}

.chart-placeholder {
    background-color: #f5f9ff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chart-placeholder img {
    max-width: 100%;
    max-height: 150px;
    margin-bottom: 10px;
}

.chart-placeholder-text {
    font-size: 14px;
    color: var(--color-info);
    font-weight: 500;
}

.benefits-overlay {
    background-color: rgba(66, 133, 244, 0.05);
    border-radius: 8px;
    padding: 5px;
    margin: 15px 0;
    border-left: 4px solid var(--color-info);
    position: relative;
}

.benefits-content {
    padding: 10px;
}

.benefits-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-info);
    font-size: 16px;
}

.benefits-list-compact {
    margin: 0 0 15px 0;
    padding-left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
}

.benefits-list-compact li {
    margin-bottom: 5px;
    position: relative;
    font-size: 14px;
    flex: 1 0 40%;
    list-style-type: none;
}

.benefits-list-compact li:before {
    content: "✓";
    color: var(--color-info);
    position: absolute;
    left: -15px;
    font-weight: bold;
}

.benefits-overlay .unlock-cta-button {
    margin: 5px auto;
}

@media (max-width: 480px) {
    .benefits-list-compact {
        flex-direction: column;
    }
    
    .benefits-list-compact li {
        flex: 1 0 100%;
    }
}

.chart-placeholder {
    background-color: #f5f9ff;
    border-radius: 8px;
}

.blur-details-list {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    text-align: center;
}

.blur-details-list li {
    color: #555;
    font-size: 14px;
    margin-bottom: 4px;
    position: relative;
    padding-left: 18px;
}

.blur-details-list li:before {
    content: "•";
    color: #4285F4;
    position: absolute;
    left: 0;
}

/* When footer is hidden (transformed), remove the padding */
.bottom-sheet .body.footer-hidden {
    padding-bottom: var(--spacing-sm);
}

/* Email sending card */
.email-card { background: var(--bg-tertiary); border:1px solid var(--border-color); border-radius:12px; padding:14px; display:grid; gap:14px; }
.email-card-head { display:flex; justify-content:space-between; align-items:center; }
.email-card .title { font-weight:600; color: var(--text-primary); letter-spacing:.01em; }
.email-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:12px; }
.dns-item code { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:inline-block; max-width:100%; }
.email-card small { line-height:1.4; }
.pill { padding:4px 10px; border-radius:999px; font-size:12px; }
.pill-neutral { background: rgba(148,163,184,.15); color:#94a3b8; border:1px solid rgba(148,163,184,.25); }
.pill.success { background: rgba(34,197,94,.15); color:#22c55e; border:1px solid rgba(34,197,94,.25); }
.pill.warning { background: rgba(250,204,21,.15); color:#facc15; border:1px solid rgba(250,204,21,.25); }
.email-row { display:grid; grid-template-columns:28px 1fr; gap:12px; align-items:flex-start; }
.email-step { width:28px; height:28px; border-radius:50%; background: var(--bg-quaternary, #1f2937); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:12px; margin-top:2px; }
.email-content input[type="email"] { width:100%; background: var(--bg-primary); color: var(--text-primary); border:1px solid var(--border-color); border-radius:8px; padding:10px 12px; }
.email-label { font-weight:600; color: var(--text-primary); display:block; margin-bottom:6px; }
.muted { color: var(--text-secondary); font-size:12px; }
.dns-table { display:grid; gap:6px; }
.dns-head, .dns-item { display:grid; grid-template-columns:70px 1fr 1fr 60px; gap:10px; align-items:center; }
.dns-head { color: var(--text-secondary); font-size:12px; }
.btn-xs { padding:6px 8px; border:1px solid var(--border-color); background: var(--bg-primary); color: var(--text-primary); border-radius:6px; cursor:pointer; font-size:12px; }
.email-actions { display:flex; gap:10px; align-items:center; }