:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-muted: #F3F3F1;
  --ink: #111111;
  --ink-secondary: #4B5563;
  --ink-muted: #6B7280;
  --border: #E5E5E3;
  --border-strong: #111111;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.04);
  --shadow-md: 0 14px 36px rgba(17, 17, 17, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ============ TOP NAVIGATION ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0px);
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo-frame {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #F7F4EF;
  border: 1px solid #E5E0D5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-svg-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.brand-name-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.brand-title-ar {
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub-ar {
  font-size: 10.5px;
  color: var(--ink-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 480px) {
  .brand-title-ar {
    font-size: 14.5px;
  }

  .brand-sub-ar {
    font-size: 11.5px;
  }
}

.sep-dot {
  display: none;
}

@media (min-width: 600px) {
  .sep-dot {
    display: inline;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-link-ghost {
  display: none;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-secondary);
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-link-ghost:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

@media (min-width: 820px) {
  .nav-link-ghost {
    display: inline-flex;
  }
}

.btn-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #FFFFFF;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-nav-wa:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ============ MAIN CONTAINER ============ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ============ HERO SECTION ============ */
.hero {
  padding: 40px 0 36px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .hero {
    padding: 58px 0 52px;
  }
}

.hero-logo-box {
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
  border-radius: 24px;
  background: #F7F4EF;
  border: 1px solid #E5E0D5;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-svg-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111111;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(23px, 4.6vw, 40px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.32;
  max-width: 840px;
  margin: 0 auto 14px;
  letter-spacing: -0.2px;
}

.hero-subtitle {
  font-size: clamp(14.5px, 2.2vw, 17px);
  color: var(--ink-secondary);
  max-width: 680px;
  margin: 0 auto 22px;
  font-weight: 500;
}

.hero-owner-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 18px;
  margin: 0 auto 24px;
  font-size: 13px;
  color: var(--ink-secondary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

.hero-owner-strip strong {
  color: var(--ink);
  font-weight: 800;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #FFFFFF;
  border: 1.5px solid var(--ink);
  padding: 13px 24px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.12);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.16);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
  padding: 13px 24px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: var(--surface-muted);
}

/* ============ SECTION HEADERS ============ */
.section {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}

.section-last {
  border-bottom: none;
}

.section-header {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(21px, 3.5vw, 30px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.3;
}

.section-desc {
  font-size: 14.5px;
  color: var(--ink-secondary);
  max-width: 720px;
}

/* ============ ABOUT / OWNERSHIP VERIFICATION ============ */
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 820px) {
  .about-card {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 28px;
    gap: 28px;
    align-items: start;
  }
}

.about-lead {
  font-size: 15px;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

.honesty-callout {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.identity-row {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.identity-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-muted);
}

.identity-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  word-break: break-word;
}

.identity-value a:hover {
  text-decoration: underline;
}

/* ============ PORTFOLIO SHOWCASE CARDS ============ */
.portfolio-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media (min-width: 900px) {
  .product-card {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 28px;
    gap: 28px;
  }
}

.product-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.product-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 900;
}

.product-cat {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-secondary);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 999px;
}

.product-proto-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink);
  background: #F4EFE4;
  border: 1px solid #E2D5B8;
  padding: 4px 10px;
  border-radius: 999px;
}

.product-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
}

.product-text {
  font-size: 14.5px;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

@media (min-width: 560px) {
  .product-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.btn-card-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #FFFFFF;
  border: 1.5px solid var(--ink);
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn-card-dark:hover {
  opacity: 0.9;
}

.btn-card-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.btn-card-outline:hover {
  border-color: var(--ink);
}

.preview-frame {
  background: var(--surface-muted);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.preview-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #111111;
  color: #E5E7EB;
  font-size: 11.5px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dots {
  display: inline-flex;
  gap: 5px;
}

.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.preview-img-btn {
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  cursor: zoom-in;
}

.preview-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.proto-note {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 700;
  margin-top: 10px;
}

.mobile-showcase-box {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-store-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.store-badge-card {
  background: #111111;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-badge-card .sb-icon {
  font-size: 20px;
}

.store-badge-card .sb-title {
  font-size: 13px;
  font-weight: 900;
  display: block;
  line-height: 1.2;
}

.store-badge-card .sb-sub {
  font-size: 11px;
  color: #9CA3AF;
  display: block;
}

.mobile-highlight-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.mobile-hl-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* ============ PRICING SECTION ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 820px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  background: #111111;
  color: #FAFAFA;
  border-color: #111111;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.16);
}

.price-tier-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.price-card.featured .price-tier-badge {
  background: #FFFFFF;
  color: #111111;
  border-color: #FFFFFF;
}

.price-name {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 10px;
}

.price-amount-box {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-card.featured .price-amount-box {
  border-color: rgba(255, 255, 255, 0.14);
}

.price-line-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.price-old {
  text-decoration: line-through;
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 700;
}

.price-card.featured .price-old {
  color: #9CA3AF;
}

.price-main-num {
  font-size: 27px;
  font-weight: 900;
  line-height: 1.2;
  display: inline-block;
}

.discount-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #111111;
  color: #FFFFFF;
}

.price-card.featured .discount-pill {
  background: #FFFFFF;
  color: #111111;
}

.price-option-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-card.featured .price-option-box {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.price-option-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.price-card.featured .price-option-title {
  color: #E5E7EB;
}

.price-sub-term {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-top: 2px;
  display: block;
}

.price-card.featured .price-sub-term {
  color: #D1D5DB;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price-note {
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--surface-muted);
  padding: 8px 10px;
  border-radius: 9px;
  margin-top: 12px;
  font-weight: 700;
}

.price-card.featured .price-note {
  background: rgba(255, 255, 255, 0.08);
  color: #D1D5DB;
}

.btn-price-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  background: var(--ink);
  color: #FFFFFF;
  border: 1.5px solid var(--ink);
}

.price-card.featured .btn-price-cta {
  background: #FFFFFF;
  color: #111111;
  border-color: #FFFFFF;
}

/* ============ DIRECT CONTACT BANNER ============ */
.contact-banner {
  background: #111111;
  color: #FAFAFA;
  border-radius: 24px;
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

@media (min-width: 760px) {
  .contact-banner {
    padding: 46px 36px;
  }
}

.contact-banner h2 {
  font-size: clamp(21px, 3.6vw, 30px);
  font-weight: 900;
  margin-bottom: 10px;
}

.contact-banner p {
  font-size: 15px;
  color: #D1D5DB;
  max-width: 580px;
  margin: 0 auto 24px;
}

.contact-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (min-width: 600px) {
  .contact-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  color: #111111;
  padding: 14px 26px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease;
}

.btn-whatsapp-hero:hover {
  transform: translateY(-2px);
}

.btn-contact-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #FAFAFA;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 13px 20px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 700;
  transition: background 0.15s ease;
}

.btn-contact-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.contact-meta-line {
  margin-top: 18px;
  font-size: 13px;
  color: #9CA3AF;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
}

/* ============ FOOTER ============ */
.studio-footer {
  padding: 28px 18px calc(max(28px, env(safe-area-inset-bottom)) + 10px);
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.footer-owner {
  color: var(--ink);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--ink-muted);
  max-width: 680px;
  margin-top: 4px;
}

/* ============ LIGHTBOX MODAL ============ */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.lightbox-backdrop[hidden] {
  display: none;
}

.lightbox-dialog {
  background: var(--surface);
  border-radius: 18px;
  max-width: 880px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #111111;
  color: #FAFAFA;
  gap: 12px;
}

.lightbox-title {
  font-size: 14px;
  font-weight: 800;
}

.lightbox-close {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-body {
  background: var(--surface-muted);
  padding: 12px;
  max-height: 78vh;
  overflow: auto;
}

.lightbox-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.lightbox-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-secondary);
  font-weight: 600;
  text-align: center;
}
