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

:root {
 --bg: #0a0714;
    --surface: #150e26;
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --accent: #22d3ee;
    --text: #f5f3ff;
    --muted: #968cb8;
    --border: rgba(167, 139, 250, .16);
    --radius: 16px;
    --shadow: 0 8px 30px rgba(124, 58, 237, .25);
    --glow: 0 0 26px rgba(34, 211, 238, .3);
}
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Tajawal', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

[dir="rtl"] body, [dir="rtl"] { font-family: 'Tajawal', 'Inter', sans-serif; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

.expframe { max-width: 980px; margin: 0 auto;}

/* Header */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10,14,23,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.25rem; }
.logo-text { font-size: 0.9rem; }
.logo-image { width: auto; height: 56px; object-fit: contain; display: block; }
.footer-logo { height: 64px; width: auto; display: block; }
@media (max-width: 600px) { .logo-image { height: 46px; } }
.logo-icon { font-size: 1.5rem; }
.nav { display: flex; gap: .5rem; }
.site-menu { position: relative; }
.menu-button {
    display: inline-flex; align-items: center; gap: .4rem; list-style: none;
    padding: .35rem .85rem; border: 1px solid var(--border); border-radius: 8px;
    color: var(--muted); cursor: pointer; font-size: .875rem; transition: all .2s;
}
.menu-button::-webkit-details-marker { display: none; }
.menu-button:hover, .site-menu[open] .menu-button { border-color: var(--primary); color: var(--text); }
.menu-icon { font-size: 1rem; line-height: 1; }
.menu-panel {
    position: absolute; top: calc(100% + .55rem); right: 0; z-index: 110;
    display: grid; min-width: 190px; padding: .4rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}
.menu-panel a {
    padding: .65rem .75rem; color: var(--text); text-decoration: none;
    border-radius: 7px; white-space: nowrap; font-size: .9rem;
}
.menu-panel a:hover { background: rgba(124, 58, 237, .16); color: var(--primary-light); }
.experiment-link {
    display: inline-flex; align-items: center; padding: .35rem .85rem;
    color: var(--muted); text-decoration: none; font-size: .875rem; transition: color .2s;
}
.experiment-link:hover { color: var(--text); }
.experiment-back { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.experiment-back:hover { color: var(--text); }
.lang-btn {
    padding: .35rem .85rem; border: 1px solid var(--border); border-radius: 8px;
    background: transparent; color: var(--muted); cursor: pointer; font-size: .875rem;
    font-family: inherit; transition: all .2s;
}
.lang-btn:hover { border-color: var(--primary); color: var(--text); }
.lang-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(560px, calc(100svh - 64px), 820px);
    overflow: hidden;
    padding: 5rem 0;
    background: #0a1526;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; width: 100%; }
.hero-content { width: min(100%, 760px); margin: 0 auto; text-align: center; }
.hero-copy-panel {
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(169, 188, 216, .2);
    border-radius: 30px;
    background: rgba(5, 12, 24, .5);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
}
.badge {
    display: inline-block; padding: .35rem 1rem; border-radius: 999px;
    background: rgba(99,102,241,.15); color: var(--primary-light);
    font-size: .875rem; font-weight: 600; margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
/* Blazor focuses each page's main heading on load (for screen readers); no visible border for it. */
h1:focus, h1[tabindex="-1"]:focus { outline: none; }
.hero-desc { color: var(--muted); font-size: 1.125rem; max-width: 580px; margin: 0 auto 2rem; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn {
    padding: .75rem 1.75rem; border-radius: 10px; font-size: 1rem; font-weight: 600; text-decoration: none;
    cursor: pointer; border: none; font-family: inherit; transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); }

.about-page { padding: 5rem 0 6rem; }
.about-hero { max-width: 820px; text-align: center; }
.about-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; margin-bottom: 1rem; }
.about-hero p { color: var(--muted); font-size: 1.15rem; }
.about-content { max-width: 820px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
.about-block { padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.about-block h2 { font-size: 1.25rem; margin-bottom: .55rem; }
.about-block p { color: var(--muted); }
.about-content > .btn { justify-self: start; text-decoration: none; }

/* Features */
.features { padding: 5rem 0; }
.features h2, .how h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 3rem; }
.cards { --cards-per-row: 4; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1.5rem; }
.cards > .card { flex: 0 1 calc((100% - (var(--cards-per-row) - 1) * 1.5rem) / var(--cards-per-row)); min-width: 0; text-align: center; }
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem; transition: all .3s;
    overflow: hidden; cursor: default;
}
.card:hover, .card:focus-visible { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(99,102,241,.12); }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card-short-description { min-height: 4.6rem; }
.card-long-description { max-height: 0; margin: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .25s ease, margin-top .35s ease; }
.card:hover .card-long-description, .card:focus-visible .card-long-description { max-height: 260px; margin-top: 1rem; opacity: 1; }

.showcase-section {
    padding: 5rem 0 2rem;
    position: relative;
}

.showcase-section .container {
    max-width: 1500px;
}

.showcase-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(124,58,237,.18), transparent 38%),
                radial-gradient(circle at bottom right, rgba(34,211,238,.14), transparent 32%);
    pointer-events: none;
}

.showcase-slider {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 1500px;
    margin: 2rem auto 0;
}

.showcase-viewport {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: .2rem;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}

.showcase-viewport::-webkit-scrollbar {
    display: none;
}

.showcase-scrollbar {
    position: relative;
    height: 22px;
    margin-top: .65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    cursor: grab;
    touch-action: pan-y;
}

.showcase-scrollbar[hidden] {
    display: none;
}

.showcase-scrollbar-thumb {
    position: absolute;
    inset-block: 0;
    left: 0;
    min-width: 64px;
    background: linear-gradient(90deg, #67e8f9, #a78bfa);
    border-radius: 999px;
    border: 3px solid rgba(9, 12, 20, 0.8);
    will-change: transform, width;
}

.showcase-scrollbar:active {
    cursor: grabbing;
}

.showcase-grid {
    display: flex;
    gap: 1.8rem;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
    padding: .2rem .2rem 1rem;
}

.showcase-nav {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(167, 139, 250, .35);
    border-radius: 50%;
    background: rgba(16, 12, 30, .92);
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease;
}

.showcase-nav:hover:not(:disabled),
.showcase-nav:focus-visible:not(:disabled) {
    background: rgba(124, 58, 237, .18);
    border-color: rgba(124, 58, 237, .8);
    transform: translateY(-1px);
}

.showcase-nav:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.showcase-video-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 0 0 clamp(360px, 29vw, 540px);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(22, 17, 38, 0.96), rgba(10, 11, 22, 0.96));
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28);
    cursor: pointer;
}

.showcase-video-card:hover,
.showcase-video-card:focus-visible {
    border-color: rgba(124, 58, 237, .8);
    box-shadow: 0 26px 50px rgba(124, 58, 237, .18);
}

@media (max-width: 980px) {
    .showcase-video-card {
        flex-basis: clamp(300px, 44vw, 420px);
    }
}

@media (max-width: 640px) {
    .showcase-video-card {
        flex-basis: min(82vw, 420px);
    }

    .showcase-scrollbar { height: 26px; }
}

.showcase-video-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,.18), transparent 35%, rgba(34,211,238,.18));
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.showcase-video-card:hover::before,
.showcase-video-card:focus-visible::before {
    opacity: 1;
}

.showcase-video-frame {
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    padding: .8rem;
}

.showcase-audio-toggle {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(10, 14, 24, .72);
    color: #fff;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s ease, border-color .2s ease, background .2s ease;
    backdrop-filter: blur(8px);
}

.showcase-video-card:hover .showcase-audio-toggle,
.showcase-video-card:focus-visible .showcase-audio-toggle,
.showcase-video-card .showcase-audio-toggle:focus {
    opacity: 1;
}

.showcase-audio-toggle:hover,
.showcase-audio-toggle:focus-visible {
    background: rgba(124, 58, 237, .21);
    border-color: rgba(124, 58, 237, .8);
}

.showcase-audio-toggle.is-muted {
    background: rgba(16, 12, 30, .82);
}

.showcase-video {
    display: block;
    position: absolute;
    inset: .8rem;
    width: calc(100% - 1.6rem);
    height: calc(100% - 1.6rem);
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(160, 174, 192, .18);
    background: #0b1220;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.showcase-video-loader {
    position: absolute;
    inset: .8rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-content: center;
    align-items: center;
    gap: .7rem;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: rgba(7, 12, 24, .82);
    color: #f5f3ff;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    pointer-events: none;
}

.showcase-video-card.is-loading .showcase-video-loader {
    opacity: 1;
    visibility: visible;
}

.showcase-video-card.is-video-error .showcase-loader-spinner,
.showcase-video-card.is-video-error .showcase-loader-percent,
.showcase-video-card.is-video-error .showcase-loader-track {
    display: none;
}

.showcase-video-card.is-video-error .showcase-video-loader,
.experience-preview-card.is-video-error .experience-preview-loader {
    opacity: 0;
    visibility: hidden;
}

.experience-preview-card.is-loading .experience-preview-loader {
    opacity: 1;
    visibility: visible;
}

.experience-preview-card.is-video-error .experience-loader-spinner,
.experience-preview-card.is-video-error .experience-loader-percent,
.experience-preview-card.is-video-error .experience-loader-track {
    display: none;
}

.experience-preview-card.is-video-error .experience-preview-loader {
    display: flex;
    justify-content: center;
}

.showcase-loader-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #67e8f9;
    border-radius: 50%;
    animation: showcase-spin .75s linear infinite;
}

.showcase-loader-label,
.showcase-loader-percent {
    font-size: .84rem;
    font-weight: 700;
}

.showcase-loader-percent {
    font-variant-numeric: tabular-nums;
}

.showcase-loader-track {
    grid-column: 1 / -1;
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, .2);
}

.showcase-loader-progress {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #67e8f9, #a78bfa);
    transition: width .18s ease;
}

.experience-preview-loader {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-content: center;
    align-items: center;
    gap: .7rem;
    padding: 1rem 1.2rem;
    background: rgba(7, 12, 24, .82);
    color: #f5f3ff;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    pointer-events: none;
    z-index: 2;
}

.experience-loader-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #67e8f9;
    border-radius: 50%;
    animation: showcase-spin .75s linear infinite;
}

.experience-loader-label,
.experience-loader-percent {
    font-size: .84rem;
    font-weight: 700;
}

.experience-loader-percent {
    font-variant-numeric: tabular-nums;
}

.experience-loader-track {
    grid-column: 1 / -1;
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, .2);
}

.experience-loader-progress {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #67e8f9, #a78bfa);
    transition: width .18s ease;
}

@keyframes showcase-spin {
    to { transform: rotate(360deg); }
}

.showcase-card-body {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.25rem 1.5rem;
}

.showcase-tag {
    margin-bottom: .7rem;
}

.showcase-card-body h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: .6rem;
}

.showcase-card-body p {
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.7;
}

.experiences-home-section {
    padding: 5rem 0;
    background: radial-gradient(circle at 15% 20%, rgba(162, 89, 255, .18), transparent 20%),
                radial-gradient(circle at 80% 10%, rgba(34, 211, 238, .12), transparent 25%),
                linear-gradient(180deg, rgba(10, 10, 20, .6), rgba(17, 11, 28, .92));
    scroll-margin-top: 64px;
    border-top: 1px solid rgba(167, 139, 250, .18);
    border-bottom: 1px solid rgba(167, 139, 250, .18);
}
.live-demo-badge {
    background: rgba(34, 211, 238, .12);
    color: #7dd3fc;
    border-color: rgba(125, 211, 252, .35);
}
.experiences-heading { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }
.experiences-heading h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .75rem; }
.experiences-heading p { color: var(--muted); font-size: 1.05rem; max-width: 760px; margin: 0 auto; }
.experience-carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; max-width: 860px; margin: 0 auto; }
.experience-carousel-viewport { overflow: hidden; min-width: 0; direction: ltr; }
.experience-carousel-track { display: flex; direction: ltr; transition: transform .35s ease; }
.experience-carousel-track .experience-preview-card { flex: 0 0 100%; }
.carousel-control { width: 54px; height: 54px; border: 1px solid rgba(167, 139, 250, .35); border-radius: 50%; background: rgba(16,12,30,.9); color: var(--text); cursor: pointer; font-size: 2rem; line-height: 1; transition: all .2s ease; box-shadow: 0 10px 30px rgba(124,58,237,.18); }
.carousel-control:hover { border-color: var(--primary); color: var(--primary-light); transform: scale(1.05); }
.experience-preview-card.disabled { opacity: .5; filter: grayscale(.35); }
.experience-preview-card.disabled .btn { pointer-events: none; cursor: not-allowed; }
.experience-preview-card {
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(22,17,38,.96), rgba(11,14,23,.96));
    border: 1px solid rgba(167,139,250,.28);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15,23,42,.28);
    position: relative;
}
.experience-preview-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,.18), transparent 42%, rgba(34,211,238,.12));
    opacity: 1;
    pointer-events: none;
}
.experience-preview-card:hover::before,
.experience-preview-card:focus-within::before { opacity: 1; }
.experience-preview-card:hover { border-color: rgba(99, 102, 241, .8); box-shadow: 0 24px 60px rgba(124,58,237,.18); }
.experience-preview-media {
    position: relative;
    overflow: hidden;
    height: 420px;
    background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(34,211,238,.08));
}
.experience-preview-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,8,14,.58), rgba(5,8,14,0));
    pointer-events: none;
}
.experience-preview-card img,
.experience-preview-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.experience-preview-card:hover img,
.experience-preview-card:hover video,
.experience-preview-card:focus-within img,
.experience-preview-card:focus-within video {
    filter: saturate(1.12) contrast(1.04);
}
.experience-preview-body { display: flex; flex-direction: column; flex: 1; padding: 1.75rem; position: relative; z-index: 1; }
.experience-preview-body h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.experience-preview-body p { color: var(--muted); min-height: 4.2rem; margin-bottom: 1.4rem; line-height: 1.7; }
.experiences-home-action { display: flex; justify-content: center; margin-top: 2rem; }

/* How it works */
.how { padding: 4rem 0 6rem; }
.steps { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.step { text-align: center; flex: 0 0 160px; }
.step span {
    display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 1.125rem; margin-bottom: .75rem;
}
.step p { font-weight: 600; }
.step-line { width: 60px; height: 2px; background: var(--border); margin-bottom: 2rem; }

/* Contact section */
.contact-section {
    padding: 2rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(249,115,22,.12), transparent 30%),
                radial-gradient(circle at 80% 10%, rgba(34,197,94,.10), transparent 25%);
    z-index: 0;
}
.section-heading {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 2rem;
}
.section-heading h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-top: .5rem;
}
.badge-soft {
    background: rgba(249,115,22,.12);
    color: #fdba74;
    border: 1px solid rgba(249,115,22,.3);
}
.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 820px;
    margin: 0 auto;
}
.contact-grid-large {
    max-width: 980px;
}
.contact-page-shell {
    display: grid;
    gap: 2rem;
}
.contact-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.contact-intro h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin: 1rem 0 .75rem;
    line-height: 1.15;
}
.contact-intro p {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 620px;
    margin: 0 auto;
}
.contact-page-section {
    padding-top: 4rem;
    padding-bottom: 5rem;
}
.contact-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    min-height: 120px;
    padding: 1.4rem 1.5rem;
    background: linear-gradient(180deg, rgba(23,23,23,.95), rgba(17,17,17,.9));
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text);
    text-decoration: none;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, opacity .3s ease;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
}
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.12) 50%, transparent 100%);
    transform: translateX(-120%);
    transition: transform .7s ease;
}
.contact-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(249,115,22,.45);
    box-shadow: 0 18px 40px rgba(249,115,22,.15);
}
.contact-card:hover::before {
    transform: translateX(120%);
}
.contact-card.contact-disabled,
.contact-card.contact-disabled:hover {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
    box-shadow: none;
    border-style: dashed;
}
.contact-card.contact-disabled::before {
    display: none;
}
.contact-email { border-color: rgba(251,146,60,.28); }
.contact-whatsapp { border-color: rgba(34,197,94,.28); }
.contact-facebook { border-color: rgba(59,130,246,.28); }
.contact-linkedin { border-color: rgba(14,165,233,.28); }
.contact-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.04);
    animation: pulse-soft 3s ease-in-out infinite;
}
.contact-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
.contact-email .contact-icon { background: rgba(249,115,22,.12); color: #fdba74; }
.contact-whatsapp .contact-icon { background: rgba(34,197,94,.12); color: #4ade80; }
.contact-facebook .contact-icon { background: rgba(59,130,246,.12); color: #60a5fa; }
.contact-linkedin .contact-icon { background: rgba(14,165,233,.12); color: #7dd3fc; }
.contact-body { display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.contact-body .label {
    color: var(--muted);
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.contact-body strong {
    font-size: 1.02rem;
    line-height: 1.5;
    word-break: break-word;
}
.contact-status {
    display: inline-flex;
    align-self: flex-start;
    margin-top: .15rem;
    padding: .28rem .62rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #cbd5e1;
    font-size: .72rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-weight: 700;
}
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0 2.5rem;
    text-align: center;
    color: var(--muted);
    font-size: .875rem;
    background: rgba(17, 17, 17, 0.7);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease, transform .2s ease;
}
.footer-link:hover {
    color: var(--primary-light);
    transform: translateY(-1px);
}

/* Experiment page */
.exp-page {
    min-height: 100vh;
    background: radial-gradient(ellipse at 70% 10%, rgba(6,182,212,.12), transparent 35%), var(--bg);
}
.exp-main {
    padding: 4rem 0 5rem;
}
.exp-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}
.exp-header h1 {
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: .75rem;
}
.exp-header p {
    color: var(--muted);
    font-size: 1.05rem;
}
.experiences-page-header { max-width: 780px; }
.experiences-main { padding: 4rem 0 5rem; }
.experience-tag { display: inline-block; margin-bottom: .65rem; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.exp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.exp-card {
    background: linear-gradient(180deg, rgba(22,17,38,.96), rgba(11,14,23,.96));
    border: 1px solid rgba(167,139,250,.28);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15,23,42,.18);
}
.exp-card.disabled {
    opacity: 0.45;
    filter: grayscale(0.35);
    cursor: not-allowed;
}

.exp-card.disabled .exp-image,
.exp-card.disabled .exp-video {
    filter: grayscale(0.5);
}

.exp-card.disabled .btn {
    cursor: not-allowed;
}
.exp-card:hover {
    border-color: rgba(99,102,241,.7);
    box-shadow: 0 22px 48px rgba(124,58,237,.12);
}
.exp-image,
.exp-video {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #0b1220;
}
.exp-video {
    border-bottom: 1px solid rgba(160,174,192,.15);
}
.exp-body {
    padding: 1.5rem;
}
.exp-body h2 {
    font-size: 1.4rem;
    margin-bottom: .75rem;
}
.exp-body p {
    color: var(--muted);
    margin-bottom: 1.25rem;
}
.exp-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
.video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 200;
}
.video-modal {
    position: relative;
    width: min(90vw, 960px);
    background: #020817;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.video-close {
    position: absolute;
    top: -.8rem;
    right: -.8rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
}
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}
.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Unity experiment */
.experiment-page {
    min-height: 100vh;
    background: radial-gradient(ellipse at 80% 10%, rgba(6,182,212,.12), transparent 42%), var(--bg);
}
.experiment-main { padding: 4.5rem 0 6rem; }
.experiment-heading { max-width: 720px; margin: 0 auto 2rem; text-align: center; }
.experiment-heading h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; margin-bottom: .75rem; }
.experiment-heading p { color: var(--muted); font-size: 1.05rem; }
.unity-frame {
    width: 100%;
    max-width: 1920px;
    aspect-ratio: 16 / 9;

    margin: 0 auto;
    position: relative;
    overflow: hidden;

    background: #05070d;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.unity-frame {
    width: 100%;
    max-width: 1920px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;

    position: relative;
    overflow: hidden;

    background: #05070d;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.unity-frame iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.request-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 28%),
        #0b0b0b;
}

.request-shell {
    padding: 4rem 0 2rem;
}

.request-hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.request-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.request-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.08;
    margin-bottom: 1rem;
    letter-spacing: -0.06em;
}

.request-copy p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 620px;
}

.request-badge {
    margin-bottom: 1.25rem;
}

.request-visual {
    display: flex;
    justify-content: center;
}

.geometry-scene {
    position: relative;
    width: min(100%, 440px);
    aspect-ratio: 1;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.96), rgba(11, 11, 11, 0.88));
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.geometry-scene::before {
    content: "";
    position: absolute;
    inset: 7% 12%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transform: rotate(10deg);
}

.geometry-scene::after {
    content: "";
    position: absolute;
    inset: 12% 16%;
    border-radius: 18px;
    background:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(249,115,22,0.12), transparent 60%);
    background-size: 26px 26px, 26px 26px, 100% 100%;
    transform: perspective(800px) rotateX(60deg) rotateZ(-18deg);
    opacity: 0.7;
}

.mesh {
    position: absolute;
    inset: 18% 20%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(96,165,250,0.04));
    border-radius: 20px;
    transform: perspective(700px) rotateX(50deg) rotateZ(-18deg);
    box-shadow: inset 0 0 25px rgba(255,255,255,0.03);
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 18px rgba(96,165,250,0.8);
    animation: drift 8s ease-in-out infinite alternate;
}

.particle-1 { top: 18%; left: 18%; animation-delay: 0s; }
.particle-2 { top: 26%; right: 18%; animation-delay: 1s; }
.particle-3 { bottom: 20%; left: 26%; animation-delay: 1.8s; }
.particle-4 { bottom: 26%; right: 22%; animation-delay: 2.6s; }
.particle-5 { top: 50%; left: 12%; animation-delay: 3.2s; }
.particle-6 { top: 56%; right: 12%; animation-delay: 4.2s; }

.ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    animation: orbit 10s linear infinite;
}

.ring-one {
    width: 220px;
    height: 220px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ring-two {
    width: 300px;
    height: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(28deg);
    animation-duration: 13s;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.8;
}

.orb-1 { width: 120px; height: 120px; background: rgba(249,115,22,0.35); top: 15%; left: 10%; }
.orb-2 { width: 150px; height: 150px; background: rgba(59,130,246,0.2); bottom: 18%; right: 8%; }
.orb-3 { width: 90px; height: 90px; background: rgba(167,139,250,0.28); top: 34%; right: 18%; }

.floating-panel {
    position: absolute;
    right: 2.2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    max-width: 180px;
    padding: .9rem 1rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.tiny-label {
    color: #fbbf24;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.floating-panel strong {
    font-size: 1.05rem;
}

.floating-panel small {
    color: var(--muted);
    font-size: .72rem;
}

@keyframes orbit {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.03); }
    100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

@keyframes drift {
    0% {
        transform: translate3d(0, 0, 0) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translate3d(18px, -20px, 0) scale(1.2);
        opacity: 0.9;
    }
    100% {
        transform: translate3d(-10px, 16px, 0) scale(0.9);
        opacity: 0.6;
    }
}

.request-form-section {
    padding: 1rem 0 2.5rem;
}

.request-card {
    max-width: 980px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(23,23,23,0.96), rgba(17,17,17,0.92));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.request-card-header {
    margin-bottom: 1.6rem;
}

.request-card-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-top: .8rem;
}

.request-form {
    display: grid;
    gap: 1.2rem;
}

.request-form-intro {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: .65rem 0 0;
    color: var(--muted);
}

.request-form-intro p {
    margin: 0;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.field span,
.field-title {
    font-size: .9rem;
    font-weight: 600;
    color: #e5e7eb;
}

.required-indicator {
    color: #fb923c;
    font-size: .78rem;
    font-style: normal;
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.38);
    border-radius: 14px;
    color: var(--text);
    padding: .9rem 1rem;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(148, 163, 184, 0.9);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(249,115,22,0.6);
    box-shadow: 0 0 0 4px rgba(249,115,22,0.08);
}

.field textarea {
    resize: vertical;
    min-height: 160px;
}

.phone-input-group {
    display: grid;
    grid-template-columns: minmax(84px, 0.28fr) minmax(0, 1fr);
    gap: .55rem;
}

.phone-input-group select {
    min-width: 0;
}

.checkbox-block {
    display: grid;
    gap: .8rem;
    padding-top: .2rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .75rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem .9rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.26);
    color: var(--text);
}

.check-item input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
}

.request-submit {
    width: min(100%, 240px);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    margin-top: .4rem;
}

.form-note {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.7;
    max-width: 720px;
}

.request-steps {
    padding: 2rem 0 3rem;
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-header h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.request-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.request-step {
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.request-step h3 {
    margin-bottom: .6rem;
    font-size: 1.2rem;
}

.request-step p {
    color: var(--muted);
}

.request-success {
    display: grid;
    gap: 1rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 24px;
    border: 1px solid rgba(34,197,94,0.25);
    background: linear-gradient(180deg, rgba(8,32,20,0.9), rgba(10,15,18,0.9));
    text-align: center;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    margin: 0 auto;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.35);
    color: #86efac;
    font-size: 2.2rem;
    font-weight: 700;
}

.request-success h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.request-success p {
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.request-brand-wrap {
    padding: 1rem 0 4rem;
}

.request-brand {
    text-align: center;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 700;
    color: #f4f4f5;
    letter-spacing: -0.03em;
}

.hero-science-scene {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-science-scene canvas {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .request-shell { padding-top: 2.5rem; }
    .request-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .request-copy p { margin: 0 auto; }
    .field-row,
    .request-step-grid { grid-template-columns: 1fr; }
    .experience-carousel { grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem; }
    .carousel-control { width: 36px; height: 36px; font-size: 1.4rem; }
    .request-submit { width: 100%; }
    .request-form-intro { align-items: flex-start; flex-direction: column; }
    .request-visual { order: -1; }
    .about-content { grid-template-columns: 1fr; }
    .geometry-scene { width: min(100%, 300px); }
    .experiment-main { padding-top: 3rem; }
    .hero { min-height: clamp(620px, calc(100svh - 64px), 760px); }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .cards { --cards-per-row: 2; }
    .exp-grid { grid-template-columns: 1fr; }
    .step-line { display: none; }
}

@media (max-width: 480px) {
    .cards { --cards-per-row: 1; }
}


/* Hidden spam-trap field on the request form */
.form-trap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Not found / error pages */
.status-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding: 4rem 1rem; }
.status-page h1 { margin: 0; }
.status-page p { margin: 0; color: var(--muted, inherit); max-width: 36rem; }

.exp-actions a.btn, .status-page .btn { text-decoration: none; }

/* Extra contact card types (added from the control panel) */
.contact-phone { border-color: rgba(168,85,247,.28); }
.contact-instagram { border-color: rgba(236,72,153,.28); }
.contact-youtube { border-color: rgba(239,68,68,.28); }
.contact-x { border-color: rgba(229,231,235,.28); }
.contact-tiktok { border-color: rgba(45,212,191,.28); }
.contact-telegram { border-color: rgba(56,189,248,.28); }
.contact-website { border-color: rgba(99,102,241,.28); }
.contact-location { border-color: rgba(250,204,21,.28); }
.contact-phone .contact-icon { background: rgba(168,85,247,.12); color: #c4b5fd; }
.contact-instagram .contact-icon { background: rgba(236,72,153,.12); color: #f9a8d4; }
.contact-youtube .contact-icon { background: rgba(239,68,68,.12); color: #fca5a5; }
.contact-x .contact-icon { background: rgba(229,231,235,.1); color: #e5e7eb; }
.contact-tiktok .contact-icon { background: rgba(45,212,191,.12); color: #5eead4; }
.contact-telegram .contact-icon { background: rgba(56,189,248,.12); color: #7dd3fc; }
.contact-website .contact-icon { background: rgba(99,102,241,.12); color: #a5b4fc; }
.contact-location .contact-icon { background: rgba(250,204,21,.12); color: #fde68a; }

/* Home hero buttons (were inline styles) */
.hero-action { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }

/* ================= Shop ================= */
.cart-button { position: relative; text-decoration: none; font-size: 1.35rem; padding: .3rem .55rem; border-radius: 12px; border: 1px solid var(--border); }
.cart-count { position: absolute; top: -6px; inset-inline-end: -8px; background: var(--accent); color: #04121a; font-size: .72rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; animation: pop .4s ease; }
@keyframes pop { 0% { transform: scale(.3); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
.btn-small { padding: .5rem .9rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn.added { background: #16a34a; }
.muted { color: var(--muted); }

.shop-hero { position: relative; overflow: hidden; padding: 4.5rem 0 3.5rem; background: radial-gradient(60% 70% at 75% 40%, rgba(124,58,237,.35), transparent 70%), radial-gradient(40% 50% at 15% 80%, rgba(34,211,238,.15), transparent 70%); }
.shop-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; }
.shop-hero-copy h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.15; margin: 1rem 0; background: linear-gradient(90deg, #fff, var(--primary-light), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise .8s ease both; }
.shop-hero-copy .hero-desc { animation: rise .8s .15s ease both; }
.shop-hero-copy .hero-actions { animation: rise .8s .3s ease both; display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-sparkles span { position: absolute; bottom: -10px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); opacity: .7; animation: drift 9s var(--d) linear infinite; }
@keyframes drift { from { transform: translateY(0); opacity: 0; } 15% { opacity: .8; } to { transform: translateY(-110vh); opacity: 0; } }

.hero-stage { position: relative; height: 460px; perspective: 1000px; }
.stage-glow { position: absolute; inset: 15% 15%; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.35), rgba(124,58,237,.15) 50%, transparent 70%); filter: blur(10px); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.float-card { position: absolute; width: 140px; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.5); border: 3px solid #fff; }
.float-card-0 { top: 4%; inset-inline-start: 2%; rotate: -14deg; animation: float1 6s ease-in-out infinite; }
.float-card-1 { bottom: 6%; inset-inline-start: 10%; rotate: 10deg; animation: float2 7s ease-in-out infinite; }
.float-card-2 { top: 18%; inset-inline-end: 0; rotate: 16deg; animation: float1 8s 1s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translateY(-18px) rotate(4deg); } }
@keyframes float2 { 50% { transform: translateY(16px) rotate(-5deg); } }
.phone { position: absolute; left: 50%; top: 50%; width: 210px; height: 410px; transform: translate(-50%, -50%) rotateY(-12deg) rotateX(6deg); border-radius: 34px; background: #0b0918; border: 6px solid #2b2350; box-shadow: 0 30px 80px rgba(0,0,0,.6), var(--glow); animation: phoneTilt 6s ease-in-out infinite; }
@keyframes phoneTilt { 50% { transform: translate(-50%, -52%) rotateY(10deg) rotateX(4deg); } }
.phone-screen { position: absolute; inset: 10px; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, #1b1238, #0d2a33); display: grid; place-items: center; }
.phone-card { width: 62%; border-radius: 8px; transform: perspective(500px) rotateX(28deg); box-shadow: 0 10px 25px rgba(0,0,0,.5); }
.scan-beam { position: absolute; left: 8%; right: 8%; height: 3px; background: var(--accent); box-shadow: 0 0 18px 6px rgba(34,211,238,.55); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 22%; } 50% { top: 76%; } }
.ar-ring { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(167,139,250,.8); animation: ring 2.4s ease-out infinite; }
.ar-ring-2 { animation-delay: 1.2s; }
@keyframes ring { from { transform: rotateX(70deg) scale(.3); opacity: 1; } to { transform: rotateX(70deg) scale(1.3); opacity: 0; } }

.shop-section { padding: 4rem 0; }
.shop-top { padding-top: 2.5rem; min-height: 60vh; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.2rem; }
.section-head h1, .section-head h2 { margin-bottom: .6rem; }
.section-head p { color: var(--muted); margin-bottom: 1rem; }
.center-action { text-align: center; margin-top: 2rem; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.6rem; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; animation: rise .6s calc(var(--i) * .08s) ease both; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { position: relative; display: block; height: 250px; background: radial-gradient(circle at 50% 60%, rgba(124,58,237,.35), transparent 70%); }
.product-media img { position: absolute; left: 50%; top: 50%; width: 120px; border-radius: 9px; border: 3px solid #fff; box-shadow: 0 10px 24px rgba(0,0,0,.45); transition: transform .35s ease; }
.card-front { transform: translate(-50%, -50%); z-index: 2; }
.card-left { transform: translate(-95%, -45%) rotate(-14deg) scale(.9); filter: brightness(.8); }
.card-right { transform: translate(-5%, -45%) rotate(14deg) scale(.9); filter: brightness(.8); }
.product-card:hover .card-front { transform: translate(-50%, -56%) scale(1.05); }
.product-card:hover .card-left { transform: translate(-115%, -42%) rotate(-22deg) scale(.9); }
.product-card:hover .card-right { transform: translate(15%, -42%) rotate(22deg) scale(.9); }
.product-badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 3; background: var(--accent); color: #04121a; font-weight: 800; font-size: .78rem; padding: .25rem .7rem; border-radius: 999px; }
.product-info { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-info h3 a { color: var(--text); text-decoration: none; }
.product-tagline { color: var(--muted); font-size: .95rem; }
.product-buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .6rem; }
.price { font-weight: 800; font-size: 1.2rem; color: var(--accent); }
.old-price { color: var(--muted); font-size: .9rem; margin-inline-start: .4rem; font-weight: 400; }
.sold-out { color: #f87171; font-weight: 700; }

.steps-row { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; padding: 0; }
.steps-row li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; display: flex; align-items: center; gap: 1rem; font-weight: 600; animation: rise .6s calc(var(--i) * .12s) ease both; }
.step-number { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); font-weight: 800; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.gallery-main { background: radial-gradient(circle, rgba(124,58,237,.3), transparent 70%); border-radius: var(--radius); display: grid; place-items: center; padding: 2rem; border: 1px solid var(--border); }
.gallery-main img { max-height: 460px; max-width: 100%; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.5); animation: rise .4s ease both; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.thumb { background: none; border: 2px solid var(--border); border-radius: 10px; padding: 3px; cursor: pointer; }
.thumb.active { border-color: var(--accent); }
.thumb img { width: 58px; border-radius: 6px; display: block; }
.detail-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: .6rem 0 .2rem; }
.detail-price { margin: 1rem 0; font-size: 1.5rem; }
.detail-desc { line-height: 1.8; color: #ddd6fe; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; margin: 1.4rem 0; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.buy-row { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.qty button { background: var(--surface); color: var(--text); border: none; width: 38px; height: 40px; font-size: 1.2rem; cursor: pointer; }
.qty span { min-width: 36px; text-align: center; font-weight: 700; }
.added-note { margin-top: .8rem; color: #4ade80; }
.added-note a { color: var(--accent); }
.cod-note { margin-top: 1rem; color: var(--muted); font-size: .92rem; }

.cart-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; margin-top: 1.5rem; align-items: start; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto auto auto; gap: 1rem; align-items: center; padding: .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .8rem; }
.cart-line img { width: 64px; border-radius: 8px; }
.cart-line-info { display: flex; flex-direction: column; }
.cart-line-info a { color: var(--text); font-weight: 700; text-decoration: none; }
.remove { background: none; border: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.remove:hover { color: #f87171; }
.totals { padding: 1rem 1.2rem; border: 1px dashed var(--border); border-radius: var(--radius); }
.totals div { display: flex; justify-content: space-between; padding: .35rem 0; }
.totals .grand { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--border); margin-top: .4rem; padding-top: .7rem; color: var(--accent); }
.checkout { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .9rem; }
.checkout label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .95rem; }
.checkout input, .checkout textarea { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: .7rem .8rem; font: inherit; }
.checkout input:focus, .checkout textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--glow); }
.form-error { color: #f87171; font-weight: 600; }
.order-done { text-align: center; max-width: 560px; margin: 2rem auto; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.done-icon { font-size: 4rem; animation: pop .6s ease; }

@media (max-width: 860px) {
    .shop-hero-grid, .product-detail, .cart-layout { grid-template-columns: 1fr; }
    .hero-stage { height: 380px; }
    .float-card { width: 105px; }
    .cart-line { grid-template-columns: 54px 1fr auto; }
    .cart-line .line-total { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Hero: category icons circling the featured products. */
.orbit { position: absolute; inset: 8%; animation: spin 26s linear infinite; }
.orbit-item { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px; display: grid; place-items: center; font-size: 1.7rem; border-radius: 50%; background: color-mix(in srgb, var(--c) 22%, var(--surface)); border: 2px solid var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 55%, transparent); transform: rotate(var(--a)) translateY(-200px) rotate(calc(-1 * var(--a))); }
.orbit-item { animation: counter 26s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes counter { to { rotate: -360deg; } }
.hero-stage .float-card-0 { top: 26%; inset-inline-start: 30%; width: 170px; z-index: 2; }
.hero-stage .float-card-1 { top: 34%; bottom: auto; inset-inline-start: 14%; }
.hero-stage .float-card-2 { top: 30%; inset-inline-end: 12%; }

.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.category-tile { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.6rem 1rem; border-radius: var(--radius); text-decoration: none; color: var(--text); font-weight: 700; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 28%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); transition: transform .25s, box-shadow .25s; animation: rise .6s calc(var(--i) * .08s) ease both; }
.category-tile:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 12px 30px color-mix(in srgb, var(--c) 35%, transparent); }
.category-icon { font-size: 2.6rem; transition: transform .3s; }
.category-tile:hover .category-icon { transform: scale(1.2) rotate(8deg); }

.reason-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.reason { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; animation: rise .6s calc(var(--i) * .1s) ease both; }
.reason-icon { font-size: 2.4rem; display: inline-block; animation: bob 3s calc(var(--i) * .3s) ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.reason h3 { margin: .6rem 0 .3rem; }
.reason p { color: var(--muted); }

.category-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.chip { --c: var(--primary-light); padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.chip:hover { border-color: var(--c); }
.chip.active { background: color-mix(in srgb, var(--c) 30%, var(--surface)); border-color: var(--c); }
.category-link { display: inline-block; margin-top: .6rem; color: var(--accent); text-decoration: none; font-weight: 600; }
.gallery-main video { max-height: 460px; max-width: 100%; border-radius: 14px; }
.thumb-video { width: 64px; color: var(--text); font-size: 1.3rem; }
@media (max-width: 860px) { .orbit-item { transform: rotate(var(--a)) translateY(-150px) rotate(calc(-1 * var(--a))); width: 46px; height: 46px; margin: -23px; font-size: 1.3rem; } }

/* "Available now" spotlight under the hero. */
.spotlight { padding: 3.5rem 0; background: linear-gradient(180deg, transparent, rgba(34,211,238,.06) 40%, transparent); }
.spotlight-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center; }
.spotlight-stage { position: relative; height: 440px; perspective: 1000px; }
.spotlight-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin: .8rem 0; }
.spotlight-copy p { color: var(--muted); line-height: 1.8; margin-bottom: 1.4rem; }
.hero-stage .float-card-0 { top: 22%; inset-inline-start: 34%; width: 180px; }
.hero-stage .float-card-1 { top: 30%; inset-inline-start: 8%; }
.hero-stage .float-card-2 { top: 26%; inset-inline-end: 6%; }
@media (max-width: 860px) { .spotlight-grid { grid-template-columns: 1fr; } .spotlight-stage { height: 380px; } }


/* ===== Download the app page (/app) ===== */
.app-hero { position: relative; overflow: hidden; padding: 4rem 0 3rem; background: radial-gradient(ellipse at 75% 20%, rgba(124,58,237,.35), transparent 55%), radial-gradient(ellipse at 15% 90%, rgba(34,211,238,.14), transparent 50%); }
.app-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.app-copy h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); line-height: 1.12; margin: .9rem 0 1rem; background: linear-gradient(100deg, #fff 10%, #c4b5fd 55%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise .8s ease both; }
.app-copy .hero-desc { color: var(--muted); font-size: 1.1rem; line-height: 1.8; max-width: 34rem; margin-bottom: 1.8rem; animation: rise .8s .1s ease both; }

/* Store buttons; the visitor's own store grows, glows and moves first. */
.store-buttons { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; animation: rise .8s .2s ease both; }
.store-btn { position: relative; display: inline-flex; align-items: center; gap: .75rem; padding: .8rem 1.4rem; min-width: 205px; border-radius: 16px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.22); transition: transform .2s, box-shadow .2s, border-color .2s; }
.store-btn:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 10px 30px rgba(34,211,238,.25); }
.store-btn svg { width: 30px; height: 30px; flex: none; }
.store-text { display: flex; flex-direction: column; font-size: 1.3rem; font-weight: 700; line-height: 1.1; direction: ltr; text-align: start; }
.store-text small { font-size: .72rem; font-weight: 500; opacity: .85; }
[dir=rtl] .store-text small { font-family: Tajawal, sans-serif; }
.store-tag { display: none; position: absolute; top: -.75rem; inset-inline-start: 1rem; padding: .15rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #1a1033; background: linear-gradient(90deg, #fbbf24, #fde68a); box-shadow: 0 4px 14px rgba(251,191,36,.4); }
html[data-os=ios] .store-btn.ios, html[data-os=android] .store-btn.android { order: -1; padding: 1rem 1.7rem; min-width: 240px; background: linear-gradient(135deg, #7c3aed, #4c1d95); border-color: rgba(196,181,253,.6); animation: storePulse 2.4s ease-in-out infinite; }
html[data-os=ios] .store-btn.ios .store-tag, html[data-os=android] .store-btn.android .store-tag { display: block; }
html[data-os=ios] .store-btn.android, html[data-os=android] .store-btn.ios { opacity: .75; transform: scale(.92); }
@keyframes storePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,.55), 0 10px 30px rgba(124,58,237,.35); } 50% { box-shadow: 0 0 0 12px rgba(124,58,237,0), 0 10px 40px rgba(34,211,238,.35); } }

/* QR for visitors on a computer. */
.desktop-qr { display: none; align-items: center; gap: 1rem; margin-top: 2rem; padding: 1rem; max-width: 26rem; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--border); animation: rise .8s .3s ease both; }
html[data-os=desktop] .desktop-qr { display: flex; }
.qr-box { flex: none; width: 112px; height: 112px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: var(--glow); }
.qr-box svg { width: 100%; height: 100%; display: block; }
.desktop-qr strong { display: block; margin-bottom: .25rem; }
.desktop-qr p { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.6; }

/* Phone with a card coming out of the screen, and Waraq watching. */
.app-stage { position: relative; height: 520px; perspective: 1000px; }
.app-phone { position: absolute; left: 50%; top: 54%; width: 230px; height: 450px; transform: translate(-50%, -50%) rotateY(-14deg) rotateX(8deg); border-radius: 38px; background: #0b0918; border: 7px solid #2b2350; box-shadow: 0 40px 90px rgba(0,0,0,.65), var(--glow); animation: phoneTilt 7s ease-in-out infinite; }
.app-phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%); border-radius: 10px; background: #000; z-index: 2; }
.app-phone-screen { position: absolute; inset: 9px; border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, #1b1238, #0d2a33); display: grid; place-items: center; }
.app-card { width: 66%; border-radius: 8px; transform: perspective(500px) rotateX(30deg); box-shadow: 0 10px 25px rgba(0,0,0,.5); opacity: .55; }
.app-pop { position: absolute; left: 50%; top: 40%; width: 330px; transform: translate(-50%, -58%); transform-origin: 50% 100%; filter: drop-shadow(0 18px 22px rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(34,211,238,.25)); animation: popOut 6s ease-in-out infinite; z-index: 2; }
.tiger-shadow { position: absolute; left: 50%; top: 68%; width: 260px; height: 46px; border-radius: 50%; background: radial-gradient(closest-side, rgba(34,211,238,.55), rgba(124,58,237,.25) 60%, transparent); transform: translate(-50%, -50%); animation: tigerShadow 6s ease-in-out infinite; z-index: 1; }
@keyframes popOut { 0%, 10% { transform: translate(-50%, -20%) scale(.12); opacity: 0; filter: brightness(2.5) drop-shadow(0 0 30px #22d3ee); } 22% { opacity: 1; } 34% { transform: translate(-50%, -62%) scale(1.06); filter: brightness(1) drop-shadow(0 18px 22px rgba(0,0,0,.55)); } 42%, 88% { transform: translate(-50%, -58%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -20%) scale(.12); opacity: 0; } }
@keyframes tigerShadow { 0%, 10%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.2); } 34%, 88% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.pop-spark { position: absolute; color: #fbbf24; font-size: 1.4rem; text-shadow: 0 0 12px rgba(251,191,36,.8); animation: twinkle 2.5s ease-in-out infinite; z-index: 3; }
.pop-spark.s1 { top: 6%; left: 30%; } .pop-spark.s2 { top: 14%; right: 22%; animation-delay: .8s; font-size: 1rem; } .pop-spark.s3 { top: 34%; left: 22%; animation-delay: 1.6s; font-size: .9rem; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.2); } }
[dir=rtl] 
/* Steps */
.step-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; }
.step-grid::before { content: ""; position: absolute; top: 4.1rem; left: 16%; right: 16%; border-top: 2px dashed rgba(167,139,250,.35); }
.step { position: relative; text-align: center; padding: 2rem 1.4rem 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); animation: rise .7s calc(var(--i) * .12s) ease both; transition: transform .2s, border-color .2s; }
.step:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.45); }
.step-num { position: absolute; top: .9rem; inset-inline-start: .9rem; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: .9rem; color: #fff; background: linear-gradient(135deg, #7c3aed, #22d3ee); box-shadow: var(--glow); }
.step-icon { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; margin: 0 auto 1rem; border-radius: 22px; font-size: 2rem; background: radial-gradient(circle, rgba(124,58,237,.35), rgba(124,58,237,.08)); position: relative; z-index: 1; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); margin: 0; line-height: 1.7; }

/* Last call */
.app-ready { padding: 1rem 0 4rem; }
.app-ready-box { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; padding: 2.6rem 1.5rem; border-radius: 28px; background: radial-gradient(ellipse at 50% 0%, rgba(34,211,238,.18), transparent 60%), linear-gradient(135deg, rgba(124,58,237,.3), rgba(76,29,149,.15)); border: 1px solid var(--border); }
.app-ready-box h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0; }
.app-ready-box .store-buttons { justify-content: center; }

@media (max-width: 860px) {
    .app-hero { padding-top: 2.5rem; }
    .app-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .app-copy .hero-desc { margin-inline: auto; }
    .app-copy .store-buttons { justify-content: center; }
    .app-stage { height: 400px; margin-top: .5rem; }
    .app-phone { width: 190px; height: 370px; }
    .app-pop { width: 215px; } .tiger-shadow { width: 170px; }
        .step-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .step-grid::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .app-pop, .tiger-shadow, .app-phone, .waraq img, .waraq-shadow, .waraq-star, .pop-spark, .store-btn { animation: none !important; }
}

/* Waraq: floats gently, his star glows, and he hops with joy each time the tiger leaps out (same 6s loop). */
.waraq { position: relative; width: 150px; aspect-ratio: 1; }
.waraq img { position: relative; width: 100%; display: block; filter: drop-shadow(0 0 1.5px rgba(255,255,255,.85)) drop-shadow(0 10px 18px rgba(0,0,0,.4)); transform-origin: 50% 100%; animation: waraqLife 6s ease-in-out infinite; z-index: 1; }
.waraq-star { position: absolute; left: 73%; top: 13%; width: 34%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(253,230,138,.9), rgba(34,211,238,.35) 45%, transparent 70%); mix-blend-mode: screen; animation: starGlow 6s ease-in-out infinite; z-index: 2; pointer-events: none; }
.waraq-shadow { position: absolute; left: 50%; bottom: -4%; width: 60%; height: 9%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); animation: waraqShadow 6s ease-in-out infinite; }
@keyframes waraqLife {
    0%   { transform: translateY(0) rotate(-2deg); }
    14%  { transform: translateY(-8px) rotate(1deg); }
    26%  { transform: translateY(0) scale(1.06, .92); }
    34%  { transform: translateY(-30px) rotate(-6deg) scale(.97, 1.05); }
    42%  { transform: translateY(0) scale(1.07, .9); }
    48%  { transform: translateY(-12px) rotate(4deg); }
    56%  { transform: translateY(0) scale(1.03, .97); }
    72%  { transform: translateY(-9px) rotate(2deg); }
    100% { transform: translateY(0) rotate(-2deg); }
}
@keyframes starGlow { 0%, 22%, 60%, 100% { opacity: .35; scale: .8; } 34% { opacity: 1; scale: 1.5; } 46% { opacity: .7; scale: 1.1; } }
@keyframes waraqShadow { 0%, 26%, 42%, 56%, 100% { scale: 1; opacity: .8; } 14%, 72% { scale: .85; opacity: .6; } 34% { scale: .55; opacity: .35; } 48% { scale: .8; opacity: .55; } }
.app-waraq { position: absolute; bottom: 2%; inset-inline-start: -2%; width: 180px; z-index: 3; }
.ready-waraq { width: 120px; }@media (max-width: 860px) { .app-waraq { width: 120px; inset-inline-start: 2%; } }

/* Which mode each phone gets (product pages, app page, cart). */
.phone-compat { margin-top: 1.4rem; padding: 1.2rem 1.3rem; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--border); font-size: .93rem; line-height: 1.7; text-align: start; }
.phone-compat .compat-title { margin: 0 0 .5rem; font-size: 1.1rem; }
.compat-intro { margin: 0 0 1rem; padding: .6rem .8rem; border-radius: 10px; background: rgba(167,139,250,.10); border-inline-start: 3px solid #a78bfa; color: var(--text); }
.compat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.compat-card { position: relative; padding: .9rem; border-radius: 14px; background: rgba(10,7,20,.35); border: 1px solid var(--border); }
.compat-card.real { border-top: 3px solid #22d3ee; }
.compat-card.magic { border-top: 3px solid #fbbf24; }
.compat-phones { margin: 0; font-size: .82rem; font-weight: 600; color: var(--muted); }
.compat-card h4 { margin: .1rem 0 .6rem; font-size: 1.05rem; }
.compat-card.real h4 { color: #67e8f9; }
.compat-card.magic h4 { color: #fcd34d; }
.compat-card img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 10px; margin-bottom: .6rem; }
.compat-card ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .88rem; }
.compat-card li { position: relative; padding-inline-start: 1.1rem; margin-bottom: .4rem; }
.compat-card li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: .45rem; height: .45rem; border-radius: 50%; }
.compat-card.real li::before { background: #22d3ee; }
.compat-card.magic li::before { background: #fbbf24; }
.compat-yours { display: none; position: absolute; top: .7rem; inset-inline-end: .7rem; padding: .1rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #0a0714; background: #67e8f9; }
html[data-os="ios"] .compat-yours { display: inline-block; }
html[data-os="ios"] .compat-card.real { box-shadow: 0 0 0 2px rgba(34,211,238,.45); }
.compat-both { margin: 1rem 0 .3rem; }
.compat-check { margin: 0; color: var(--muted); font-size: .88rem; }
.compat-check a { font-weight: 700; white-space: nowrap; color: #c4b5fd; }
.compat-short { list-style: none; margin: 0; padding: 0; color: var(--muted); }
.compat-short li { margin-bottom: .45rem; }
.compat-short strong { color: var(--text); }
.compat-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-inline-end: .4rem; }
.compat-dot.real { background: #22d3ee; }
.compat-dot.magic { background: #fbbf24; }
.phone-compat.compact { font-size: .86rem; padding: .9rem 1rem; max-width: 36rem; }
.phone-compat.compact .compat-intro { font-size: .84rem; }
.app-copy .phone-compat { margin-top: 1.4rem; }
@media (max-width: 860px) { .app-copy .phone-compat { margin-inline: auto; } }
@media (max-width: 640px) { .compat-cards { grid-template-columns: 1fr; } }

/* Who we are (home page): our story beside Waraq, then the product promises (.reason-grid). */
.about { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.5rem; align-items: center; margin-bottom: 2.2rem; }
.about-copy { animation: rise .6s ease both; }
.about-eyebrow { display: inline-block; padding: .25rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #c4b5fd; background: rgba(167,139,250,.14); border: 1px solid rgba(167,139,250,.35); }
.about-copy h2 { margin: .7rem 0 1rem; font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.25; }
.about-copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.85; margin: 0 0 .8rem; }
.about-copy .about-sign { color: var(--text); font-weight: 700; font-style: italic; margin-top: 1.1rem; }
.about-art { position: relative; display: grid; place-items: center; min-height: 300px; }
.about-art img { position: relative; width: min(280px, 80%); filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); animation: aboutFloat 5s ease-in-out infinite; }
.about-glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(167,139,250,.45), rgba(167,139,250,0) 70%); animation: aboutPulse 5s ease-in-out infinite; }
.about-spark { position: absolute; color: #fcd34d; font-size: 1.3rem; animation: aboutTwinkle 2.6s ease-in-out infinite; }
.about-spark.s1 { top: 10%; inset-inline-start: 12%; }
.about-spark.s2 { top: 22%; inset-inline-end: 8%; font-size: 1rem; animation-delay: .9s; }
.about-spark.s3 { bottom: 14%; inset-inline-start: 22%; font-size: .9rem; animation-delay: 1.6s; }
@keyframes aboutFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes aboutPulse { 0%, 100% { transform: scale(.92); opacity: .8; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes aboutTwinkle { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.1); } }
@media (max-width: 860px) {
    .about { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
    .about-art { order: -1; min-height: 220px; }
    .about-art img { width: 190px; }
}
@media (prefers-reduced-motion: reduce) { .about-art img, .about-glow, .about-spark { animation: none; } }

/* Compact contact cards: two or three per row, smaller icons and padding. */
.contact-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; max-width: 900px; }
.contact-grid-large { max-width: 980px; }
.contact-card { min-height: 0; gap: .8rem; padding: .8rem 1rem; border-radius: 16px; }
.contact-card:hover { transform: translateY(-3px); }
.contact-card .contact-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 13px; animation: none; }
.contact-card .contact-icon svg { width: 22px; height: 22px; }
.contact-body { gap: 0; min-width: 0; }
.contact-body .label { font-size: .7rem; }
.contact-body strong { font-size: .92rem; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-section { padding-bottom: 3.5rem; }

/* Footer contact icons. */
.footer-social { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.footer-social-link { display: inline-flex; border-radius: 12px; transition: transform .2s ease; }
.footer-social-link:hover { transform: translateY(-2px); }
.footer-social-link .contact-icon { width: 40px; height: 40px; min-width: 40px; border-radius: 12px; animation: none; }
.footer-social-link .contact-icon svg { width: 20px; height: 20px; }

/* Privacy policy */
.privacy-section { padding: 48px 0 72px; }
.privacy-shell { max-width: 820px; }
.privacy-shell h1 { margin-bottom: 6px; }
.privacy-shell h2 { font-size: 1.2rem; margin: 30px 0 8px; }
.privacy-updated { opacity: .7; font-size: .9rem; margin-bottom: 22px; }
.privacy-text { white-space: pre-line; line-height: 1.75; }
