/*
Theme Name: Zataat Digital
Theme URI: https://services.zataat.bh/
Author: Zataat Digital Solutions
Description: Bilingual one-page profile theme for Zataat Digital Solutions.
Version: 1.0.4
Text Domain: zataat-digital
*/

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

:root {
  --red: #ea001b;
  --red-bright: #ff3148;
  --navy: #171d3d;
  --ink: #11152e;
  --mist: #f5f6fb;
  --line: rgba(23, 29, 61, .12);
  --white: #fff;
  --display: "Arial", sans-serif;
  --body: "Arial", "Tahoma", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--mist); font-family: var(--body); font-size: 16px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-shell { overflow: hidden; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: auto; }

.site-header { position: absolute; top: 0; inset-inline: 0; z-index: 10; padding: 24px 0; color: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 50px; height: 50px; object-fit: contain; object-position: center; background: transparent; padding: 0; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: .86rem; font-weight: 700; }
.nav-links a { opacity: .76; transition: opacity .2s ease; }
.nav-links a:hover { opacity: 1; }
.language-switch { border: 1px solid rgba(255,255,255,.35); color: var(--white); background: rgba(255,255,255,.08); min-width: 50px; padding: 9px 12px; border-radius: 999px; cursor: pointer; font-weight: 800; }

.hero { min-height: 740px; position: relative; isolation: isolate; color: var(--white); background: var(--navy); display: grid; align-items: center; padding: 160px 0 90px; }
.hero:before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 73% 24%, rgba(234,0,27,.82), transparent 24%), radial-gradient(circle at 20% 90%, rgba(93,108,223,.2), transparent 30%); }
.grid-noise { position: absolute; inset: 0; z-index: -1; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent); }
.hero-copy { width: min(705px, 100%); position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: #ffb4bc; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow:before { content: ""; width: 25px; height: 2px; background: var(--red-bright); }
.hero h1 { margin: 0; max-width: 780px; font-family: var(--display); font-size: clamp(3.2rem, 8vw, 7.4rem); line-height: .91; letter-spacing: -.075em; }
.hero h1 em { color: var(--red-bright); font-style: normal; }
.hero-text { max-width: 555px; margin: 28px 0 34px; font-size: clamp(1rem, 1.7vw, 1.22rem); line-height: 1.65; color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-3px); }
.button--red { color: var(--white); background: var(--red); box-shadow: 0 12px 28px rgba(234,0,27,.28); }
.button--ghost { border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.hero-orbit { position: absolute; right: clamp(-90px, 4vw, 55px); top: 50%; width: min(46vw, 550px); aspect-ratio: 1; transform: translateY(-43%); pointer-events: none; }
.orbit-ring, .orbit-dot, .band { position: absolute; }
.orbit-ring { border: 1px solid rgba(255,255,255,.23); border-radius: 50%; inset: 8%; animation: spin 24s linear infinite; }
.orbit-ring:before, .orbit-ring:after { content: ""; position: absolute; width: 12px; aspect-ratio: 1; background: var(--red-bright); border-radius: 50%; }
.orbit-ring:before { top: 8%; left: 12%; }.orbit-ring:after { bottom: 3%; right: 26%; background: var(--white); }
.orbit-ring--two { inset: 21%; animation-direction: reverse; animation-duration: 17s; }
.orbit-dot { width: 90px; aspect-ratio: 1; background: var(--red); border-radius: 50%; top: 7%; right: 15%; box-shadow: 0 0 80px rgba(234,0,27,.45); animation: float 6s ease-in-out infinite; }
.band { width: 78%; height: 18%; border-radius: 999px; background: linear-gradient(110deg, var(--red), #ff4055); transform: rotate(-45deg); left: 3%; top: 42%; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.band--two { width: 54%; height: 12%; left: 39%; top: 59%; opacity: .9; animation: float 7s ease-in-out -3s infinite; }
.scroll-cue { position: absolute; bottom: 34px; left: 50%; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .65; transform: translateX(-50%); }

.ticker { overflow: hidden; color: var(--white); background: var(--red); white-space: nowrap; }
.ticker-track { display: inline-flex; align-items: center; gap: 36px; min-width: max-content; padding: 15px 0; font-size: .84rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; animation: ticker 27s linear infinite; }
.ticker-dot { width: 7px; height: 7px; background: var(--white); border-radius: 50%; display: inline-block; }

.section { padding: 116px 0; position: relative; }
.section-head { display: grid; grid-template-columns: .85fr 1.15fr; align-items: end; gap: 40px; margin-bottom: 48px; }
.kicker { color: var(--red); margin: 0 0 10px; font-size: .77rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.section h2 { margin: 0; max-width: 650px; font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: .96; letter-spacing: -.065em; }
.section-intro { max-width: 550px; margin: 0; line-height: 1.7; color: #565a72; font-size: 1.08rem; }
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 28px; align-items: stretch; }
.about-panel { padding: clamp(28px, 5vw, 62px); border-radius: 30px; background: var(--navy); color: var(--white); min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; }
.about-panel p { max-width: 510px; margin: 0; font-size: clamp(1.35rem, 2.6vw, 2.2rem); line-height: 1.25; letter-spacing: -.04em; }
.about-panel strong { color: var(--red-bright); }
.about-mini { display: grid; gap: 28px; }
.stat-card, .accent-card { border-radius: 30px; padding: 32px; }
.stat-card { background: #eff0f7; display: flex; flex-direction: column; justify-content: center; }
.stat-card b { color: var(--red); font-size: 4.3rem; line-height: .8; letter-spacing: -.08em; }
.stat-card span { margin-top: 15px; max-width: 225px; font-weight: 700; line-height: 1.35; }
.accent-card { position: relative; min-height: 168px; overflow: hidden; color: var(--white); background: var(--red); }
.accent-card p { position: relative; z-index: 1; max-width: 290px; margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.accent-card:after { content: ""; position: absolute; width: 180px; height: 180px; right: -38px; bottom: -95px; border: 28px solid rgba(255,255,255,.22); border-radius: 50%; }

.services { background: var(--mist); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { position: relative; min-height: 246px; padding: 29px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); transition: transform .3s ease, background .3s ease, color .3s ease; }
.service:hover { color: var(--white); background: var(--navy); transform: translateY(-8px); }
.service-num { color: var(--red); font-size: .76rem; font-weight: 900; letter-spacing: .1em; }
.service h3 { max-width: 235px; margin: 55px 0 10px; font-size: 1.45rem; line-height: 1.05; letter-spacing: -.04em; }
.service p { max-width: 270px; margin: 0; color: #61657b; font-size: .94rem; line-height: 1.55; transition: color .3s ease; }.service:hover p { color: rgba(255,255,255,.67); }
.service-plus { position: absolute; right: 22px; bottom: 19px; color: var(--red); font-size: 2rem; font-weight: 300; }

.systems { color: var(--white); background: var(--navy); }
.systems:before { content: ""; position: absolute; inset: 0; opacity: .27; background: radial-gradient(circle at 85% 45%, var(--red), transparent 22%); }
.systems .section-head { position: relative; }.systems .kicker { color: #ff9eaa; }.systems .section-intro { color: rgba(255,255,255,.68); }
.system-list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.15); border-radius: 25px; overflow: hidden; }
.system { padding: 34px; min-height: 216px; background: rgba(23,29,61,.86); transition: background .3s ease; }.system:hover { background: rgba(234,0,27,.72); }
.system-code { color: var(--red-bright); font-size: .82rem; font-weight: 900; letter-spacing: .14em; }.system:hover .system-code { color: var(--white); }
.system h3 { margin: 47px 0 7px; font-size: 1.45rem; letter-spacing: -.045em; }.system p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.55; font-size: .93rem; }

.contact { padding: 104px 0 0; background: var(--white); }.contact-panel { position: relative; overflow: hidden; padding: clamp(35px, 6vw, 80px); border-radius: 34px 34px 0 0; color: var(--white); background: var(--red); }
.contact-panel:after { content: ""; position: absolute; width: 640px; height: 130px; bottom: -31px; right: -130px; border: 44px solid rgba(255,255,255,.15); border-radius: 999px; transform: rotate(-43deg); }
.contact-copy { position: relative; z-index: 1; }.contact h2 { max-width: 700px; font-size: clamp(2.7rem, 6vw, 5.7rem); line-height: .91; letter-spacing: -.07em; }.contact-text { max-width: 590px; margin: 21px 0 35px; font-size: 1.1rem; line-height: 1.6; color: rgba(255,255,255,.83); }
.contact-links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }.contact-link { display: grid; gap: 5px; min-width: 205px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.38); border-radius: 15px; background: rgba(255,255,255,.11); transition: background .2s ease, transform .2s ease; }.contact-link:hover { background: var(--white); color: var(--red); transform: translateY(-3px); }.contact-link small { font-size: .69rem; letter-spacing: .09em; text-transform: uppercase; opacity: .8; }.contact-link span { font-weight: 800; }
.site-footer { padding: 26px 0 32px; color: #6a6e84; background: var(--white); font-size: .82rem; }.footer-row { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 26px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }.reveal.is-visible { opacity: 1; transform: none; }
html[dir="rtl"] body { font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif; } html[dir="rtl"] .eyebrow, html[dir="rtl"] .kicker, html[dir="rtl"] .ticker-track { letter-spacing: 0; text-transform: none; } html[dir="rtl"] .hero h1, html[dir="rtl"] .section h2, html[dir="rtl"] .contact h2 { font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif; line-height: 1.22; letter-spacing: -.035em; } html[dir="rtl"] .hero-orbit { right: auto; left: clamp(-90px, 4vw, 55px); } html[dir="rtl"] .service-plus { right: auto; left: 22px; } html[dir="rtl"] .contact-panel:after { right: auto; left: -130px; transform: rotate(43deg); }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes float { 50% { transform: translateY(-18px) rotate(-45deg); } } @keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 900px) { .hero { min-height: 700px; }.hero-orbit { opacity: .45; }.section-head, .about-grid { grid-template-columns: 1fr; }.section-head { gap: 18px; }.service-grid, .system-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .wrap { width: min(100% - 30px, 1160px); }.site-header { padding: 16px 0; }.brand span, .nav-links { display: none; }.hero { min-height: 650px; padding: 135px 0 80px; }.hero-orbit { width: 430px; right: -170px; top: 60%; }.hero h1 { font-size: clamp(3.1rem, 17vw, 4.7rem); }.section { padding: 78px 0; }.service-grid, .system-list { grid-template-columns: 1fr; }.about-panel { min-height: 320px; }.contact { padding-top: 62px; }.contact-panel { margin-inline: -15px; border-radius: 24px 24px 0 0; }.footer-row { flex-direction: column; } }
