/* Hemlin Cleaning Core Theme Styles */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&family=JetBrains+Mono:wght@400..700&display=swap');

:root {
  --hm-bg-dark: #090B18;
  --hm-bg-card: #11152B;
  --hm-bg-footer: #070915;
  --hm-primary: #3B5BFF;
  --hm-primary-accent: #93A5FF;
  --hm-text-white: #FFFFFF;
  --hm-text-light: #F2F5FF;
  --hm-text-muted: #B4BDDA;
  --hm-text-dim: #8792B5;
  --hm-border: #1A2038;
  --hm-border-card: #212842;
  --hm-border-light: rgba(255, 255, 255, 0.14);
  --hm-status-green: #34D399;
  --hm-font-main: 'Archivo', system-ui, -apple-system, sans-serif;
  --hm-font-mono: 'JetBrains Mono', monospace;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--hm-bg-dark);
  color: var(--hm-text-muted);
  font-family: var(--hm-font-main);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
  box-sizing: border-box;
}

a {
  color: var(--hm-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--hm-primary-accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hm-font-main);
  color: var(--hm-text-white);
  line-height: 1.15;
  margin-top: 0;
}

.hero-bg {
  background-color: var(--hm-bg-dark);
  background-image: linear-gradient(180deg, rgba(9,11,24,0) 60%, #090B18 100%),
                    linear-gradient(90deg, rgba(9,11,24,0.94) 0%, rgba(9,11,24,0.74) 45%, rgba(9,11,24,0.3) 100%);
  background-size: cover;
  background-position: center;
}

.cta-bg {
  background-color: var(--hm-bg-dark);
  background-image: linear-gradient(90deg, rgba(9,11,24,0.92) 0%, rgba(9,11,24,0.62) 55%, rgba(9,11,24,0.32) 100%);
  background-size: cover;
  background-position: center 65%;
}

.page-bg {
  background-color: var(--hm-bg-dark);
  background-image: linear-gradient(180deg, rgba(9,11,24,0.55) 0%, #090B18 100%),
                    linear-gradient(90deg, rgba(9,11,24,0.96) 0%, rgba(9,11,24,0.8) 50%, rgba(9,11,24,0.5) 100%);
  background-size: cover;
  background-position: center 30%;
}

.grid-lines {
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 90%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 90%);
  pointer-events: none;
}

/* Header styling */
#hm-header header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(9, 11, 24, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hm-border);
}

.hm-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px clamp(20px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}

.hm-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 22px;
  font-size: 15px;
  font-weight: 500;
}

.hm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--hm-primary);
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px -10px rgba(59, 91, 255, 0.5);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.hm-btn-primary:hover {
  background: #4E6CFF;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(59, 91, 255, 0.7);
}

.hm-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--hm-text-light) !important;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.hm-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Card Styling */
.hm-card {
  background: var(--hm-bg-card);
  border: 1px solid var(--hm-border-card);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.hm-card:hover {
  border-color: rgba(147, 165, 255, 0.35);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6);
}

/* Elementor container compatibility */
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-container {
  max-width: 1280px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .hm-nav {
    display: none;
  }
  .hm-nav.is-open {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px 0;
    gap: 12px;
  }
}

/* Pricing Section (Light Mode) */
.hm-pricing-section {
  background-color: #F5F7FC !important;
}
.hm-pricing-section h1,
.hm-pricing-section h2 {
  color: #0A0F24 !important;
}
.hm-pricing-section p {
  color: #3B4466;
}
