/**
 * Minimalist Landing Page for Hafiz App v2.0
 * Matches main app aesthetic exactly
 */

/* Layout */
.landing-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  gap: 4rem;
}

/* Hero Section */
.hero {
  text-align: center;
  max-width: 600px;
}

.hero-title {
  font-family: 'Rakkas', cursive;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-family: 'Amiri', serif;
  font-size: 1.3rem;
  color: var(--sage);
  margin-bottom: 2rem;
}

body[dir="ltr"] .hero-subtitle {
  font-family: 'Crimson Pro', serif;
}

.hero-actions {
  margin-top: 2rem;
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 35px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--forest-dark);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-demo:hover {
  transform: translateY(-2px);
}

.btn-demo:active {
  transform: translateY(-1px);
}

/* Login Section */
.login-section {
  max-width: 320px;
  width: 100%;
  text-align: center;
}

.login-title {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 1.5px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.login-btn-google {
  background: #fff;
  color: #333;
  border-color: #dadce0;
}

.login-btn-google:hover {
  background: #f8f9fa;
  border-color: #d2d4d8;
}

.login-btn-github {
  background: #24292e;
  color: #fff;
  border-color: #1b1f23;
}

.login-btn-github:hover {
  background: #2c3338;
  border-color: #24292e;
}

.provider-logo {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* RTL support */
[dir="rtl"] .login-btn {
  flex-direction: row-reverse;
}

/* Responsive */
/* Tablets and small desktops */
@media (max-width: 1024px) {
  .landing-main {
    padding: 2rem 1.5rem;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .landing-main {
    gap: 3rem;
    padding: 1.5rem 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .login-section {
    max-width: 100%;
  }

  .login-btn {
    padding: 13px 20px;
    font-size: 1rem;
  }

  .provider-logo {
    width: 20px;
    height: 20px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .landing-main {
    gap: 2rem;
    padding: 1rem 0.75rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn-demo {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .login-title {
    font-size: 1.2rem;
  }
}
