/* هوية سلطان فون — «ليل السلطان» (the owner's, 2026-10-18; the guide:
   sultan-test/tools/brand/BRAND.md). Laid over look a: the identity's fonts,
   its gold, the logo without its square, and the logo's open petals behind
   every device. Gold only hints: no large gold surfaces. */

@font-face { font-family: Alexandria; src: url("fonts/Alexandria-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Plex; src: url("fonts/IBMPlexSansArabic-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Plex; src: url("fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Plex; src: url("fonts/IBMPlexSansArabic-Bold.ttf") format("truetype"); font-weight: 700 800; font-display: swap; }

:root {
    --night: #0b161c;
    --gold: #e6c877;
    --bg: #0b161c;
    --surface: #101e26;
    --soft: #15262f;
    --ink: #f5f7f8;
    --line: #1d313c;
    --accent: #e6c877;
    --accent-soft: rgba(230, 200, 119, 0.1);
    --price: #f5f7f8;
    --installment-accent: #e6c877;
    --hero-accent: #e6c877;
    --font: Plex, "Segoe UI", Tahoma, Arial, sans-serif;
}

body { background: radial-gradient(120% 900px at 50% 0%, #13232c 0%, #0b161c 45%) no-repeat, #0b161c; }

/* The identity's titles and numbers */
h1, h2, h3, .card-name, .price-cash, .cine-title, .brand-text strong, .perk strong, .installment-example {
    font-family: Alexandria, var(--font);
    letter-spacing: -0.01em;
}

.price-cash { font-weight: 700; }
.installment b { color: var(--gold); }

/* The strip: night with gold words and a gold hairline, not a gold block */
.strip {
    background: #070f13;
    color: var(--gold);
    border-bottom: 1px solid rgba(230, 200, 119, 0.35);
    font-weight: 600;
}

/* The logo as it is, without its square */
.brand-logo, .contact-logo { object-fit: contain; border-radius: 0; box-shadow: none; background: transparent; }
.brand-logo { width: 54px; height: 54px; }
.contact-logo { width: 84px; height: 84px; }

/* A small gold petal before each section's title: the signature, quietly */
.section-head h2, .installment-band h2 { display: flex; align-items: center; gap: 10px; }
.section-head h2::before {
    content: "";
    width: 18px;
    height: 24px;
    background: url("img/petal.svg") center / contain no-repeat;
    flex: none;
}

/* ---- Every device stands in the night, the petals behind it ---- */
.card-media {
    background:
        url("img/petals.svg") center 78% / 88% auto no-repeat,
        radial-gradient(85% 75% at 50% 42%, #15262f 0%, #0b161c 68%, #091318 100%);
    overflow: hidden;
}

/* The gold light on the floor under the device */
.card-media::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 8px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(230, 200, 119, 0.2), transparent);
    pointer-events: none;
}

/* The device stands back in its frame, the petals around it (the owner: not so close) */
.pic-has-photo { display: grid; place-items: center; padding: 0; position: relative; z-index: 1; }
.pic-photo { width: auto; height: auto; max-width: 68%; max-height: 74%; margin-top: -4%; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.55)); }

/* Without a photo yet: the drawn device in the night too */
.pic-phone { border-color: #05090c; background: linear-gradient(160deg, #1c3443, #0b161c); box-shadow: 0 14px 26px rgba(0, 0, 0, 0.45); }
.pic-brand { color: var(--gold); text-shadow: none; }
.pic-acc .pic-icon { filter: grayscale(0.2); }

.card { background: var(--surface); border-color: var(--line); }
.card:hover { border-color: rgba(230, 200, 119, 0.55); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5); }

/* The second welcome: the petals instead of the drawn gold phones */
.hero { background: radial-gradient(120% 90% at 85% 10%, #1c3644 0%, #0b161c 60%); }
.hero-art { background: url("img/petals.svg") center 70% / 100% auto no-repeat; }
.hero-art .hero-phone { display: none; }

/* The store's icons, gold unless the words around them say otherwise */
.si { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; flex: none; color: var(--gold); }
.bottom-nav .si, .cart .si, .try-wa .si, .delivery .si { color: inherit; }
.top-band .si { color: inherit; }

.perk { background: var(--surface); }
.perk b { filter: saturate(0.7); }

.btn-main { background: var(--gold); color: var(--night); }
.tab.is-on { background: var(--gold); border-color: var(--gold); color: var(--night); }
.cine-kicker { color: var(--gold); }
