/* passforge.css */
:root {
  --bg: #121212;
  --text: #FFFFFF;
  --primary: #D4A574;   /* نحاس فاتح */
  --secondary: #7EC8E3; /* أزرق معدني */
  --card-bg: #1E1E1E;
  --border: #333333;
  --accent: #B88A5C;    /* نحاس داكن */
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  padding-bottom: 60px;
  position: relative;
}

/* زر الترجمة */
.language-switcher {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 6px;
  z-index: 100;
}

.lang-btn {
  width: 42px;
  height: 42px;
  background: rgba(212, 165, 116, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: var(--primary);
  color: var(--bg);
  transform: translateY(-2px);
}

/* Header */
header.hero {
  text-align: center;
  padding: 110px 20px 70px;
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
  border-bottom: 1px solid var(--border);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.logo {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(212, 165, 116, 0.2);
}

h1 {
  font-size: 3.4rem;
  margin: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  margin: 22px 0;
  opacity: 0.9;
}

.countdown {
  margin: 20px 0;
  font-size: 1.6rem;
  color: var(--secondary);
  font-weight: bold;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 15px 38px;
  font-size: 1.15rem;
  border-radius: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.2);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

/* Features */
.features, .demo, .security, .cta {
  max-width: 1000px;
  margin: 80px auto;
  padding: 40px 30px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.features h2,
.demo h2,
.security h2,
.cta h2 {
  text-align: center;
  margin-bottom: 35px;
  color: var(--primary);
  font-size: 1.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.feature h3 {
  color: var(--secondary);
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.feature p {
  font-size: 1.05rem;
  opacity: 0.9;
}

/* Demo */
.demo .mockup {
  max-width: 420px;
  margin: 35px auto;
  padding: 25px;
  background: #161616;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: 'Courier New', monospace;
  font-size: 1.05rem;
}

.input-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #ccc;
  font-weight: 500;
}

.output input {
  width: 100%;
  padding: 14px;
  background: #000;
  color: #0f0;
  border: 1px solid var(--secondary);
  border-radius: 8px;
  font-family: monospace;
  font-size: 1.15rem;
  text-align: center;
  font-weight: bold;
}

.output button {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 11px;
  background: #333;
  color: #888;
  border: none;
  border-radius: 8px;
  cursor: not-allowed;
  font-size: 0.95rem;
}

.note {
  text-align: center;
  font-size: 0.95rem;
  color: #aaa;
  margin-top: 12px;
}

/* Security */
.badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.badges span {
  background: rgba(212, 165, 116, 0.15);
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 0.98rem;
  border: 1px solid var(--border);
  color: var(--primary);
}

/* CTA */
.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 25px auto;
  max-width: 520px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 260px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: white;
  font-size: 1.05rem;
}

.newsletter-form button {
  padding: 15px 26px;
  background: var(--secondary);
  color: #000;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #6cb7d8;
  transform: scale(1.03);
}

#message {
  text-align: center;
  margin-top: 18px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.05rem;
}

/* Footer */
footer {
  max-width: 1000px;
  margin: 90px auto 0;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.98rem;
  color: #aaa;
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--primary);
  margin: 0 14px;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.6rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .language-switcher {
    top: 15px;
    left: 15px;
  }
  .lang-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}
