/* Soogak — Coming Soon (light, single viewport) */
:root {
  --bg: #f2f7fa;
  --bg-elevated: #ffffff;
  --text: #1c1f27;
  --text-muted: #5a5f6c;
  --accent: #0189bf;
  --accent-hover: #016a94;
  --accent-soft: rgba(1, 137, 191, 0.12);
  --accent-border: rgba(1, 137, 191, 0.28);
  --border: rgba(28, 31, 39, 0.1);
  --font-en: "DM Sans", system-ui, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(1, 137, 191, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 137, 191, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, black, transparent);
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: fixed;
  width: min(90vw, 520px);
  height: min(90vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  padding: clamp(0.65rem, 1.8vh, 1rem) clamp(0.85rem, 3.5vw, 1.5rem)
    clamp(0.5rem, 1.2vh, 0.75rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  padding-bottom: clamp(0.25rem, 1vh, 0.5rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.logo__img {
  display: block;
  height: clamp(2.35rem, 6.5vw, 3.5rem);
  width: auto;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  background: var(--bg-elevated);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: clamp(0.7rem, 1.6vw, 0.8125rem);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-toggle button:hover {
  color: var(--text);
}

.lang-toggle button.active {
  background: var(--accent);
  color: #fff;
}

.split {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(1rem, 3vw, 2.25rem);
}

.panel {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.65rem, 2vh, 1.1rem);
  min-height: 0;
}

.panel--right {
  border-inline-start: 1px solid var(--border);
  padding-inline-start: clamp(1rem, 3vw, 2.25rem);
}

.panel--left .panel__inner {
  padding-inline-end: clamp(0.25rem, 1vw, 0.5rem);
}

.hero {
  text-align: start;
  padding: 0;
  flex-shrink: 0;
}

.badge {
  display: inline-block;
  font-size: clamp(0.625rem, 1.4vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: clamp(0.25rem, 0.8vh, 0.5rem);
  background: var(--accent-soft);
}

.hero h1 {
  margin: 0 0 clamp(0.25rem, 0.8vh, 0.45rem);
  font-size: clamp(1.2rem, 3.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p.lead {
  margin: 0;
  max-width: 26rem;
  font-size: clamp(0.78rem, 1.9vw, 0.9rem);
  color: var(--text-muted);
  line-height: 1.4;
}

.hero .support {
  margin: clamp(0.35rem, 1vh, 0.55rem) 0 0;
  max-width: 26rem;
  font-size: clamp(0.72rem, 1.65vw, 0.84rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.section-title {
  font-size: clamp(0.65rem, 1.4vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 clamp(0.35rem, 1vh, 0.5rem);
  text-align: start;
  flex-shrink: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, auto));
  gap: clamp(0.45rem, 1.2vw, 0.7rem);
  min-height: 0;
  flex-shrink: 1;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(0.5rem, 1.4vh, 0.75rem) clamp(0.5rem, 1.6vw, 0.7rem);
  transition: border-color 0.2s;
  min-width: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  border-color: var(--accent-border);
}

.feature-icon {
  width: clamp(28px, 5vw, 34px);
  height: clamp(28px, 5vw, 34px);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.85rem, 2vw, 1rem);
  margin-bottom: 0.35rem;
}

.feature-card h3 {
  margin: 0 0 0.25rem;
  font-size: clamp(0.74rem, 1.5vw, 0.85rem);
  font-weight: 600;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  font-size: clamp(0.64rem, 1.25vw, 0.74rem);
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contact {
  flex-shrink: 0;
  text-align: start;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  font-family: inherit;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(1, 137, 191, 0.35);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.contact-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 2px 10px rgba(1, 137, 191, 0.45);
}

.contact-btn:active {
  transform: scale(0.98);
}

footer {
  text-align: center;
  flex-shrink: 0;
  padding-top: clamp(0.35rem, 1vh, 0.5rem);
  border-top: 1px solid var(--border);
  font-size: clamp(0.65rem, 1.4vw, 0.75rem);
  color: var(--text-muted);
}

footer p {
  margin: 0;
}

@media (max-width: 680px) {
  .split {
    flex-direction: column;
    gap: clamp(0.5rem, 1.5vh, 0.85rem);
  }

  .panel--right {
    border-inline-start: none;
    padding-inline-start: 0;
    border-block-start: 1px solid var(--border);
    padding-block-start: clamp(0.5rem, 1.5vh, 0.85rem);
    flex: 1.15;
    min-height: 0;
  }

  .panel--left .panel__inner {
    padding-inline-end: 0;
  }

  .hero {
    text-align: center;
  }

  .hero p.lead {
    margin-inline: auto;
    max-width: 22rem;
  }

  .contact {
    text-align: center;
  }

  .contact-btn {
    width: 100%;
    max-width: 16rem;
  }

  .section-title {
    text-align: center;
  }
}

@media (max-width: 380px) {
  .feature-card p {
    -webkit-line-clamp: 2;
  }
}
