/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow-accent: #E8FF00;
    --black: #0A0A0A;
    --gray-light: #E8E8E8;
    --gray-med: #CCCCCC;
    --white: #FFFFFF;
    --dark-card: #1A1A1A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--gray-light);
    -webkit-font-smoothing: antialiased;
}

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

/* Header/Nav */
header {
    background: var(--white);
    border-bottom: 2px solid var(--black);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    font-size: 1.25rem;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #555;
}

.btn-about {
    background: var(--black);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-about:hover {
    background: #333;
    color: var(--white);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--black);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: var(--white);
    padding: 4rem 0 3rem;
}

.hero h1 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 2rem;
    max-width: 700px;
}

.benefits {
    list-style: none;
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.benefits li {
    padding: 0.35rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--black);
    font-weight: 900;
}

.cta-button {
    display: inline-block;
    background: var(--yellow-accent);
    color: var(--black);
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid var(--black);
    box-shadow: 0 6px 20px rgba(232, 255, 0, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 255, 0, 0.5);
}

/* Results Preview Section */
.results-preview {
    padding: 3rem 0;
    background: var(--gray-light);
}

.section-title {
    background: var(--yellow-accent);
    color: var(--black);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 900;
    text-align: center;
    padding: 1rem 2rem;
    margin-bottom: 3rem;
    border: 2px solid var(--black);
}

.result-card {
    background: var(--dark-card);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid var(--black);
}

.result-type {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--yellow-accent);
}

.result-item {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.result-emoji {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.result-item strong {
    color: var(--yellow-accent);
}

.result-item em {
    color: #999;
}

.result-tagline {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    font-style: italic;
}

/* About Page */
.about-page {
    background: var(--white);
    padding: 4rem 0;
    min-height: 60vh;
}

.about-page h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    margin-bottom: 3rem;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-mission {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

.about-tagline {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--Black);
}

.about-tagline strong {
    font-weight: 700;
}

.about-tagline em {
    font-style: italic;
}

.disclaimer {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--gray-light);
    border-left: 4px solid var(--yellow-accent);
    border-radius: 8px;
}

.disclaimer h3 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--black);
}

.disclaimer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

.help-line {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-med);
}

/* Quiz Section */
.quiz-section {
    padding: 4rem 0;
    background: var(--gray-light);
}

.quiz-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.quiz-intro {
    text-align: left;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #333;
    font-weight: 500;
}

.quiz-cta {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--black);
}

.quiz-cta .nowrap {
    white-space: nowrap;
}

.quiz-social-proof {
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

#quiz-count {
    font-weight: 700;
    color: var(--black);
}

/* Typeform embed styling */
[data-tf-live] {
    max-width: 900px;
    margin: 0 auto;
    min-height: 500px;
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

footer p {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-right.active {
        right: 0;
    }

    .nav-right .nav-link {
        font-size: 1.25rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-light);
    }

    .btn-about {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 2.5rem 0 2rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .result-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.25rem;
        padding: 0.75rem 1rem;
    }

    .quiz-embed-container {
        padding: 3rem 1.5rem;
        min-height: 400px;
    }

    .quiz-section h2 {
        font-size: 1.5rem;
    }

    .result-type {
        font-size: 1.35rem;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
