* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f9fc;
    color: #14213d;
}

/* ── Navbar ── */
.navbar {
    background: #0b1f3a;
    padding: 12px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

.navbar .brand img {
    height: 40px;
    width: auto;
}

.navbar nav a {
    color: #c9d6e8;
    text-decoration: none;
    margin-left: 25px;
    font-size: 14px;
    transition: color .2s;
}

.navbar nav a:hover { color: #ffffff; }

.navbar .btn-nav {
    background: #f7941d;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.navbar .btn-nav:hover { background: #e07f0a; }

/* ── Hero Section ── */
.hero {
    background: linear-gradient(135deg, #0b1f3a 0%, #163a63 100%);
    padding: 90px 50px;
    text-align: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero h1 span {
    color: #f7941d;
}

.hero p {
    font-size: 17px;
    color: #c9d6e8;
    max-width: 650px;
    margin: 0 auto 35px;
}

.hero-buttons a {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    margin: 0 8px;
}

.btn-primary-hero {
    background: #f7941d;
    color: #ffffff;
}

.btn-primary-hero:hover { background: #e07f0a; }

.btn-secondary-hero {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary-hero:hover { background: rgba(255,255,255,0.1); }

/* ── Role Selection Cards ── */
.roles-section {
    padding: 70px 50px;
    text-align: center;
}

.roles-section h2 {
    font-size: 28px;
    color: #0b1f3a;
    margin-bottom: 10px;
}

.roles-section .subtitle {
    color: #5b6b78;
    font-size: 15px;
    margin-bottom: 45px;
}

.role-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.role-card {
    background: #ffffff;
    border: 1px solid #e3e9f2;
    border-radius: 12px;
    padding: 40px 30px;
    width: 300px;
    box-shadow: 0 2px 10px rgba(11,31,58,0.06);
    transition: transform .2s, box-shadow .2s;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(11,31,58,0.12);
}

.role-card .icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #fdeedb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.role-card h3 {
    font-size: 19px;
    color: #0b1f3a;
    margin-bottom: 10px;
}

.role-card p {
    font-size: 13px;
    color: #5b6b78;
    margin-bottom: 22px;
    line-height: 1.6;
}

.role-card .card-buttons a {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    margin: 3px;
}

.btn-login-card {
    background: #0b1f3a;
    color: #ffffff;
}
.btn-login-card:hover { background: #163a63; }

.btn-register-card {
    background: #fff6ec;
    color: #f7941d;
    border: 1px solid #f7941d;
}
.btn-register-card:hover { background: #fdeedb; }

/* ── How It Works ── */
.how-section {
    background: #ffffff;
    padding: 70px 50px;
    text-align: center;
}

.how-section h2 {
    font-size: 28px;
    color: #0b1f3a;
    margin-bottom: 45px;
}

.how-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.how-step {
    max-width: 220px;
}

.how-step .num {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f7941d;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.how-step h4 {
    font-size: 15px;
    color: #14213d;
    margin-bottom: 8px;
}

.how-step p {
    font-size: 13px;
    color: #5b6b78;
    line-height: 1.5;
}

/* ── Stats Section ── */
.stats-section {
    background: #0b1f3a;
    padding: 50px;
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item h3 {
    font-size: 34px;
    color: #f7941d;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 13px;
    color: #c9d6e8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Footer ── */
footer {
    background: #071527;
    color: #9fb3ce;
    padding: 40px 50px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 25px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 15px;
}

.footer-col a {
    display: block;
    color: #9fb3ce;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-col a:hover { color: #f7941d; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #14283f;
    padding-top: 20px;
    font-size: 12px;
    color: #6d84a3;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 15px; padding: 15px 20px; }
    .navbar nav { display: flex; flex-wrap: wrap; justify-content: center; }
    .navbar nav a { margin: 5px 10px; }
    .hero { padding: 60px 20px; }
    .hero h1 { font-size: 30px; }
    .roles-section, .how-section { padding: 50px 20px; }
    .stats-section { gap: 30px; padding: 40px 20px; }
    .footer-content { flex-direction: column; }
}
