/* موقع baytnanour.com — نفس هوية التطبيق: سما ليل، نور دهبي، شبابيك بقوس */
@font-face { font-family: "Alexandria"; src: url("/fonts/Alexandria.ttf"); font-weight: 100 900; font-display: swap; }
:root { --night: #1B2160; --deep: #0E1238; --violet: #2B2A7E; --edge: #6E6FD0; --gold: #FFC83D; --amber: #E9A92E; --cream: #FFF7E6; --ink: #2A2350; --dusk: #E07E7E; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Alexandria, Tahoma, sans-serif; background: var(--deep); color: var(--cream); line-height: 1.75; }
a { color: var(--gold); }
img, svg { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* الشريط اللي فوق */
.top { position: sticky; top: 0; z-index: 10; background: rgba(14, 18, 56, .82); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(110, 111, 208, .25); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.top .brand { font-size: 40px; text-decoration: none; }
.top nav a { color: var(--cream); text-decoration: none; margin-right: 22px; font-size: 15px; opacity: .85; }
.top nav a:hover { opacity: 1; color: var(--gold); }
@media (max-width: 720px) { .top nav { display: none; } }

/* البداية */
.hero { position: relative; overflow: hidden; padding: 70px 0 120px; text-align: center;
  background: linear-gradient(180deg, #0E1238 0%, #1B2160 38%, #3B2F86 62%, #9A5B98 82%, #E07E7E 100%); }
.hero .stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cream); opacity: .5; animation: tw 3.4s ease-in-out infinite; }
@keyframes tw { 50% { opacity: 1; } }
.hero .logo { font-size: clamp(110px, 18vw, 210px); }
.hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; margin: 18px 0 8px; line-height: 1.3; }
.hero h1 b { color: var(--gold); }
.hero p.lead { max-width: 720px; margin: 0 auto; font-size: clamp(16px, 2.2vw, 20px); opacity: .92; }
.badges { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: rgba(14, 18, 56, .55); border: 1px solid rgba(255, 247, 230, .25); font-size: 14px; }
.badge small { color: var(--gold); font-weight: 700; }
.street { position: absolute; left: 0; right: 0; bottom: -2px; height: 90px;
  background: radial-gradient(circle at 10% 100%, #2A2350 0 60px, transparent 61px), radial-gradient(circle at 30% 100%, #2A2350 0 80px, transparent 81px),
    radial-gradient(circle at 52% 100%, #2A2350 0 70px, transparent 71px), radial-gradient(circle at 74% 100%, #2A2350 0 90px, transparent 91px), radial-gradient(circle at 93% 100%, #2A2350 0 64px, transparent 65px); }

/* الأقسام */
section { padding: 72px 0; }
section.alt { background: #151A4D; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; margin: 0 0 10px; text-align: center; }
h2 + .sub { text-align: center; max-width: 680px; margin: 0 auto 36px; opacity: .85; }
.rooms { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.room { flex: 1 1 190px; max-width: 210px; text-align: center; }
.room .arch { height: 200px; border-radius: 100px 100px 18px 18px; background: #2A2350; border: 4px solid var(--c, var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 64px; transition: transform .25s; }
.room:hover .arch { transform: translateY(-6px); }
.room h3 { margin: 12px 0 4px; font-size: 20px; }
.room p { margin: 0; font-size: 14px; opacity: .8; }
.split { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.split > * { flex: 1 1 320px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 14px 64px 14px 0; border-bottom: 1px solid rgba(110, 111, 208, .25); }
.steps li:before { content: counter(s); position: absolute; right: 0; top: 12px; width: 44px; height: 44px; border-radius: 22px 22px 8px 8px; background: var(--gold); color: var(--ink); font-weight: 900; display: flex; align-items: center; justify-content: center; }
.card { background: rgba(43, 42, 126, .55); border: 1px solid rgba(110, 111, 208, .45); border-radius: 22px; padding: 24px; }
.houses { display: flex; gap: 10px; align-items: flex-end; justify-content: center; padding: 24px 0 0; }
.houses i { display: block; width: 46px; border-radius: 6px 6px 0 0; background: #D9A97E; position: relative; }
.houses i:after { content: ""; position: absolute; left: 50%; top: 18px; width: 18px; height: 26px; margin-left: -9px; border-radius: 9px 9px 2px 2px; background: #2C2560; }
.houses i.lit:after { background: #FFC864; box-shadow: 0 0 18px #FFC864; }
.grid3 { display: flex; flex-wrap: wrap; gap: 16px; }
.grid3 .card { flex: 1 1 280px; }
.card h3 { margin: 0 0 6px; color: var(--gold); font-size: 19px; }
.card p { margin: 0; opacity: .88; }
details { background: rgba(43, 42, 126, .45); border: 1px solid rgba(110, 111, 208, .4); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; opacity: .88; }
.cta { text-align: center; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 16px; background: var(--gold); color: var(--ink); font-weight: 900; text-decoration: none; }

/* الصفحات النصية (الخصوصية والشروط) */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 16px 80px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; color: var(--gold); }
.doc h2 { text-align: right; font-size: 22px; margin: 34px 0 8px; }
.doc .meta { opacity: .7; font-size: 14px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.doc td, .doc th { border: 1px solid rgba(110, 111, 208, .45); padding: 8px 10px; vertical-align: top; text-align: right; }
.doc .note { background: rgba(255, 200, 61, .12); border: 1px solid rgba(255, 200, 61, .4); border-radius: 12px; padding: 12px 16px; }

footer { padding: 36px 0 48px; border-top: 1px solid rgba(110, 111, 208, .25); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
footer a { color: var(--cream); opacity: .8; margin-left: 18px; text-decoration: none; }
footer .logo-s { font-size: 34px; }
