/* OMR Mitra — shared site styles (all public pages) */
:root {
    --primary: #1E3A8A;
    --primary-accent: #2563EB;
    --secondary: #0F172A;
    --card-bg: #1E293B;
    --accent: #10B981;
    --border-subtle: rgba(255, 255, 255, 0.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; }
body { background-color: #0F172A; color: #F8FAFC; min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- NAV ---------- */
nav.site {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: sticky; top: 0; z-index: 100;
}
.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-container img.logo-img { height: 58px; width: auto; display: block; }
.logo-compact { display: none; align-items: center; gap: 9px; }
.logo-icon { width: 36px; height: 36px; border-radius: 9px; overflow: hidden; flex-shrink: 0; }
.logo-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-text { font-size: 1.3rem; font-weight: 700; color: #FFFFFF; letter-spacing: -0.5px; }
@media (max-width: 820px) {
    /* Full lockup image is unreadable squeezed into a phone nav — use crisp icon + real text */
    .logo-container img.logo-img { display: none; }
    .logo-compact { display: flex; }
    .logo-compact .logo-icon { width: 36px; height: 36px; }
    .logo-compact .logo-text { font-size: 1.3rem; }
    nav.site { padding: 0.75rem 4%; }
    nav.site .btn { padding: 0.55rem 1rem; font-size: 0.85rem; }
}
.nav-links { display: flex; gap: 1.35rem; align-items: center; }
.nav-links a { color: #94A3B8; text-decoration: none; font-size: 0.88rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: #FFFFFF; }
.nav-links a.active { color: #60A5FA; }
.btn {
    padding: 0.7rem 1.4rem; border-radius: 12px; font-weight: 600; font-size: 0.92rem;
    cursor: pointer; transition: all 0.2s ease; border: none; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary { background: linear-gradient(135deg, #2563EB, #1D4ED8); color: white; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5); }
.btn-outline { background: rgba(255, 255, 255, 0.08); color: white; border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }
.btn-success { background: linear-gradient(135deg, #10B981, #059669); color: white; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35); }
.btn-success:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5); }
.btn-whatsapp { background: #25D366; color: #0F172A; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3); }
@media (max-width: 920px) { .nav-links { display: none; } }

/* ---------- HERO (home) ---------- */
.hero {
    padding: 4.5rem 5% 4rem; max-width: 1150px; margin: 0 auto;
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3); color: #60A5FA; padding: 6px 16px; border-radius: 30px;
    font-size: 0.82rem; font-weight: 600; margin-bottom: 1.25rem;
}
.hero h1 {
    font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 .hl { background: linear-gradient(135deg, #34D399, #10B981); -webkit-background-clip: text; background-clip: text; }
.hero p.sub { font-size: 1.12rem; color: #94A3B8; line-height: 1.65; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-cta .btn { padding: 0.95rem 1.7rem; font-size: 1rem; }
.hero-trust { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero-trust span { font-size: 0.82rem; color: #64748B; display: inline-flex; align-items: center; gap: 6px; }

.hero-visual { display: flex; justify-content: center; position: relative; }
.phone {
    width: min(280px, 72vw); border-radius: 34px; background: #0B1220;
    border: 7px solid #1E293B; box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
    padding: 10px; position: relative;
}
.phone::before {
    content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 78px; height: 18px; background: #0B1220; border-radius: 10px; z-index: 3;
}
.phone-screen { border-radius: 24px; overflow: hidden; position: relative; aspect-ratio: 9/17.2; background: #111827; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone-screen::after {
    content: ''; position: absolute; left: 0; right: 0; height: 90px; top: -90px;
    background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.35), transparent);
    animation: scanline 3.2s ease-in-out infinite;
}
@keyframes scanline { 0% { top: -90px; } 60%, 100% { top: 100%; } }
.chip-result {
    position: absolute; z-index: 4; background: #059669; color: white; font-weight: 700;
    padding: 9px 14px; border-radius: 12px; font-size: 0.85rem;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.45); top: 14%; right: -8%;
}
.chip-speed {
    position: absolute; z-index: 4; background: rgba(30, 41, 59, 0.95); color: #93C5FD; font-weight: 700;
    padding: 9px 14px; border-radius: 12px; font-size: 0.85rem; border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4); bottom: 12%; left: -10%;
}
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 3rem; }
    .hero h1 { font-size: 2.35rem; }
    .hero p.sub { font-size: 1.02rem; }
    .chip-result { right: 0; } .chip-speed { left: 0; }
}

/* ---------- PAGE HEADER (sub-pages) ---------- */
.page-head { padding: 3.5rem 5% 1rem; max-width: 900px; margin: 0 auto; width: 100%; }
.page-head .kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; color: #60A5FA; text-transform: uppercase; margin-bottom: 0.6rem; }
.page-head h1 { font-size: 2.4rem; font-weight: 800; color: white; margin-bottom: 0.75rem; }
.page-head p { color: #94A3B8; line-height: 1.65; font-size: 1.02rem; }

/* ---------- SECTIONS ---------- */
section.block { padding: 3rem 5%; max-width: 1150px; margin: 0 auto; width: 100%; }
.section-kicker { text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; color: #60A5FA; text-transform: uppercase; margin-bottom: 0.6rem; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 0.75rem; color: white; }
.section-sub { text-align: center; color: #94A3B8; max-width: 640px; margin: 0 auto 2.75rem; line-height: 1.6; font-size: 0.98rem; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.step { background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; padding: 1.75rem; }
.step-num {
    width: 42px; height: 42px; border-radius: 12px; background: rgba(37, 99, 235, 0.18);
    color: #60A5FA; font-family: 'Outfit'; font-weight: 800; font-size: 1.15rem;
    display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.55rem; color: white; }
.step p { color: #94A3B8; font-size: 0.9rem; line-height: 1.6; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; padding: 1.6rem; transition: border-color 0.25s; }
.card:hover { border-color: rgba(37, 99, 235, 0.45); }
.card-icon { font-size: 26px; margin-bottom: 0.9rem; }
.card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; color: white; }
.card p { color: #94A3B8; font-size: 0.88rem; line-height: 1.6; }

/* ---------- CONTENT PAGE (about / privacy / how-to-use) ---------- */
.content { max-width: 800px; margin: 0 auto; padding: 2rem 5% 4rem; width: 100%; }
.content h2 { font-size: 1.45rem; color: white; margin: 2.2rem 0 0.75rem; }
.content h2:first-child { margin-top: 0; }
.content p, .content li { color: #B6C2D4; line-height: 1.75; font-size: 0.96rem; }
.content ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.content li { margin-bottom: 0.4rem; }
.content li::marker { color: #60A5FA; }
.content .callout {
    background: rgba(37, 99, 235, 0.12); border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 14px; padding: 1.1rem 1.3rem; margin: 1.25rem 0; color: #CBD5E1; font-size: 0.92rem; line-height: 1.65;
}
.guide-step { display: flex; gap: 1.1rem; margin-bottom: 1.75rem; align-items: flex-start; }
.guide-step .n {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; background: rgba(16, 185, 129, 0.16);
    color: #34D399; font-family: 'Outfit'; font-weight: 800; font-size: 1.05rem;
    display: flex; align-items: center; justify-content: center;
}
.guide-step h3 { font-size: 1.1rem; color: white; margin-bottom: 0.4rem; }
.guide-step p { color: #94A3B8; font-size: 0.92rem; line-height: 1.65; }

/* ---------- PRICING ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; align-items: stretch; }
.price-card { background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 1.9rem; display: flex; flex-direction: column; }
.price-card.featured {
    position: relative;
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.22), rgba(30, 41, 59, 0.9));
    border: 1.5px solid rgba(59, 130, 246, 0.55);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}
.price-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #60A5FA; }
.price-card.featured .price-tag { color: #34D399; }
.pop-badge { position: absolute; top: -14px; right: 18px; background: #10B981; color: white; font-size: 0.68rem; font-weight: 800; letter-spacing: 1px; padding: 4px 10px; border-radius: 20px; }
.price-amt { font-family: 'Outfit'; font-size: 2.2rem; font-weight: 800; color: white; margin: 0.6rem 0 0.2rem; }
.price-amt small { font-size: 0.95rem; color: #94A3B8; font-weight: 500; }
.price-note { color: #64748B; font-size: 0.8rem; margin-bottom: 1.2rem; }
.price-card ul { list-style: none; margin: 0 0 1.6rem; flex-grow: 1; }
.price-card li { color: #CBD5E1; font-size: 0.88rem; padding: 5px 0; display: flex; gap: 8px; align-items: baseline; }
.price-card li::before { content: '✓'; color: #34D399; font-weight: 800; }
.school-strip {
    margin-top: 1.75rem; background: rgba(30, 41, 59, 0.7); border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: 16px; padding: 1.4rem 1.75rem; display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; justify-content: space-between;
}
.school-strip h3 { font-size: 1.05rem; color: white; }
.school-strip p { color: #94A3B8; font-size: 0.85rem; margin-top: 3px; }
.school-strip .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- SUPPORT ---------- */
.support-box {
    background: linear-gradient(140deg, rgba(16, 185, 129, 0.12), rgba(30, 41, 59, 0.7));
    border: 1px solid rgba(16, 185, 129, 0.3); border-radius: 20px;
    padding: 2.25rem; text-align: center; max-width: 720px; margin: 0 auto;
}
.support-box h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.support-box p { color: #94A3B8; font-size: 0.92rem; margin-bottom: 1.5rem; }
.support-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
footer.site {
    margin-top: auto; padding: 2.25rem 5%; text-align: center; color: #64748B;
    border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.85rem; line-height: 1.8;
}
footer.site a { color: #94A3B8; text-decoration: none; }
footer.site a:hover { color: white; }
