/* ============================================================
   POA — Properties of America | Selling Portal CSS
   ============================================================ */

:root {
    --poa-navy:   #1a2f5a;
    --poa-blue:   #2c5aa0;
    --poa-light:  #4a7fcb;
    --poa-gold:   #f0a500;
    --poa-bronze: #cd7f32;
    --poa-silver: #9e9e9e;
    --poa-plat:   #607d8b;
    --font:       'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font);
    color: #1a1a2e;
    background: #fff;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.poa-navbar {
    background: var(--poa-navy) !important;
    padding: 14px 0;
    transition: box-shadow 0.3s;
}
.poa-navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: -0.3px;
}
.brand-poa {
    color: var(--poa-gold);
    font-size: 1.4rem;
    font-weight: 800;
    margin-right: 4px;
}
.brand-full {
    color: #fff;
    font-size: .95rem;
    font-weight: 500;
}
.nav-link {
    color: rgba(255,255,255,.85) !important;
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}
.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

/* Flash alerts */
.poa-flash {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 320px;
    max-width: 600px;
}

/* ── Hero ────────────────────────────────────────────────────── */
.poa-hero {
    background: linear-gradient(135deg, var(--poa-navy) 0%, #1e3a7a 50%, var(--poa-blue) 100%);
    padding: 140px 0 80px;
    color: #fff;
    overflow: hidden;
    position: relative;
}
.poa-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}
.text-light-75 { color: rgba(255,255,255,.75); }
.text-light-50 { color: rgba(255,255,255,.5); }

/* Dashboard Mockup */
.hero-dashboard-mockup {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
}
.mockup-bar {
    background: #e8ebf0;
    padding: 10px 14px;
    display: flex;
    gap: 6px;
}
.mockup-bar span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ccc;
}
.mockup-bar span:nth-child(1) { background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }
.mockup-content { background: #f5f7fa; }
.stat-card-mock {
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.stat-num { font-size: 1.5rem; font-weight: 700; color: var(--poa-navy); }
.stat-label { font-size: .7rem; color: #888; text-transform: uppercase; letter-spacing: .5px; }
.mockup-table { background: #fff; border-radius: 8px; padding: 12px; box-shadow: 0 1px 6px rgba(0,0,0,.07); }
.mt-row { padding: 7px 0; font-size: .78rem; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; gap: 8px; }
.mt-row.header { font-weight: 600; font-size: .8rem; color: var(--poa-navy); border-bottom: 2px solid #e0e4eb; }
.badge-mock { font-size: .65rem; padding: 2px 7px; border-radius: 20px; font-weight: 600; }
.badge-mock.urgent { background: #fde8e8; color: #c62828; }
.badge-mock.normal { background: #e8f0fe; color: #1565c0; }
.badge-mock.low    { background: #e8f5e9; color: #2e7d32; }

/* ── Stats Bar ───────────────────────────────────────────────── */
.poa-stats-bar {
    background: var(--poa-blue);
    padding: 40px 0;
    color: #fff;
}
.stat-item .stat-number { font-size: 2rem; font-weight: 800; color: var(--poa-gold); }
.stat-item .stat-desc   { font-size: .85rem; color: rgba(255,255,255,.8); }

/* ── Sections ────────────────────────────────────────────────── */
.poa-section { padding: 80px 0; }

.section-badge {
    display: inline-block;
    background: #e8f0fe;
    color: var(--poa-blue);
    font-size: .8rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: .3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.section-title    { font-size: 2rem; font-weight: 800; color: var(--poa-navy); margin-bottom: 12px; }
.section-subtitle { color: #666; max-width: 540px; margin: 0 auto; }

/* ── Feature Cards ───────────────────────────────────────────── */
.feature-card {
    background: #fff;
    border: 1px solid #e8ebf3;
    border-radius: 12px;
    padding: 28px;
    transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
    box-shadow: 0 8px 30px rgba(44,90,160,.12);
    transform: translateY(-3px);
}
.feature-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--poa-blue), var(--poa-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
}

/* ── How It Works ────────────────────────────────────────────── */
.step-circle {
    width: 56px; height: 56px;
    background: var(--poa-blue);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ── Plan Cards ──────────────────────────────────────────────── */
.plan-card {
    border-radius: 14px;
    padding: 28px 22px;
    border: 2px solid #e8ebf3;
    background: #fff;
    position: relative;
    transition: box-shadow .2s, transform .2s;
}
.plan-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
    transform: translateY(-3px);
}
.plan-card.popular {
    border-color: var(--poa-blue);
    box-shadow: 0 4px 20px rgba(44,90,160,.15);
}
.popular-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--poa-blue);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.plan-name  { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #555; margin-bottom: 8px; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--poa-navy); }
.plan-price span { font-size: 1rem; font-weight: 400; color: #888; }

/* Plan color accents */
.plan-card.bronze .plan-name { color: var(--poa-bronze); }
.plan-card.silver .plan-name { color: var(--poa-silver); }
.plan-card.gold   .plan-name { color: var(--poa-gold); }
.plan-card.platinum .plan-name { color: var(--poa-plat); }

.plan-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px;
    font-size: .85rem;
}
.plan-features li {
    padding: 5px 0;
    border-bottom: 1px solid #f0f2f5;
}
.plan-features li:last-child { border-bottom: none; }

.btn-plan {
    background: var(--poa-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-weight: 600;
    transition: background .2s;
}
.btn-plan:hover  { background: var(--poa-navy); color: #fff; }
.plan-card.gold .btn-plan { background: var(--poa-navy); }

/* ── Billing Toggle ──────────────────────────────────────────── */
.poa-billing-toggle {
    width: 2.5rem !important;
    height: 1.3rem !important;
    cursor: pointer;
}
.poa-billing-toggle:checked { background-color: var(--poa-blue); border-color: var(--poa-blue); }

/* ── Plan Select Cards (sign-up form) ────────────────────────── */
.plan-select-card {
    border: 2px solid #e0e4eb;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}
.plan-select-card:hover,
.plan-select-card.active {
    border-color: var(--poa-blue);
    background: #f0f5ff;
}
.plan-select-name  { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.plan-select-price { font-size: .8rem; font-weight: 600; color: var(--poa-navy); margin-top: 4px; }

/* ── CTA Section ─────────────────────────────────────────────── */
.poa-cta {
    background: linear-gradient(135deg, var(--poa-navy), var(--poa-blue));
    padding: 80px 0;
}

/* ── Footer ──────────────────────────────────────────────────── */
.poa-footer {
    background: var(--poa-navy);
    color: rgba(255,255,255,.7);
    padding: 60px 0 30px;
}
.poa-footer h5,
.poa-footer h6 { color: #fff; }
.footer-link {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s;
    display: block;
    margin-bottom: 6px;
}
.footer-link:hover { color: var(--poa-gold); }

/* ── About Page ──────────────────────────────────────────────── */
.about-stat-card {
    background: #f5f7fa;
    border-radius: 12px;
    border: 1px solid #e0e4eb;
}
.about-stat-num   { font-size: 1.8rem; font-weight: 800; color: var(--poa-blue); }
.about-stat-label { font-size: .85rem; color: #666; margin-top: 4px; }

/* ── Contact Page ────────────────────────────────────────────── */
.contact-info-card {
    background: #f5f7fa;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #e0e4eb;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.contact-info-item i {
    font-size: 1.3rem;
    color: var(--poa-blue);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonial-card {
    background: #fff;
    border: 1px solid #e8ebf3;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.author-avatar {
    width: 40px; height: 40px;
    background: var(--poa-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Sign-up Successful ──────────────────────────────────────── */
.steps-list { max-width: 400px; margin: 0 auto; }
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
}
.step-item:last-child { border-bottom: none; }
.step-num {
    width: 28px; height: 28px;
    background: var(--poa-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Utilities ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .poa-hero { padding: 100px 0 60px; }
    .section-title { font-size: 1.6rem; }
    .plan-price { font-size: 1.8rem; }
}
