/* Luxurious coming-soon styles (RTL-friendly) */
:root{
  --bg:#06070b;
  --panel:#0e1622;
  --text:#e6eef8;
  --muted:#9fb0c2; /* slightly brighter for small text */
  --accent:#d19a66;
  --accent-2:#b08bff;
  --glass: rgba(255,255,255,0.02);
  --radius:14px;
  --card-shadow: 0 10px 30px rgba(2,6,23,0.55);
  color-scheme: dark;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:Inter, "Segoe UI", Tahoma, sans-serif;background:linear-gradient(180deg,var(--bg),#070912);color:var(--text);-webkit-font-smoothing:antialiased}
.page{min-height:100vh;display:flex;flex-direction:column;align-items:stretch}
.top{padding:20px 28px}
.brand{display:flex;gap:14px;align-items:center}
.logo{width:56px;height:56px;object-fit:contain}
.brand-text h1{margin:0;font-size:18px;letter-spacing:0.4px}
.brand-text .sub{margin:0;font-size:13px;color:var(--muted)}

.hero{max-width:1080px;margin:20px auto;padding:40px;border-radius:18px;background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.006));box-shadow:var(--card-shadow);}
.big{font-size:36px;margin:0 0 12px 0;color:var(--text);line-height:1.08}
.lead{margin:0 0 18px 0;color:var(--muted);line-height:1.75;font-size:16px}

.cta-row{display:flex;flex-direction:column;gap:14px;margin:20px 0}
.notify-form{display:flex;gap:12px}
.notify-form input{flex:1;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:inherit;outline:none}
.btn{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#08101b;border:none;padding:12px 18px;border-radius:12px;font-weight:700;cursor:pointer;transition:transform .14s ease, box-shadow .14s ease}
.btn:focus{outline:3px solid rgba(176,139,255,0.12);outline-offset:2px}
.btn:hover{transform:translateY(-3px);box-shadow:0 8px 30px rgba(176,139,255,0.08)}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--muted);}
.notify-msg{margin-top:6px;color:var(--muted);font-size:14px}
.notify-msg.error{color:#ff7b7b}

.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:24px}
.feature{background:linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.008));padding:18px;border-radius:14px;border:1px solid rgba(255,255,255,0.03);box-shadow:0 6px 18px rgba(2,6,23,0.45);transition:transform .18s ease, box-shadow .18s ease}
.feature:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(2,6,23,0.55)}
.feature h3{margin:0 0 8px 0;font-size:18px;color:var(--text)}
.feature p{margin:0;color:var(--muted);font-size:14px}

.details{max-width:980px;margin:18px auto;padding:22px;color:var(--muted)}
.details h4{margin:0 0 8px 0;color:var(--text)}
.details ul{margin:8px 0 0 0;padding-left:20px}
.details li{margin:6px 0}

.foot{max-width:980px;margin:18px auto;padding:18px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}

.foot-links{display:flex;gap:18px;align-items:center}
.foot-links a{color:var(--muted);text-decoration:none;margin:0}

/* Back link visual polish */
a[data-i18n="back_home"]{display:inline-flex;align-items:center;gap:8px;color:var(--muted);background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.008));padding:8px 12px;border-radius:10px;border:1px solid rgba(255,255,255,0.03);text-decoration:none;font-weight:600;font-size:14px;backdrop-filter: blur(4px)}
a[data-i18n="back_home"]:hover{color:#ffffff;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));transform:translateX(-4px)}

.visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

@media (max-width:900px){
  .hero{padding:28px;margin:14px}
  .big{font-size:26px}
  .lead{font-size:15px}
  .features{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
}

@media (max-width:520px){
  .hero{padding:18px;margin:10px}
  .big{font-size:20px;text-align:center}
  .brand-text h1{font-size:16px}
  .feature{padding:14px}
  .foot{padding:12px}
}

/* subtle animation */
.hero{transform:translateY(0);animation:fadeUp .9s ease both}
@keyframes fadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

/* Countdown styles (LTR block inside RTL page) */
.countdown{display:flex;gap:12px;justify-content:center;margin-top:18px}
.count-item{background:linear-gradient(180deg,#0e1520, #081019);padding:14px 18px;border-radius:12px;min-width:96px;text-align:center;border:1px solid rgba(255,255,255,0.03)}
.count-item .num{font-size:20px;font-weight:800;color:var(--accent-2)}
.count-item .label{font-size:12px;color:var(--muted);margin-top:6px}

/* Promo banner: refined */
.promo{margin:18px auto 6px auto;max-width:920px;padding:12px 18px;border-radius:12px;background:linear-gradient(90deg, rgba(209,154,102,0.06), rgba(176,139,255,0.03));border:1px solid rgba(209,154,102,0.08);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600}
.promo small{display:block;color:var(--muted);font-weight:500;font-size:14px;margin-top:6px}

/* Language switcher */
.lang-switch{position:relative;display:inline-block}
.lang-btn{background:transparent;border:1px solid rgba(255,255,255,0.06);color:inherit;padding:8px 10px;border-radius:8px;cursor:pointer;display:flex;gap:8px;align-items:center}
.lang-menu{position:absolute;left:0;right:auto;top:calc(100% + 8px);background:linear-gradient(180deg,#0b1220,#07101a);border-radius:10px;padding:8px;box-shadow:0 8px 30px rgba(0,0,0,0.6);min-width:160px;display:none;z-index:60;transform-origin:top left}
.lang-menu.show{display:block}
.lang-item{padding:8px 10px;border-radius:8px;cursor:pointer;color:var(--muted);display:flex;align-items:center;gap:8px;justify-content:flex-start}
.lang-item:hover{background:rgba(255,255,255,0.02);color:#fff}
.lang-flag{width:18px;height:12px;object-fit:cover;border-radius:2;margin-left:8px}

/* Orientation helpers: .rtl for Arabic (menu opens to the right), .ltr for English/German (menu opens to the left) */
.lang-menu.rtl{left:0;right:auto;transform-origin:top left;direction:rtl}
.lang-menu.ltr{right:0;left:auto;transform-origin:top right;direction:ltr}

/* Adjust item layout per orientation */
.lang-menu.ltr .lang-item{direction:ltr;text-align:left;justify-content:flex-start}
.lang-menu.ltr .lang-flag{margin-left:0;margin-right:8px}
.lang-menu.rtl .lang-item{direction:rtl;text-align:right;justify-content:flex-start}
.lang-menu.rtl .lang-flag{margin-right:0;margin-left:8px}

/* adjust header brand spacing to fit language button */
.top{display:flex;justify-content:space-between;align-items:center}
.brand{display:flex;gap:16px;align-items:center}
.brand-right{display:flex;gap:12px;align-items:center}
