/* Fonts: Montserrat for Headings, Inter for Body */
/* Last Updated: 2025-12-11 21:03 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700;800&display=swap');

:root {
    --color-navy-dark: #020617;
    /* Newer, deeper black/navy */
    --color-navy: #0f172a;
    /* Card background */
    --color-navy-light: #1e293b;
    --color-cyan: #06b6d4;
    /* Slightly darker cyan for text legibility, will use bright for buttons */
    --color-cyan-bright: #00e0ff;
    /* Neon cyan for buttons/gradients */
    --color-cyan-dim: rgba(6, 182, 212, 0.1);
    --color-white: #f8fafc;
    --color-slate: #94a3b8;
    --color-alert: #ef4444;
    --color-warning: #eab308;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-navy-dark);
    /* Very subtle gradient, significantly reduced opacity */
    background-image:
        radial-gradient(circle at 50% 0%, #0f172a 0%, transparent 50%);
    color: var(--color-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.btn,
.badge {
    font-family: var(--font-heading);
}

#app {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.text-cyan {
    color: var(--color-cyan);
}

.text-white {
    color: var(--color-white);
}

.text-slate {
    color: var(--color-slate);
}

.bg-navy {
    background-color: var(--color-navy);
}

.bg-cyan {
    background-color: var(--color-cyan);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background-color: var(--color-cyan-bright);
    color: var(--color-navy-dark);
    font-weight: 800;
    /* Heavier weight */
    font-size: 1.125rem;
    border-radius: 9999px;
    /* Pill shape */
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    /* Stronger neon glow */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
    background-color: #22d3ee;
}

.btn-large {
    width: auto;
    /* Allow shrink */
    min-width: 250px;
    /* But keep a reasonable minimum */
    padding: 1rem 2rem;
    /* Reduced padding */
    font-size: 1rem;
    /* Reduced font size */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-outline {
    border: 1px solid var(--color-cyan);
    color: var(--color-cyan);
    background: var(--color-cyan-dim);
}

.card {
    background-color: var(--color-navy);
    border-radius: 20px;
    /* More rounded */
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Very subtle border */
}

/* Quiz Options Styling */
.quiz-option {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.quiz-option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quiz-option .icon-box {
    width: 40px;
    height: 40px;
    background: var(--color-navy-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-cyan);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.quiz-option-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-white);
}

.quiz-option .check-circle {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-slate);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Result Page Specifics */
.result-hero {
    position: relative;
    min-height: 55vh;
    padding-bottom: 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    text-align: center;
    background: url('https://i.imgur.com/kwBIjOh.jpeg') no-repeat top center/cover;
}

.result-content {
    background: var(--color-navy-dark);
    padding-bottom: 4rem;
    margin-top: -6rem;
    position: relative;
    z-index: 10;
}

.result-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite ease-in-out;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
    }

    50% {
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.3);
    }

    100% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
    }
}

.glow-animation {
    animation: glowPulse 3s infinite;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    h1,
    .result-title {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.1rem !important;
    }

    /* Mobile Centering */
    .container,
    .home-content,
    .card,
    h1,
    h2,
    h3,
    p {
        text-align: center !important;
    }

    /* Fix alignment for lists - center them */
    ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    li {
        justify-content: center;
        text-align: center;
    }

    /* Ensure buttons are centered and full width */
    .btn,
    .btn-large {
        width: 100% !important;
        justify-content: center;
        font-size: 0.9rem !important;
        padding: 0.875rem 1.5rem !important;
    }

    .home-image {
        margin-top: 2rem;
    }

    /* Quiz Options Mobile - HORIZONTAL with smaller fonts */
    .quiz-option {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 1rem !important;
        gap: 0.5rem;
    }

    .quiz-option-content {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.75rem !important;
        flex: 1;
    }

    .quiz-option .icon-box {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.25rem !important;
        flex-shrink: 0;
    }

    .quiz-option-text {
        font-size: 0.875rem !important;
        text-align: left !important;
        line-height: 1.4;
        flex: 1;
    }

    .quiz-option .check-circle {
        width: 20px !important;
        height: 20px !important;
        flex-shrink: 0;
    }

    /* Result Page Mobile */
    .result-hero {
        min-height: auto;
        padding-bottom: 6rem;
        background-position: center top;
        padding-top: 2rem;
    }

    .result-content {
        margin-top: -4rem;
        padding-bottom: 2rem;
    }

    .card {
        padding: 1.5rem !important;
    }

    /* Fix icon sizes in cards */
    .card i {
        font-size: 1.25rem !important;
    }

    /* Fix badge sizing */
    .badge {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    /* Center form elements */
    form {
        width: 100%;
    }

    input[type="email"] {
        width: 100% !important;
        font-size: 1rem !important;
    }

    /* Fix progress bar */
    .progress-bar {
        margin-bottom: 1.5rem;
    }

    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Fix recommendation card on mobile */
    .card .grid-2>div:last-child {
        min-height: 300px !important;
    }
}