:root {
  --background-main: #f4f5f7;
  --background-soft: #eef1f4;
  --surface: #ffffff;
  --surface-muted: #f8f9fb;
  --text-primary: #1f2937;
  --text-secondary: #4b5565;
  --border: #dfe4ea;
  --primary: #3568d4;
  --primary-dark: #2453b3;
  --secondary: #7357c7;
  --accent: #159f85;
  --whatsapp: #1fa97a;
  --shadow-soft: 0 12px 32px rgba(31, 41, 55, 0.08);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: "Cairo", "Inter", Arial, sans-serif;
  color: var(--text-primary);
  background: var(--background-main);
  line-height: 1.75;
  overflow-x: hidden;
  max-width: 100%;
  padding-top: 68px;
}

body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 32px)); }
.section { padding: 78px 0; }
.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--surface);
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(244, 245, 247, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  overflow: visible;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .72) 12%, transparent 24%),
    radial-gradient(circle at 20% 50%, rgba(53, 104, 212, .08), transparent 18%),
    radial-gradient(circle at 80% 50%, rgba(115, 87, 199, .07), transparent 18%);
  transform: translateX(-120%);
  animation: headerShine 7s linear infinite;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(53, 104, 212, .08), transparent);
  transform: translateX(110%);
  animation: headerShineReverse 10s linear infinite;
}
.header-inner {
  position: relative;
  z-index: 1;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand { margin-inline-end: auto; }
.brand img { width: 158px; height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  color: var(--text-secondary);
  font-weight: 800;
  font-size: 12.5px;
}
.main-nav a, .main-nav button, .site-footer button, .site-footer a {
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.main-nav a, .main-nav button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid rgba(223, 228, 234, .92);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--text-secondary);
  box-shadow: 0 6px 16px rgba(31, 41, 55, .04);
  line-height: 1.2;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav button:hover {
  color: var(--primary);
  background: #fff;
  border-color: rgba(53, 104, 212, .22);
  transform: translateY(-1px);
}
.main-nav .mobile-nav-whatsapp {
  display: none;
}
.site-footer a:hover, .site-footer button:hover { color: var(--primary); }
.site-footer button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--text-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 10px 22px rgba(53, 104, 212, .22); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { color: var(--primary); background: #fff; border-color: rgba(53, 104, 212, .2); }
.btn-whatsapp { color: #fff; background: var(--whatsapp); }
.header-whatsapp { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.lang-btn {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-family: "Inter", sans-serif;
  font-weight: 800;
}
.lang-btn.active {
  background: var(--primary);
  color: #fff;
}
@keyframes headerShine {
  0% { transform: translateX(-125%); opacity: .35; }
  42% { opacity: .75; }
  100% { transform: translateX(125%); opacity: .35; }
}
@keyframes headerShineReverse {
  0% { transform: translateX(120%); opacity: .2; }
  100% { transform: translateX(-120%); opacity: .45; }
}
.hero {
  padding: 78px 0 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(53, 104, 212, .07), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(115, 87, 199, .07), transparent 30%),
    linear-gradient(180deg, #f7f8fb 0%, var(--background-main) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-items: center;
  min-height: 560px;
}
.hero-copy {
  width: min(100%, 520px);
  justify-self: center;
  text-align: center;
  transform: translateY(-22px);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 500px;
  margin-inline: auto;
  font-size: 33px;
  line-height: 1.33;
  margin-bottom: 18px;
  letter-spacing: 0;
  white-space: pre-line;
}
.hero-text {
  max-width: 500px;
  margin-inline: auto;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 2;
}
.hero-actions, .modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-actions {
  justify-content: center;
}
.hero-actions .btn {
  min-width: 154px;
  min-height: 48px;
}
.hero-lab {
  position: relative;
  min-height: 520px;
  isolation: isolate;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 16%, rgba(53, 104, 212, .13), transparent 32%),
    radial-gradient(circle at 84% 80%, rgba(115, 87, 199, .12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(237, 243, 255, .86));
  border: 1px solid var(--border);
  box-shadow: 0 30px 82px rgba(31, 41, 55, .11);
  overflow: hidden;
}
.hero-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53, 104, 212, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 104, 212, .055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 48%, #000, transparent 76%);
}
.lab-glow {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  filter: blur(18px);
}
.glow-a { top: -86px; right: -70px; background: rgba(53, 104, 212, .14); }
.glow-b { left: -80px; bottom: -86px; background: rgba(115, 87, 199, .13); }
.code-panel {
  position: absolute;
  z-index: 4;
  left: 8%;
  top: 13%;
  width: 62%;
  min-height: 330px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .90);
  border: 1px solid rgba(223, 228, 234, .92);
  box-shadow: 0 24px 58px rgba(31, 41, 55, .13);
  overflow: hidden;
  backdrop-filter: blur(16px);
}
.code-panel-head {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  background: rgba(248, 249, 251, .95);
  border-bottom: 1px solid var(--border);
}
.code-panel-head span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cad3df;
}
.code-panel-head span:nth-child(2) { background: #8cb7f2; }
.code-panel-head span:nth-child(3) { background: #87d8c9; }
.code-panel-head strong {
  margin-inline-start: 8px;
  color: var(--text-secondary);
  font-family: "Inter", monospace;
  font-size: 12px;
}
.code-lines {
  height: 292px;
  display: grid;
  gap: 10px;
  padding: 18px;
  font-family: "Inter", Consolas, monospace;
  font-size: 13px;
  color: #4b5870;
  overflow: hidden;
}
.code-lines span {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(244, 247, 252, .86);
  border: 1px solid rgba(223, 228, 234, .72);
  animation: codeFloat 5.8s ease-in-out infinite;
}
.code-lines span:nth-child(2n) { animation-delay: .7s; }
.code-lines span:nth-child(3n) { animation-delay: 1.2s; }
.code-lines b {
  color: var(--primary);
}
.floating-file {
  position: absolute;
  z-index: 6;
  width: 76px;
  height: 92px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 15px;
  border-radius: 16px 16px 20px 20px;
  background: linear-gradient(145deg, #fff, #eef4ff);
  border: 1px solid rgba(223, 228, 234, .96);
  box-shadow: 0 18px 40px rgba(31, 41, 55, .12);
  animation: fileDrift 7s ease-in-out infinite;
}
.floating-file::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 22px solid rgba(53, 104, 212, .16);
  border-left: 22px solid transparent;
  border-radius: 0 16px 0 4px;
}
.floating-file span {
  color: var(--primary-dark);
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 14px;
}
.file-pdf { right: 11%; top: 16%; }
.file-js { right: 23%; bottom: 18%; animation-delay: 1s; }
.file-zip { left: 18%; bottom: 10%; animation-delay: 1.8s; }
.file-ai { right: 8%; top: 48%; animation-delay: 2.4s; }
.file-js span { color: var(--secondary); }
.file-zip span { color: var(--accent); }
.file-ai span { color: var(--whatsapp); }
.ai-orbit {
  position: absolute;
  z-index: 5;
  right: 8%;
  bottom: 32%;
  display: grid;
  gap: 8px;
}
.ai-orbit span,
.skill-ribbon span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(223, 228, 234, .86);
  color: var(--text-secondary);
  font-family: "Inter", "Cairo", sans-serif;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(31, 41, 55, .07);
}
.ai-orbit span:nth-child(2) { transform: translateX(-18px); color: var(--secondary); }
.ai-orbit span:nth-child(3) { transform: translateX(8px); color: var(--primary); }
.ai-orbit span:nth-child(4) { transform: translateX(-10px); color: var(--accent); }
.skill-ribbon {
  position: absolute;
  z-index: 3;
  left: -12%;
  right: -12%;
  display: flex;
  gap: 10px;
  width: max-content;
  animation: labRibbon 18s linear infinite;
}
.ribbon-one { top: 68%; }
.ribbon-two {
  top: 79%;
  animation-direction: reverse;
  animation-duration: 22s;
}
.skill-ribbon span {
  background: rgba(255, 255, 255, .72);
}
@keyframes codeFloat {
  0%, 100% { transform: translateX(0); opacity: .82; }
  50% { transform: translateX(-10px); opacity: 1; }
}
@keyframes fileDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-2deg); }
}
@keyframes labRibbon {
  from { transform: translateX(0); }
  to { transform: translateX(180px); }
}
.hero-marquee {
  margin-top: 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 30px rgba(31, 41, 55, .05);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-rtl 36s linear infinite;
}
.hero-marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 13px 0;
}
.marquee-content span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--text-secondary);
  font-weight: 800;
  white-space: nowrap;
}
.marquee-content span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 5px rgba(53, 104, 212, .08);
}
[dir="ltr"] .marquee-track {
  animation-name: marquee-ltr;
}
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
@keyframes marquee-ltr {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-heading h2, .cta-panel h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
  margin-bottom: 10px;
}
.section-heading p, .category-card p, .product-card p, .step-card p, .cta-panel p, .site-footer p {
  color: var(--text-secondary);
}
.category-grid, .products-grid, .steps-grid {
  display: grid;
  gap: 18px;
}
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card, .product-card, .step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(31, 41, 55, .05);
}
.category-card {
  min-height: 328px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.category-card h3 {
  min-height: 66px;
  margin-bottom: 12px;
}
.category-card p {
  margin-bottom: 20px;
}
.category-card:hover, .product-card:hover, .step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.category-card, .product-card, .step-card { transition: transform .2s ease, box-shadow .2s ease; }
.category-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(53, 104, 212, .1);
  font-weight: 800;
}
.category-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 42px;
  margin-top: auto;
  padding: 8px 14px;
  border: 1px solid rgba(53, 104, 212, .18);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  color: var(--primary);
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 10px 22px rgba(53, 104, 212, .08);
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.category-card a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(53, 104, 212, .18);
}

.products-section { background: var(--background-soft); }
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.filter-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}
.filter-btn.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
.product-cover {
  min-height: 208px;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  background: #dfe7f4;
  border: 1px solid rgba(53, 104, 212, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
}
.product-cover svg { width: 100%; height: 100%; min-height: 208px; }
.product-card {
  display: flex;
  flex-direction: column;
}
.product-badge {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(21, 159, 133, .1);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}
.product-card h3 { font-size: 18px; line-height: 1.45; margin-bottom: 10px; }
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: auto 0 16px;
  padding-top: 12px;
  color: var(--text-secondary);
  font-weight: 800;
}
.price { color: var(--primary-dark); font-family: "Inter", sans-serif; }
.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.details-btn {
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--primary);
}

.step-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 0 14px;
}
[dir="rtl"] .step-card {
  grid-template-columns: minmax(0, 1fr) 42px;
}
.step-card span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--secondary);
  font-family: "Inter", sans-serif;
  font-weight: 800;
  margin-bottom: 0;
}
[dir="rtl"] .step-card span {
  grid-column: 2;
}
.step-card h3 {
  margin-bottom: 0;
}
[dir="rtl"] .step-card h3 {
  grid-column: 1;
}
.step-card p {
  grid-column: 1 / -1;
  margin-top: 16px;
}
.support-note {
  margin: 24px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
}
.payments-section {
  background: var(--surface-muted);
}
.payments-section .section-heading {
  max-width: 980px;
}
.payments-section .section-heading h2 {
  font-size: clamp(28px, 2.5vw, 34px);
  white-space: nowrap;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.payment-logo {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(31, 41, 55, .05);
}
.payment-logo span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 900;
}
.payment-logo strong {
  font-family: "Inter", "Cairo", sans-serif;
  font-size: 15px;
  line-height: 1.3;
}
.ziraat span { background: #d71920; }
.kuveyt span { background: #0f8f63; }
.garanti span { background: #7fc241; }
.deniz span { background: #1d66b2; }
.papara span { background: #111827; }
.moneygram span { background: #d71920; }
.western span { background: #111827; color: #ffd21f; }
.usdt span { background: #26a17b; }
.faq-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(53, 104, 212, .10), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(35, 169, 119, .08), transparent 30%),
    linear-gradient(180deg, #f8faff 0%, #f3f6fb 100%);
}
.faq-section::before {
  content: "";
  position: absolute;
  inset: 38px auto auto 50%;
  width: min(820px, 82vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(53, 104, 212, .24), transparent);
}
.faq-section .narrow {
  position: relative;
}
.faq-section .section-heading {
  margin-bottom: 28px;
}
.faq-section .section-heading h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid rgba(210, 219, 233, .78);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 16px 36px rgba(31, 41, 55, .07);
}
.faq-list {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(210, 219, 233, .78);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(248,251,255,.82)),
    linear-gradient(180deg, rgba(255,255,255,.74), rgba(238,244,255,.48));
  box-shadow: 0 24px 60px rgba(31, 41, 55, .09);
  counter-reset: faq;
}
.faq-item {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(210, 219, 233, .88);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(31, 41, 55, .055);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.faq-item:hover,
.faq-item.open {
  border-color: rgba(53, 104, 212, .28);
  box-shadow: 0 18px 36px rgba(53, 104, 212, .10);
  transform: translateY(-1px);
}
.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  padding: 18px 74px 18px 58px;
  text-align: start;
  font-weight: 800;
  line-height: 1.6;
  cursor: pointer;
  position: relative;
}
.faq-item button::before {
  counter-increment: faq;
  content: counter(faq, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--primary);
  background: linear-gradient(135deg, #edf3ff, #ffffff);
  border: 1px solid rgba(53, 104, 212, .14);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 900;
}
.faq-item button::after {
  content: "+";
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #2556b8);
  box-shadow: 0 10px 20px rgba(53, 104, 212, .22);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 1;
  transition: transform .22s ease, background .22s ease;
}
.faq-item.open button::after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
  background: linear-gradient(135deg, var(--whatsapp), #12845b);
}
.faq-item p {
  display: none;
  padding: 0 74px 20px 58px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.9;
}
.faq-item.open p { display: block; }
.cta-panel {
  text-align: center;
  background: linear-gradient(135deg, #fff, #eef3ff);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px 22px;
  box-shadow: var(--shadow-soft);
}
.cta-panel p { max-width: 680px; margin-inline: auto; }

.site-footer {
  background:
    radial-gradient(circle at 15% 10%, rgba(53, 104, 212, .09), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(35, 169, 119, .08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  align-items: stretch;
  gap: 20px;
}
.footer-grid > div {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(210, 219, 233, .82);
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 42px rgba(31, 41, 55, .07);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}
.footer-logo {
  width: 170px;
  height: auto;
  margin: 0 auto 14px;
}
.site-footer p {
  margin-inline: auto;
  max-width: 360px;
}
.footer-support {
  margin-top: auto;
  padding: 12px;
  border: 1px solid rgba(210, 219, 233, .75);
  border-radius: 18px;
  background: linear-gradient(135deg, #f9fbff, #eef4ff);
  font-weight: 700;
  display: grid;
  gap: 9px;
}
.footer-support a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(53, 104, 212, .16);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.site-footer h2 {
  font-size: 18px;
  margin-bottom: 14px;
}
.footer-grid > div:nth-child(n+2) a,
.footer-grid > div:nth-child(n+2) button {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  margin: 5px 0;
  padding: 8px 12px;
  border: 1px solid rgba(210, 219, 233, .84);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f7faff);
  text-align: center;
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(31, 41, 55, .045);
}
.footer-grid > div:nth-child(n+2) a:hover,
.footer-grid > div:nth-child(n+2) button:hover,
.footer-support a:hover {
  color: var(--primary);
  border-color: rgba(53, 104, 212, .26);
  background: #fff;
  transform: translateY(-1px);
}
.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding: 18px 0;
  text-align: center;
}
.footer-bottom span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid rgba(210, 219, 233, .82);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 22px rgba(31, 41, 55, .05);
}

.floating-whatsapp {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 12px 24px rgba(31, 41, 55, .18);
}
.floating-whatsapp svg { width: 31px; height: 31px; }
.floating-whatsapp span {
  position: absolute;
  left: 68px;
  width: max-content;
  max-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-6px);
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  box-shadow: var(--shadow-soft);
  transition: opacity .2s ease, transform .2s ease;
}
.floating-whatsapp:hover span, .floating-whatsapp:focus span { opacity: 1; transform: translateX(0); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(31, 41, 55, .42);
}
.modal.is-open { display: flex; }
.modal-card {
  width: min(640px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  background: var(--surface);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 22px 60px rgba(31, 41, 55, .2);
  position: relative;
}
.policy-card { width: min(860px, 100%); }
.modal-close {
  position: absolute;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  font-size: 24px;
  line-height: 1;
}
[dir="rtl"] .modal-close {
  left: 14px;
  right: auto;
}
[dir="ltr"] .modal-close {
  right: 14px;
  left: auto;
}
.modal-card h2 { margin-bottom: 12px; }
[dir="rtl"] .modal-card h2 { padding-left: 48px; }
[dir="ltr"] .modal-card h2 { padding-right: 48px; }
.contact-lines {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}
.contact-lines a, .legal-document a, .modal-card a:not(.btn) { color: var(--primary); font-weight: 800; }
.contents-list { padding-inline-start: 20px; color: var(--text-secondary); }
.policy-link { display: inline-flex; margin-top: 10px; color: var(--primary); font-weight: 800; }
.legal-page { background: var(--background-main); }
.legal-document {
  width: min(900px, calc(100% - 32px));
  margin: 32px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.legal-document h1 { font-size: clamp(28px, 3.5vw, 38px); }
.legal-document h1 span { color: var(--primary); font-family: "Inter", sans-serif; }
.legal-document h1 span:first-child {
  color: var(--text-primary);
  font-family: "Cairo", "Inter", Arial, sans-serif;
}
.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.legal-block {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 22px;
}
.legal-lang[hidden] { display: none; }
.back-home {
  display: inline-flex;
  color: var(--primary);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal .55s ease forwards;
}
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1020px) {
  .header-inner { gap: 10px; }
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px 18px 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    z-index: 120;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a, .main-nav button {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    white-space: normal;
  }
  .main-nav .mobile-nav-whatsapp {
    display: inline-flex;
    color: #fff !important;
    background: var(--whatsapp) !important;
    border-color: transparent !important;
    margin-top: 4px;
  }
  .menu-toggle { display: inline-flex; }
  .header-whatsapp { display: none; }
  .hero-grid, .footer-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    transform: none;
  }
  .category-grid, .products-grid, .steps-grid, .payment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 24px, 1120px); }
  .section { padding: 54px 0; }
  .hero { padding: 42px 0 28px; }
  .hero-copy {
    width: 100%;
  }
  h1 {
    font-size: 22px;
    line-height: 1.32;
    max-width: 330px;
  }
  .hero-text {
    font-size: 15.5px;
    line-height: 1.9;
  }
  .brand img { width: 148px; }
  .header-inner {
    min-height: 68px;
    gap: 8px;
  }
  .main-nav {
    inset: 68px 12px auto 12px;
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 16px 16px;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  .language-switch {
    padding: 2px;
  }
  .lang-btn {
    min-width: 34px;
    min-height: 30px;
  }
  .hero-grid { gap: 28px; }
  .hero-actions .btn, .modal-actions .btn { width: 100%; }
  .hero-lab {
    min-height: 430px;
    border-radius: 20px;
    max-width: 100%;
  }
  .code-panel {
    left: 6%;
    top: 9%;
    width: 76%;
    min-height: 280px;
  }
  .code-lines {
    height: 238px;
    padding: 13px;
    font-size: 11px;
    gap: 8px;
  }
  .floating-file {
    width: 58px;
    height: 72px;
    border-radius: 13px 13px 16px 16px;
    padding-bottom: 10px;
  }
  .floating-file span { font-size: 12px; }
  .file-pdf { right: 5%; top: 14%; }
  .file-js { right: 9%; bottom: 19%; }
  .file-zip { left: 7%; bottom: 12%; }
  .file-ai { right: 4%; top: 46%; }
  .ai-orbit {
    right: 5%;
    bottom: 35%;
    gap: 6px;
  }
  .ai-orbit span,
  .skill-ribbon span {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 10.5px;
  }
  .skill-ribbon {
    left: -16px;
    right: auto;
    max-width: none;
  }
  .hero-marquee {
    margin-top: 22px;
    border-radius: 14px;
  }
  .payments-section .section-heading h2 {
    font-size: 25px;
    white-space: normal;
  }
  .faq-section .section-heading h2 {
    min-height: 48px;
    padding: 0 22px;
    font-size: 24px;
  }
  .faq-list {
    padding: 12px;
    border-radius: 22px;
  }
  .faq-item {
    border-radius: 16px;
  }
  .faq-item button {
    padding: 16px 58px 16px 48px;
    font-size: 14.5px;
  }
  .faq-item button::before {
    inset-inline-start: 12px;
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
  .faq-item button::after {
    inset-inline-end: 12px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .faq-item p {
    padding: 0 48px 17px 48px;
    font-size: 14px;
  }
  .marquee-track { animation-duration: 30s; }
  .marquee-content span {
    padding: 0 14px;
    font-size: 13px;
  }
  .category-grid, .products-grid, .steps-grid { grid-template-columns: 1fr; }
  .payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .payment-logo {
    min-height: 112px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px 8px;
    text-align: center;
  }
  .payment-logo span {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .payment-logo strong {
    font-size: 13px;
    line-height: 1.25;
  }
  .category-card {
    min-height: auto;
  }
  .category-card h3 {
    min-height: auto;
  }
  .language-switch { order: 3; }
  .filter-bar { justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; }
  .filter-btn { white-space: nowrap; }
  .footer-bottom { display: grid; }
  .floating-whatsapp { width: 54px; height: 54px; }
  .floating-whatsapp span { display: none; }
  .modal-card { padding: 22px 18px; }
  .legal-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .skill-ribbon,
  .floating-file,
  .code-lines span {
    transform: none !important;
  }
}
