/* ================================================
   PARLIMEN BELIA MALAYSIA — Design System
   Colors: Royal Blue, White, Red
   Style: Professional, Modern, Minimalist
   ================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary Palette */
    --royal-blue: #1A3A7A;
    --royal-blue-dark: #0F2550;
    --royal-blue-light: #2B5DD1;
    --royal-blue-50: rgba(26, 58, 122, 0.05);
    --royal-blue-100: rgba(26, 58, 122, 0.1);

    --red: #C8102E;
    --red-dark: #A00D24;
    --red-light: #E8243F;

    --white: #FFFFFF;
    --off-white: #F7F8FC;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --green: #059669;
    --green-light: #D1FAE5;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-blue: 0 8px 30px rgba(26, 58, 122, 0.18);
    --shadow-red: 0 8px 30px rgba(200, 16, 46, 0.18);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s var(--ease);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font);
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 58, 122, 0.08);
    transition: all var(--transition);
}

.navbar--scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.navbar__crest {
    width: 40px;
    height: auto;
}

.navbar__title-group {
    display: flex;
    flex-direction: column;
}

.navbar__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--royal-blue);
    letter-spacing: -0.02em;
}

.navbar__subtitle-nav {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.navbar__right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar__links {
    display: flex;
    gap: 24px;
}

.navbar__links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 4px 0;
}

.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--royal-blue);
    border-radius: 2px;
    transition: width var(--transition);
}

.navbar__links a:hover {
    color: var(--royal-blue);
}

.navbar__links a:hover::after {
    width: 100%;
}

/* Hamburger */
.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.navbar__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- Button Styles ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--login {
    padding: 8px 20px;
    background: var(--royal-blue);
    padding: 10px 22px;
    background: linear-gradient(135deg, #FF4B2B 0%, #FF416C 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.btn--login:hover {
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
    transform: translateY(-1px);
}

.btn--login .material-icons-outlined {
    font-size: 18px;
}

.btn--primary {
    padding: 12px 24px;
    background: var(--royal-blue);
    color: var(--white);
    border: none;
    font-size: 0.9rem;
}

.btn--primary:hover {
    background: var(--royal-blue-dark);
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn--cta {
    padding: 16px 36px;
    background: var(--red);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-red);
    letter-spacing: 0.02em;
}

.btn--cta:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(200, 16, 46, 0.3);
}

.btn--cta .material-icons-outlined {
    font-size: 20px;
}

.btn--mydigital {
    padding: 14px 24px;
    background: linear-gradient(135deg, #0f4c81, #1a6fc4);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
}

.btn--mydigital:hover {
    background: linear-gradient(135deg, #0d3f6b, #1560a8);
    box-shadow: 0 8px 25px rgba(15, 76, 129, 0.3);
    transform: translateY(-1px);
}

/* ================================================
   LOGIN MODAL
   ================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px) scale(0.97);
    transition: all 0.35s var(--ease);
    position: relative;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.6rem;
    color: var(--gray-400);
    line-height: 1;
    transition: color var(--transition);
}

.modal__close:hover {
    color: var(--gray-700);
}

.modal__header {
    text-align: center;
    margin-bottom: 24px;
}

.modal__crest {
    width: 56px;
    margin: 0 auto 12px;
}

.modal__header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--royal-blue);
}

.modal__header p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Tabs */
.modal__tabs {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 24px;
}

.modal__tab {
    flex: 1;
    padding: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-align: center;
}

.modal__tab.active {
    background: var(--white);
    color: var(--royal-blue);
    box-shadow: var(--shadow-sm);
}

/* Form */
.modal__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal__form.hidden {
    display: none;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.input-icon {
    position: relative;
}

.input-icon .material-icons-outlined {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--gray-400);
}

.input-icon input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-family: var(--font);
    color: var(--gray-800);
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--gray-50);
}

.input-icon input:focus {
    outline: none;
    border-color: var(--royal-blue-light);
    box-shadow: 0 0 0 3px rgba(43, 93, 209, 0.12);
    background: var(--white);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-600);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--royal-blue);
}

.form-link {
    font-size: 0.8rem;
    color: var(--royal-blue-light);
    font-weight: 500;
}

.form-link:hover {
    color: var(--royal-blue);
    text-decoration: underline;
}

.center-link {
    text-align: center;
    display: block;
}

/* MyDigital ID */
.mydigital-section {
    text-align: center;
    padding: 10px 0;
}

.mydigital-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--royal-blue-50), rgba(43, 93, 209, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.mydigital-icon .material-icons-outlined {
    font-size: 36px;
    color: var(--royal-blue-light);
}

.mydigital-text {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 24px;
}

.mydigital-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

.mydigital-divider::before,
.mydigital-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.mydigital-divider span {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* Side-by-side Modal Layout */
.modal-layout {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 780px;
    width: 100%;
    transform: translateY(20px) scale(0.97);
    transition: all 0.35s var(--ease);
}

.modal-overlay.active .modal-layout {
    transform: translateY(0) scale(1);
}

.modal-layout .modal {
    transform: none;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    flex: 1;
    min-width: 0;
}

/* Side Info Panel */
.login-info-side {
    width: 300px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #0F2550 0%, #1A3A7A 50%, #2B5DD1 100%);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    color: var(--white);
}

.login-info-side__icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, .12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.login-info-side__icon .material-icons-outlined {
    font-size: 24px;
    color: rgba(255, 255, 255, .9);
}

.login-info-side__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.login-info-side__subtitle {
    font-size: 0.75rem;
    opacity: .6;
    margin-bottom: 24px;
}

.login-info-side__card {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 12px;
    backdrop-filter: blur(8px);
}

.login-info-side__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 12px;
}

.login-info-side__badge .material-icons-outlined {
    font-size: 16px;
}

.login-info-side__badge--public {
    background: rgba(5, 150, 105, .25);
    color: #6EE7B7;
}

.login-info-side__badge--admin {
    background: rgba(239, 68, 68, .25);
    color: #FCA5A5;
}

.login-info-side__detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.login-info-side__detail>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-info-side__label {
    font-size: 0.72rem;
    opacity: .5;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.login-info-side__value {
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: .03em;
    background: rgba(255, 255, 255, .1);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
}

.login-info-side__note {
    font-size: 0.68rem;
    opacity: .45;
    font-style: italic;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .modal-layout {
        flex-direction: column;
        max-width: 420px;
    }

    .modal-layout .modal {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .login-info-side {
        width: 100%;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        padding: 24px 20px;
    }
}

/* Login Error */
.login-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(200, 16, 46, .08);
    border: 1px solid rgba(200, 16, 46, .18);
    border-radius: var(--radius-sm);
    color: #C8102E;
    font-size: 0.8rem;
    font-weight: 500;
    animation: shake .4s ease;
}

.login-error .material-icons-outlined {
    font-size: 18px;
    flex-shrink: 0;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-4px);
    }

    40%,
    80% {
        transform: translateX(4px);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F2550 0%, #1A3A7A 40%, #2B5DD1 100%);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(200, 16, 46, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(43, 93, 209, 0.2) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23ffffff08' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E");
}

.hero__banner-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero__banner-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.18;
    mix-blend-mode: luminosity;
    filter: contrast(1.1) brightness(1.2);
}

.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s var(--ease) 0.2s both;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s var(--ease) 0.4s both;
}

.hero__title span {
    display: block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Typing Animation Effect for Subtitle */
.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.15em solid rgba(255, 255, 255, 0.7);
    margin: 0 auto;
    width: fit-content;
    animation:
        typing 3.5s steps(40, end) forwards,
        blink-caret .75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: rgba(255, 255, 255, 0.7);
    }
}

.hero__cta {
    animation: fadeInUp 0.8s var(--ease) 0.8s both;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.hero__scroll-indicator .material-icons-outlined {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.4);
}

/* ================================================
   FEATURES / CARDS SECTION
   ================================================ */
.features {
    padding: var(--section-padding);
    background: var(--off-white);
}

.features__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--royal-blue);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1rem;
    color: var(--gray-500);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--gray-100);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.card.animated {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--delay);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--royal-blue), var(--royal-blue-light));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    transform-origin: left;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card:hover::before {
    transform: scaleX(1);
}

.card__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card__icon-wrap--blue {
    background: linear-gradient(135deg, rgba(26, 58, 122, 0.08), rgba(43, 93, 209, 0.12));
    color: var(--royal-blue);
}

.card__icon-wrap--red {
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.08), rgba(232, 36, 63, 0.12));
    color: var(--red);
}

.card__icon-wrap--green {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(16, 185, 129, 0.12));
    color: var(--green);
}

.card__icon-wrap .material-icons-outlined {
    font-size: 28px;
}

.card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.card__desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card__stats {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 20px;
}

.card__stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--royal-blue);
}

.card__stat-label {
    font-size: 0.7rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--royal-blue-light);
    transition: all var(--transition);
}

.card__link:hover {
    color: var(--royal-blue);
    gap: 10px;
}

.card__link .material-icons-outlined {
    font-size: 18px;
    transition: transform var(--transition);
}

.card__link:hover .material-icons-outlined {
    transform: translateX(3px);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer__top {
    padding: 64px 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1120px;
    margin: 0 auto;
}

.footer__heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

.footer__info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer__info-item .material-icons-outlined {
    font-size: 20px;
    color: var(--royal-blue-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--gray-400);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer__links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

/* Visitor Counter */
.visitor-counter {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.visitor-counter__icon {
    margin-bottom: 8px;
}

.visitor-counter__icon .material-icons-outlined {
    font-size: 28px;
    color: var(--royal-blue-light);
}

.visitor-counter__digits {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 8px;
}

.visitor-counter__digit {
    width: 30px;
    height: 40px;
    background: rgba(26, 58, 122, 0.3);
    border: 1px solid rgba(43, 93, 209, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font);
}

.visitor-counter__label {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Footer Bottom */
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 32px;
}

.footer__bottom-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer__disclaimer {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 640px;
}

.footer__disclaimer strong {
    color: var(--gray-400);
}

.footer__bottom-links {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.footer__bottom-links a {
    font-size: 0.75rem;
    color: var(--gray-500);
    transition: color var(--transition);
}

.footer__bottom-links a:hover {
    color: var(--white);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar__inner {
        padding: 0 20px;
    }

    .navbar__links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    .navbar__links.active {
        display: flex;
    }

    .navbar__hamburger {
        display: flex;
    }

    .navbar__left {
        gap: 0;
    }

    .features__grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .features {
        padding: 60px 0;
    }

    .features__header {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.08em;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .modal {
        margin: 16px;
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .navbar__brand {
        gap: 8px;
    }

    .navbar__crest {
        width: 32px;
    }

    .navbar__title {
        font-size: 0.95rem;
    }

    .btn--login {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .btn--login .material-icons-outlined {
        font-size: 16px;
    }
}