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

:root{
    --black:#030303;
    --charcoal:#0A0A0A;
    --card:#11100E;
    --card2:#171512;
    --gold:#C89B3C;
    --gold2:#F2CA69;
    --text:#fff;
    --muted:#BDB7AA;
    --border:rgba(200,155,60,.35);
    --soft:rgba(200,155,60,.10);
    --shadow:0 24px 80px rgba(0,0,0,.5);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    background:var(--black);
    color:var(--text);
    font-family:"Cairo",system-ui,-apple-system,Segoe UI,sans-serif;
    direction:rtl;
    line-height:1.75;
}
body:before{
    content:"";
    position:fixed; inset:0;
    background:
      radial-gradient(circle at 72% 10%, rgba(200,155,60,.12), transparent 32%),
      radial-gradient(circle at 15% 28%, rgba(200,155,60,.08), transparent 35%);
    pointer-events:none;
    z-index:-1;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1220px,calc(100% - 48px));margin-inline:auto}
.btn{
    display:inline-flex;align-items:center;justify-content:center;gap:10px;
    min-height:48px;padding:13px 28px;border-radius:12px;
    font-weight:800;border:1px solid transparent;transition:.25s ease;
    cursor:pointer;white-space:nowrap;
}
.btn-primary{
    color:#17100A;
    background:linear-gradient(135deg,var(--gold2),var(--gold));
    box-shadow:0 14px 34px rgba(200,155,60,.22);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(200,155,60,.30)}
.btn-outline{border-color:var(--border);background:rgba(0,0,0,.25);color:#fff}
.btn-outline:hover{border-color:var(--gold);background:rgba(200,155,60,.12)}
.btn-lg{min-height:58px;min-width:210px;font-size:17px}
.btn-full{width:100%}

/* Header */
.site-header{
    position:sticky;top:0;z-index:99;
    background:rgba(0,0,0,.86);
    backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(200,155,60,.18);
}
.header-inner{height:88px;display:flex;align-items:center;gap:34px}
.header-logo{margin-left:auto}
.site-logo img,.custom-logo{width:145px;max-height:70px;object-fit:contain}
.main-nav{display:flex;align-items:center;gap:32px}
.main-nav ul{display:flex;gap:32px;list-style:none;margin:0;padding:0}
.main-nav a{font-weight:800;color:#fff;font-size:15px;opacity:.9}
.main-nav a:hover{color:var(--gold2)}
.header-actions{display:flex;align-items:center;gap:14px;margin-right:auto}
.phone-pill{
    direction:ltr;
    display:flex;align-items:center;gap:10px;
    padding:12px 16px;border:1px solid rgba(255,255,255,.14);
    border-radius:12px;background:rgba(255,255,255,.03);font-weight:800;
}
.phone-pill span{color:var(--gold)}
.mobile-menu-toggle{display:none}

/* Hero */
.hero{
    min-height:calc(100vh - 88px);
    display:flex;align-items:center;
    border-bottom:1px solid rgba(200,155,60,.22);
    overflow:hidden;
    position:relative;
}
.hero:before{
    content:"";position:absolute;inset:0;
    background:
      linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.60) 44%, #030303 84%),
      radial-gradient(circle at 72% 24%, rgba(200,155,60,.15), transparent 26%);
    pointer-events:none;
}
.hero-grid{
    position:relative;z-index:1;
    display:grid;grid-template-columns:1.05fr .95fr;
    align-items:center;gap:56px;
    padding:54px 0;
}
.hero-media{height:640px;position:relative;order:2}
.hero-image-panel{
    height:100%;border-radius:0 34px 34px 0;
    background-image:
        linear-gradient(90deg, rgba(0,0,0,.02), rgba(0,0,0,.72)),
        var(--hero-img);
    background-position:center;
    background-size:cover;
    border:1px solid rgba(200,155,60,.20);
    box-shadow:var(--shadow);
    overflow:hidden;
    position:relative;
}
.hero-image-panel:before{
    content:"";position:absolute;inset:0;
    background:linear-gradient(0deg, rgba(0,0,0,.48), transparent 42%);
}
.hero-logo-mark{
    position:absolute;right:32px;bottom:30px;
    width:175px;padding:18px;
    border:1px solid rgba(200,155,60,.35);
    background:rgba(0,0,0,.45);border-radius:18px;
    backdrop-filter:blur(8px);
}
.hero-logo-mark .site-logo img,.hero-logo-mark .custom-logo{width:100%}
.hero-content{order:1;text-align:right;max-width:650px}
.hero-badge{
    display:inline-flex;gap:10px;align-items:center;
    border:1px solid var(--border);border-radius:999px;
    color:var(--gold2);padding:10px 20px;
    background:rgba(0,0,0,.25);
    font-weight:800;margin-bottom:24px;
}
.hero-badge span{font-size:18px}
.hero h1{
    font-size:clamp(44px,5.1vw,82px);
    line-height:1.18;margin:0 0 18px;
    font-weight:900;letter-spacing:-1px;
}
.hero h1::first-line{color:#fff}
.hero h1{color:#fff}
.hero h1 br + *{color:var(--gold2)}
.hero h1 strong,.hero .gold{color:var(--gold2)}
.hero-subtitle{
    max-width:590px;color:#E2DED6;font-size:20px;margin:0 0 28px;
}
.event-box{
    display:grid;grid-template-columns:1fr 1fr;gap:18px;
    margin:30px 0 22px;max-width:620px;
}
.event-item{
    display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;
    gap:2px 14px;align-items:center;
    padding:22px;border:1px solid var(--border);
    border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
}
.event-icon{grid-row:1/3;color:var(--gold);font-size:32px;filter:grayscale(1) sepia(1)}
.event-item small{color:var(--gold2);font-size:14px;font-weight:800}
.event-item strong{font-size:24px;line-height:1.25}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0}
.hero-mini-trust{
    display:flex;gap:24px;align-items:center;flex-wrap:wrap;
    padding-top:18px;border-top:1px solid rgba(200,155,60,.18);
    color:#E7DECF;font-weight:700;
}
.hero-mini-trust span{display:flex;gap:8px;align-items:center}

/* Register */
.register-section{
    padding:84px 0;
    background:linear-gradient(180deg,rgba(200,155,60,.055),transparent);
    border-bottom:1px solid rgba(200,155,60,.14);
}
.register-grid{
    display:grid;grid-template-columns:.85fr 1.15fr;gap:34px;align-items:center;
}
.register-copy{
    border:1px solid var(--border);border-radius:22px;padding:34px;
    background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
    box-shadow:var(--shadow);
}
.section-kicker{color:var(--gold2);font-weight:900}
.register-copy h2,.form-card h3{font-size:34px;margin:8px 0 6px;color:var(--gold2)}
.register-copy p,.form-card p{color:#E4DED4;margin-top:0}
.benefit-list{list-style:none;padding:0;margin:24px 0;display:grid;gap:12px}
.benefit-list li{position:relative;padding-right:28px;color:#fff;font-weight:700}
.benefit-list li:before{content:"✓";position:absolute;right:0;color:var(--gold2)}
.phone-wide{
    display:flex;justify-content:space-between;align-items:center;gap:16px;
    padding:16px 18px;border:1px solid var(--border);
    border-radius:14px;background:rgba(0,0,0,.25);direction:rtl;
}
.phone-wide strong{direction:ltr;color:#fff}
.form-card{
    padding:34px;border-radius:24px;border:1px solid var(--border);
    background:radial-gradient(circle at 50% 0%,rgba(200,155,60,.12),transparent 44%),linear-gradient(180deg,#171512,#0B0B0B);
    box-shadow:var(--shadow);
}
.homes-form{display:grid;gap:14px;margin-top:22px}
.homes-form label{display:grid;gap:7px;color:var(--gold2);font-size:13px;font-weight:900}
.homes-form input,.homes-form select{
    width:100%;height:54px;border-radius:12px;
    border:1px solid rgba(255,255,255,.13);
    background:rgba(255,255,255,.06);
    color:#fff;padding:0 16px;font-family:inherit;font-size:15px;
}
.homes-form select option{background:#111;color:#fff}
.homes-form input:focus,.homes-form select:focus{
    outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(200,155,60,.14);
}
.secure-note{text-align:center;font-size:12px!important;color:#BDB7AA!important;margin:4px 0 0!important}

/* Stats */
.stats-strip{padding:52px 0;border-bottom:1px solid rgba(200,155,60,.14)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.stat-card{
    text-align:center;padding:24px 18px;border:1px solid var(--border);
    border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
}
.stat-icon{display:block;color:var(--gold2);font-size:26px;margin-bottom:8px}
.stat-card strong{font-size:34px;color:var(--gold2);font-weight:900;display:block}
.stat-card p{margin:0;color:#fff;font-weight:800}

/* Sections */
.why-section,.developers-section,.projects-section,.event-details{padding:82px 0;border-bottom:1px solid rgba(200,155,60,.12)}
.section-head{text-align:center;margin-bottom:42px}
.section-head h2{font-size:40px;line-height:1.25;margin:0 0 10px}
.section-head h2:before,.section-head h2:after{content:"";display:inline-block;width:54px;height:1px;background:var(--gold);vertical-align:middle;margin:0 18px}
.section-head h2{color:#fff}
.section-head h2:first-letter{color:var(--gold2)}
.section-head p{color:#BFB7AA;margin:0;font-size:17px}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.why-card{
    padding:38px 30px;text-align:center;border:1px solid var(--border);
    border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
    transition:.25s ease;
}
.why-card:hover,.developer-card:hover,.project-card:hover{transform:translateY(-4px);border-color:rgba(242,202,105,.72)}
.why-icon{
    width:70px;height:70px;display:grid;place-items:center;margin:0 auto 20px;
    border:1px solid var(--border);border-radius:18px;color:var(--gold2);font-size:34px;
    filter:grayscale(1) sepia(1);
}
.why-card h3{font-size:23px;margin:0 0 10px;color:var(--gold2)}
.why-card p{color:#D5CEC1;margin:0}

.developer-grid,.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.developer-card,.project-card{
    overflow:hidden;border-radius:20px;border:1px solid var(--border);
    background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
    transition:.25s ease;
}
.developer-img,.project-img{height:220px;background-size:cover;background-position:center;position:relative}
.developer-img:after,.project-img:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0A0A0A,transparent 58%)}
.developer-body,.project-body{padding:22px;text-align:center}
.developer-logo{max-width:140px;max-height:64px;object-fit:contain;margin:-54px auto 12px;position:relative;z-index:2;background:#0A0A0A;border-radius:12px;padding:10px;border:1px solid rgba(255,255,255,.12)}
.demo-logo{font-size:30px;font-weight:900;color:#fff;margin:-45px auto 12px;position:relative;z-index:2}
.developer-body h3,.project-body h3{margin:0 0 8px;font-size:21px}
.developer-body p,.project-body p{color:#BFB7AA;margin:0 0 16px}
.project-meta{display:flex;justify-content:center;gap:14px;color:var(--gold2);font-weight:800;margin:14px 0}

/* Developer CTA */
.developer-cta{padding:70px 0;border-bottom:1px solid rgba(200,155,60,.14)}
.developer-cta-card{
    display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:26px;
    padding:34px;border:1px solid var(--border);border-radius:22px;
    background:
      radial-gradient(circle at 0% 50%,rgba(200,155,60,.22),transparent 22%),
      linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
}
.developer-cta-icon{width:82px;height:82px;border-radius:50%;border:1px solid var(--border);display:grid;place-items:center;font-size:38px;filter:grayscale(1) sepia(1)}
.developer-cta-card h2{margin:0 0 6px;color:var(--gold2);font-size:32px}
.developer-cta-card p{margin:0;color:#E0D8CB}
.developer-cta-actions{display:flex;gap:12px}

/* Details / Final */
.details-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.detail-card{
    text-align:center;padding:28px;border:1px solid var(--border);border-radius:18px;
    background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
}
.detail-card span{font-size:26px;color:var(--gold2);filter:grayscale(1) sepia(1)}
.detail-card small{display:block;color:var(--gold2);font-weight:900;margin:8px 0}
.detail-card strong,.detail-card a{font-size:20px;font-weight:900}
.final-cta{padding:70px 0}
.final-cta-card{
    display:flex;justify-content:space-between;align-items:center;gap:24px;
    padding:34px;border:1px solid var(--border);border-radius:22px;
    background:linear-gradient(135deg,rgba(200,155,60,.18),rgba(255,255,255,.03));
}
.final-cta h2{margin:0 0 6px;color:var(--gold2);font-size:32px}
.final-cta p{margin:0;color:#E0D8CB}
.final-actions{display:flex;gap:12px}

/* Footer */
.site-footer{border-top:1px solid rgba(200,155,60,.16);padding:54px 0 18px;background:#020202}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:60px}
.footer-brand img{width:130px}
.footer-brand p{color:#BFB7AA;max-width:360px}
.site-footer h4{color:var(--gold2);margin:0 0 16px}
.site-footer a{display:block;color:#D8D0C1;margin:8px 0}
.site-footer p{color:#D8D0C1;margin:8px 0}
.copyright{text-align:center;color:#777;border-top:1px solid rgba(255,255,255,.06);margin-top:36px;padding-top:18px;font-size:13px}

/* Popup */
.lead-popup{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:22px}
.lead-popup.is-open{display:flex}
.lead-popup-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(8px)}
.lead-popup-card{
    position:relative;width:min(520px,100%);padding:32px;border-radius:24px;
    border:1px solid var(--border);
    background:radial-gradient(circle at 50% 0%,rgba(200,155,60,.18),transparent 42%),linear-gradient(180deg,#171512,#070707);
    box-shadow:0 35px 90px rgba(0,0,0,.65);
}
.popup-close{position:absolute;left:18px;top:14px;background:transparent;border:0;color:#fff;font-size:34px;cursor:pointer}
.popup-badge{display:inline-flex;color:var(--gold2);border:1px solid var(--border);border-radius:999px;padding:6px 14px;font-weight:900}
.lead-popup-card h3{font-size:32px;margin:14px 0 6px;color:var(--gold2)}
.lead-popup-card p{color:#E0D8CB;margin:0}

/* Thank You */
.thank-page{min-height:70vh}
.thank-hero{padding:100px 0;background:radial-gradient(circle at 50% 10%,rgba(200,155,60,.14),transparent 45%)}
.thank-card{text-align:center;max-width:780px;margin:auto;border:1px solid var(--border);border-radius:24px;padding:50px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02))}
.checkmark{width:100px;height:100px;border-radius:50%;margin:0 auto 24px;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold2),var(--gold));color:#111;font-size:58px;font-weight:900}
.thank-card h1{font-size:46px;margin:0}
.thank-card h2{color:var(--gold2);margin:8px 0 14px}
.thank-event{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin:24px 0}
.thank-event span{border:1px solid var(--border);border-radius:14px;padding:12px 20px}
.thank-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}

/* Sticky mobile */
.mobile-sticky{display:none}

/* Responsive */
@media (max-width: 1100px){
    .main-nav{display:none}
    .mobile-menu-toggle{display:block;background:rgba(255,255,255,.05);border:1px solid var(--border);color:#fff;border-radius:10px;width:44px;height:44px}
    .hero-grid{grid-template-columns:1fr;gap:28px}
    .hero-media{height:420px;order:1}
    .hero-content{order:2;max-width:100%;text-align:center;margin:auto}
    .event-box{margin-inline:auto}
    .hero-actions,.hero-mini-trust{justify-content:center}
    .register-grid,.developer-cta-card{grid-template-columns:1fr}
    .developer-cta-actions{justify-content:flex-start}
}
@media (max-width: 820px){
    .container{width:min(100% - 32px,1220px)}
    .header-inner{height:72px;gap:12px}
    .site-logo img,.custom-logo{width:110px}
    .phone-pill{display:none}
    .header-cta{min-height:42px;padding:10px 14px;font-size:13px}
    .hero{min-height:auto}
    .hero-grid{padding:24px 0 36px}
    .hero-media{height:330px}
    .hero-image-panel{border-radius:22px}
    .hero-logo-mark{width:120px;right:18px;bottom:18px;padding:12px}
    .hero h1{font-size:38px}
    .hero-subtitle{font-size:16px}
    .event-box{grid-template-columns:1fr;gap:12px}
    .event-item{padding:16px}
    .event-item strong{font-size:20px}
    .hero-actions .btn{width:100%}
    .hero-mini-trust{font-size:13px;gap:12px}
    .register-section,.why-section,.developers-section,.projects-section,.event-details{padding:54px 0}
    .register-copy,.form-card{padding:24px}
    .stats-grid,.why-grid,.developer-grid,.project-grid,.details-grid{grid-template-columns:1fr}
    .section-head h2{font-size:28px}
    .section-head h2:before,.section-head h2:after{display:none}
    .footer-grid{grid-template-columns:1fr;gap:26px}
    .final-cta-card{display:grid}
    .final-actions{display:grid}
    .mobile-sticky{
        position:fixed;left:12px;right:12px;bottom:12px;z-index:90;
        display:grid;grid-template-columns:1fr 1fr;gap:10px;
        padding:10px;background:rgba(0,0,0,.78);backdrop-filter:blur(12px);
        border:1px solid var(--border);border-radius:18px;
    }
    body{padding-bottom:84px}
}
@media (max-width:520px){
    .header-actions{margin-right:0}
    .hero h1{font-size:32px}
    .btn-lg{min-width:0}
    .developer-img,.project-img{height:190px}
}
