:root {
  color-scheme: light;
  --green: #12372a;
  --green2: #1c4a38;
  --green3: #285c45;
  --gold: #d6b66b;
  --gold-light: #f4df9d;
  --cream: #f7f6f0;
  --ink: #172820;
  --muted: #66756c;
  --line: #e5e8df;
  --white: #ffffff;
  --shadow: 0 15px 40px rgba(18, 55, 42, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at top left, #e9eee4 0, transparent 42%),
    var(--cream);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* HEADER */

.welcome-header {
  max-width: 1240px;
  margin: auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--green);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--green2), #09251a);
  color: var(--gold-light);
  font-size: 27px;
  font-weight: 700;
  box-shadow: 0 6px 16px #12372a20;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}

.brand small {
  font-size: 0.76rem;
  color: var(--muted);
}

.skip-link,
.text-link {
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}

.skip-link {
  font-size: 0.9rem;
  padding: 9px 14px;
  border: 1px solid #dce3d8;
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s;
}

.skip-link:hover {
  background: #eaf0e7;
  border-color: #c6d4c5;
}

/* HERO */

.welcome-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  max-width: 1240px;
  margin: 16px auto 0;
  padding: clamp(42px, 7vw, 90px) clamp(28px, 6vw, 78px);
  min-height: 500px;
  border: 1px solid #d6b66b26;
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 18%, #d6b66b14, transparent 30%),
    linear-gradient(135deg, #174633 0%, #12372a 46%, #09271c 100%);
  color: var(--white);
  box-shadow: 0 24px 65px #12372a20;
}

.welcome-hero::before,
.welcome-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid #d6b66b28;
  border-radius: 50%;
}

.welcome-hero::before {
  right: -135px;
  top: -180px;
  width: 450px;
  height: 450px;
}

.welcome-hero::after {
  right: -75px;
  bottom: -300px;
  width: 560px;
  height: 560px;
  border-color: #d6b66b20;
}

.hero-content {
  max-width: 660px;
  animation: heroAppear 0.8s ease both;
}

.bismillah {
  margin: 0 0 23px;
  color: var(--gold-light);
  font-family: "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.9;
}

.eyebrow {
  font-size: 0.73rem;
  letter-spacing: 0.17em;
  font-weight: 800;
  color: #c9ad66;
  margin: 0 0 14px;
}

.welcome-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 0 0 24px;
}

.welcome-hero h1 span {
  color: var(--gold-light);
}

.hero-copy {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.9;
  max-width: 570px;
  color: #e0e9e2;
  margin: 0 0 30px;
}

/* MAIN BUTTON */

.continue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 100%;
  padding: 16px 25px;
  border: 1px solid #f8e6ae;
  border-radius: 15px;
  background: linear-gradient(135deg, #f4df9d, #d6b66b);
  color: #14291e;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 10px 28px #00000020;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.continue-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 32px #00000030;
  filter: brightness(1.04);
}

.continue-button:active {
  transform: translateY(0);
}

.continue-button span {
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.continue-button:hover span {
  transform: translateX(4px);
}

.gentle-note {
  font-size: 0.82rem;
  color: #c2d0c5;
  margin: 16px 0 0;
}

/* DECORATIVE ARABIC CIRCLE */

.arabic-art {
  position: relative;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: min(100%, 320px);
  aspect-ratio: 1;
  border: 1px solid #d6b66b80;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff0c 0%, #ffffff03 52%, transparent 72%);
  animation: artFloat 6s ease-in-out infinite;
}

.arabic-art::before,
.arabic-art::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed #d6b66b65;
  border-radius: 50%;
  pointer-events: none;
}

.arabic-art::after {
  inset: -13px;
  border-style: solid;
  border-color: #d6b66b30;
}

.word {
  color: var(--gold-light);
  font-family: "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 750;
  line-height: 1.3;
}

.word-mid {
  color: #ffffff;
}

.art-caption {
  margin-top: 16px;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: #cbd6c8;
  text-align: center;
}

.ornament {
  position: absolute;
  color: #d6b66b65;
  pointer-events: none;
  animation: ornamentGlow 5s ease-in-out infinite;
}

.ornament-one {
  top: 28px;
  right: 38px;
  font-size: 2rem;
}

.ornament-two {
  bottom: 30px;
  left: 38px;
  font-size: 3rem;
  animation-delay: 1.5s;
}

/* FEATURES */

.welcome-features {
  max-width: 1240px;
  margin: 0 auto;
  padding: 82px 28px 54px;
  text-align: center;
}

.welcome-features > .eyebrow {
  margin-bottom: 12px;
}

.welcome-features h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin: 0 auto 38px;
  color: var(--green);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 27px 23px;
  background: linear-gradient(150deg, #ffffff, #fcfcf8);
  border: 1px solid var(--line);
  border-radius: 23px;
  box-shadow: 0 8px 28px #12372a08;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #d5dfd0;
  box-shadow: 0 18px 38px #12372a12;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border: 1px solid #dfe7da;
  border-radius: 16px;
  background: linear-gradient(145deg, #edf3e9, #e5ecdf);
  color: var(--green);
  font-size: 1.45rem;
  font-weight: 800;
}

.feature-card h3 {
  margin: 19px 0 8px;
  color: var(--green);
  font-size: 1.08rem;
  line-height: 1.4;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.8;
}

/* CLOSING SECTION */

.closing-card {
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto 70px;
  padding: 42px 26px;
  text-align: center;
  border: 1px solid #dce3d5;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, #ffffffb5, transparent 42%),
    linear-gradient(135deg, #edf1e7, #e8ede1);
}

.closing-card::before,
.closing-card::after {
  content: "✦";
  position: absolute;
  color: #b99a4f65;
  font-size: 1.6rem;
}

.closing-card::before {
  top: 20px;
  left: 24px;
}

.closing-card::after {
  right: 24px;
  bottom: 20px;
}

.closing-arabic {
  font-family: "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--green);
  line-height: 1.8;
  margin: 0 0 5px;
}

.closing-translation {
  margin: 0 0 19px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--green3);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* FOOTER */

.welcome-footer {
  border-top: 1px solid var(--line);
  padding: 30px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.87rem;
  background: #f2f3ec;
}

.welcome-footer p {
  margin: 7px;
}

.welcome-footer strong {
  color: var(--green);
}

.welcome-footer a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

.welcome-footer a:hover {
  color: var(--green3);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  max-width: 760px;
  margin: 14px auto 0 !important;
  font-size: 0.78rem;
  line-height: 1.8;
}

/* ANIMATIONS */

@keyframes heroAppear {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes artFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes ornamentGlow {
  0%, 100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

/* TABLETS */

@media (max-width: 1000px) {
  .welcome-hero {
    gap: 30px;
    grid-template-columns: 1.15fr 0.85fr;
    margin-left: 16px;
    margin-right: 16px;
  }

  .arabic-art {
    width: min(100%, 270px);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .closing-card {
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* MOBILE */

@media (max-width: 700px) {
  .welcome-header {
    padding: 15px 17px;
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    font-size: 23px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.68rem;
    max-width: 185px;
  }

  .skip-link {
    font-size: 0.75rem;
    padding: 8px 10px;
    text-align: center;
  }

  .welcome-hero {
    grid-template-columns: 1fr;
    gap: 39px;
    text-align: center;
    margin: 7px 12px 0;
    padding: 43px 23px 47px;
    min-height: auto;
    border-radius: 26px;
  }

  .hero-content {
    margin: auto;
  }

  .bismillah {
    margin-bottom: 18px;
  }

  .welcome-hero h1 {
    font-size: clamp(2.5rem, 9vw, 3.7rem);
    line-height: 1.1;
    margin-bottom: 19px;
  }

  .hero-copy {
    font-size: 0.98rem;
    line-height: 1.85;
    margin: 0 auto 25px;
  }

  .continue-button {
    width: 100%;
    gap: 12px;
    padding: 15px 16px;
  }

  .gentle-note {
    font-size: 0.78rem;
    line-height: 1.7;
  }

  .arabic-art {
    width: 220px;
  }

  .welcome-features {
    padding: 59px 17px 42px;
  }

  .welcome-features h2 {
    margin-bottom: 27px;
  }

  .feature-grid {
    gap: 13px;
  }

  .feature-card {
    padding: 21px 18px;
    border-radius: 19px;
  }

  .feature-card h3 {
    margin-top: 15px;
  }

  .closing-card {
    margin: 0 12px 42px;
    padding: 35px 19px;
    border-radius: 23px;
  }

  .welcome-footer {
    padding: 25px 17px;
  }
}

/* SMALL PHONES */

@media (max-width: 390px) {
  .welcome-header {
    padding: 13px 12px;
  }

  .brand small {
    max-width: 145px;
    line-height: 1.4;
  }

  .skip-link {
    font-size: 0.69rem;
    padding: 7px 8px;
  }

  .welcome-hero {
    padding: 35px 17px 39px;
  }

  .welcome-hero h1 {
    font-size: 2.35rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 23px;
  }

  .arabic-art {
    width: 195px;
  }

  .art-caption {
    font-size: 0.53rem;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  }


/* Professional visual refresh v10 */
:root{
  --green:#14283f;--green2:#203e59;--green3:#31536e;
  --gold:#b89a63;--gold-light:#e0cfaa;--cream:#f3f5f7;
  --ink:#172536;--muted:#667586;--line:#dce3e9;--white:#fff;
  --shadow:0 16px 42px rgba(20,40,63,.09)
}
body{background:radial-gradient(ellipse at top left,#e8edf2 0,transparent 44%),var(--cream);color:var(--ink)}
.brand{color:var(--green)}
.brand-mark{background:linear-gradient(145deg,#24445f,#14283f);color:var(--gold-light);box-shadow:0 7px 20px #14283f22}
.skip-link,.text-link{color:var(--green)}
.skip-link:hover{background:#e9eff4;border-color:#cbd7e1}
.welcome-hero{border-color:#b89a6330;background:radial-gradient(circle at 85% 18%,#b89a6318,transparent 30%),linear-gradient(135deg,#24445f 0%,#14283f 52%,#0d1c2d 100%);box-shadow:0 24px 65px #14283f20}
.welcome-hero::before,.welcome-hero::after{border-color:#d4bd8c35}
.bismillah,.word{color:var(--gold-light)}
.eyebrow{color:#d0b77f}
.welcome-hero h1 span{color:var(--gold-light)}
.continue-button{border-color:#e7d7b3;background:linear-gradient(135deg,#e6d7b5,#c5ad7c);color:#182b40;box-shadow:0 10px 28px #0002}
.continue-button:hover{filter:brightness(1.04)}
.arabic-art{border-color:#c7ae7a;background:radial-gradient(circle,#ffffff12 0%,#ffffff03 52%,transparent 72%)}
.arabic-art::before{border-color:#c7ae7a75}
.arabic-art::after{border-color:#c7ae7a40}
.welcome-footer a{color:#24445f}
@media(max-width:700px){.welcome-header{padding:16px 18px}.welcome-hero{border-radius:24px;margin:8px 14px 0}}
