:root {
    --teal: #3D7A8A;
    --teal-dark: #2C5F6E;
    --teal-light: #EAF4F7;
    --text: #2C3E50;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --bg: #F8FAFB;
    --border: #E2E8F0;
    --green: #27AE60;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 18px;
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: Georgia, serif;
    line-height: 1.3;
    margin-bottom: 0.8em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1em; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }

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

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.logo { font-size: 1.6rem; color: var(--teal); font-family: Georgia, serif; font-weight: normal; }
.main-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.main-nav a { color: var(--text); font-size: 1rem; font-weight: 500; }
.main-nav a:hover { color: var(--teal); text-decoration: none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-align: center;
    min-height: 52px;
    line-height: 1.4;
}
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: var(--teal-dark); color: white; text-decoration: none; }
.btn-secondary { background: white; color: var(--teal); border: 2px solid var(--teal); }
.btn-secondary:hover { background: var(--teal); color: white; text-decoration: none; }
.btn-large { padding: 20px 40px; font-size: 1.2rem; }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: #229954; color: white; text-decoration: none; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--teal-light) 0%, #ffffff 100%);
    padding: 80px 24px;
    text-align: center;
}
.hero h1 { color: var(--teal-dark); margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: var(--text-light); max-width: 640px; margin: 0 auto 32px; }
.hero-note { font-size: 0.95rem; color: var(--text-light); margin-top: 16px; }

/* Image Hero */
.hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 40px;
}

/* Sections */
.section { padding: 72px 24px; }
.section-alt { background: var(--bg); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { color: var(--teal-dark); }
.section-title p { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* How It Works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.step { text-align: center; padding: 32px 24px; background: white; border-radius: 8px; border: 1px solid var(--border); }
.step-num { width: 56px; height: 56px; background: var(--teal); color: white; border-radius: 50%; font-size: 1.6rem; font-weight: bold; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-family: Georgia, serif; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-light); font-size: 1rem; margin: 0; }

/* Photo Grid */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.photo-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }
.photo-caption { text-align: center; font-size: 0.9rem; color: var(--text-light); margin-top: 8px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature { padding: 28px; background: white; border-radius: 8px; border-left: 4px solid var(--teal); }
.feature h3 { font-size: 1.1rem; color: var(--teal-dark); margin-bottom: 8px; }
.feature p { color: var(--text-light); font-size: 1rem; margin: 0; }

/* CTA Banner */
.cta-banner { background: var(--teal); color: white; padding: 72px 24px; text-align: center; }
.cta-banner h2 { color: white; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 560px; margin: 0 auto 32px; }
.cta-banner .btn-primary { background: white; color: var(--teal); }
.cta-banner .btn-primary:hover { background: var(--bg); }

/* Quiz Page */
.quiz-section { padding: 48px 24px; }
.quiz-wrapper {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 48px;
    max-width: 620px;
    margin: 0 auto;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* Progress */
.progress-bar { background: var(--border); border-radius: 4px; height: 8px; margin-bottom: 12px; overflow: hidden; }
.progress-fill { background: var(--teal); height: 100%; transition: width 0.4s ease; }
.progress-label { text-align: center; color: var(--text-light); font-size: 0.95rem; margin-bottom: 32px; }

/* Steps */
.quiz-step { border: none; padding: 0; }
.quiz-step legend h2 { font-size: 1.7rem; margin-bottom: 28px; }

/* Radio & Checkbox */
.option-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.option-list label {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05rem;
    transition: all 0.2s;
}
.option-list label:hover { border-color: var(--teal); background: var(--teal-light); }
.option-list input { width: 20px; height: 20px; margin-right: 14px; accent-color: var(--teal); cursor: pointer; }

/* Text inputs */
.form-input {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    margin-bottom: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--teal); }

/* Quiz buttons */
.quiz-btns { display: flex; gap: 14px; margin-top: 32px; }
.quiz-btns button { flex: 1; }

/* Thank You */
.thankyou-screen {
    display: none;
    text-align: center;
    padding: 72px 24px;
    max-width: 560px;
    margin: 0 auto;
}
.thankyou-screen .tick { font-size: 4rem; margin-bottom: 20px; }
.thankyou-screen h2 { color: var(--teal-dark); margin-bottom: 16px; }
.thankyou-screen p { color: var(--text-light); font-size: 1.1rem; line-height: 1.7; margin-bottom: 32px; }

/* Footer */
.site-footer { background: var(--text); color: rgba(255,255,255,0.8); padding: 56px 24px 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 40px; }
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 16px; font-family: inherit; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-col p { font-size: 0.95rem; margin: 0; color: rgba(255,255,255,0.7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.5); }

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .hero { padding: 48px 20px; }
    .quiz-wrapper { padding: 28px 20px; }
    .quiz-btns { flex-direction: column; }
    .header-inner { flex-direction: column; align-items: flex-start; }
    .main-nav { gap: 16px; font-size: 0.95rem; }
}
