@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Kufi+Arabic:wght@500;600;700&display=swap');

:root {
    --red: #d71920;
    --red-dark: #b30f16;
    --dark: #242424;
    --dark-2: #343434;
    --text: #292929;
    --muted: #696969;
    --light: #f4f4f2;
    --white: #ffffff;
    --border: #ddddda;
    --max-width: 1240px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--max-width), calc(100% - 48px));
    margin: 0 auto;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid #e7e7e7;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 38px;
}

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

.brand-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.brand-type {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.arabic-name {
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--red);
    direction: rtl;
}

.brand-acronym {
    color: var(--dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-top: 5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-right: auto;
}

.main-nav a,
.login-link {
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
}

.main-nav a:hover,
.login-link:hover {
    color: var(--red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
}

.button-red {
    color: var(--white);
    background: var(--red);
}

.button-red:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.button-dark {
    color: var(--white);
    background: var(--dark);
}

.button-dark:hover {
    background: #111;
}

.button-white {
    color: var(--red);
    background: var(--white);
}

.button-white:hover {
    background: #f0f0f0;
}

.button-outline {
    border-color: #a8a8a8;
    background: transparent;
}

.button-outline:hover {
    border-color: var(--dark);
}

.button-small {
    min-height: 42px;
    padding: 0 18px;
}

/* Hero */
.hero {
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 70px;
    padding: 70px 0;
}

.eyebrow {
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.eyebrow.light {
    color: rgba(255,255,255,.75);
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -3px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--red);
}

.hero-text {
    max-width: 590px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 35px;
}

.text-link {
    font-size: 14px;
    font-weight: 700;
}

.text-link span,
.card-link span {
    color: var(--red);
    margin-left: 8px;
}

.hero-card {
    width: min(100%, 480px);
    aspect-ratio: 1.58;
    margin-left: auto;
    padding: 30px;
    color: white;
    background: linear-gradient(140deg, #3c3c3c, #171717);
    box-shadow: 0 28px 60px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: "";
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    position: absolute;
    right: -80px;
    bottom: -100px;
}

.hero-card-top,
.hero-card-bottom {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-card-top {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.card-mark {
    color: #fff;
    font-size: 18px;
}

.hero-card-number {
    font-size: 22px;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.hero-card-bottom {
    font-size: 9px;
    letter-spacing: 1.5px;
}

/* Quick links */
.quick-links {
    background: var(--red);
    color: var(--white);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.quick-grid > a {
    min-height: 125px;
    padding: 25px 20px;
    display: grid;
    grid-template-columns: 42px 1fr 20px;
    gap: 12px;
    align-items: center;
    border-right: 1px solid rgba(255,255,255,.22);
    transition: background .2s ease;
}

.quick-grid > a:first-child {
    border-left: 1px solid rgba(255,255,255,.22);
}

.quick-grid > a:hover {
    background: var(--red-dark);
}

.quick-icon {
    font-size: 11px;
    font-weight: 800;
    opacity: .65;
}

.quick-grid strong,
.quick-grid small {
    display: block;
}

.quick-grid strong {
    font-size: 14px;
}

.quick-grid small {
    font-size: 11px;
    opacity: .8;
    margin-top: 3px;
}

.quick-grid b {
    font-size: 18px;
}

/* Sections */
.section {
    padding: 105px 0;
}

.light-section {
    background: var(--light);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr .65fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 55px;
}

.section-heading h2,
.business-panel h2,
.support-section h2 {
    font-size: clamp(36px, 4.3vw, 55px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.section-heading > p {
    color: var(--muted);
    font-size: 15px;
    max-width: 470px;
}

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

.centered > p:last-child {
    max-width: 550px;
    margin: 20px auto 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product-card {
    min-height: 340px;
    border: 1px solid var(--border);
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0,0,0,.08);
}

.product-card.featured {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.card-label {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--red);
}

.featured .card-label {
    color: #ff5c62;
}

.product-card h3 {
    font-size: 27px;
    margin: 18px 0 12px;
}

.product-card p {
    color: var(--muted);
    font-size: 14px;
}

.featured p {
    color: #c9c9c9;
}

.card-link {
    font-size: 13px;
    font-weight: 700;
}

/* Red banner */
.red-banner {
    background: var(--red);
    color: white;
    padding: 90px 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 100px;
    align-items: end;
}

.red-banner h2 {
    font-size: clamp(48px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -3px;
}

.red-banner p:not(.eyebrow) {
    font-size: 16px;
    color: rgba(255,255,255,.85);
    margin-bottom: 30px;
}

/* Cards */
.cards-showcase {
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-bottom: 40px;
}

.bank-card {
    width: 360px;
    aspect-ratio: 1.58;
    padding: 28px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 45px rgba(0,0,0,.16);
}

.bank-card-red {
    background: var(--red);
    transform: rotate(-3deg);
}

.bank-card-dark {
    background: var(--dark);
    transform: rotate(3deg);
}

.bank-card-brand {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
}

.chip {
    width: 45px;
    height: 34px;
    background: linear-gradient(135deg, #e0e0d0, #999);
    border-radius: 5px;
}

.bank-card-number {
    font-size: 18px;
    letter-spacing: 2px;
}

.bank-card-name {
    font-size: 9px;
    letter-spacing: 2px;
}

.center-button {
    text-align: center;
}

/* Business */
.business-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
}

.business-panel {
    padding-right: 40px;
}

.business-panel > p:not(.eyebrow) {
    color: var(--muted);
    margin: 25px 0 30px;
    max-width: 500px;
}

.business-list {
    border-top: 1px solid var(--border);
}

.business-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.business-list strong,
.business-list small {
    display: block;
}

.business-list strong {
    font-size: 16px;
}

.business-list small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.business-list b {
    color: var(--red);
    font-size: 20px;
}

/* Stats */
.stats-section {
    background: var(--dark);
    color: white;
    padding: 65px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats-grid > div {
    padding: 0 25px;
    border-right: 1px solid #555;
}

.stats-grid > div:first-child {
    padding-left: 0;
}

.stats-grid > div:last-child {
    border-right: 0;
}

.stats-grid strong,
.stats-grid span {
    display: block;
}

.stats-grid strong {
    color: white;
    font-size: 31px;
    letter-spacing: -1px;
}

.stats-grid span {
    color: #bcbcbc;
    font-size: 11px;
    margin-top: 4px;
}

/* Support */
.support-section {
    padding: 90px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr .55fr;
    align-items: center;
    gap: 80px;
}

.support-section p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 18px;
}

.support-actions {
    display: flex;
    gap: 12px;
}

/* Footer */
.site-footer {
    background: #181818;
    color: white;
    padding: 65px 0 25px;
}

.footer-top {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 80px;
    padding-bottom: 55px;
    border-bottom: 1px solid #3c3c3c;
}

.footer-brand {
    align-self: start;
}

.footer-brand .brand-acronym {
    color: white;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.footer-links h3 {
    color: #fff;
    font-size: 12px;
    margin-bottom: 17px;
}

.footer-links a {
    display: block;
    color: #a8a8a8;
    font-size: 11px;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 23px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #858585;
    font-size: 10px;
}

.footer-bottom div {
    display: flex;
    gap: 22px;
}

.footer-bottom a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1000px) {
    .main-nav {
        display: none;
    }

    .hero-grid,
    .business-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 50px;
    }

    .hero-card {
        margin: 0;
    }

    .section-heading,
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(var(--max-width), calc(100% - 30px));
    }

    .site-header {
        position: relative;
    }

    .header-inner {
        min-height: 74px;
    }

    .header-actions .login-link {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero-grid {
        padding: 55px 0;
        min-height: auto;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-actions,
    .support-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .quick-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quick-grid > a {
        border-bottom: 1px solid rgba(255,255,255,.22);
    }

    .quick-grid > a:nth-child(odd) {
        border-left: 1px solid rgba(255,255,255,.22);
    }

    .section {
        padding: 70px 0;
    }

    .cards-showcase {
        flex-direction: column;
        min-height: 500px;
    }

    .bank-card {
        width: min(100%, 360px);
    }

    .bank-card-dark {
        margin-top: -90px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 0;
    }

    .stats-grid > div:nth-child(2) {
        border-right: 0;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .header-actions .button {
        display: none;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid > a,
    .quick-grid > a:nth-child(odd) {
        border-left: 0;
        border-right: 0;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-card-number {
        font-size: 16px;
    }
}
