/* persopass.io — Identity Verification */
:root {
    --navy: #1A3A5C;
    --blue: #2D7DD2;
    --green: #27AE60;
    --bg-light: #FAFCFE;
    --bg-section: #E8EEF4;
    --text-dark: #1A3A5C;
    --text-muted: #5A7A9A;
}

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

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

/* Navigation */
#nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    background: rgba(250,252,254,0.92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bg-section);
}
.nav-inner {
    max-width: 1100px; margin: 0 auto; padding: 16px 32px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-text { font-weight: 800; font-size: 18px; color: var(--navy); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }

/* Hero */
#hero {
    padding: 140px 32px 80px; max-width: 1100px; margin: 0 auto;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text h1 { font-weight: 800; font-size: 48px; line-height: 1.1; color: var(--navy); margin-bottom: 20px; }
#hero-body { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.btn-primary {
    display: inline-block; padding: 14px 32px; background: var(--blue); color: #fff;
    text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); }
.btn-large { padding: 18px 40px; font-size: 17px; }
.hero-visual { display: flex; justify-content: center; }
#identity-rings { max-width: 100%; height: auto; }

.ring { stroke-dasharray: 1069; stroke-dashoffset: 1069; transition: stroke-dashoffset 1.2s ease-out; }
.ring.drawn { stroke-dashoffset: 0; }
.lock-icon { opacity: 0; transition: opacity 0.5s ease-out; }
.lock-icon.visible { opacity: 1; }

/* Trust Badges */
#trust-badges { padding: 40px 32px; background: var(--bg-section); }
.trust-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.4s; }
.badge.visible { opacity: 1; transform: translateY(0); }
.badge-label { font-weight: 600; font-size: 14px; color: var(--navy); }
.checkmark-path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset 0.5s ease-out 0.2s; }
.badge.visible .checkmark-path { stroke-dashoffset: 0; }

/* Connection Dots */
.connection-dots { display: flex; justify-content: center; padding: 32px 0; }
.connection-dots svg { opacity: 0.3; }

/* Features */
#features { padding: 80px 32px; max-width: 1100px; margin: 0 auto; }
.section-heading { font-weight: 800; font-size: 36px; text-align: center; color: var(--navy); margin-bottom: 56px; }
.feature-block {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    margin-bottom: 64px; opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}
.feature-block.visible { opacity: 1; transform: translateY(0); }
.feature-even { direction: rtl; }
.feature-even > * { direction: ltr; }
.feature-text h3 { font-weight: 800; font-size: 26px; color: var(--navy); margin-bottom: 12px; }
.feature-text p { color: var(--text-muted); margin-bottom: 12px; }
.tech-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-muted); }
.tech-label code { color: var(--blue); }
.feature-visual { display: flex; justify-content: center; }
.feature-visual svg { max-width: 100%; height: auto; }

/* Verification Flow */
#verification { padding: 80px 32px; background: var(--bg-section); }
.verification-flow { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.step {
    display: flex; align-items: flex-start; gap: 20px; padding-bottom: 40px;
    opacity: 0; transform: translateX(-20px); transition: opacity 0.5s, transform 0.5s;
}
.step.visible { opacity: 1; transform: translateX(0); }
.step-circle {
    width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff;
    font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-line { display: none; }
.step h4 { font-weight: 800; font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* Security */
#security { padding: 80px 32px; max-width: 1100px; margin: 0 auto; }
.security-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.security-text h2 { font-weight: 800; font-size: 36px; color: var(--navy); margin-bottom: 16px; }
.security-text p { color: var(--text-muted); margin-bottom: 24px; }
.security-stats { display: flex; gap: 32px; }
.stat { text-align: center; }
.stat-value { display: block; font-weight: 800; font-size: 24px; color: var(--navy); }
.stat-value code { color: var(--blue); font-family: 'JetBrains Mono', monospace; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* CTA */
#cta-section { padding: 80px 32px; background: var(--navy); text-align: center; }
.cta-inner h2 { font-weight: 800; font-size: 36px; color: #fff; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.cta-sub { display: block; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.5); }
#cta-section .btn-primary { background: var(--green); }
#cta-section .btn-primary:hover { background: #219a52; }

/* Footer */
#footer { padding: 40px 32px; border-top: 1px solid var(--bg-section); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; color: var(--text-muted); font-size: 14px; }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* Mobile */
@media (max-width: 768px) {
    .hero-inner, .feature-block, .security-inner { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 32px; }
    .feature-even { direction: ltr; }
    .trust-inner { gap: 24px; }
    .nav-links { display: none; }
}
