
:root {
  --bg1: #0b1220;
  --bg2: #0a2a3a;
  --card: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --brand: #2aa9ff;
  --brand2: #22c55e;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --radius: 22px;
}

/* *,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 20% 10%, rgba(42, 169, 255, 0.25), transparent 60%),
    radial-gradient(900px 500px at 80% 0%, rgba(34, 197, 94, 0.18), transparent 55%),
    linear-gradient(160deg, var(--bg1), var(--bg2));
} */

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Section ---------- */
/* .section {
  padding: clamp(56px, 7vw, 120px) 0;
} */

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}

/* ---------- Content ---------- */
.content {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 34px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  /* entry animation */
  animation: riseIn 800ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 4px rgba(42, 169, 255, 0.18);
  animation: kicker-glow 3s ease-in-out infinite;
}

@keyframes kicker-glow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.6);
  }
}

.title {
  margin: 0 0 14px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: white;
}

.title .blue {
  color: var(--brand);
  font-weight: 800;
}

.desc {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 2;
  font-size: 18px;
}

.bullet {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.bullet li{
  position: relative;
  padding-inline-start: 18px; /* space where the bullet sits (auto adapts) */
  padding-inline-end: 0;
}

.bullet li::before{
  content: "";
  position: absolute;
  inset-inline-start: 0;   /* auto becomes left in LTR, right in RTL */
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}


/* ---------- Buttons ---------- */
.actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  appearance: none;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);

  transition: transform 240ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 240ms cubic-bezier(0.2, 0.9, 0.2, 1),
    background 240ms ease,
    border-color 240ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.26);
  
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  border-color: rgba(42, 169, 255, 0.35);
  background: linear-gradient(135deg, rgba(42, 169, 255, 0.28), rgba(34, 197, 94, 0.18));
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Media ---------- */
.media {
  direction: ltr;
  display: grid;
  place-items: center;
}

.mediaShell {
  width: min(420px, 92vw);
  aspect-ratio: 6 / 5;
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;

  /* entry animation delayed */
  animation: floatIn 900ms cubic-bezier(0.2, 0.9, 0.2, 1) 120ms both;

  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mediaShell:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card {
  position: absolute;
  inset: 22px;
  border-radius: calc(var(--radius) - 4px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  z-index: 2;

  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mediaShell:hover .card {
  transform: scale(1.02);
}

.card img {
  width: clamp(220px, 22vw, 270px);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.28));
  transform: translateY(4px);

  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mediaShell:hover .card img {
  transform: translateY(0);
}

.glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(42, 169, 255, 0.35), transparent 55%),
    radial-gradient(circle at 70% 55%, rgba(34, 197, 94, 0.26), transparent 58%);
  filter: blur(18px);
  opacity: 0.9;
  z-index: 1;

  animation: drift 6s ease-in-out infinite;
}

/* ---------- Animations ---------- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(-2%, -2%, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(2%, 1%, 0) rotate(2deg);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .media {
    order: -1;
  }
}
