:root {
  --bg: #7d5cf4;
  --bg-deep: #6243df;
  --panel: rgba(255, 255, 255, 0.13);
  --panel-strong: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --accent: #ffd139;
  --ink: #24164f;
  --shadow: 0 22px 55px rgba(36, 22, 79, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(145deg, var(--bg), var(--bg-deep));
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 64px);
  background: rgba(125, 92, 244, 0.86);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
  font-size: clamp(28px, 5vw, 62px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.brand b {
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 7px;
  font-size: 24px;
  font-weight: 900;
  transform: rotate(-12deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-weight: 700;
  font-size: 17px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.main-nav a:hover {
  color: var(--accent);
}

main {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 118px);
  padding: 46px 0 36px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  direction: ltr;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero p:not(.eyebrow) {
  margin: 24px 0 0;
  max-width: 590px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.9;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  background: var(--accent);
}

.button.secondary {
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-media {
  aspect-ratio: 1 / 1.15;
  border: 14px solid #fff;
  border-radius: 34% 34% 28% 28%;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--panel);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 36px 30px 50px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 300px;
  padding: 34px 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 32px rgba(36, 22, 79, 0.16);
}

.icon {
  display: block;
  margin: 12px auto 20px;
  font-size: 54px;
  color: #fff;
}

.feature-card h2,
.about-section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
}

.feature-card p {
  margin: 24px auto 0;
  max-width: 280px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
  font-weight: 600;
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
  margin-top: 28px;
  padding: clamp(28px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.about-section > p {
  margin: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.9;
  font-weight: 600;
}

.contact-section {
  margin-bottom: 34px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
}

.contact-form button {
  border: 0;
  border-radius: 8px;
  min-height: 52px;
  color: var(--ink);
  background: var(--accent);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  color: #ffffff;
  background: #1fbf63;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(36, 22, 79, 0.28);
}

footer {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

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

@media (max-width: 560px) {
  main {
    width: min(100% - 28px, 1200px);
  }

  .brand {
    font-size: 31px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .feature-grid,
  .about-section,
  .contact-section {
    padding: 22px;
  }
}
