/* SoftIslam - Thoughtfully Crafted Islamic Apps
 * Static Stylesheet for softislam.com
 */

:root {
  --bg-primary: #0a0e14;
  --bg-surface: #0f1622;
  --bg-surface-elevated: #151f2e;
  --bg-surface-translucent: rgba(15, 22, 34, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.22);
  --border-gold-hover: rgba(212, 175, 55, 0.45);
  
  --gold-300: #f5d77f;
  --gold-400: #e5c158;
  --gold-500: #d4af37;
  --gold-600: #b89228;
  
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-900: #064e3b;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #f5d77f;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cinzel', Georgia, serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --max-width: 1200px;
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 240ms cubic-bezier(0.16, 1, 0.3, 1);

  --overlay-weak: rgba(255, 255, 255, 0.04);
  --overlay-medium: rgba(255, 255, 255, 0.08);
  --overlay-strong: rgba(255, 255, 255, 0.16);
  --overlay-hairline: rgba(255, 255, 255, 0.02);
  --overlay-dashed: rgba(255, 255, 255, 0.12);
  --overlay-hover: rgba(255, 255, 255, 0.18);

  --header-bg: rgba(10, 14, 20, 0.88);
  --card-shell-bg: linear-gradient(160deg, #101724 0%, #0c111a 100%);
  --media-shell-bg: #070a0f;
  --footer-bg: #06090e;
  --btn-cta-text: #0a0e14;

  --text-slate: #cbd5e1;

  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 50px -10px rgba(212, 175, 55, 0.08);
  --shadow-media: 0 16px 36px rgba(0, 0, 0, 0.6);
  --shadow-cta: 0 10px 30px rgba(0, 0, 0, 0.4);
  --media-border: rgba(255, 255, 255, 0.08);
  --cta-banner-bg: radial-gradient(ellipse at 50% 120%, rgba(20, 83, 45, 0.35) 0%, rgba(15, 22, 34, 0.95) 75%);
}

:root[data-theme="light"] {
  --bg-primary: #f8f7f2;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1efe6;
  --bg-surface-translucent: rgba(255, 255, 255, 0.85);

  --border-subtle: rgba(10, 14, 20, 0.1);
  --border-gold: rgba(184, 146, 40, 0.3);
  --border-gold-hover: rgba(184, 146, 40, 0.55);

  --gold-300: #b8922a;
  --gold-400: #9c7a1e;
  --gold-500: #8a6a17;
  --gold-600: #6f5412;

  --emerald-400: #0d9668;
  --emerald-500: #0b7d57;
  --emerald-900: #d1fae5;

  --text-primary: #14181f;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-gold: #7a5f16;

  --overlay-weak: rgba(10, 14, 20, 0.03);
  --overlay-medium: rgba(10, 14, 20, 0.06);
  --overlay-strong: rgba(10, 14, 20, 0.12);
  --overlay-hairline: rgba(10, 14, 20, 0.02);
  --overlay-dashed: rgba(10, 14, 20, 0.15);
  --overlay-hover: rgba(10, 14, 20, 0.16);

  --header-bg: rgba(255, 255, 255, 0.9);
  --card-shell-bg: linear-gradient(160deg, #ffffff 0%, #f3f1e9 100%);
  --media-shell-bg: #eceae1;
  --footer-bg: #efece2;
  --btn-cta-text: #14181f;

  --text-slate: #374151;

  --shadow-card: 0 12px 30px -15px rgba(20, 24, 31, 0.15), 0 0 40px -10px rgba(184, 146, 40, 0.1);
  --shadow-media: 0 12px 28px rgba(20, 24, 31, 0.12);
  --shadow-cta: 0 8px 24px rgba(20, 24, 31, 0.1);
  --media-border: rgba(10, 14, 20, 0.08);
  --cta-banner-bg: radial-gradient(ellipse at 50% 120%, rgba(209, 250, 229, 0.7) 0%, rgba(255, 255, 255, 0.98) 75%);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(20, 83, 45, 0.18), transparent 70%),
    radial-gradient(circle at 100% 60%, rgba(212, 175, 55, 0.05), transparent 40%),
    radial-gradient(circle at 0% 80%, rgba(16, 185, 129, 0.04), transparent 40%);
  background-attachment: fixed;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Accessibility focus rings */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Top Bar Contract */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1.5rem;
}

/* Zone 1: Wordmark */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  transition: opacity var(--transition-fast);
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  display: block;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--gold-400);
}

/* Zone 2: Navigation */
.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 840px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Zone 3: Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--btn-cta-text);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast), filter var(--transition-fast);
  white-space: nowrap;
}

.btn-header-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
}

@media (min-width: 840px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1.5rem;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-menu.is-open {
  display: flex;
}

.mobile-nav-menu .nav-link {
  padding: 0.5rem 0;
  font-size: 1rem;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 6.5rem 0 4.5rem;
  }
}

.hero-bismillah {
  font-family: var(--font-arabic);
  font-size: 1.75rem;
  color: var(--gold-400);
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  user-select: none;
}

@media (min-width: 768px) {
  .hero-bismillah {
    font-size: 2.25rem;
  }
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3.75rem;
  }
}

.hero-subhead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.25rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero-subhead {
    font-size: 1.25rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  background-color: var(--overlay-weak);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--overlay-medium);
  border-color: var(--overlay-strong);
}

/* Trust Bar / Claim-to-Proof */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-item svg {
  color: var(--gold-400);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Section Common */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3rem;
}

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

.section-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* Featured App Showcase: Quran Mushaf */
.featured-card {
  background: var(--card-shell-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 4rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 960px) {
  .featured-grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.featured-content {
  padding: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .featured-content {
    padding: 3.5rem 3.5rem;
  }
}

.app-badge-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--emerald-400);
  margin-bottom: 1rem;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
}

.app-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .app-title {
    font-size: 2.5rem;
  }
}

.app-short-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.25rem;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-slate);
}

.feature-check-item svg {
  color: var(--gold-400);
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.platform-download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.google-play-btn {
  display: inline-block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.google-play-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.google-play-badge-img {
  height: 52px;
  width: auto;
  display: block;
}

/* Coming Soon Pill / Box */
.coming-soon-indicator {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
}

.coming-soon-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.coming-soon-platforms {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.coming-soon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background-color: var(--overlay-hairline);
  border: 1px dashed var(--overlay-dashed);
  border-radius: var(--radius-md);
  cursor: default;
  user-select: none;
}

.coming-soon-btn svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* App Mockup Media Slot */
.featured-media {
  position: relative;
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

.app-mockup-img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-media);
  border: 1px solid var(--media-border);
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.app-mockup-img:hover {
  transform: scale(1.02);
}

/* Two-column Secondary Grid */
.apps-grid-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 880px) {
  .apps-grid-two {
    grid-template-columns: 1fr 1fr;
  }
}

.secondary-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.secondary-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-3px);
}

.secondary-media-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: var(--media-shell-bg);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .secondary-media-wrapper {
    height: 260px;
  }
}

.secondary-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.secondary-card:hover .secondary-media-img {
  transform: scale(1.03);
}

.secondary-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.secondary-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
}

.secondary-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.secondary-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.secondary-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-slate);
}

.secondary-features li svg {
  color: var(--gold-400);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.secondary-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Values & Philosophy Section */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: border-color var(--transition-fast);
}

.value-card:hover {
  border-color: var(--overlay-hover);
}

.value-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Call to Action Banner */
.cta-banner {
  background: var(--cta-banner-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: var(--shadow-cta);
}

.cta-headline {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.cta-subhead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background-color: var(--footer-bg);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 380px;
  line-height: 1.65;
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom-meta a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-meta a:hover {
  color: var(--text-primary);
}

/* Reduced Motion Compliance */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Language & Theme Toggle Buttons */
.icon-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.icon-toggle-btn:hover {
  background-color: var(--overlay-weak);
  border-color: var(--border-gold-hover);
}

.icon-toggle-btn .theme-icon-dark,
.icon-toggle-btn .theme-icon-light {
  display: none;
  width: 18px;
  height: 18px;
}

:root:not([data-theme="light"]) .icon-toggle-btn .theme-icon-dark {
  display: inline-flex;
}

:root[data-theme="light"] .icon-toggle-btn .theme-icon-light {
  display: inline-flex;
}

@media (max-width: 600px) {
  .header-actions {
    gap: 0.4rem;
  }

  .btn-header-cta span {
    display: none;
  }

  .btn-header-cta {
    padding: 0.6rem;
  }

  .icon-toggle-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .mobile-nav-toggle {
    flex-shrink: 0;
  }
}

@media (max-width: 360px) {
  .header-actions {
    gap: 0.3rem;
  }

  .icon-toggle-btn {
    width: 32px;
    height: 32px;
  }
}

/* RTL Support (Arabic) */
html[dir="rtl"] .btn-secondary svg {
  transform: scaleX(-1);
}

@media (min-width: 768px) {
  html[dir="rtl"] .footer-bottom {
    text-align: right;
  }
}

html[dir="rtl"] .cta-subhead,
html[dir="rtl"] .section-desc,
html[dir="rtl"] .hero-subhead {
  text-align: center;
}

html[lang="ar"] {
  --font-sans: 'Noto Kufi Arabic', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
}
