/* Font Styles */
@font-face {
    font-family: BDO Grotesk Variable;
    src: url(https://cdn.prod.website-files.com/668e40490f9cf52facb6a3fc/66931941a7c7f4d3dc48dfca_BDOGrotesk-VF.woff2)format("woff2"), url(https://cdn.prod.website-files.com/668e40490f9cf52facb6a3fc/6693194181005b997c7c044d_BDOGrotesk-VF.ttf)format("truetype");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Rules Extended;
    src: url(https://cdn.prod.website-files.com/668e40490f9cf52facb6a3fc/6694fc294da39cf58a24ec2b_RulesExtended-Bold.woff2)format("woff2"), url(https://cdn.prod.website-files.com/668e40490f9cf52facb6a3fc/6694fc294682284720ce2279_RulesExtended-Bold.woff)format("woff"), url(https://cdn.prod.website-files.com/668e40490f9cf52facb6a3fc/6694fc29b4282f2be99a8010_RulesExtended-Bold.otf)format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Colours */
:root {
    --color-light-tone: #faf6ef;
    --color-dark-ground: #1f0a38;
    --color-brand-1: #f99e00;
    --color-brand-2: #10b5a8;
    --color-brand-4: #e46447;
    --color-border: #0f0f0d29;
    --_colors---base-color-brand--color-brand-1: #f99e00;
    --_colors---base-color-brand--color-brand-2: var(--_colors---base-color-teal--teal-400);
    --_colors---background-color--background-b3-lighter: var(--_colors---base-color-blue--blue-100);
    --_colors---text-color--text-brand-2-dark: var(--_colors---base-color-blue--blue-700);
    --_colors---background-color--background-b2: var(--_colors---base-color-brand--color-brand-2);
    --_colors---base-color-neutral--white: white;
    --_colors---text-color--text-brand-4: var(--_colors---base-color-brand--color-brand-4);
    --_colors---background-color--background-b3-muted: #1089b233;
    --_colors---base-color-yellow--yellow-50: #fff5cb;
    --_colors---base-color-yellow--yellow-100: #fde590;
    --_colors---base-color-yellow--yellow-200: #fcd456;
    --_colors---base-color-yellow--yellow-300: #f3a900;
    --_colors---base-color-yellow--yellow-400: #e28f00;
    --_colors---base-color-yellow--yellow-500: #bc6b00;
    --_colors---base-color-yellow--yellow-600: #a55b00;
    --_colors---base-color-yellow--yellow-700: #723a00;
    --_colors---base-color-yellow--yellow-800: #361900;
    --_colors---base-color-teal--teal-50: #d9faf2;
    --_colors---base-color-teal--teal-100: #9ff7e4;
    --_colors---base-color-teal--teal-200: #52efd4;
    --_colors---base-color-teal--teal-300: #05cbb8;
    --_colors---base-color-teal--teal-400: #10b5a8;
    --_colors---base-color-teal--teal-500: #058e87;
    --_colors---base-color-teal--teal-600: #027b77;
    --_colors---base-color-teal--teal-700: #005252;
    --_colors---base-color-teal--teal-800: #002727;
    --_colors---base-color-blue--blue-50: #d9fafc;
    --_colors---base-color-blue--blue-100: #aef1fa;
    --_colors---base-color-blue--blue-200: #84e6f5;
    --_colors---base-color-blue--blue-300: #44c6e5;
    --_colors---base-color-blue--blue-400: #44c6e5;
    --_colors---base-color-blue--blue-500: #1089b2;
    --_colors---base-color-blue--blue-600: #175773;
    --_colors---base-color-blue--blue-700: #08415a;
    --_colors---base-color-blue--blue-800: #02151f;
    --_colors---base-color-orange--orange-50: #fff1e8;
    --_colors---base-color-orange--orange-100: #fee0cd;
    --_colors---base-color-orange--orange-200: #fdcfb1;
    --_colors---base-color-orange--orange-300: #fca26a;
    --_colors---base-color-orange--orange-400: #f6813e;
    --_colors---base-color-orange--orange-500: #db5311;
    --_colors---base-color-orange--orange-600: #c0450c;
    --_colors---base-color-orange--orange-700: #842b07;
    --_colors---base-color-orange--orange-800: #401303;
    --_colors---base-color-brand--color-brand-3: var(--_colors---base-color-blue--blue-600);
    --_colors---base-color-neutral--black: black;
    --_colors---base-color-neutral--mid-tone: #f0ebe1;
    --_colors---base-color-neutral--cool-tone: #e0e0e0;
    --_colors---base-color-neutral--dark-ground: #1f0a38;
    --_colors---link-color--link-secondary-hover: var(--_colors---base-color-orange--orange-300);
    --_colors---link-color--link-alternate-hover: #fffc;
    --_colors---text-color--text-success: #114e0b;
}

/* Reset*/

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

body {
    font-family: BDO Grotesk -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        Roboto,
        'Helvetica Neue',
        Arial,
        sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    line-height: 1.6;
    color: var(--color-dark-ground);
    background: var(--color-light-tone) url(img/bg-image.svg) no-repeat center center;
    background-size: cover;
    min-height: 100vh;
}

.nav-bar-accent {
    z-index: 2;
    background-image: linear-gradient(225deg, var(--color-brand-4), var(--color-brand-1) 50%, var(--color-brand-2));
    width: 100%;
    height: .5rem;
    position: absolute;
    inset: 0% 0% auto;
}

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

/* Header */
.header {
    text-align: center;
    padding: 60px 0 0;
    color: white;
}

.header-content {
    padding: 40px 40px;
    border-radius: 20px 20px 0 0;
    color: var(--color-dark-ground);
    border: 1px solid var(--color-border);
    border-bottom: none;
    background: rgba(255, 255, 255, 0.6);
}

.logo {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Rules Extended', sans-serif;
}

.logo a {
    color: var(--color-dark-ground);
    text-decoration: none;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Main Content */
.main-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-top: none;
}

/* URL Input Section */
.url-input-section {
    padding: 40px 40px;
    text-align: center;
}

.form-container h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-dark-ground);
}

.form-description {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.analysis-form {
    margin-bottom: 50px;
}

.input-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
    flex-wrap: wrap;
}

.url-input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.url-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
    padding: 15px 30px;
    background: #FDD85D;
    color: var(--color-dark-ground);
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.1s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(253, 216, 93, 0.3);
    background: var(--color-dark-ground);
    color: white;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Benefits Section */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    /* background: #f7fafc; */
    border-radius: 12px;
    text-align: left;
    border: 1px solid var(--color-border);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark-ground);
}

.benefit-text p {
    color: #718096;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Results Section */
.results-section {
    padding: 40px;
}

.loading-state {
    text-align: center;
    padding: 60px 20px;
}

.loading-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-dark-ground);
}

.loading-content p {
    color: #718096;
    max-width: 400px;
    margin: 0 auto;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

.spinner.large {
    width: 40px;
    height: 40px;
    border-width: 3px;
    margin-bottom: 20px;
}

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

/* Results Content */
.results-content {
    max-width: 1000px;
    margin: 0 auto;
}

.summary-section {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.summary-section h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--color-dark-ground);
}

.website-info h3 {
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 5px;
    font-weight: 500;
}

.analysis-date {
    color: #718096;
    font-size: 0.9rem;
}

/* Metrics Section */
.metrics-section {
    margin-bottom: 40px;
}

.metrics-section h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 500;
    color: var(--color-dark-ground);
}

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

/* 2x2 layout for medium screens (tablets) */
@media (min-width: 640px) and (max-width: 1023px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 4x1 layout for large screens (desktops) */
@media (min-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metric-card {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--color-border);
}

.metric-card h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--color-dark-ground);
    font-weight: 500;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark-ground);
}

.metric-benchmark {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 10px;
}

.metric-status {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
}

.metric-status.better {
    background: #c6f6d5;
    color: #22543d;
}

.metric-status.worse {
    background: #fed7d7;
    color: #742a2a;
}

.metric-status.average {
    background: #fef5e7;
    color: #744210;
}

.metrics-chart {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    height: 300px;
}

/* Complexity Section */
.complexity-section {
    margin-bottom: 40px;
}

.complexity-section h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--color-dark-ground);
font-weight: 500;
}

.complexity-score {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #f7fafc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.score-display {
    text-align: center;
    flex-shrink: 0;
}

.score-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.score-label {
    font-size: 1rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 25px;
    display: inline-block;
}

.score-label.low {
    background: #c6f6d5;
    color: #22543d;
}

.score-label.medium {
    background: #fef5e7;
    color: #744210;
}

.score-label.high {
    background: #fed7d7;
    color: #742a2a;
}

.complexity-factors {
    flex: 1;
}

.complexity-summary {
    flex: 2;
}

.complexity-factors h4 {
    margin-bottom: 15px;
    color: var(--color-dark-ground);
font-weight: 500;
}

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

.factor-list li {
    color: var(--color-dark-ground);
    display: flex;
    align-items: center;
    gap: 10px;
}

.factor-list li::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
}

/* Website Preview Section */
.website-preview {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

/* Content Preview Modal Styles */
.content-preview {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-section {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 16px;
    background: #f8fafc;
}

.content-section h4 {
    margin: 0 0 12px 0;
    color: var(--color-dark-ground);
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
font-weight: 500;
}

.content-section p {
    margin: 0 0 8px 0;
    color: var(--color-dark-ground);
    line-height: 1.5;
}

.content-section ul {
    margin: 0;
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 4px;
    color: var(--color-dark-ground);
}

.content-section a {
    color: #3b82f6;
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

.paragraphs p {
    margin-bottom: 12px;
    padding: 8px;
    background: white;
    border-radius: 4px;
    border-left: 3px solid #3b82f6;
}

.body-text {
    background: white;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-dark-ground);
}

.preview-container h4 {
    margin: 0 0 1rem 0;
    color: var(--color-dark-ground);
    font-size: 1.1rem;
    font-weight: 600;
}

.preview-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: white;
}

.preview-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.preview-fallback {
    padding: 2rem;
    text-align: center;
    background: #f7fafc;
    border-radius: 8px;
}

.preview-placeholder {
    color: #718096;
}

.preview-placeholder span {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.preview-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

/* Analysis Message */
.analysis-message-section {
    margin-bottom: 40px;
}

.analysis-message-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-dark-ground);
font-weight: 500;
}

.analysis-message {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    line-height: 1.7;
    color: var(--color-dark-ground);
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    border: 1px solid var(--color-border);
}

.video-advice-section-container h2 {
    font-weight: 500;
}

.video-advice-section {
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
}

.video-advice-video {
    background: #f7fafc;
    border-radius: 12px;
    height: 520px;
    min-width: 430px;
    flex-shrink: 0;
    flex-grow: 1;
}

.video-advice-text {
    flex-shrink: 1;
    flex-grow: 1;
    width: 50%;
    font-size: .9rem;
}

.video-advice-text h4 {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: .25rem;
}

.video-advice-text p {
    margin-bottom: .25rem;
}

.summary-message {
    margin-bottom: 1em;
    line-height: 1.7;
    color: var(--color-dark-ground);
}

/* Recommendations Section */
.recommendations-section {
    margin-bottom: 40px;
}

.recommendations-section h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--color-dark-ground);
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.recommendation-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-screenshot {
    width: 100%;
    height: 200px;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommendation-content {
    padding: 20px;
}

.recommendation-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-dark-ground);
    font-weight: 500;
}

.recommendation-content p {
    color: #718096;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.see-script-btn {
    background: #FDD85D;
    color: var(--color-dark-ground);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.see-script-btn:hover {
    background: var(--color-dark-ground);
    color: white;
}

.see-script-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.see-script-btn:disabled:hover {
    background-color: #9ca3af;
    transform: none;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--color-dark-ground);
    color: white;
    padding: 50px 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 15px;
font-weight: 500;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.cta-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.1s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn.primary {
    background: #FDD85D;
    color: var(--color-dark-ground);
}

.cta-btn.primary:hover,
.cta-btn.primary:focus {
    transform: translateY(-2px);
    background: var(--color-light-tone);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover,
.cta-btn.secondary:focus {
    background: var(--color-dark-ground);
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    color: var(--color-dark-ground);
    opacity: 0.8;
}

/* Engagement Metrics Section */
.engagement-metrics {
    margin: 2rem 0;
}

.engagement-metrics h3 {
    color: var(--color-dark-ground);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Engagement metrics grid - uses same breakpoints as main metrics-grid above */

.metric-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    border: 1px solid var(--color-border);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.metric-title {
    font-weight: 600;
    color: var(--color-dark-ground);
    font-size: 1rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark-ground);
    margin: 0.5rem 0;
}

.metric-benchmark {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.metric-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.metric-status.better {
    background: #dcfce7;
    color: #166534;
}

.metric-status.worse {
    background: #fef2f2;
    color: #dc2626;
}

.metric-status.average {
    background: #fef3c7;
    color: #d97706;
}

.metric-status.lower {
    background: #dcfce7;
    color: #166534;
}

.metric-status.higher {
    background: #fef2f2;
    color: #dc2626;
}

/* Individual Chart Containers */
.chart-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.chart-title {
    font-weight: 600;
    color: var(--color-dark-ground);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.chart-canvas {
    max-height: 300px;
    width: 100%;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-light-tone);
}

.modal-header h3 {
    margin: 0;
    color: var(--color-dark-ground);
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #718096;
    padding: 5px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.modal-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--color-dark-ground);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: 60vh;
}

/* HubSpot Form Styling within Modal */
.modal-body .hs-form {
    margin: 0;
}

.modal-body .hs-form .hs-form-field {
    margin-bottom: 20px;
}

.modal-body .hs-form .hs-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-dark-ground);
}

.modal-body .hs-form .hs-form-field input,
.modal-body .hs-form .hs-form-field textarea,
.modal-body .hs-form .hs-form-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.modal-body .hs-form .hs-form-field input:focus,
.modal-body .hs-form .hs-form-field textarea:focus,
.modal-body .hs-form .hs-form-field select:focus {
    outline: none;
    border-color: var(--color-brand-2);
    box-shadow: 0 0 0 3px rgba(16, 181, 168, 0.1);
}

.modal-body .hs-form .hs-submit {
    margin-top: 20px;
}

.modal-body .hs-form .hs-button {
    background: var(--color-brand-1);
    color: var(--color-dark-ground);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.modal-body .hs-form .hs-button:hover {
    background: var(--color-dark-ground);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 158, 0, 0.3);
}

/* Mock Data Page Styles */
.mock-data-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border-radius: 12px;
    margin: 20px 0;
}

.mock-data-content {
    text-align: center;
    max-width: 600px;
}

.mock-data-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mock-data-content h2 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.mock-data-details {
    margin-bottom: 30px;
    color: #4a5568;
    line-height: 1.6;
}

.mock-data-details p {
    margin-bottom: 12px;
}

.mock-data-details strong {
    color: #2d3748;
    font-weight: 600;
}

.mock-data-cta {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.mock-data-cta p {
    color: #4a5568;
    margin-bottom: 20px;
    font-weight: 500;
}

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

.mock-data-buttons .btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
}

.mock-data-buttons .btn-primary {
    background: #FDD85D;
    color: var(--color-dark-ground);
}

.mock-data-buttons .btn-primary:hover {
    background: var(--color-dark-ground);
    color: white;
    transform: translateY(-1px);
}

.mock-data-buttons .btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.mock-data-buttons .btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* Testing Mode Indicator Styles */
.testing-mode-indicator {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 8px 16px;
    margin: 10px 0;
    animation: pulse 2s infinite;
}

.testing-mode-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #92400e;
    font-weight: 500;
}

.testing-mode-icon {
    font-size: 16px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 40px 0 0;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .url-input-section {
        padding: 40px 20px;
    }
    
    .form-container h2 {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .url-input {
        min-width: auto;
    }
    
    .benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .results-section {
        padding: 20px;
    }
    
    .complexity-score {
        flex-direction: column;
        text-align: center;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .metric-card {
        padding: 1rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }

    /* Modal responsive adjustments */
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-header h3 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 20px;
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    .form-container h2 {
        font-size: 1.8rem;
    }
    
    .url-input-section {
        padding: 30px 15px;
    }
    
    .results-section {
        padding: 15px;
    }

    /* Modal mobile adjustments */
    .modal-content {
        width: 98%;
        margin: 10px;
    }

    .modal-header {
        padding: 12px 15px;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 15px;
        max-height: 75vh;
    }

    .modal-close-btn {
        width: 28px;
        height: 28px;
        font-size: 20px;
    }

    /* Mock data page mobile adjustments */
    .mock-data-container {
        padding: 20px 10px;
        min-height: 300px;
    }

    .mock-data-content {
        padding: 20px;
    }

    .mock-data-content h2 {
        font-size: 22px;
    }

    .mock-data-buttons {
        flex-direction: column;
    }

    .mock-data-buttons .btn {
        width: 100%;
    }
}
