:root {
  /* Colors */
  --color-white: #ffffff;
  --color-bg-soft: #f8fafc;
  --color-gray-light: #e5e7eb;
  --color-blue-accent: #3b82f6;
  --color-blue-hover: #2563eb;
  --color-green-accent: #22c55e;
  --color-green-hover: #16a34a;
  --color-text-dark: #0f172a;
  --color-text-muted: #64748b;
  
  /* Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  
  /* Spacing */
  --spacing-section-desktop: 100px;
  --spacing-section-tablet: 60px;
  --spacing-section-mobile: 40px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--color-bg-soft);
  color: var(--color-text-muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--color-blue-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-blue-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--spacing-section-desktop) 0;
}

@media (max-width: 992px) {
  .section {
    padding: var(--spacing-section-tablet) 0;
  }
}

@media (max-width: 576px) {
  .section {
    padding: var(--spacing-section-mobile) 0;
  }
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Typography Utilities */
.text-center { text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; max-width: 600px; margin: 0 auto 3rem auto; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-blue-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-blue-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-text-dark);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-light);
}

.btn-secondary:hover {
  background-color: var(--color-bg-soft);
  color: var(--color-text-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-green {
  background-color: var(--color-green-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-green:hover {
  background-color: var(--color-green-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Header */
.header {
  background-color: var(--color-white);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid var(--color-gray-light);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom: transparent;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  color: var(--color-blue-accent);
  font-size: 1.75rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--color-text-dark);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-blue-accent);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-dark);
}

@media (max-width: 992px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav-links.active {
    max-height: 400px;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 16px;
    border-bottom: 1px solid var(--color-bg-soft);
  }
  
  .nav-links .btn {
    margin: 16px auto;
  }
  
  .mobile-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  padding-top: 80px; /* Offset for header */
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  /* background-image: bright-clean-home-interior.jpg */
  background: url('images/photo-1527515637462-cff94eecc1ac.png') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.2) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--color-text-muted);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

@media (max-width: 768px) {
  .hero::before {
    background: rgba(255, 255, 255, 0.9);
  }
  .hero-title { font-size: 2.5rem; }
  .hero-buttons { flex-direction: column; }
}

/* Cards */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-gray-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Services */
.service-icon {
  width: 64px;
  height: 64px;
  background-color: #eff6ff; /* Soft blue bg */
  color: var(--color-blue-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-list {
  margin-bottom: 24px;
}

.service-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green-accent);
  font-weight: bold;
}

/* How It Works */
.step-card {
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--color-blue-accent);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.step-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* Pricing */
.pricing-section {
  background-color: var(--color-white);
}

.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--color-blue-accent);
  box-shadow: var(--shadow-md);
}

.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-blue-accent);
  color: var(--color-white);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 24px 0;
}

.price span {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* Contact Form */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--color-bg-soft);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-blue-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background-color: var(--color-white);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-gray-light);
  padding: 60px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-blue-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-gray-light);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
}

/* Standard Page Header */
.page-header {
  padding: 160px 0 80px 0;
  background-color: var(--color-bg-soft);
  text-align: center;
  border-bottom: 1px solid var(--color-gray-light);
}

/* Content Blocks for Terms/Privacy */
.content-block {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-light);
  margin-bottom: 40px;
}

.content-block h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.content-block p, .content-block ul {
  margin-bottom: 16px;
}

.content-block ul {
  padding-left: 24px;
  list-style: disc;
}