:root {
  --bg: #0b0b0b;
  /* black */
  --panel: #0f0f10;
  --gold-1: #d4af37;
  /* classic gold */
  --gold-2: #b88f2b;
  --muted: #bfb8a9;
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial;
  color-scheme: dark;
}

* {
  box-sizing: border-box;

}

html,
body {
  height: 100%;
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 10% 10%,
      rgba(212, 175, 55, 0.04),
      transparent),
    var(--bg);
  color: #eee;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* Language switcher */
.lang-switch {
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: inline-block;
  background-size: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease;
}

.lang-switch:hover {
  transform: scale(1.1);
}

/* Flag images */
.lang-switch[data-lang="en"] {
  background-image: url("./flag_eng.png");
  background-position: center;
}

.lang-switch[data-lang="ar"] {
  background-image: url("./flag-uae.webp");

  background-size: cover;
  background-repeat: no-repeat;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0b0b0b;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(184, 143, 43, 0.12);
  background-image: url('./ruya-logo.png');
  background-position: center;
  background-size: cover;
}

.brand h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.6px;
}

.tagline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.cta {
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #0b0b0b;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}

.secondary-btn {
  padding: 10px 14px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.03);
  font-weight: 700;
}

.lang-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  font-size: 20px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: center;
  padding: 48px 0;
}

.hero-left h2 {
  font-size: 40px;
  margin: 0 0 12px;
  color: var(--gold-1);
  line-height: 1.05;
}

.hero-left p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 22px;
}

.features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pill {
  background: var(--glass);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.hero-buttons {
  margin-top: 22px;
  display: flex;
  gap: 12px;
}

/* Panel */
.panel {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.01));
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(3, 3, 3, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.06);
}

.stats {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.03);
}

.stat:last-child {
  border-bottom: 0;
}

.stat strong {
  color: var(--gold-1);
}

.panel .small {
  font-size: 13px;
  color: var(--muted);
}

.panel-subtitle {
  margin-bottom: 12px;
}

/* Industries */
.industries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 42px 0;
}

.industry {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.01),
      rgba(0, 0, 0, 0.03));
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.industry h3 {
  margin: 0 0 6px;
  color: var(--gold-2);
}

.industry p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Why choose us */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.card {
  background: transparent;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.card h4 {
  margin: 0 0 8px;
  color: var(--gold-1);
}

/* CTA */
.big-cta {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 26px;
  border-radius: 12px;
  background: linear-gradient(90deg,
      rgba(212, 175, 55, 0.06),
      rgba(184, 143, 43, 0.03));
  border: 1px solid rgba(212, 175, 55, 0.05);
}

.big-cta .left h3 {
  margin: 0;
  color: var(--gold-1);
}

.big-cta .left p {
  margin: 6px 0 0;
  color: var(--muted);
}

.cta-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Contact form */
.contact-section {
  margin-top: 22px;
}

.contact-container {
  display: flex;
  gap: 18px;
  flex-direction: column;
}

.contact-container h3 {
  color: var(--gold-1);
  margin: 0;
}

.contact-container p {
  margin: 6px 0 12px;
  color: var(--muted);
}

.contact-container a {
  color: var(--gold-2);
  text-decoration: underline;
}

#lead-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

#lead-form input,
#lead-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  color: inherit;
}

#lead-form label+input,
#lead-form label+textarea {
  margin-top: 6px;
}

.form-footer {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.form-footer .note {
  color: var(--muted);
  font-size: 13px;
}

.form-msg {
  margin-top: 10px;
  color: var(--gold-2);
  display: none;
}

/* Footer */
footer {
  margin-top: 38px;
  padding: 22px 0;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 12px;
}

/* Responsive */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-left h2 {
    font-size: 32px;
  }

  nav {
    display: none;
  }
}

/* subtle animations */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.995);
  transition: all 700ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Right-to-left text for Arabic */
.lang-text.rtl {
  direction: rtl;
  text-align: right;
}

/* Section titles & subtitles */
.section-title {
  color: var(--gold-1);
  margin: 16px 0;
}

.section-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
}