/* ==========================================================================
   muhammedbinsalman.com - Executive Clean Dark Landing Page
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800;900&family=Noto+Sans+Arabic:wght@500;700;800&display=swap');

:root {
  --bg-dark: #08090c;
  --panel-bg: rgba(16, 19, 26, 0.95);
  
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-gold: #c9a857;
  --accent-gold-hover: #dfbc68;
  
  --status-green: #10b981;
  --status-green-bg: rgba(16, 185, 129, 0.12);
  --status-green-border: rgba(16, 185, 129, 0.3);
  
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-gold-subtle: rgba(201, 168, 87, 0.25);
  
  --font-main: 'Plus Jakarta Sans', 'Noto Sans Arabic', 'Inter', -apple-system, sans-serif;
}

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

html, body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden !important;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-main);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top Header Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 100;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Green Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--status-green);
  background: var(--status-green-bg);
  border: 1px solid var(--status-green-border);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--status-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--status-green);
  flex-shrink: 0;
}

/* Language Selector Buttons */
.lang-switcher {
  display: flex;
  align-items: center;
  background: #121620;
  border: 1px solid var(--border-subtle);
  padding: 0.2rem;
  border-radius: 8px;
  gap: 0.2rem;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  user-select: none;
}

.lang-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
  background: var(--accent-gold);
  color: #08090c;
  font-weight: 700;
}

.copy-btn {
  background: #121620;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

/* Main Viewport Content */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.hero-box {
  text-align: center;
  max-width: 1150px;
  width: 100%;
  margin-bottom: 1.75rem;
}

/* Desktop Domain Title */
.domain-title {
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 0.6rem;
  white-space: nowrap;
}

.domain-tld {
  color: var(--accent-gold);
}

.domain-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1.75rem;
}

/* Executive Buttons Row */
.cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.btn-primary-afternic {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--accent-gold);
  color: #08090c;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--accent-gold);
  transition: all 0.2s ease;
}

.btn-primary-afternic:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

.btn-secondary-wa {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #121620;
  color: var(--text-white);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.btn-secondary-wa:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Offer Card Section */
.offer-box {
  background: var(--panel-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
}

.offer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.offer-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.security-tag {
  font-size: 0.75rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.65rem;
  width: 100%;
}

.input-field {
  background: #08090c;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  color: var(--text-white);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.input-field:focus {
  border-color: var(--accent-gold);
}

.btn-submit-offer {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
}

.btn-submit-offer small {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-submit-offer:hover {
  background: #ffffff;
  color: #08090c;
}

/* Minimal Footer Bar */
.bottom-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.1rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

.footer-content {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.trust-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #151821;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold-subtle);
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Comprehensive Responsive Rules for Mobile (under 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  .top-bar {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1rem 0.5rem !important;
    width: 100% !important;
  }

  .top-bar-right {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .main-wrapper {
    padding: 1rem 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Enlarged Mobile Domain Title (Zero Overflow) */
  .domain-title {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    font-size: clamp(1.6rem, 6.4vw, 2.6rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
    max-width: 100% !important;
  }

  .domain-subtitle {
    font-size: 0.875rem !important;
    margin-bottom: 1.25rem !important;
  }

  .cta-row {
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .btn-primary-afternic, .btn-secondary-wa {
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
  }

  .offer-box {
    padding: 1rem 0.75rem !important;
    width: 100% !important;
  }

  .offer-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.4rem !important;
  }

  .offer-grid {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
    width: 100% !important;
  }

  .btn-submit-offer {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
  }

  .bottom-footer {
    padding: 1.25rem 0.5rem !important;
    width: 100% !important;
  }

  .trust-links {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: center !important;
    width: 100% !important;
  }

  .trust-item {
    font-size: 0.8rem !important;
    white-space: normal !important;
    text-align: center !important;
  }
}
