/* sarampass.com — Fintech Trust Blue */
/* Typography: Inter 400/500/700, Fira Code 400 | Seed #15A */

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: #FFFFFF;
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    font-size: 1rem;
    overflow-x: hidden;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #E5E7EB;
}
.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1E293B;
    letter-spacing: -0.01em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav-link:hover {
    color: #1E40AF;
}
.nav-link--cta {
    background: #1E40AF;
    color: #FFFFFF;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.15s ease;
}
.nav-link--cta:hover {
    color: #FFFFFF;
    background: #1a3690;
    transform: translateY(-1px);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #1E293B;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 0 2rem 1rem;
    gap: 0.5rem;
}
.nav-mobile.open {
    display: flex;
}
.nav-mobile-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid #E5E7EB;
    transition: color 0.2s ease;
}
.nav-mobile-link:hover {
    color: #1E40AF;
}
.nav-mobile-link--cta {
    color: #1E40AF;
    font-weight: 600;
    border-bottom: none;
}

/* ========== SHIELD ICON ========== */
.shield-icon {
    width: 32px;
    height: 40px;
    background: #1E40AF;
    clip-path: polygon(50% 100%, 0 35%, 0 0, 100% 0, 100% 35%);
    flex-shrink: 0;
}
.shield-icon--sm {
    width: 20px;
    height: 25px;
}
.shield-icon--footer {
    width: 24px;
    height: 30px;
}

/* ========== VERIFY CHECK ========== */
.verify-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #10B981;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}
.verify-check--sm {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
}

/* ========== HERO ========== */
.hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 7rem 2rem 4rem;
    text-align: center;
}
.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.hero-title {
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: #1E293B;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.hero-desc {
    font-size: 1.05rem;
    font-weight: 400;
    color: #475569;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.cta-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    background: #1E40AF;
    color: #FFFFFF;
    padding: 0.85rem 2.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}
.cta-btn:hover {
    background: #1a3690;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
}
.hero-verified {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.hero-verified-text {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

/* ========== SECTION HEADINGS ========== */
.section-heading {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #1E293B;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}
.section-subheading {
    font-size: 1rem;
    color: #475569;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* ========== HOW IT WORKS ========== */
.steps {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.step-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.step {
    text-align: center;
    flex: 1;
    max-width: 200px;
}
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1E40AF;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-circle:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}
.step-label {
    font-weight: 600;
    font-size: 1rem;
    color: #1E293B;
    margin-bottom: 0.35rem;
}
.step-desc {
    font-size: 0.825rem;
    color: #475569;
    line-height: 1.6;
}
.step-connector {
    flex: 0 0 auto;
    width: 48px;
    border-top: 2px solid #DBEAFE;
    margin-top: 20px;
    align-self: flex-start;
}

/* ========== SECURITY FEATURES ========== */
.security {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-block {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 1.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
    border-color: #DBEAFE;
}
.geo-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
}
.lock-icon {
    background: #1E40AF;
    border-radius: 6px;
    position: relative;
}
.lock-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
}
.proof-icon {
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 32px solid #1E40AF;
}
.bio-icon {
    width: 36px;
    height: 36px;
    border: 3px solid #1E40AF;
    border-radius: 50%;
    position: relative;
}
.bio-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1E40AF;
}
.feature-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: #1E293B;
    margin-bottom: 0.5rem;
}
.feature-desc {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1rem;
}
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #F0F5FF;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}
.feature-tag-text {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: 400;
    color: #1E40AF;
}

/* ========== TRUST BAND ========== */
.trust-band {
    background: linear-gradient(180deg, #F0F5FF, #FFFFFF);
    padding: 3rem 2rem;
    text-align: center;
}
.trust-heading {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1E293B;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.8rem;
}
.compliance-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.compliance-badge {
    font-family: 'Fira Code', monospace;
    font-size: 0.825rem;
    color: #475569;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    padding: 8px 16px;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.compliance-badge:hover {
    border-color: #DBEAFE;
    transform: translateY(-1px);
}

/* ========== PRICING ========== */
.pricing {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.pricing-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #FFFFFF;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
}
.pricing-card--featured {
    border-color: #1E40AF;
    border-width: 2px;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.12);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1E40AF;
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.85rem;
    border-radius: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.pricing-tier {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1E293B;
    margin-bottom: 0.75rem;
}
.pricing-amount {
    font-weight: 700;
    font-size: 2.5rem;
    color: #1E293B;
    margin-bottom: 1.25rem;
    line-height: 1;
}
.pricing-currency {
    font-size: 1.25rem;
    font-weight: 600;
    vertical-align: super;
    margin-right: 2px;
}
.pricing-period {
    font-size: 0.9rem;
    font-weight: 400;
    color: #475569;
}
.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}
.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    padding: 0.4rem 0;
    border-bottom: 1px solid #F0F5FF;
}
.pricing-feature:last-child {
    border-bottom: none;
}
.pricing-cta {
    display: block;
    padding: 0.7rem 1.5rem;
    border: 2px solid #1E40AF;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1E40AF;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.pricing-cta:hover {
    background: #F0F5FF;
    transform: translateY(-1px);
}
.pricing-cta--featured {
    background: #1E40AF;
    color: #FFFFFF;
    border-color: #1E40AF;
}
.pricing-cta--featured:hover {
    background: #1a3690;
    color: #FFFFFF;
}

/* ========== FAQ ========== */
.faq {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.faq-item {
    border-bottom: 1px solid #E5E7EB;
}
.faq-item:first-child {
    border-top: 1px solid #E5E7EB;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #1E293B;
    text-align: left;
    transition: color 0.2s ease;
}
.faq-question:hover {
    color: #1E40AF;
}
.faq-question-text {
    flex: 1;
}
.faq-korean {
    font-weight: 400;
}
.faq-chevron {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}
.faq-chevron::before,
.faq-chevron::after {
    content: '';
    position: absolute;
    background: #475569;
    border-radius: 1px;
    transition: transform 0.3s ease, background 0.2s ease;
}
.faq-chevron::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq-chevron::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq-item.open .faq-chevron::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}
.faq-item.open .faq-chevron::before {
    background: #1E40AF;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.15rem;
}
.faq-answer p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem 2rem 2rem;
    border-top: 1px solid #E5E7EB;
}
.footer-top {
    text-align: center;
    margin-bottom: 2.5rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.footer-logo {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1E293B;
}
.footer-saram {
    font-size: 0.875rem;
    color: #DBEAFE;
    font-weight: 400;
}
.footer-tagline-top {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 400;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.footer-heading {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1E293B;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.footer-link {
    display: block;
    font-size: 0.85rem;
    color: #475569;
    text-decoration: none;
    margin-bottom: 0.4rem;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: #1E40AF;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.footer-copy {
    font-size: 0.775rem;
    color: #475569;
}
.footer-codes {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.725rem;
}
.code-label {
    color: #475569;
    font-weight: 500;
}
.code-value {
    font-family: 'Fira Code', monospace;
    color: #1E40AF;
    font-weight: 400;
}
.code-sep {
    color: #E5E7EB;
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.hero .shield-icon {
    animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stepPop {
    0% { transform: scale(0.8); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.step.animated .step-circle {
    animation: stepPop 0.4s ease forwards;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .hero {
        padding-top: 5.5rem;
    }
    .step-flow {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .step {
        max-width: 280px;
    }
    .step-connector {
        width: 2px;
        height: 28px;
        border-top: none;
        border-left: 2px solid #DBEAFE;
        margin: 0.25rem 0;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    .compliance-row {
        flex-direction: column;
        align-items: center;
    }
}
