/* ================================================================
   aibg-landing.css  —  Exotechnic PMS login page styles
   Matches the AI Business Guru landing page visual language.
================================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  background-color: #f1f1f1;
  color: #7c7c7c;
  line-height: 1.65;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0; }
p { margin-top: 0; margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { text-decoration: none; }

/* ---- CONTAINER ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* ---- NAVBAR ---- */
.navbar {
  background-color: #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  margin: 0;
  border: none;
  flex-shrink: 0;
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.logo span { color: #fd7e14; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }
.btn-contact {
  background-color: #fd7e14;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-contact:hover { opacity: 0.88; color: #fff; }

/* ---- EYEBROW ---- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fd7e14;
  margin-bottom: 16px;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  flex: 1;
  padding: 80px 0;
  background-color: #0d1117;
  background-image: url('../images/about-hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 18, 0.72);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}

/* ---- HERO: TWO-COLUMN LAYOUT (login page) ---- */
.hero-login-layout {
  display: flex;
  align-items: center;
  gap: 80px;
}
.hero-login-text {
  flex: 1;
}
.hero-login-text .eyebrow { font-size: 0.8rem; }
.hero-login-text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 420px;
}
.hero-login-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 400px;
}

/* ---- HERO: CENTERED LAYOUT ---- */
.hero-center-wrap {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.hero-center-wrap h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-center-wrap > p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

/* ---- HERO CARD ---- */
.hero-card {
  background: #fff;
  border-radius: 10px;
  padding: 40px 44px;
  width: 420px;
  flex-shrink: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.hero-card-center {
  width: 100%;
  max-width: 440px;
  margin: 36px auto 0;
  text-align: left;
}
.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.card-sub {
  font-size: 0.875rem;
  color: #7c7c7c;
  line-height: 1.5;
  margin-bottom: 28px;
}
.card-body-text {
  font-size: 0.9375rem;
  color: #7c7c7c;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ---- FORM FIELDS ---- */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.field-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #1a1a1a;
  background: #fafafa;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 1.5;
}
.field-input:focus {
  border-color: #fd7e14;
  box-shadow: 0 0 0 3px rgba(253, 126, 20, 0.12);
  background: #fff;
}
.field-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.field-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #fd7e14;
  flex-shrink: 0;
  cursor: pointer;
}
.field-check label {
  font-size: 0.875rem;
  color: #555;
  font-weight: 400;
  margin: 0;
  cursor: pointer;
}

/* ---- CARD BUTTONS ---- */
.card-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-sign-in {
  display: inline-block;
  background-color: #fd7e14;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
  text-decoration: none;
  line-height: 1.4;
}
.btn-sign-in:hover { opacity: 0.88; color: #fff; }
.btn-card-cancel {
  background: transparent;
  color: #7c7c7c;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 5px;
  border: 1.5px solid #d8d8d8;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit;
  line-height: 1.4;
}
.btn-card-cancel:hover { border-color: #aaa; color: #1a1a1a; }
.btn-card-link {
  display: inline-block;
  color: #7c7c7c;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 10px 4px;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-card-link:hover { color: #1a1a1a; }

/* ---- CARD LINKS ---- */
.card-links {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}
.card-links a {
  font-size: 0.8125rem;
  color: #fd7e14;
  text-decoration: none;
}
.card-links a:hover { text-decoration: underline; }

/* ---- EXTERNAL PROVIDERS ---- */
.ext-providers {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-ext-provider {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 20px;
  background: #f5f5f5;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  color: #1a1a1a;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-ext-provider:hover { background: #ebebeb; color: #1a1a1a; }

/* ---- VALIDATION SUMMARY ---- */
.alert.alert-danger {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
}
.alert.alert-danger strong {
  font-size: 0.875rem;
  color: #be123c;
  display: block;
  margin-bottom: 6px;
}
.validation-summary-errors {
  list-style: none;
  padding: 0;
  margin: 0;
}
.validation-summary-errors li,
.danger p {
  font-size: 0.8125rem;
  color: #be123c;
  line-height: 1.5;
}

/* ---- NO LOGIN SCHEMES WARNING ---- */
.alert-warning-card {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 18px 20px;
}
.alert-warning-card strong {
  font-size: 0.9375rem;
  color: #92400e;
  display: block;
  margin-bottom: 6px;
}
.alert-warning-card p { font-size: 0.875rem; color: #78350f; }

/* ---- FOOTER ---- */
footer {
  background-color: #1a1a1a;
  padding: 40px 0 0;
  border-top: 1px solid #2a2a2a;
  flex-shrink: 0;
}
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-brand .brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.footer-brand .brand-name span { color: #fd7e14; }
.footer-brand p {
  font-size: 0.8125rem;
  color: #888;
  line-height: 1.65;
  max-width: 280px;
}
.footer-address {
  font-size: 0.8125rem;
  color: #888;
  line-height: 1.85;
  text-align: right;
}
.footer-address .addr-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 4px;
}
.footer-address a { color: #888; text-decoration: none; }
.footer-address a:hover { color: #ccc; }
.footer-copyright {
  border-top: 1px solid #2e2e2e;
  padding: 16px 0;
}
.footer-copyright p { font-size: 0.75rem; color: #555; margin: 0; }

/* ---- RESPONSIVE — TABLET (≤ 1024px) ---- */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .navbar-inner { padding: 0 24px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.78rem; }
  .hero { padding: 64px 0; }
  .hero-login-text h1 { font-size: 2.4rem; }
  .hero-login-layout { gap: 48px; }
  .hero-card { width: 380px; padding: 32px 36px; }
  .hero-center-wrap h1 { font-size: 2.4rem; }
}

/* ---- RESPONSIVE — MOBILE (≤ 768px) ---- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .navbar-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .navbar { height: 60px; }
  .hero { padding: 52px 0 60px; min-height: auto; }
  .hero-login-layout { flex-direction: column; gap: 36px; align-items: flex-start; }
  .hero-login-text h1 { font-size: 2rem; max-width: 100%; }
  .hero-login-text p { max-width: 100%; }
  .hero-card { width: 100%; padding: 28px 24px; }
  .hero-center-wrap h1 { font-size: 2rem; }
  .footer-bottom { flex-direction: column; gap: 24px; }
  .footer-address { text-align: left; }
}

/* ---- RESPONSIVE — SMALL MOBILE (≤ 480px) ---- */
@media (max-width: 480px) {
  .hero-login-text h1 { font-size: 1.75rem; }
  .hero-center-wrap h1 { font-size: 1.75rem; }
  .card-actions { flex-direction: column; }
  .btn-sign-in, .btn-card-cancel { width: 100%; text-align: center; }
}
