﻿:root {
    --navy: #0f2545;
    --navy-dark: #081729;
    --gold: #c9a15a;
    --bg: #f6f7fb;
    --text: #1f2937;
    --muted: #6b7280;
    --danger: #c0392b;
    --success: #1e8e5a;
    --radius: 14px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.9;
}

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

/* Header */
.site-header {
    background: var(--navy);
    color: #fff;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}
.brand { color: #fff; font-size: 22px; font-weight: 800; text-decoration: none; }
.brand span { color: var(--gold); }
.site-header nav { display: flex; align-items: center; gap: 18px; }
.site-header nav a { color: #dfe6f1; text-decoration: none; font-size: 15px; }
.site-header nav a:hover { color: var(--gold); }
.btn-outline {
    border: 1px solid var(--gold) !important;
    padding: 8px 18px;
    border-radius: 999px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    padding: 70px 0 90px;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 34px; margin: 0 0 18px; line-height: 1.5; }
.hero p.lead { color: #cdd6e6; font-size: 17px; margin-bottom: 28px; }
.hero-illustration {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    animation: floaty 4s ease-in-out infinite;
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-illustration .big-num { font-size: 52px; font-weight: 800; color: var(--gold); }

.btn-cta {
    display: inline-block;
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 8px 20px rgba(201,161,90,.35);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,161,90,.45); }

/* Sections */
section { padding: 60px 0; }
section h2 { font-size: 26px; text-align: center; margin-bottom: 10px; }
section .subtitle { text-align: center; color: var(--muted); margin-bottom: 40px; }

.fact-box {
    background: #fff;
    border-right: 5px solid var(--danger);
    border-radius: var(--radius);
    padding: 26px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    max-width: 850px;
    margin: 0 auto 40px;
}
.fact-box strong { color: var(--danger); }

.axes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.axis-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    transition: transform .2s ease;
}
.axis-card:hover { transform: translateY(-4px); }
.axis-card .num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--navy); color: var(--gold); font-weight: 700; margin-bottom: 12px;
}
.axis-card h3 { margin: 0 0 8px; font-size: 17px; }
.axis-card p { color: var(--muted); font-size: 14px; margin: 0; }

.why-list { max-width: 800px; margin: 0 auto; }
.why-item { display: flex; gap: 14px; margin-bottom: 22px; }
.why-item .bullet { color: var(--gold); font-size: 22px; line-height: 1; }
.why-item h4 { margin: 0 0 4px; }
.why-item p { margin: 0; color: var(--muted); }

.closing-quote {
    max-width: 800px; margin: 40px auto 0;
    text-align: center; font-weight: 700; font-size: 18px;
    padding: 24px; border-radius: var(--radius);
    background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

.survey-cta {
    background: var(--navy);
    color: #fff;
    text-align: center;
    border-radius: var(--radius);
    padding: 50px 30px;
    max-width: 900px;
    margin: 0 auto;
}
.survey-cta h2 { color: #fff; }
.survey-cta p { color: #cdd6e6; margin-bottom: 26px; }

/* Forms (Login / OTP / Profile) */
.auth-wrap {
    max-width: 440px;
    margin: 60px auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.auth-wrap h2 { text-align: center; margin-top: 0; }
.auth-wrap .hint { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.field input[type=text], .field input[type=tel] {
    width: 100%; padding: 12px 14px; border-radius: 10px;
    border: 1px solid #d9dde5; font-family: inherit; font-size: 15px;
}
.field input:focus { outline: none; border-color: var(--gold); }
.btn-submit {
    width: 100%; padding: 13px; border: none; border-radius: 10px;
    background: var(--navy); color: #fff; font-family: inherit;
    font-size: 16px; font-weight: 700; cursor: pointer;
}
.btn-submit:hover { background: var(--navy-dark); }
.msg-error { background: #fdecea; color: var(--danger); padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.msg-success { background: #eafaf1; color: var(--success); padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.dev-hint { background: #fff8e1; border: 1px dashed var(--gold); padding: 10px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }

.profile-card {
    max-width: 700px;
    margin: 50px auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.profile-card h2 { margin-top: 0; }
.profile-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-secondary {
    padding: 13px 22px; border-radius: 10px; border: 1px solid var(--navy);
    background: #fff; color: var(--navy); font-family: inherit; font-weight: 700; cursor: pointer;
    text-decoration: none; display: inline-block;
}
.btn-primary-wide {
    flex: 1; padding: 13px 22px; border-radius: 10px; border: none;
    background: var(--gold); color: var(--navy-dark); font-family: inherit; font-weight: 700; cursor: pointer;
}

footer.site-footer {
    background: var(--navy-dark); color: #9fb0c9; padding: 24px 0; text-align: center; font-size: 14px; margin-top: 40px;
}

/* Projects list on profile page */
.project-list { display: flex; flex-direction: column; gap: 14px; }
.project-item {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: #f6f7fb; border-radius: 12px; padding: 16px 20px; flex-wrap: wrap;
}
.project-item-info { display: flex; flex-direction: column; gap: 4px; }
.project-item-info strong { font-size: 16px; }
.project-status { display: inline-block; width: fit-content; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.status-active { background: #eafaf1; color: var(--success); }
.status-pending { background: #fdecea; color: var(--danger); }
.project-meta { font-size: 13px; color: var(--muted); }

/* Responses table */
.responses-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.responses-table th, .responses-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid #eef1f6; font-size: 14px; }
.responses-table th { color: var(--muted); font-weight: 600; font-size: 13px; }
.score-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.score-high { background: #eafaf1; color: var(--success); }
.score-mid { background: #fff8e1; color: #a1720a; }
.score-low { background: #fdecea; color: var(--danger); }

.report-box {
    background: #f6f7fb; border-radius: 14px; padding: 26px; margin-top: 20px;
    white-space: pre-wrap; line-height: 2; font-size: 15px;
}

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