/* ==========================================================
   Heeiz Main Styles
   Core variables, base styles, typography, layout helpers
   ========================================================== */
:root {
  --heeiz: #10646b;
  --heeiz-2: #1aa39a;
  --ink: #0b2f33;
  --muted: #5e6b78;
  --sun: #f2b63e;
  --bg: #f7fbfb;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 22px 60px rgba(2, 44, 44, 0.18);
  --shadow-md: 0 14px 40px rgba(2, 44, 44, 0.12);
  --shadow-sm: 0 10px 24px rgba(2, 44, 44, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: clamp(14px, 0.9vw + 12px, 16px);
}

body {
  font-family: 'Readex Pro', 'Cairo', sans-serif;
  color: var(--ink);
  direction: rtl;
  text-align: right;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(242, 182, 62, 0.18), transparent 60%),
    radial-gradient(1100px 520px at 90% 0%, rgba(26, 163, 154, 0.22), transparent 60%),
    linear-gradient(180deg, #f7fbfb, #ffffff);
  background-attachment: fixed;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.muted {
  color: var(--muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Changa', 'Readex Pro', sans-serif;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2rem, 2.4vw + 1rem, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 1.6vw + 0.9rem, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 1.1vw + 0.8rem, 1.8rem);
}

p {
  line-height: 1.75;
}

.colors {
  color: var(--heeiz);
}

.section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(26, 163, 154, 0.12), rgba(242, 182, 62, 0.08));
  top: 30px;
  left: -60px;
  transform: rotate(18deg);
  opacity: 0.5;
  pointer-events: none;
}

.section::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 60px;
  background: radial-gradient(circle, rgba(26, 163, 154, 0.18), transparent 60%);
  bottom: -100px;
  right: -80px;
  opacity: 0.6;
  pointer-events: none;
}

.section-title,
.section h2,
.features-section .main-title,
.stats-section .section-title,
.plans-section h2,
#download h2,
#api h2,
#partners h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title::after,
.section h2::after,
.features-section .main-title::after,
.stats-section .section-title::after,
.plans-section h2::after,
#download h2::after,
#api h2::after,
#partners h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 55%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sun), rgba(242, 182, 62, 0.12));
  box-shadow: 0 6px 18px rgba(242, 182, 62, 0.18);
}

.curve-dotted-divider {
  width: 100%;
  height: 80px;
  overflow: hidden;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.curve-dotted-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-icons a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.2rem;
}

@media (max-width: 991.98px) {
  .section {
    padding: 90px 0;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 64px 0;
  }
}

@media (max-width: 414px) {
  .section {
    padding: 56px 0;
  }
}

@media (max-width: 360px) {
  .section {
    padding: 52px 0;
  }
}

@media (min-width: 1280px) {
  .section {
    padding: 120px 0;
  }
}

@media (min-width: 1440px) {
  .section {
    padding: 140px 0;
  }
}
