:root {
    --navy: #0e284a;
    --white: #fff;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--navy);
    color: var(--white);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.skip-link {
    position: fixed;
    z-index: 10;
    top: -100px;
    right: 16px;
    padding: 10px 14px;
    background: var(--navy);
    color: var(--white);
}
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.form-page { min-height: 100svh; overflow-x: clip; background: var(--navy); }
.form-hero { position: relative; height: min(72svh, 760px); min-height: 470px; overflow: hidden; isolation: isolate; }
.form-hero .slideshow { z-index: -2; }
.form-hero .image-shade { background: linear-gradient(180deg, rgba(14, 40, 74, .23) 0%, rgba(14, 40, 74, .11) 44%, rgba(14, 40, 74, .53) 100%); }
.hero-brand { position: absolute; top: 23px; right: clamp(20px, 4vw, 64px); z-index: 2; }
.hero-actions { position: absolute; bottom: 33px; left: 50%; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 11px; }
.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 192px;
    min-height: 47px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 5px;
    padding: 7px 13px 7px 17px;
    background: rgba(14, 40, 74, .52);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    animation: cta-glow 2.8s ease-in-out infinite;
}
.hero-cta-arrow { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; }
.hero-cta-arrow svg { display: block; }
.hero-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .24) 50%, transparent 66%);
    transform: translateX(-160%);
    animation: cta-shine 4.2s ease-in-out infinite;
    pointer-events: none;
}
.hero-cta:hover { background: rgba(255, 255, 255, .16); }
@keyframes cta-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .08), 0 12px 28px rgba(1, 15, 36, .18); }
    50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, .16), 0 16px 36px rgba(1, 15, 36, .35); }
}
@keyframes cta-shine {
    0%, 62%, 100% { transform: translateX(-160%); }
    82% { transform: translateX(160%); }
}
.slide-indicators { display: flex; align-items: center; justify-content: center; gap: 4px; }
.slide-indicators button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; padding: 0; background: transparent; color: var(--white); cursor: pointer; }
.slide-indicators button::after { content: ''; display: block; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 20px; transition: width .2s ease, background .2s ease; }
.slide-indicators button.is-active::after { width: 18px; background: var(--white); }
.form-section { position: relative; isolation: isolate; scroll-margin-top: 0; padding: 82px 24px 96px; background: var(--navy); }
.form-section::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(14, 40, 74, .91), rgba(14, 40, 74, .95)), url('noor-aerial.jpg') center/cover; }
.form-section .contact-form { width: min(100%, 740px); margin: 0 auto; }

.landing {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
}
.slideshow, .slide, .image-shade { position: absolute; inset: 0; }
.slideshow { z-index: -2; }
.slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 1.4s ease, transform 7.5s linear;
}
.slide:nth-child(1) { background-image: url('noor-gateway.jpg'); }
.slide:nth-child(2) { background-image: url('noor-villas.jpg'); }
.slide:nth-child(3) { background-image: url('noor-residences.jpg'); }
.slide.is-active { opacity: 1; transform: scale(1); }
.image-shade { z-index: -1; background: rgba(14, 40, 74, .66); }

.landing-inner {
    width: min(100% - 112px, 1360px);
    min-height: 100svh;
    margin-inline: auto;
    padding-block: 26px 42px;
    display: flex;
    flex-direction: column;
}
.brand-header { display: flex; justify-content: flex-start; }
.brand-header img {
    display: block;
    width: 155px;
    height: 102px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.contact-form {
    align-self: center;
    width: min(100%, 600px);
    margin-block: auto;
    color: var(--white);
}
.contact-form h1 {
    margin: 0 0 26px;
    text-align: center;
    font-size: clamp(30px, 2.7vw, 40px);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -.03em;
}
.fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
}
.field-wide { grid-column: 1 / -1; }
.field { margin-bottom: 20px; }
.field label {
    display: block;
    margin-bottom: 9px;
    font-size: 16px;
    font-weight: 600;
}
.field label span { color: #e5ebf2; }
.field input, .field textarea {
    display: block;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 0;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .07);
    color: var(--white);
    font-size: 16px;
    outline: none;
    transition: background .2s, border-color .2s;
}
.field input { height: 56px; }
.field textarea { min-height: 150px; max-height: 300px; resize: vertical; }
.field input:focus, .field textarea:focus {
    border-color: var(--white);
    background: rgba(255, 255, 255, .13);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .78); }
.field input[dir="ltr"] { text-align: right; }
.field [aria-invalid="true"] { border-color: #ffccca; }
.field-error {
    display: block;
    margin-top: 8px;
    color: #ffe3e1;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}
.trap-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.captcha-box { min-height: 78px; margin: 19px 0 16px; display: flex; justify-content: center; }
.captcha-error { margin: -7px 0 12px; }
.submit-btn {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 4px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(2, 17, 39, .25);
    color: var(--navy);
    font-size: 19px;
    font-weight: 700;
    text-align: center;
    transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.submit-btn:hover:not(:disabled) { background: #e8eff7; box-shadow: 0 14px 34px rgba(2, 17, 39, .34); transform: translateY(-2px); }
.submit-btn:active:not(:disabled) { transform: translateY(0); }
.submit-btn:disabled { opacity: .5; cursor: not-allowed; }
.notice {
    margin: 0 0 18px;
    border: 1px solid rgba(255, 255, 255, .8);
    padding: 10px 12px;
    background: rgba(14, 40, 74, .65);
    color: var(--white);
    font-size: 13px;
    line-height: 1.7;
}
.success-card {
    width: min(100%, 620px);
    margin: 32px auto;
    border: 1px solid rgba(255, 255, 255, .44);
    border-radius: 16px;
    padding: clamp(30px, 6vw, 56px) clamp(22px, 5vw, 50px);
    background: linear-gradient(140deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .055));
    box-shadow: 0 22px 65px rgba(2, 17, 39, .24);
    backdrop-filter: blur(10px);
    text-align: center;
    animation: success-arrive .55s ease-out both;
}
.success-icon {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    margin: 0 auto 29px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .06);
    animation: success-icon-pop .6s cubic-bezier(.2, 1.5, .45, 1) .15s both;
}
.success-icon svg { width: 66px; height: 66px; }
.success-icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: success-check-draw .65s ease-out .55s forwards; }
.success-card h2 { margin: 0 0 13px; font-size: clamp(25px, 4vw, 36px); line-height: 1.4; }
.success-card p { margin: 0; font-size: clamp(17px, 2.5vw, 21px); line-height: 1.9; }
@keyframes success-arrive {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes success-icon-pop {
    from { opacity: 0; transform: scale(.65); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes success-check-draw {
    to { stroke-dashoffset: 0; }
}

.coming-soon-content {
    width: min(100%, 760px);
    margin-block: auto;
    padding-block: 48px 96px;
}
.coming-soon-kicker {
    display: inline-block;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .72);
    padding-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .03em;
}
.coming-soon-content h1 {
    margin: 0 0 22px;
    font-size: clamp(43px, 6vw, 84px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.04em;
}
.coming-soon-content p {
    max-width: 690px;
    margin: 0;
    font-size: clamp(17px, 1.7vw, 21px);
    line-height: 2;
}
.coming-soon-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    min-width: 215px;
    margin-top: 34px;
    border: 1px solid var(--white);
    padding: 13px 18px;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.coming-soon-link span { font-size: 23px; line-height: 1; font-weight: 400; }
.coming-soon-link:hover { background: var(--white); color: var(--navy); }

@media (max-width: 760px) {
    .form-hero { height: 60svh; min-height: 410px; }
    .hero-brand { top: 18px; right: 20px; }
    .hero-brand img { width: 116px; height: 78px; }
    .hero-actions { bottom: 22px; gap: 8px; }
    .hero-cta { min-width: 184px; min-height: 45px; font-size: 14px; }
    .form-section { padding: 54px 19px 72px; }
    .form-section .contact-form { padding-top: 0; }
    .landing-inner { width: min(100% - 38px, 480px); padding-block: 18px 30px; }
    .brand-header img { width: 116px; height: 78px; }
    .contact-form { align-self: center; width: 100%; padding-top: 32px; }
    .contact-form h1 { font-size: 32px; margin-bottom: 22px; }
    .fields-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .field { margin-bottom: 16px; }
    .field input { height: 54px; }
    .coming-soon-content { padding-block: 44px 80px; }
    .coming-soon-content h1 { font-size: clamp(40px, 10vw, 58px); }
    .coming-soon-content p { font-size: 17px; line-height: 1.9; }
}
@media (max-width: 350px) {
    .landing-inner { width: calc(100% - 28px); }
    .cf-turnstile { width: min(100%, 300px); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-cta, .hero-cta::after, .success-card, .success-icon, .success-icon path { animation: none; }
    .success-icon path { stroke-dashoffset: 0; }
    .slide-indicators button::after { transition: none; }
    .slide, .field input, .field textarea, .submit-btn { transition-duration: .01ms; }
}
