/* ============================================
   Member Verification — Styles
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy-900: #0c1a2e;
    --navy-800: #112240;
    --navy-700: #1a365d;
    --navy-600: #2d4a7a;
    --gold-500: #c9a84c;
    --gold-400: #d4b85c;
    --gold-300: #e8c866;
    --gold-100: #faf0cc;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--navy-900);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold-500); }
.gold-text { color: var(--gold-400); font-style: italic; margin-top: 12px; }

/* ---- Navbar ---- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(17, 34, 64, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
}

.nav-links { display: flex; gap: 24px; }
.nav-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-500); }

/* ---- Hero ---- */
.hero {
    text-align: center;
    padding: 80px 24px 48px;
    background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold-500);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--white), var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    max-width: 640px;
    margin: 0 auto;
    color: var(--gray-400);
    font-size: 16px;
    line-height: 1.7;
}

/* ---- Verification Section ---- */
.verify-section { padding: 60px 0; }

.methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.method-card {
    background: var(--navy-800);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.2s;
}

.method-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
}

.method-icon { margin-bottom: 20px; }

.method-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--white);
}

.method-card > p {
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ---- Webcam ---- */
.webcam-area {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--navy-900);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.webcam-area video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.webcam-area video.active { display: block; }

.webcam-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    color: var(--gray-500);
    font-size: 14px;
}

.capture-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--navy-700);
    color: var(--white);
    border: 1px solid var(--navy-600);
}
.btn-primary:hover { background: var(--navy-600); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3); }

.btn-outline {
    background: transparent;
    color: var(--gray-400);
    border: 1px solid var(--gray-500);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }

/* ---- Verify Result ---- */
.verify-result {
    margin-top: 16px;
    padding: 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.verify-result.success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.verify-result.failure {
    background: rgba(255, 23, 68, 0.12);
    border: 1px solid rgba(255, 23, 68, 0.3);
}

.result-icon { font-size: 28px; }
.result-text { font-size: 14px; line-height: 1.5; }

/* ---- DNA Steps ---- */
.dna-steps { margin-bottom: 24px; }

.dna-step {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dna-step:last-child { border-bottom: none; }

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content strong {
    color: var(--white);
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.step-content p {
    color: var(--gray-400);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* ---- DNA Form ---- */
.dna-form label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 8px;
    display: block;
}

.dna-input-row {
    display: flex;
    gap: 8px;
}

.input {
    flex: 1;
    padding: 10px 16px;
    background: var(--navy-900);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.input:focus {
    outline: none;
    border-color: var(--gold-500);
}

/* ---- Access Status ---- */
.access-section {
    padding: 60px 0;
    background: var(--navy-800);
    text-align: center;
}

.access-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 32px;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.access-item {
    padding: 24px;
    background: var(--navy-900);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.access-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.access-icon.unlocked { filter: hue-rotate(100deg) brightness(1.2); }

.access-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.access-status {
    font-size: 12px;
    color: var(--gray-500);
}

.access-status.verified {
    color: #22c55e;
    font-weight: 600;
}

/* ---- Info Section ---- */
.info-section {
    padding: 60px 0;
    text-align: center;
}

.info-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 16px;
}

.info-section p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.7;
}

/* ---- Footer ---- */
.footer {
    padding: 32px 0;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    text-align: center;
}

.footer p { color: var(--gray-500); font-size: 13px; margin-bottom: 10px; }

.footer-links { display: flex; gap: 20px; justify-content: center; }
.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 13px;
}
.footer-links a:hover { color: var(--gold-500); }

/* ---- Toast ---- */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 24px;
    background: var(--navy-700);
    color: var(--white);
    border-radius: 8px;
    font-size: 14px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 200;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.toast.active { transform: translateY(0); opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .methods-grid { grid-template-columns: 1fr; }
    .access-grid { grid-template-columns: 1fr; max-width: 300px; }
    .navbar { padding: 12px 16px; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 12px; }
}
