/* =========================================================
   NANES — PAGES
   06 — LANDING PAGE
   ========================================================= */


/* =========================================================
   LANDING PAGE
   ========================================================= */

.landing {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        40px 20px;

    position: relative;
}


.landing-inner {

    width:
        min(900px, 100%);

    text-align: center;

    animation:
        pageEnter 700ms ease both;
}


.landing-brand {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;

    margin-bottom: 30px;
}


.hero-logo-wrapper {

    width: 145px;
    height: 145px;

    display: grid;

    place-items: center;

    border-radius: 40px;

    padding: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.015)
        );

    border:
        1px solid
        var(--border-strong);

    box-shadow:
        var(--shadow-lg),
        var(--glow-primary);

    backdrop-filter:
        blur(20px);

    animation:
        logoFloat 5s ease-in-out infinite;
}


.hero-logo {

    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 30px;
}


.landing-title {

    font-size:
        clamp(42px, 8vw, 78px);

    font-weight: 900;

    letter-spacing: -2px;

    background:
        linear-gradient(
            135deg,
            #ffffff 20%,
            var(--primary-light) 55%,
            #ffffff 90%
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}


.landing-desc {

    max-width: 650px;

    margin:
        0 auto 35px;

    color:
        var(--text-secondary);

    font-size: 17px;

    line-height: 2;
}


.landing-actions {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}


.landing-note {

    margin-top: 30px;

    color:
        var(--text-muted);

    font-size: 13px;
}


@keyframes logoFloat {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {

        transform:
            translateY(-9px)
            rotate(1deg);
    }
}

/* ------------------------------------------------------ */
/* Login CSS */
/* auth pages */
/* ==========================================
   Writer Auth Dark Theme (استايل دخول الكاتب)
   ========================================== */

.writer-auth-page {
  background-color: #0c0e12; /* خلفية الصفحة الداكنة */
  color: #e0e6ed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-family: inherit;
}

.auth-wrapper {
  width: 100%;
  max-width: 460px;
}

.auth-card-dark {
  background-color: #161922; /* لون الكارت الداكن */
  border: 1px solid #232734;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.auth-brand {
  text-align: center;
  margin-bottom: 24px;
}

.auth-brand .brand-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 10px;
}

.auth-brand .brand-sub {
  font-size: 0.85rem;
  color: #8b94a7;
  letter-spacing: 1px;
}

/* تبويبات التسجيل والدخول */
.auth-tabs-dark {
  display: flex;
  border-bottom: 1px solid #2a2f3d;
  margin-bottom: 24px;
}

.auth-tabs-dark .tab-btn {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: none;
  color: #8b94a7;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.auth-tabs-dark .tab-btn.active {
  color: #cda851; /* اللون الذهبي الخاص بالمنصة */
  border-bottom-color: #cda851;
}

/* النماذج والحقول */
.dark-form {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.dark-form.active-form {
  display: flex;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.form-group label {
  font-size: 0.85rem;
  color: #a0aec0;
}

.dark-input {
  background-color: #1a1d28;
  border: 1px solid #2d3345;
  border-radius: 8px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.dark-input:focus {
  border-color: #cda851; /* تحديد ذهبي عند الكتابة */
}

.dark-input::placeholder {
  color: #525a6e;
}

/* الزر الذهبي بنفس زر "الدخول ككاتب" */
.btn-gold {
  background: linear-gradient(135deg, #cda851 0%, #ab8432 100%);
  color: #0d0f12;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-gold:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}