/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* CSS Variables */
:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(222, 47%, 11%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222, 47%, 11%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(222, 47%, 11%);
    --primary: hsl(221, 83%, 40%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(210, 40%, 96%);
    --secondary-foreground: hsl(222, 47%, 11%);
    --muted: hsl(210, 40%, 98%);
    --muted-foreground: hsl(215, 16%, 47%);
    --accent: hsl(213, 100%, 96%);
    --accent-foreground: hsl(221, 83%, 40%);
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 98%);
    --border: hsl(214, 32%, 91%);
    --input: hsl(214, 32%, 91%);
    --ring: hsl(221, 83%, 40%);
    --radius: 0.5rem;
    --success: hsl(160, 84%, 39%);
    --warning: hsl(38, 92%, 50%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

/* Container */
.container-custom {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .container-custom {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .container-custom {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* Section Spacing */
.section-spacing {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-spacing {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Typography */
.heading-1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .heading-1 {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .heading-1 {
        font-size: 2.25rem;
    }
}

.heading-2 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .heading-2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .heading-2 {
        font-size: 1.875rem;
    }
}

.text-muted-foreground {
    color: var(--muted-foreground);
}

.text-primary {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.625rem 1.5rem;
}

.btn-primary:hover {
    background-color: hsl(221, 83%, 35%);
    box-shadow: 0 4px 6px -1px rgba(30, 64, 175, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.5rem 1rem;
}

.btn-outline:hover {
    background-color: var(--accent);
    border-color: hsl(221, 83%, 60%);
}

.btn-lg {
    padding: 0.875rem 1.5rem;
}

/* Cards */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-header {
    padding: 1rem;
}

.card-content {
    padding: 1rem;
    padding-top: 0;
}

.card-title {
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Input */
.input {
    display: flex;
    width: 100%;
    height: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--input);
    background-color: var(--background);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 2px hsl(221, 83%, 40%, 0.2);
}

.input::placeholder {
    color: var(--muted-foreground);
}

/* Label */
.label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    display: block;
    margin-bottom: 0.375rem;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 0.25rem;
    background-color: var(--secondary);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    transition: width 0.5s ease-out;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(214, 32%, 91%, 0.5);
}

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

@media (min-width: 768px) {
    .header-inner {
        height: 4rem;
    }
}

.header-logo {
    height: 2rem;
    width: auto;
}

@media (min-width: 768px) {
    .header-logo {
        height: 2.25rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 4rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 5rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--background), hsl(213, 100%, 96%, 0.3), var(--background));
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, hsl(213, 100%, 96%) 0%, transparent 70%);
    opacity: 0.5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background-color: var(--accent);
    border-radius: 9999px;
    border: 1px solid hsl(221, 83%, 40%, 0.1);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
}

.hero-badge svg {
    width: 0.875rem;
    height: 0.875rem;
}

.hero-headline {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1rem;
    color: var(--muted-foreground);
    max-width: 36rem;
    line-height: 1.7;
}

.hero-micro {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.hero-micro span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hero-micro svg {
    width: 0.75rem;
    height: 0.75rem;
    color: hsl(221, 83%, 60%);
}

.hero-urgency {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid hsl(214, 32%, 91%, 0.5);
    font-size: 0.75rem;
    font-style: italic;
    color: var(--muted-foreground);
}

.hero-image-container {
    display: flex !important;
    justify-content: center;
    position: relative;
    order: -1;
}

@media (min-width: 1024px) {
    .hero-image-container {
        display: flex;
        order: 2;
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 32rem;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.hero-image-deco-1 {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 5rem;
    height: 5rem;
    background-color: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(2rem);
}

.hero-image-deco-2 {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    width: 6rem;
    height: 6rem;
    background-color: hsl(221, 83%, 40%, 0.1);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(2rem);
}

/* Social Proof Section */
.social-proof-section {
    padding: 3rem 0;
    background-color: hsl(210, 40%, 96%, 0.3);
    border-top: 1px solid hsl(214, 32%, 91%, 0.5);
    border-bottom: 1px solid hsl(214, 32%, 91%, 0.5);
}

@media (min-width: 768px) {
    .social-proof-section {
        padding: 4rem 0;
    }
}

.social-proof-title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.social-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .social-proof-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.social-proof-stat {
    text-align: center;
}

.social-proof-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.social-proof-icon-inner {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-proof-icon-inner svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.social-proof-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .social-proof-value {
        font-size: 2.25rem;
    }
}

.social-proof-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    max-width: 11rem;
    margin: 0 auto;
}

/* Why Section */
.why-section {
    background-color: var(--background);
}

.why-content {
    max-width: 42rem;
    margin: 0 auto;
}

.why-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.why-intro {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: hsl(213, 100%, 96%, 0.5);
    border-radius: 0.5rem;
    border: 1px solid hsl(221, 83%, 40%, 0.1);
}

.why-intro p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--foreground);
}

.why-outcomes {
    margin-bottom: 2rem;
}

.why-outcomes-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.why-outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.why-outcome-item:hover {
    background-color: hsl(210, 40%, 96%, 0.5);
}

.why-outcome-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-outcome-icon svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.why-outcome-text {
    font-size: 0.875rem;
    padding-top: 0.375rem;
}

.why-closing {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.why-closing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background-color: var(--secondary);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-style: italic;
    color: var(--muted-foreground);
}

.why-closing-badge svg {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--primary);
}

/* How It Works Section */
.how-section {
    background-color: hsl(210, 40%, 96%, 0.3);
}

.how-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.how-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

.how-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .how-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.how-step {
    position: relative;
    background-color: var(--background);
    border-radius: 0.5rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.how-step:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: hsl(221, 83%, 40%, 0.3);
}

.how-step-number {
    position: absolute;
    top: -0.625rem;
    left: -0.625rem;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.how-step-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.how-step-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.how-step-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.how-step-desc {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.how-step-arrow {
    display: none;
    position: absolute;
    top: 50%;
    right: -0.75rem;
    transform: translateY(-50%);
    color: var(--border);
}

@media (min-width: 768px) {
    .how-step-arrow {
        display: block;
    }
}

.how-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .how-features {
        gap: 2rem;
    }
}

.how-feature {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--muted-foreground);
}

.how-feature svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.how-feature span {
    font-size: 0.75rem;
    font-weight: 500;
}

.how-cta {
    text-align: center;
}

/* Final CTA Section */
.final-cta-section {
    position: relative;
    overflow: hidden;
    background-color: var(--background);
}

.final-cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, hsl(213, 100%, 96%) 0%, transparent 70%);
    opacity: 0.3;
}

.final-cta-content {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.final-cta-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.final-cta-icon-inner {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.final-cta-icon-inner svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.final-cta-headline {
    margin-bottom: 1rem;
}

.final-cta-body {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.final-cta-micro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.final-cta-micro span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.final-cta-micro svg {
    width: 0.75rem;
    height: 0.75rem;
    color: hsl(221, 83%, 60%);
}

/* Footer */
.footer {
    background-color: var(--background);
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 3rem 0;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.footer-brand p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    max-width: 16rem;
    margin-top: 0.75rem;
}

.footer-logo {
    height: 2rem;
    width: auto;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.375rem;
}

.footer-column a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links span {
    font-size: 0.625rem;
    color: var(--muted-foreground);
}

/* Assessment Page Styles */
.assessment-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(214, 32%, 91%, 0.5);
}

.assessment-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--muted-foreground);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    transition: color 0.2s;
}

.back-button:hover {
    color: var(--foreground);
}

.back-button svg {
    width: 0.875rem;
    height: 0.875rem;
}

.progress-container {
    position: fixed;
    top: 3.5rem;
    left: 0;
    right: 0;
    z-index: 40;
    background-color: var(--background);
    border-bottom: 1px solid hsl(214, 32%, 91%, 0.3);
}

.progress-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0;
    font-size: 0.625rem;
    color: var(--muted-foreground);
}

.assessment-main {
    padding-top: 7rem;
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Details Form */
.details-form-container {
    max-width: 28rem;
    margin: 0 auto;
}

.details-form-card {
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.details-form-header {
    text-align: center;
    padding-bottom: 0.5rem;
}

.details-form-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.75rem;
    border-radius: 0.5rem;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-form-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.details-form-subtitle {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-privacy {
    font-size: 0.625rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 1rem;
}

.form-error {
    color: var(--destructive);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Question Card */
.question-container {
    max-width: 36rem;
    margin: 0 auto;
}

.question-label {
    text-align: center;
    margin-bottom: 1rem;
}

.question-label span {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.question-card {
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.question-header {
    padding-bottom: 0.75rem;
}

.question-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.question-meta-left {
    color: var(--muted-foreground);
}

.question-meta-right {
    font-weight: 500;
    color: var(--primary);
}

.question-text {
    font-size: 1rem;
    line-height: 1.6;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.option-btn:hover {
    border-color: hsl(221, 83%, 60%);
    background-color: hsl(213, 100%, 96%, 0.5);
}

.option-btn.selected {
    border-color: var(--primary);
    background-color: var(--accent);
    box-shadow: 0 0 0 1px var(--primary);
}

.option-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.option-radio {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid var(--border);
    margin-top: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background-color 0.2s;
}

.option-btn.selected .option-radio {
    border-color: var(--primary);
    background-color: var(--primary);
}

.option-radio svg {
    width: 0.625rem;
    height: 0.625rem;
    color: white;
}

.option-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.2s, font-weight 0.2s;
}

.option-btn.selected .option-label {
    color: var(--foreground);
    font-weight: 500;
}

.question-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    height: 2.25rem;
    font-size: 0.875rem;
}

.nav-btn svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Submitting State */
.submitting-container {
    max-width: 28rem;
    margin: 0 auto;
    text-align: center;
}

.submitting-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.submitting-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.submitting-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Mid Assessment Popup / Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    max-width: 28rem;
    width: 90%;
}

.modal-header {
    text-align: center;
}

.modal-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.75rem;
    border-radius: 0.5rem;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.modal-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 0.5rem;
}

.modal-btn {
    width: 100%;
    margin-top: 0.75rem;
}

/* Results Page */
.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-headline {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .results-headline {
        font-size: 1.5rem;
    }
}

.results-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

/* Readiness Ruler */
.readiness-ruler-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.readiness-ruler {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 0 1rem;
}

.ruler-score-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ruler-score-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.ruler-score-max {
    font-size: 2rem;
    color: var(--muted-foreground);
}

.ruler-score-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

.ruler-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

.ruler-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    width: 25%;
}

.ruler-label-low {
    color: #DC2626;
    text-align: left;
}

.ruler-label-moderate {
    color: #EA580C;
}

.ruler-label-strong {
    color: #EAB308;
}

.ruler-label-advanced {
    color: #22C55E;
    text-align: right;
}

.ruler-bar-container {
    position: relative;
    width: 100%;
    height: 24px;
    margin-bottom: 0.5rem;
}

.ruler-bar {
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.ruler-segment {
    height: 100%;
    flex: 1;
}

.ruler-segment-low {
    background-color: #DC2626;
}

.ruler-segment-moderate {
    background-color: #EA580C;
}

.ruler-segment-strong {
    background-color: #EAB308;
}

.ruler-segment-advanced {
    background-color: #22C55E;
}

.ruler-pointer {
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
    transition: left 1.5s ease-out;
    z-index: 10;
}

.ruler-pointer-arrow {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid #1F2937;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.ruler-scale {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    padding: 0 0.25rem;
}

.readiness-badge {
    margin-top: 1.25rem;
    padding: 0.625rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

/* Download Button */
.download-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
}

.download-btn svg {
    width: 1rem;
    height: 1rem;
}

/* Insight Cards */
.insights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.insight-card {
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.insight-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1rem 0.5rem;
}

.insight-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insight-icon svg {
    width: 1rem;
    height: 1rem;
}

.insight-icon-blue {
    background-color: hsl(217, 91%, 96%);
    color: hsl(221, 83%, 53%);
}

.insight-icon-indigo {
    background-color: hsl(226, 76%, 96%);
    color: hsl(239, 84%, 67%);
}

.insight-icon-emerald {
    background-color: hsl(152, 76%, 96%);
    color: hsl(160, 84%, 39%);
}

.insight-icon-amber {
    background-color: hsl(48, 100%, 96%);
    color: hsl(38, 92%, 50%);
}

.insight-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.insight-content {
    padding: 0 1rem 1rem;
}

.insight-text {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Recommendations Card */
.recommendations-card {
    border: 1px solid hsl(221, 83%, 40%, 0.2);
    background-color: hsl(213, 100%, 96%, 0.3);
    margin-bottom: 2.5rem;
}

.recommendations-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1rem 0.5rem;
}

.recommendations-header svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.recommendations-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.recommendations-content {
    padding: 0 1rem 1rem;
}

.recommendations-text {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.recommendations-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.recommendations-btn svg {
    width: 1rem;
    height: 1rem;
}

/* Bottom Actions */
.results-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .results-actions {
        flex-direction: row;
    }
}

/* Results Footer */
.results-footer {
    background-color: var(--background);
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    margin-top: 4rem;
}

.results-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .results-footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.results-footer-logo {
    height: 1.75rem;
    width: auto;
}

.results-footer-text {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: center;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Utility classes */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

/* Error Message */
.error-message {
    max-width: 28rem;
    margin: 1rem auto 0;
    padding: 0.75rem;
    background-color: hsl(0, 93%, 97%);
    border: 1px solid hsl(0, 84%, 85%);
    border-radius: 0.5rem;
    color: hsl(0, 65%, 45%);
    font-size: 0.75rem;
    text-align: center;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--muted);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted-foreground);
}

/* Selection */
::selection {
    background: hsl(221, 83%, 40%, 0.2);
    color: var(--primary);
}
