/* ============================================================
   Prakriti Analysis CSS
   Brand: Ayurvedic Plus  —  Green #2d6a4f / Golden #D4AF37
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Hero ── */
.pk-hero {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 60%, #40916c 100%);
    color: #fff;
    padding: 56px 24px 48px;
    text-align: center;
}
.pk-hero-sm { padding: 32px 24px 28px; }
.pk-hero-inner { max-width: 720px; margin: 0 auto; }
.pk-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #a7f3d0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.pk-hero h1 { font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 800; margin-bottom: 10px; }
.pk-hero h2 { font-size: clamp(1.2rem,3vw,1.6rem); font-weight: 700; margin-bottom: 8px; }
.pk-hero p  { font-size: .95rem; opacity: .85; max-width: 580px; margin: 0 auto 24px; line-height: 1.65; }

.pk-doshas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pk-dosha-pill {
    display: flex; flex-direction: column; align-items: center;
    padding: 10px 18px; border-radius: 12px;
    font-size: 13px; font-weight: 700; gap: 2px;
    min-width: 90px;
}
.pk-dosha-pill span { font-size: 10px; font-weight: 400; opacity: .8; }
.vata  { background: rgba(124,106,247,.25); color: #d4cfff; }
.pitta { background: rgba(249,115,22,.25);  color: #fed7aa; }
.kapha { background: rgba(34,197,94,.25);   color: #bbf7d0; }

/* ── Result hero ── */
.pk-result-hero {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    color: #fff;
    padding: 52px 24px 44px;
    text-align: center;
}
.pk-result-hero-inner { max-width: 680px; margin: 0 auto; }
.pk-result-check {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 800; margin: 0 auto 16px;
}
.pk-result-hero h1 { font-size: clamp(1.4rem,3.5vw,2rem); font-weight: 800; margin-bottom: 8px; }
.pk-result-hero p  { font-size: .9rem; opacity: .85; margin-bottom: 20px; }
.pk-highlight { color: #86efac; }
.pk-share-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pk-btn-outline-white {
    padding: 8px 20px; border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,.5);
    color: #fff; text-decoration: none; font-size: 13px; font-weight: 600;
    transition: background .2s; cursor: pointer; background: none; font-family: inherit;
}
.pk-btn-outline-white:hover { background: rgba(255,255,255,.15); }

/* ── Layout ── */
.pk-wrap { max-width: 820px; margin: 0 auto; padding: 32px 24px 64px; }

/* ── Card ── */
.pk-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    padding: 28px 28px;
    margin-bottom: 20px;
}
.pk-card h2 { font-size: 1.2rem; font-weight: 700; color: #1b4332; margin-bottom: 4px; }
.pk-card h3 { font-size: 1rem; font-weight: 700; color: #1e293b; margin-bottom: 14px; }
.pk-card-header { text-align: center; margin-bottom: 24px; }
.pk-card-header h2 { font-size: 1.35rem; margin-bottom: 4px; }
.pk-card-header p  { color: #64748b; font-size: .85rem; }
.pk-step-num { font-size: .75rem; font-weight: 700; color: #2d6a4f; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }

/* ── Form ── */
.pk-form { display: flex; flex-direction: column; gap: 16px; }
.pk-field { display: flex; flex-direction: column; gap: 5px; }
.pk-field label { font-size: .82rem; font-weight: 600; color: #1e293b; }
.pk-field input, .pk-field select {
    padding: 10px 14px; border: 2px solid #e2e8f0; border-radius: 8px;
    font-size: .9rem; font-family: inherit; color: #1e293b;
    transition: border-color .2s; background: #fafafa;
}
.pk-field input:focus, .pk-field select:focus {
    outline: none; border-color: #2d6a4f; background: #fff;
    box-shadow: 0 0 0 3px rgba(45,106,79,.1);
}
.pk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pk-optional { font-weight: 400; color: #94a3b8; font-size: .75rem; }
.req { color: #ef4444; }

/* ── Buttons ── */
.pk-btn-primary {
    display: inline-block; width: 100%; padding: 13px; text-align: center;
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    color: #fff; border: none; border-radius: 10px;
    font-size: .95rem; font-weight: 700; cursor: pointer;
    font-family: inherit; text-decoration: none;
    transition: opacity .2s, transform .15s;
    box-shadow: 0 3px 12px rgba(45,106,79,.25);
}
.pk-btn-primary:hover { opacity: .9; transform: translateY(-1px); color: #fff; }
.pk-btn-secondary {
    display: inline-block; padding: 11px 24px;
    border: 2px solid #2d6a4f; color: #2d6a4f;
    border-radius: 10px; font-size: .9rem; font-weight: 600;
    text-decoration: none; transition: all .2s;
}
.pk-btn-secondary:hover { background: #2d6a4f; color: #fff; }
.pk-btn-back {
    padding: 8px 16px; border: 1.5px solid #e2e8f0;
    border-radius: 8px; color: #64748b; text-decoration: none;
    font-size: .85rem; font-weight: 600; transition: all .2s;
}
.pk-btn-back:hover { border-color: #2d6a4f; color: #2d6a4f; }
.pk-btn-skip {
    padding: 8px 16px; background: #f0fdf4;
    border: 1.5px solid #86efac; border-radius: 8px;
    color: #166534; font-size: .85rem; font-weight: 600;
    text-decoration: none; transition: all .2s;
}
.pk-btn-skip:hover { background: #dcfce7; }

/* ── Alerts ── */
.pk-alert { padding: 11px 14px; border-radius: 8px; font-size: .83rem; margin-bottom: 16px; }
.pk-alert-error { background: #fef2f2; color: #991b1b; border-left: 4px solid #ef4444; }

/* ── Login note ── */
.pk-login-note {
    text-align: center; margin-top: 18px; padding-top: 16px;
    border-top: 1px solid #f1f5f9; font-size: .82rem; color: #64748b;
}
.pk-login-note a { color: #2d6a4f; font-weight: 600; text-decoration: none; }

/* ── Info cards ── */
.pk-info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 4px; }
.pk-info-card {
    background: #fff; border-radius: 12px; padding: 16px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.pk-info-icon { font-size: 22px; flex-shrink: 0; }
.pk-info-card strong { font-size: .85rem; color: #1e293b; display: block; margin-bottom: 2px; }
.pk-info-card p { font-size: .75rem; color: #64748b; margin: 0; }

/* ── Progress bar ── */
.pk-progress-wrap { margin-bottom: 24px; }
.pk-progress-labels { display: flex; justify-content: space-between; font-size: .78rem; color: #64748b; margin-bottom: 6px; font-weight: 600; }
.pk-progress-bg { background: #e2e8f0; border-radius: 8px; height: 8px; overflow: hidden; margin-bottom: 10px; }
.pk-progress-fill { height: 100%; background: linear-gradient(90deg, #2d6a4f, #40916c); border-radius: 8px; transition: width .4s; }
.pk-progress-steps { display: flex; gap: 4px; flex-wrap: wrap; }
.pk-step-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #e2e8f0; transition: background .3s;
    flex-shrink: 0;
}
.pk-step-dot.done   { background: #40916c; }
.pk-step-dot.active { background: #2d6a4f; box-shadow: 0 0 0 3px rgba(45,106,79,.2); }

/* ── Question card ── */
.pk-qnum { font-size: .75rem; font-weight: 700; color: #2d6a4f; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }
.pk-qtext { font-size: 1.1rem; font-weight: 700; color: #1e293b; margin-bottom: 22px; line-height: 1.5; }

/* ── Option buttons ── */
.pk-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pk-option {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 12px;
    border: 2px solid #e2e8f0; background: #fafafa;
    cursor: pointer; text-align: left; font-family: inherit;
    transition: all .18s; width: 100%;
}
.pk-option:hover { border-color: #2d6a4f; background: #f0fdf4; }
.pk-option.pk-selected { border-color: #2d6a4f; background: #f0fdf4; }
.pk-opt-dot {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid #cbd5e1; flex-shrink: 0;
    transition: all .18s;
}
.pk-option:hover .pk-opt-dot,
.pk-option.pk-selected .pk-opt-dot { border-color: #2d6a4f; background: #2d6a4f; }
.pk-opt-label { flex: 1; font-size: .9rem; font-weight: 500; color: #1e293b; }
.pk-opt-dosha {
    font-size: .7rem; font-weight: 700; padding: 3px 8px;
    border-radius: 20px; flex-shrink: 0; text-transform: uppercase; letter-spacing: .5px;
}
.pk-vata  .pk-opt-dosha { background: #f0eeff; color: #7c6af7; }
.pk-pitta .pk-opt-dosha { background: #fff7ed; color: #f97316; }
.pk-kapha .pk-opt-dosha { background: #f0fdf4; color: #22c55e; }

.pk-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

/* ── Dosha bars ── */
.pk-dosha-card { }
.pk-bars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.pk-bar-row { display: flex; align-items: center; gap: 12px; }
.pk-bar-label { width: 54px; font-size: .82rem; font-weight: 600; color: #1e293b; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.pk-bar-bg { flex: 1; background: #f1f5f9; border-radius: 8px; height: 14px; overflow: hidden; }
.pk-bar-fill { height: 100%; border-radius: 8px; width: 0; transition: width .8s ease; }
.pk-bar-pct { width: 36px; font-size: .82rem; font-weight: 700; color: #64748b; text-align: right; flex-shrink: 0; }
.pk-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.vata-dot  { background: #7c6af7; } .vata-fill  { background: linear-gradient(90deg,#7c6af7,#a78bfa); }
.pitta-dot { background: #f97316; } .pitta-fill { background: linear-gradient(90deg,#f97316,#fb923c); }
.kapha-dot { background: #22c55e; } .kapha-fill { background: linear-gradient(90deg,#22c55e,#4ade80); }
.pk-score-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pk-score-pill { padding: 4px 12px; border-radius: 20px; font-size: .78rem; font-weight: 700; }

/* ── Dosha header ── */
.pk-dosha-header {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; border-radius: 10px; margin-bottom: 18px;
}
.pk-dosha-icon { font-size: 2rem; flex-shrink: 0; }
.pk-dosha-header h2 { margin-bottom: 2px; }
.pk-dosha-header p  { font-size: .83rem; color: #64748b; margin: 0; }

/* ── Trait / list ── */
.pk-trait-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pk-trait-list li { font-size: .9rem; color: #334155; padding: 8px 12px; background: #f8fafc; border-radius: 8px; }
.pk-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pk-list li { font-size: .88rem; color: #334155; padding: 7px 0; border-bottom: 1px solid #f1f5f9; }
.pk-list li:last-child { border: none; }
.pk-list li::before { content: '✦ '; color: #2d6a4f; font-size: .7rem; }

/* ── Two col layout ── */
.pk-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pk-two-col .pk-card { margin-bottom: 0; }

/* ── Avoid card ── */
.pk-avoid-card { background: #fffbeb; border: 1px solid #fde68a; }
.pk-avoid-card h3 { color: #92400e; }
.pk-avoid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pk-avoid-item { font-size: .85rem; color: #78350f; padding: 8px 10px; background: rgba(255,255,255,.6); border-radius: 8px; }

/* ── CTA card ── */
.pk-cta-card { text-align: center; background: linear-gradient(135deg,#f0fdf4,#dcfce7); border: 1px solid #86efac; }
.pk-cta-icon { font-size: 2.5rem; margin-bottom: 10px; }
.pk-cta-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pk-cta-card p  { color: #64748b; font-size: .88rem; margin-bottom: 18px; }
.pk-cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pk-cta-btns .pk-btn-primary { width: auto; padding: 11px 24px; }

/* ── Responsive ── */
@media (max-width: 640px) {
    .pk-wrap      { padding: 20px 16px 48px; }
    .pk-card      { padding: 20px 16px; }
    .pk-row       { grid-template-columns: 1fr; }
    .pk-two-col   { grid-template-columns: 1fr; }
    .pk-info-cards{ grid-template-columns: 1fr; }
    .pk-avoid-grid{ grid-template-columns: 1fr; }
    .pk-doshas    { gap: 8px; }
    .pk-dosha-pill{ min-width: 80px; padding: 8px 12px; font-size: 12px; }
    .pk-step-dot  { width: 8px; height: 8px; }
}
@media print {
    .pk-hero, .pk-result-hero { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .pk-share-row, .pk-cta-card, .pk-nav { display: none; }
}

/* ============================================================
   Start Page — Hero, Grid, Dosha Trio, Benefits, Stats
   ============================================================ */

/* ── Start Hero ── */
.pk-start-hero {
    background: linear-gradient(135deg, #0d2b1e 0%, #1b4332 50%, #2d6a4f 100%);
    color: #fff;
    padding: 64px 24px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pk-start-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.pk-orb {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
    background: radial-gradient(circle, #86efac, transparent 70%);
}
.pk-orb.o1 { width: 400px; height: 400px; top: -120px; left: -100px; }
.pk-orb.o2 { width: 300px; height: 300px; top: 40px;  right: -80px; background: radial-gradient(circle, #d4af37, transparent 70%); }
.pk-orb.o3 { width: 250px; height: 250px; bottom: -80px; left: 30%; }

.pk-start-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pk-badge-row { margin-bottom: 18px; }

.pk-start-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -.5px;
}
.pk-gold { color: #d4af37; }

.pk-start-hero p {
    font-size: 1rem;
    opacity: .85;
    max-width: 620px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ── Dosha Trio ── */
.pk-dosha-trio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto 36px;
    flex-wrap: wrap;
    max-width: 600px;
}
.pk-dosha-sep {
    font-size: 1.4rem;
    font-weight: 900;
    color: rgba(255,255,255,.4);
    padding: 0 4px;
    align-self: center;
}
.pk-dosha-card-sm {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 22px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
    min-width: 120px;
    text-align: center;
    flex: 1;
    max-width: 170px;
}
.pk-dosha-card-sm .pk-dc-icon { font-size: 1.8rem; margin-bottom: 6px; }
.pk-dosha-card-sm strong { font-size: .95rem; font-weight: 800; display: block; margin-bottom: 2px; }
.pk-dosha-card-sm span { font-size: .7rem; opacity: .65; letter-spacing: .5px; display: block; margin-bottom: 6px; }
.pk-dosha-card-sm p { font-size: .72rem; opacity: .75; margin: 0; line-height: 1.45; }

.vata-card  { background: rgba(124,106,247,.18); }
.pitta-card { background: rgba(249,115,22,.18); }
.kapha-card { background: rgba(34,197,94,.18); }

/* ── Hero Stats ── */
.pk-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.pk-hs {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 24px;
}
.pk-hs strong { font-size: 1.5rem; font-weight: 900; color: #86efac; line-height: 1; }
.pk-hs span   { font-size: .7rem; opacity: .7; text-transform: uppercase; letter-spacing: .6px; margin-top: 3px; }
.pk-hs-div    { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* ── Start Grid ── */
.pk-start-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
.pk-start-form-card { }

/* ── Start Right Panel ── */
.pk-start-right {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    padding: 28px 24px;
}
.pk-start-right h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #1b4332;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── Benefits ── */
.pk-benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}
.pk-benefit:last-of-type { border-bottom: none; }
.pk-benefit-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f0fdf4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pk-benefit strong { font-size: .9rem; font-weight: 700; color: #1e293b; display: block; margin-bottom: 3px; }
.pk-benefit p { font-size: .8rem; color: #64748b; margin: 0; line-height: 1.45; }

/* ── Trust Row ── */
.pk-trust-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}
.pk-trust-item {
    flex: 1;
    min-width: 90px;
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    color: #2d6a4f;
    background: #f0fdf4;
    border-radius: 8px;
    padding: 7px 10px;
}

/* ── Step Badge ── */
.pk-step-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* ── Option emoji ── */
.pk-opt-emoji { font-size: 1rem; flex-shrink: 0; }

/* ── Responsive start page ── */
@media (max-width: 768px) {
    .pk-start-grid       { grid-template-columns: 1fr; }
    .pk-dosha-trio       { gap: 4px; }
    .pk-dosha-card-sm    { min-width: 90px; padding: 12px 10px; }
    .pk-hero-stats       { gap: 0; }
    .pk-hs               { padding: 8px 14px; }
}
@media (max-width: 480px) {
    .pk-dosha-trio       { flex-direction: column; gap: 8px; }
    .pk-dosha-sep        { transform: rotate(90deg); }
    .pk-dosha-card-sm    { max-width: 100%; width: 100%; flex-direction: row; padding: 12px 16px; text-align: left; }
    .pk-dosha-card-sm .pk-dc-icon { margin-bottom: 0; margin-right: 10px; }
}
