/* Add custom CSS styles below */ 
/* ========== FONT ========== */
/* ارفع ملفات خط ثمانية على CDN أو ملفات المتجر ثم استبدل الروابط */
@font-face {
  font-family: "Thmanyah";
  src: url("YOUR_FONT_URL/thmanyahsans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah";
  src: url("YOUR_FONT_URL/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --corner-bg: #080808;
  --corner-bg-2: #111111;
  --corner-card: #151515;
  --corner-border: rgba(255,255,255,.08);
  --corner-text: #ffffff;
  --corner-muted: #b8b8b8;
  --corner-green: #12b76a;
  --corner-green-dark: #0d8f53;
  --corner-shadow: 0 18px 50px rgba(0,0,0,.35);
  --corner-radius: 24px;
}

.corner-hero,
.corner-guarantee-strip {
  font-family: "Thmanyah", sans-serif;
}

.corner-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(18,183,106,.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(18,183,106,.08), transparent 20%),
    linear-gradient(180deg, #090909 0%, #0f0f0f 100%);
  border: 1px solid var(--corner-border);
  border-radius: 30px;
  padding: 42px 28px;
  margin: 24px auto;
  max-width: 1320px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  box-shadow: var(--corner-shadow);
}

.corner-hero__glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.corner-hero__glow--1 {
  top: -90px;
  right: -70px;
  background: rgba(18,183,106,.15);
}

.corner-hero__glow--2 {
  bottom: -130px;
  left: -80px;
  background: rgba(255,255,255,.05);
}

.corner-hero__content,
.corner-hero__visual {
  position: relative;
  z-index: 2;
}

.corner-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.corner-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18,183,106,.1);
  border: 1px solid rgba(18,183,106,.25);
  color: #d7ffe9;
  padding: 11px 16px;
  border-radius: 999px;
  width: fit-content;
  font-size: 14px;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--corner-green);
  box-shadow: 0 0 0 6px rgba(18,183,106,.12);
}

.corner-hero__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--corner-text);
}

.corner-hero__title span {
  display: block;
  color: var(--corner-green);
}

.corner-hero__desc {
  margin: 0;
  color: var(--corner-muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.95;
  max-width: 620px;
}

.corner-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.corner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  text-decoration: none !important;
  font-weight: 700;
  transition: .25s ease;
  border: 1px solid transparent;
  font-size: 15px;
}

.corner-btn--primary {
  background: var(--corner-green);
  color: #07140d !important;
}

.corner-btn--primary:hover {
  background: #18c775;
  transform: translateY(-1px);
}

.corner-btn--ghost {
  background: rgba(255,255,255,.04);
  color: #fff !important;
  border-color: rgba(255,255,255,.12);
}

.corner-btn--ghost:hover {
  background: rgba(255,255,255,.08);
}

.corner-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.corner-hero__features span {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #f1f1f1;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
}

.corner-hero__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.corner-main-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 460px;
  background: #121212;
  border: 1px solid rgba(255,255,255,.08);
}

.corner-main-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  display: block;
}

.corner-main-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.18) 35%, rgba(0,0,0,.75) 100%);
}

.corner-main-card__text {
  position: absolute;
  right: 20px;
  left: 20px;
  bottom: 20px;
  z-index: 2;
}

.corner-main-card__tag {
  display: inline-block;
  margin-bottom: 12px;
  background: rgba(18,183,106,.12);
  border: 1px solid rgba(18,183,106,.22);
  color: #d9ffea;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.corner-main-card__text h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 34px);
  color: #fff;
  line-height: 1.35;
}

.corner-main-card__text p {
  margin: 0;
  color: #d7d7d7;
  line-height: 1.9;
  font-size: 15px;
}

.corner-thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.corner-thumb {
  background: var(--corner-card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 10px;
  cursor: pointer;
  transition: .25s ease;
  text-align: center;
  color: #fff;
  font-family: "Thmanyah", sans-serif;
}

.corner-thumb:hover,
.corner-thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(18,183,106,.45);
  box-shadow: 0 0 0 1px rgba(18,183,106,.18) inset;
}

.corner-thumb img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 9px;
}

.corner-thumb span {
  font-size: 13px;
  color: #ededed;
  display: block;
}

.corner-guarantee-strip {
  max-width: 1320px;
  margin: 18px auto 30px;
  background: linear-gradient(180deg, #101010, #141414);
  border: 1px solid var(--corner-border);
  border-radius: 24px;
  padding: 24px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: var(--corner-shadow);
}

.corner-guarantee-strip__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(18,183,106,.12);
  border: 1px solid rgba(18,183,106,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--corner-green);
  font-weight: 700;
  font-size: 23px;
}

.corner-guarantee-strip__content h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 28px;
}

.corner-guarantee-strip__content p {
  margin: 0;
  color: var(--corner-muted);
  line-height: 1.9;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 1100px) {
  .corner-hero {
    grid-template-columns: 1fr;
  }

  .corner-main-card,
  .corner-main-card img {
    min-height: 380px;
  }
}

@media (max-width: 780px) {
  .corner-thumb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .corner-guarantee-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .corner-guarantee-strip__icon {
    margin: 0 auto;
  }

  .corner-guarantee-strip .corner-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .corner-hero {
    padding: 24px 16px;
    border-radius: 22px;
  }

  .corner-main-card,
  .corner-main-card img {
    min-height: 320px;
  }

  .corner-thumb img {
    height: 80px;
  }

  .corner-hero__actions {
    flex-direction: column;
  }

  .corner-btn {
    width: 100%;
  }
}