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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --danger-color: #dc2626;
    --danger-soft: #fef2f2;
    --success-soft: #ecfdf5;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #eff6ff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none !important;
    color: inherit;
}

button {
    text-decoration: none;
    border: none;
    cursor: pointer;
}

* {
    pointer-events: auto;
}

*::before,
*::after {
    pointer-events: none;
}

.hidden {
    display: none !important;
}

/* Fallback: if JS does not load, clicking a #questionSection link still reveals the section */
#questionSection:target {
    display: block !important;
}

.navbar {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 24px;
}

.nav-cta {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#navGetStartedBtn,
#startBtn {
    position: relative;
    z-index: 20;
}

.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

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

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.hero-image {
    position: relative;
    height: 400px;
}

.hero-image-collage {
    position: absolute;
    inset: 0;
}

.hero-photo {
    position: absolute;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-xl);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-1 {
    width: 58%;
    height: 57%;
    top: 3%;
    left: 4%;
}

.photo-2 {
    width: 44%;
    height: 39%;
    right: 0;
    top: 20%;
}

.photo-3 {
    width: 52%;
    height: 42%;
    left: 22%;
    bottom: 2%;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 24px;
}

.card-1 {
    top: 20%;
    left: 10%;
    color: var(--primary-color);
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: 10%;
    color: var(--secondary-color);
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    color: #f59e0b;
    animation-delay: 2s;
}

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

.features {
    padding: 80px 0;
    background: var(--bg-primary);
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
}

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

.feature-card {
    background: var(--bg-secondary);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(17, 37, 51, 0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
    font-size: 36px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card h3 i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.questionnaire {
    padding: 80px 0;
    background: var(--bg-secondary);
    min-height: 100vh;
}

.questionnaire-header {
    text-align: center;
    margin-bottom: 48px;
}

.questionnaire-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.questionnaire-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

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

.progress-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 40px;
}

.question-container {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
    min-height: 300px;
}

.question-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.option-card {
    background: var(--bg-secondary);
    padding: 20px 24px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.option-card:hover {
    border-color: var(--primary-color);
    background: var(--bg-accent);
    transform: translateY(-2px);
}

.option-card.selected {
    border-color: var(--primary-color);
    background: var(--bg-accent);
    box-shadow: var(--shadow-md);
}

.option-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.option-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-secondary);
}

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.results {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.results-header {
    text-align: center;
    margin-bottom: 48px;
}

.results-header h2 {
    font-size: 36px;
    font-weight: 700;
}

.step-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.step-heading span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: white;
    background: var(--primary-color);
    border-radius: 999px;
    padding: 6px 10px;
}

.step-heading h3 {
    font-size: 24px;
    font-weight: 700;
}

.score-card {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
}

.insight-card {
    background: white;
    border-radius: 16px;
    padding: 26px 28px;
    margin-bottom: 34px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--danger-color);
}

.insight-card.improve {
    border-left-color: var(--secondary-color);
    background: linear-gradient(180deg, var(--success-soft) 0%, #ffffff 80%);
}

.insight-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.insight-list li {
    background: var(--danger-soft);
    color: var(--text-primary);
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
}

.insight-card.improve .insight-list li {
    background: #f0fdf4;
}

.ask-ai-cta {
    margin-bottom: 32px;
}

.detailed-advice-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
}

.detailed-advice-card p {
    color: var(--text-secondary);
    white-space: pre-line;
}

.score-visual {
    position: relative;
    width: 200px;
    height: 200px;
}

.score-circle {
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 12;
}

.score-progress {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    transition: stroke-dashoffset 2s ease;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.score-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.score-details h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.score-details p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.section-subtitle {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.simulation-container {
    margin-bottom: 48px;
}

.simulation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.simulation-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.simulation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.simulation-header i {
    font-size: 24px;
}

.current-path .simulation-header {
    color: var(--text-secondary);
}

.improved-path .simulation-header {
    color: var(--secondary-color);
}

.simulation-header h4 {
    font-size: 20px;
    font-weight: 700;
}

.simulation-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.future-summary {
    margin-top: 12px;
    font-size: 14px;
}

.simulation-metric {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: rgba(15, 118, 110, 0.14);
    color: var(--primary-color);
}

.improved-path .metric-icon {
    background: rgba(234, 88, 12, 0.15);
    color: var(--secondary-color);
}

.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.improved-path .metric-value {
    color: var(--secondary-color);
}

.action-plan {
    margin-bottom: 48px;
}

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

.plan-week {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.plan-week h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.plan-week p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.email-section {
    display: flex;
    justify-content: center;
}

.email-card {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.email-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
    font-size: 32px;
}

.email-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.email-card p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.email-form input {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.email-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.email-form button {
    padding: 14px 32px;
}

.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-disclaimer {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.62);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.loading-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    width: min(420px, 100%);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.loader {
    width: 44px;
    height: 44px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 14px;
}

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

.chat-panel {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 460px;
    max-height: 82vh;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h3 {
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.chat-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.chat-messages {
    padding: 18px;
    overflow-y: auto;
    display: grid;
    gap: 10px;
    background: #f8fafc;
    flex: 1;
}

.chat-message {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.65;
    white-space: normal;
    word-break: break-word;
}

.chat-message.user {
    background: var(--primary-color);
    color: white;
    justify-self: end;
    max-width: 90%;
}

.chat-message.ai {
    background: white;
    border: 1px solid var(--border-color);
    justify-self: start;
    max-width: 95%;
}

.chat-message.ai p {
    margin: 0 0 10px;
}

.chat-message.ai p:last-child {
    margin-bottom: 0;
}

.chat-message.ai ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.chat-message.ai li {
    margin: 0;
}

.chat-message.ai strong {
    font-weight: 800;
    color: var(--text-primary);
}

.chat-input-row {
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px;
}

.chat-input-row input {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
}

/* Visual refresh overrides */
:root {
    --primary-color: #0f766e;
    --primary-dark: #115e59;
    --secondary-color: #ea580c;
    --danger-color: #b91c1c;
    --danger-soft: #fff1f2;
    --success-soft: #ecfdf3;
    --text-primary: #112533;
    --text-secondary: #4b5f6b;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f9fb;
    --bg-accent: #eaf7f5;
    --border-color: #d8e5ec;
    --shadow-sm: 0 4px 10px rgba(16, 56, 80, 0.08);
    --shadow-md: 0 10px 26px rgba(16, 56, 80, 0.12);
    --shadow-lg: 0 18px 40px rgba(12, 45, 63, 0.16);
    --shadow-xl: 0 28px 64px rgba(8, 34, 48, 0.22);
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    background-image: radial-gradient(circle at 18% 12%, rgba(15, 118, 110, 0.1), transparent 34%), radial-gradient(circle at 86% 18%, rgba(234, 88, 12, 0.09), transparent 28%);
}

h1,
h2,
h3,
.logo,
.stat-number,
.section-title,
.score-number {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(17, 37, 51, 0.08);
    box-shadow: none;
}

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

.nav-cta,
.btn-primary,
.cta-button {
    background: linear-gradient(135deg, #0f766e 0%, #129990 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.28);
}

.nav-cta:hover,
.btn-primary:hover:not(:disabled),
.cta-button:hover {
    background: linear-gradient(135deg, #0b5e58 0%, #0f766e 100%);
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.34);
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #f0fbfb 0%, #e2f3f9 52%, #fff6eb 100%);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 440px;
    height: 440px;
    right: -130px;
    top: -180px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.18), rgba(15, 118, 110, 0));
}

.hero::after {
    width: 360px;
    height: 360px;
    left: -130px;
    bottom: -160px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.14), rgba(234, 88, 12, 0));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.1;
}

.hero-subtitle {
    max-width: 58ch;
}

.hero-stats {
    gap: 24px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(17, 37, 51, 0.08);
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 120px;
    box-shadow: var(--shadow-sm);
}

.floating-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(17, 37, 51, 0.08);
    backdrop-filter: blur(8px);
}

.features {
    background: linear-gradient(180deg, #f8fcfe 0%, #ffffff 100%);
}

.section-title {
    font-size: clamp(30px, 5vw, 48px);
}

.feature-card,
.question-container,
.score-card,
.simulation-card,
.insight-card,
.detailed-advice-card,
.email-card {
    border: 1px solid rgba(17, 37, 51, 0.08);
    box-shadow: var(--shadow-md);
    border-radius: 18px;
}

.feature-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fdff 100%);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.01);
}

.feature-icon {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.15), rgba(15, 118, 110, 0.05));
}

.questionnaire,
.results {
    background: transparent;
}

.question-title {
    font-size: clamp(22px, 3vw, 30px);
}

.option-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-color: #d8e5ec;
}

.option-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.step-heading span {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    box-shadow: 0 6px 14px rgba(234, 88, 12, 0.3);
}

.score-progress {
    stroke: #0f766e;
}

.score-label,
.metric-label,
.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    font-size: 11px;
}

.insight-list li {
    border: 1px solid rgba(185, 28, 28, 0.1);
}

.insight-card.improve .insight-list li {
    border: 1px solid rgba(15, 118, 110, 0.14);
}

.current-path {
    border-top: 5px solid #0f766e;
}

.improved-path {
    border-top: 5px solid #ea580c;
}

.plan-week {
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 90%);
}

.email-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fcfe 100%);
}

.email-form input {
    border-color: #c8d7e1;
    background: #ffffff;
}

.email-form input:focus,
.chat-input-row input:focus {
    outline: none;
    border-color: #129990;
    box-shadow: 0 0 0 3px rgba(18, 153, 144, 0.16);
}

.footer {
    background: linear-gradient(145deg, #112533 0%, #0f766e 120%);
}

.chat-panel {
    border-radius: 18px;
    border: 1px solid rgba(15, 118, 110, 0.2);
    box-shadow: 0 24px 52px rgba(8, 34, 48, 0.28);
}

.chat-header {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
}

.chat-message.user {
    background: linear-gradient(135deg, #0f766e 0%, #129990 100%);
}

.chat-message.ai {
    background: #ffffff;
}

.loading-card {
    border: 1px solid rgba(17, 37, 51, 0.09);
    border-radius: 18px;
}

.loader {
    border-top-color: var(--secondary-color);
}

.feature-card,
.score-card,
.simulation-card,
.plan-week,
.insight-card,
.email-card,
.question-container {
    animation: riseIn 0.6s ease both;
}

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

@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .score-card,
    .simulation-card,
    .plan-week,
    .insight-card,
    .email-card,
    .question-container {
        animation: none;
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-item {
        width: 100%;
        text-align: left;
    }

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

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

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

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

    .score-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .score-visual {
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .step-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .chat-panel {
        width: calc(100vw - 14px);
        right: 10px;
        bottom: 10px;
        max-height: 74vh;
    }
}
