/* ==========================================================================
   UAE App Developers — Glassmorphism Hero
   ========================================================================== */

:root {
  --accent: #38E1FF;
  --accent-2: #4D7CFE;
  --accent-glow: rgba(56, 225, 255, 0.30);
  --bg: #05080F;
  --text: #EAF2FF;
  --text-dim: rgba(234, 242, 255, 0.78);
  --ink: #041019;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
}


/* ---------- keyframes ---------- */

@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes caretBlink {
  0%, 45%   { opacity: 1; }
  55%, 100% { opacity: 0; }
}

@keyframes btnShimmer {
  0%        { left: -60%; }
  60%, 100% { left: 130%; }
}

@property --grad-r {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotatingGradient {
  to { --grad-r: 360deg; }
}

/* ---------- hero shell ---------- */

.hero {
  height: 100vh;
  min-height: 580px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg);padding-top: 90px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(1.06) saturate(1.08);
}

/* opacity on the left side only, so text stays readable */
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(4, 9, 20, 0.90) 0%,
    rgba(4, 9, 20, 0.78) 30%,
    rgba(4, 9, 20, 0.40) 55%,
    rgba(4, 9, 20, 0.00) 72%,
    rgba(4, 9, 20, 0.00) 100%);
}

.hero__container {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.hero__grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 408px);
  gap: clamp(36px, 4.5vw, 80px);
  align-items: center;
}

/* ---------- liquid glass surfaces ---------- */

.glass-pill {
  position: relative;
  overflow: hidden;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px) saturate(190%);
  -webkit-backdrop-filter: blur(12px) saturate(190%);
  box-shadow:
    inset 1.5px 1.5px 0.5px -1px rgba(255, 255, 255, 0.70),
    inset -1.5px -1.5px 0.5px -1px rgba(255, 255, 255, 0.35),
    inset 0 0 28px -4px rgba(255, 255, 255, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.35);
}
.hero .iti input{padding-left: 100px !important;}
.glass-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(115deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.02) 28%,
    rgba(255, 255, 255, 0.00) 55%,
    rgba(255, 255, 255, 0.10) 100%);
  pointer-events: none;
}

.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px) saturate(190%);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
  box-shadow:
    inset 2px 2px 1px -1.5px rgba(255, 255, 255, 0.70),
    inset -2px -2px 1px -1.5px rgba(255, 255, 255, 0.35),
    inset 0 0 36px -6px rgba(255, 255, 255, 0.16),
    0 24px 70px rgba(0, 0, 0, 0.45);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.03) 30%,
    rgba(255, 255, 255, 0.00) 60%,
    rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
}

/* ---------- buttons ---------- */

.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--accent {
  background: var(--accent);
  box-shadow: 0 4px 22px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--accent:hover {
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--gradient {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 135%);
  box-shadow: 0 8px 34px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn--gradient:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 42px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* moving light streak */
.btn--shimmer {
  position: relative;
  overflow: hidden;
}

.btn--shimmer::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -60%;
  width: 36%;
  height: 140%;
  background: linear-gradient(105deg,
    rgba(255, 255, 255, 0.00) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.00) 100%);
  transform: skewX(-18deg);
  animation: btnShimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}


.hero .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2.8vh, 30px);
  min-width: 0;padding-top: 0;
}

/* eyebrow with rotating gradient border */
.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 19px 9px 14px;
  border-radius: 100px;
  background: conic-gradient(from var(--grad-r),
    transparent 0deg,
    var(--accent) 60deg,
    rgba(77, 124, 254, 0.9) 110deg,
    transparent 180deg,
    transparent 360deg);
  animation: rotatingGradient 3.5s linear infinite;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.7px;
  color: rgba(234, 242, 255, 0.92);
}

.eyebrow::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  border-radius: 100px;
  background: rgba(9, 15, 29, 0.82);
  backdrop-filter: blur(12px) saturate(190%);
  -webkit-backdrop-filter: blur(12px) saturate(190%);
  z-index: 1;
}

.eyebrow__dot {
  position: relative;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.eyebrow__text {
  position: relative;
  z-index: 2;
}

.eyebrow__text strong {
  color: var(--accent);
  font-weight: 700;
}

/* headline */
.content__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(27px, 2.9vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #FFFFFF;
  text-wrap: balance;
  overflow-wrap: break-word;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.content__title-shimmer {
  background: linear-gradient(110deg, var(--accent) 25%, #FFFFFF 50%, var(--accent) 75%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}

.content__title-underline {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

/* paragraph */
.content__desc {
    margin: 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 300;
    color: var(--text-dim);
    text-wrap: pretty;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.hero input:hover,.hero input:focus,.hero textarea:hover, .hero textarea:focus, .hero input:hover, .hero input:focus,.hero select:hover,.hero select:focus{border: 0  !important;}
/* ---------- idea bar (typewriter input) ---------- */

.idea-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  padding: 7px 7px 7px 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px) saturate(190%);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
  box-shadow:
    inset 1.5px 1.5px 0.5px -1px rgba(255, 255, 255, 0.65),
    inset -1.5px -1.5px 0.5px -1px rgba(255, 255, 255, 0.30),
    inset 0 0 24px -4px rgba(255, 255, 255, 0.14),
    0 10px 34px rgba(0, 0, 0, 0.35);
}

.idea-bar__field {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.idea-bar__field input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;height: auto;border-radius: 0;
}

.idea-bar__ghost {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.idea-bar__ghost.is-hidden { display: none; }

.idea-bar__caret {
  display: inline-block;
  width: 2px;
  height: 16px;
  margin-left: 3px;
  vertical-align: middle;
  background: var(--accent);
  animation: caretBlink 1s step-end infinite;
}

.idea-bar__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 140%);
  box-shadow: 0 6px 22px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.idea-bar__arrow:hover {
  transform: translateX(2px);
  box-shadow: 0 8px 28px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ---------- main CTA ---------- */

.hero .cta-main {
  margin-top: clamp(2px, 0.6vh, 6px);
  padding: 12px 20px;
  font-size: 15px;
}

/* ---------- stats line ---------- */

.hero_stats {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 100%;
    flex-wrap: nowrap;
}

.stats__item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;margin: 0;
}

.stats__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;min-width: 18px;
  border-radius: 50%;
  background: rgba(56, 225, 255, 0.13);
  border: 1px solid rgba(56, 225, 255, 0.35);
  color: var(--accent);
  flex-shrink: 0;
}

.stats__text {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-dim);
}

.stats__text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: #FFFFFF;
}

/* ---------- form card ---------- */

.hero .side { position: relative; }

.hero .form-card {
  padding: clamp(16px, 2.4vh, 24px) 24px;
}

.form-card__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: #FFFFFF;
}

.form-card__subtitle {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(234, 242, 255, 0.62);
}

.hero .form {
  display: flex;
  flex-direction: column;
}

/* fields with floating labels */
.hero .form_control { position: relative;margin-bottom:9px;}
.hero .form_btn {
    margin-top: 0;
}
.hero .form_btn .btn[type=submit] {
    width: 100%;
    background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 135%);
    box-shadow: 0 8px 34px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    border-radius: 30px;
    color: #000;
    font-size: 15px;height: 45px;min-height: 45px;
    font-weight: 600;
}

.hero .form_control input,
.hero .form_control textarea {
  width: 100%;
  padding: 11px 15px;
  border-radius: 13px;
  background: rgba(6, 12, 26, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
  display: block;height: 43px;
}

.hero .form_control textarea { resize: vertical; height: 60px;}

.hero .form_control input:focus,
.hero .form_control textarea:focus {
  outline: none;
  border-color: rgba(56, 225, 255, 0.6);
}

/* label: resting state (placeholder position) */
.hero .form_control label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  white-space: nowrap;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(234, 242, 255, 0.55);
  transition: all 0.22s ease;margin: 0;
}

.hero .form_control--area label {
  top: 13px;
  transform: none;
}
.hero .form_control:has(.iti) label {
    left: 110px;
}
.hero .iti--separate-dial-code .iti__selected-dial-code {
    color: rgba(234, 242, 255, 0.9);
}
.hero .iti__arrow{
  border-top: 4px solid rgba(234, 242, 255, 0.9);
}
.hero .iti__selected-flag{
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
#project_idea_preview {
    margin: 0 0 20px;
    padding: 10px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-weight: 600;
    color: #000;
    font-size: 14px;
}
/* label: active state — slides to the top-right corner */
.hero .form_control.is-active label,
.hero .form_control__phone-wrap.is-active label {
  top: 5px;
  right: 13px;
  left: auto;
  transform: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: rgba(127, 233, 255, 0.95);
}

/* phone field */
.hero .form_control--phone {
  display: flex;
  align-items: stretch;
  border-radius: 13px;
  background: rgba(6, 12, 26, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero .form_control__prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px 0 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(234, 242, 255, 0.9);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero .form_control__phone-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
}

.hero .form_control__phone-wrap input {
  flex: 1;
  min-width: 0;
  width: auto;
  padding: 11px 15px;
  border-radius: 0 13px 13px 0;
  background: transparent;
  border: none;
}

.hero .form_control__phone-wrap input:focus { border: none; }

.form__submit {
  width: 100%;
  padding: 12px;
  font-size: 14.5px;
}

/* trust line */
.form-card__trust {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 11px;
  color: var(--accent);
}

.form-card__trust svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.form-card__trust p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(234, 242, 255, 0.7);
}

.form-card__trust p span {
  color: rgba(234, 242, 255, 0.85);
}

/* ---------- awards ---------- */

.hero_awards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-top: clamp(10px, 1.8vh, 18px);
}

.awards__label {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: rgba(234, 242, 255, 0.8);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.awards__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.eyebrowmbl{display: none;}
.awards__row img {
  height: clamp(36px, 5vh, 46px);
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65)) brightness(1.08);
}

/* ---------- responsive ---------- */
@media (min-width:1200px) and (max-width:1400px) {
.hero_stats{margin-top: 20px;}
}

@media (max-width: 1200px) {
  .hero { height: auto; min-height: 100vh;padding-top: 110px; }
.hero .content{gap: 15px;}
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 24px;
  }
  .hero_stats { flex-wrap: wrap; }
  .header__nav { display: none; }
  .hero .cta-main{font-size: 14px;}
}

@media (max-width: 640px) {
  .eyebrow{display: none;}
  .eyebrowmbl{display: flex;width: 90%;
    max-width: 1170px;
    margin: 0 auto;justify-content: center;}
  .header__phone { display: none; }
  .content__title { font-size: 25px; }
  .hero_stats { justify-content: flex-start; gap: 10px;}
  .glass-card::before,.hero .form-card{border-radius: 14px;}
  .hero .form-card{padding: 15px;}
.content__desc{font-size: 14px;}
.hero__bg{position: unset;filter: unset;margin: 20px 0;}
.hero__scrim{display: none;}
}
