/**
 * NETRAA — Vastu Shastra Consultant Stylesheet
 */
.vastu-header {
    background: linear-gradient(135deg, #14532d 0%, #166534 40%, #0d3d22 100%);
    padding: 34px 0 28px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 28px;
}
.vastu-header::before {
    content: "🏛️";
    position: absolute;
    font-size: 140px;
    opacity: 0.06;
    right: 10px;
    top: -20px;
    line-height: 1;
}
.vastu-header-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,215,0,0.05) 1px, transparent 1px);
    background-size: 16px 16px;
}
.vastu-header h2 {
    font-weight: 800; font-size: 1.8rem;
    background: linear-gradient(135deg, #fff 30%, #FFD700 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.vastu-header .v-sub { color: rgba(255,255,255,0.6); font-size: 0.88rem; }

.vastu-form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(20,83,45,0.10);
    border: 1px solid rgba(20,83,45,0.07);
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}
.vastu-form-card:hover { box-shadow: 0 12px 56px rgba(20,83,45,0.14); }
.vastu-form-accent {
    height: 4px;
    background: linear-gradient(90deg, #166534, #FFD700, #22c55e);
}
.vastu-form-body { padding: 28px; }

.vastu-form-card label {
    font-weight: 600; font-size: 0.82rem; color: #374151; margin-bottom: 5px;
}
.vastu-form-card .form-control,
.vastu-form-card .form-select {
    border-radius: 12px;
    border: 2px solid rgba(20,83,45,0.12);
    padding: 10px 14px;
    font-size: 0.92rem;
    transition: all 0.25s;
}
.vastu-form-card .form-control:focus,
.vastu-form-card .form-select:focus {
    border-color: #166534;
    box-shadow: 0 0 0 3px rgba(22,101,52,0.12);
}
.vastu-form-card .nav-pills .nav-link {
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6b7280;
    padding: 6px 16px;
}
.vastu-form-card .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #166534, #22c55e);
    color: #fff;
}

.vastu-intro-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(20,83,45,0.10);
    border: 1px solid rgba(20,83,45,0.07);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s;
}
.vastu-intro-accent {
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #22c55e, #166534);
}
.vastu-intro-body { padding: 28px; }
.vastu-intro-body h4 {
    font-weight: 800; color: #14532d; font-size: 1.1rem;
}
.vastu-intro-body p { color: #6b7280; line-height: 1.7; font-size: 0.92rem; }
.vastu-feature {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 14px;
    background: rgba(20,83,45,0.04);
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.2s;
}
.vastu-feature:hover { background: rgba(20,83,45,0.08); transform: translateX(3px); }
.vastu-feature .vf-icon {
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; color: #fff;
}
.vastu-feature .vf-label {
    font-weight: 700; color: #14532d; font-size: 0.88rem; margin-bottom: 1px;
}
.vastu-feature .vf-desc {
    font-size: 0.78rem; color: #6b7280; line-height: 1.4;
}

.vastu-compass {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    max-width: 240px;
    margin: 12px auto;
}
.vastu-compass-item {
    text-align: center;
    padding: 8px 4px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(20,83,45,0.05);
    color: #374151;
    transition: all 0.2s;
}
.vastu-compass-item:hover { background: rgba(20,83,45,0.12); }
.vastu-compass-item .vc-emoji { font-size: 1rem; display: block; margin-bottom: 2px; }
.vastu-compass-item.vc-center {
    background: linear-gradient(135deg, #166534, #22c55e);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
}

.vastu-submit-btn {
    background: linear-gradient(135deg, #166534, #22c55e);
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-weight: 800;
    color: #fff;
    width: 100%;
    transition: all 0.3s;
    font-size: 1rem;
}
.vastu-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22,101,52,0.30);
    color: #fff;
}

.camera-fullscreen {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999; background: rgba(0,0,0,0.92);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.camera-video-wrapper {
    position: relative;
    width: min(90vw, 480px); height: min(67.5vw, 360px);
    border-radius: 16px; overflow: hidden; background: #000;
}
.camera-video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.camera-overlay {
    position: absolute; inset: 0;
    display: flex; justify-content: center; align-items: center;
    pointer-events: none;
}
#vastu-circle {
    border: 3px dashed rgba(255,255,255,0.85);
    width: 250px; height: 250px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.45);
}
.camera-bottom-bar {
    display: flex; align-items: center; justify-content: center; margin-top: 20px;
}
.camera-capture-btn {
    width: 65px; height: 65px; border: 3px solid #fff; border-radius: 50%;
}
.camera-close-btn {
    position: fixed; top: 16px; right: 16px; width: 42px; height: 42px;
}
.camera-status-bar { margin-top: 12px; }

@media (max-width: 768px) {
    .vastu-header h2 { font-size: 1.4rem; }
    .vastu-form-body, .vastu-intro-body { padding: 20px; }
    .vastu-compass { max-width: 180px; }
}
