/* SmartBUildERP - Marketing / Landing Website */
:root {
  --sb-primary: #f57c00;
  --sb-primary-dark: #e65100;
  --sb-secondary: #1a1a1a;
  --sb-accent: #ffb74d;
  --sb-whatsapp: #25d366;
}

body.marketing-body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
}

/* Header */
.marketing-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.marketing-header .navbar-brand {
  font-weight: 700;
  font-size: 1.35rem;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.marketing-header .logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sb-primary) 0%, var(--sb-accent) 100%);
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  font-weight: 800;
}

.marketing-header .nav-link {
  color: #444 !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem !important;
}

.marketing-header .nav-link:hover {
  color: var(--sb-primary) !important;
}

.marketing-header .btn-demo {
  background: var(--sb-primary);
  color: white !important;
  border-radius: 6px;
  padding: 0.4rem 1rem !important;
  font-weight: 600;
}

.marketing-header .btn-demo:hover {
  background: var(--sb-primary-dark);
  color: white !important;
}

.marketing-header .btn-login {
  border: 1px solid #333;
  border-radius: 6px;
  color: #333 !important;
  padding: 0.4rem 1rem !important;
  font-weight: 600;
}

.marketing-header .btn-login:hover {
  background: #f5f5f5;
  color: #1a1a1a !important;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  background: var(--sb-whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,.4);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  color: white;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(37,211,102,.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Hero section */
.hero-section {
  min-height: calc(100vh - 72px);
  padding: 3rem 0 4rem;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.btn-register {
  background: var(--sb-primary);
  color: white;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  transition: background 0.2s;
}

.btn-register:hover {
  background: var(--sb-primary-dark);
  color: white;
}

.btn-learn {
  background: white;
  color: #1a1a1a;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid #1a1a1a;
  margin-left: 0.75rem;
  transition: background 0.2s, color 0.2s;
}

.btn-learn:hover {
  background: #1a1a1a;
  color: white;
}

/* Hero illustration - construction themed SVG/placeholder */
.hero-illustration {
  max-width: 100%;
  height: auto;
  min-height: 320px;
  background: linear-gradient(160deg, #fff8e1 0%, #ffe0b2 50%, #ffcc80 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-illustration svg {
  max-width: 100%;
  height: auto;
  max-height: 380px;
}

/* Split layout (login, contact, etc.) */
.split-layout {
  min-height: calc(100vh - 72px);
  padding: 3rem 0 4rem;
  display: flex;
  align-items: center;
}

.split-left {
  padding-right: 2rem;
}

.split-right {
  padding-left: 2rem;
}

@media (max-width: 991.98px) {
  .split-layout .row { flex-direction: column-reverse; }
  .split-left, .split-right { padding: 0; margin-bottom: 2rem; }
}

/* Login form card */
.login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border: 1px solid #eee;
  padding: 2rem;
}

.login-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.login-card .form-control {
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
}

.login-card .btn-primary {
  background: var(--sb-primary);
  border-color: var(--sb-primary);
  border-radius: 8px;
  padding: 0.6rem;
  font-weight: 600;
}

.login-card .btn-primary:hover {
  background: var(--sb-primary-dark);
  border-color: var(--sb-primary-dark);
}

/* Section headings */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

/* Footer */
.marketing-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,.8);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.marketing-footer h6 {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.marketing-footer a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 0.9rem;
}

.marketing-footer a:hover {
  color: var(--sb-accent);
}

.marketing-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
}
