/* layer-2.id - Neumorphic Identity Platform */

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #3A3A4A;
    background: #E8E8EE;
    overflow-x: hidden;
}

/* Neumorphic Styles */
.neo-raised {
    background: #E8E8EE;
    border-radius: 20px;
    box-shadow: 8px 8px 16px #C5C5CC, -8px -8px 16px #FFFFFF;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.neo-raised:hover {
    box-shadow: 12px 12px 28px #C5C5CC, -12px -12px 28px #FFFFFF;
    transform: translateY(-2px);
}

.neo-inset {
    background: #DDDDE4;
    border-radius: 12px;
    box-shadow: inset 4px 4px 8px #C5C5CC, inset -4px -4px 8px #FFFFFF;
}

.neo-inset-line {
    background: #DDDDE4;
    box-shadow: inset 2px 2px 4px #C5C5CC, inset -2px -2px 4px #FFFFFF;
}

/* Mono font */
.mono {
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    color: #6B6B7B;
}

/* =============================================
   HERO: ID Card
   ============================================= */

#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
}

#id-card {
    width: min(360px, 90vw);
    padding: 2rem;
    box-shadow: 0 0 0 #C5C5CC, 0 0 0 #FFFFFF;
    transition: box-shadow 0.6s ease-out;
}

#id-card.risen {
    box-shadow: 12px 12px 24px #C5C5CC, -12px -12px 24px #FFFFFF;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hex-avatar {
    width: 48px;
    height: 48px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: linear-gradient(135deg, #5B7FFF, #7B9FFF);
    flex-shrink: 0;
}

.card-name {
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: 0.02em;
    color: #3A3A4A;
}

.card-address {
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    color: #6B6B7B;
}

.card-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-field, .proof-field {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.field-label {
    font-weight: 500;
    font-size: 0.8rem;
    color: #6B6B7B;
}

.field-value {
    font-weight: 500;
    font-size: 0.85rem;
    color: #3A3A4A;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 2px 2px 4px #C5C5CC, -2px -2px 4px #FFFFFF;
}

.hero-sub {
    font-weight: 400;
    font-size: 0.95rem;
    color: #6B6B7B;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-sub.visible {
    opacity: 1;
}

/* =============================================
   Features: Pillow Cards
   ============================================= */

#features {
    display: flex;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pillow {
    flex: 1;
    min-width: 200px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0 0 #C5C5CC, 0 0 0 #FFFFFF;
    opacity: 0;
    transition: box-shadow 0.4s ease, opacity 0.4s ease;
}

.pillow.risen {
    box-shadow: 8px 8px 16px #C5C5CC, -8px -8px 16px #FFFFFF;
    opacity: 1;
}

.pillow h3 {
    font-weight: 500;
    font-size: 1.1rem;
    color: #3A3A4A;
    margin-bottom: 0.75rem;
}

.pillow p {
    font-size: 0.85rem;
    color: #6B6B7B;
}

/* =============================================
   How It Works
   ============================================= */

#how-it-works {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.section-title {
    font-weight: 600;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: #3A3A4A;
    margin-bottom: 3rem;
}

.workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 200px;
}

.step-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: #5B7FFF;
    border-radius: 50%;
}

.step h3 {
    font-weight: 500;
    font-size: 1rem;
    color: #3A3A4A;
}

.step p {
    font-size: 0.85rem;
    color: #6B6B7B;
}

.step-line {
    width: 60px;
    height: 2px;
    border-radius: 1px;
    flex-shrink: 0;
}

/* =============================================
   Proof Display
   ============================================= */

#proof-display {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
}

.proof-card {
    width: min(400px, 90vw);
    padding: 2rem;
}

.proof-card h3 {
    font-weight: 600;
    font-size: 1.1rem;
    color: #3A3A4A;
    margin-bottom: 1.5rem;
    text-align: center;
}

.proof-field {
    margin-bottom: 0.75rem;
}

/* =============================================
   Footer
   ============================================= */

#site-footer {
    padding: 4rem 2rem;
    text-align: center;
}

.footer-text {
    font-weight: 600;
    font-size: 1rem;
    color: #5B7FFF;
    margin-bottom: 0.25rem;
}

.footer-sub {
    font-size: 0.8rem;
    color: #6B6B7B;
}
