/* ==========================================
   CONVERSION-OPTIMIZED LANDING PAGE STYLES
   Real Estate DM Management Service
   ========================================== */

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

:root {
  /* Brand Colors */
  --primary-color: #2563eb; /* Trust-inducing blue */
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary-color: #10b981; /* Success green */
  --accent-color: #f59e0b; /* Urgency orange */
  
  /* Neutral Colors */
  --dark: #1f2937;
  --gray-800: #374151;
  --gray-700: #4b5563;
  --gray-600: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 5rem 2rem;
  
  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================
   HEADER WITH LOGO & SOCIAL LINKS
   ========================================== */

.site-header {
  background: #f8f9fa;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.header-logo {
  height: 78px;
  width: auto;
  max-width: 325px;
  object-fit: contain;
  background: transparent;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================
   HERO SECTION - Above the Fold
   ========================================== */

.hero-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.35rem;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  background: #dc9308;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 1.25rem 2.5rem;
  font-size: 1.15rem;
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary-large {
  background: var(--primary-color);
  color: var(--white);
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-primary-large:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.trust-badge {
  font-size: 0.95rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.trust-badge i {
  color: var(--secondary-color);
}

/* ==========================================
   PAIN POINTS SECTION
   ========================================== */

.pain-section {
  padding: var(--section-padding);
  background: var(--gray-100);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark);
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 3rem;
  font-style: italic;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pain-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-color);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pain-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.pain-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
  font-weight: 600;
}

.pain-card p {
  color: var(--gray-700);
  line-height: 1.6;
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */

.how-it-works-section {
  padding: var(--section-padding);
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 3rem 0;
  position: relative;
}

/* Add arrows between steps */
.steps-grid::before,
.steps-grid::after {
  content: '→';
  position: absolute;
  top: 35px;
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-light);
  z-index: 0;
}

.steps-grid::before {
  left: calc(33.33% - 1.5rem);
}

.steps-grid::after {
  left: calc(66.66% - 1.5rem);
}

.step-card {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
  font-weight: 600;
}

.step-card p {
  color: var(--gray-700);
  line-height: 1.7;
  font-size: 1.05rem;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services-section {
  padding: var(--section-padding);
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-top: 4px solid var(--primary-color);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
  font-weight: 600;
}

.service-card p {
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ==========================================
   DIFFERENTIATORS SECTION
   ========================================== */

.differentiators-section {
  padding: var(--section-padding);
  background: var(--white);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.diff-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid var(--gray-300);
}

.diff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
  border-color: var(--primary-color);
}

.diff-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.diff-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark);
  font-weight: 600;
}

.diff-card p {
  color: var(--gray-700);
  line-height: 1.7;
}

/* ==========================================
   AUDIT CTA SECTION
   ========================================== */

.audit-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: var(--white);
}

.section-title-white {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--white);
  line-height: 1.2;
}

.audit-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.audit-content {
  max-width: 900px;
  margin: 0 auto;
}

.audit-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row-full {
  margin-bottom: 1rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form-textarea {
  resize: vertical;
  font-family: var(--font-primary);
}

.form-disclaimer {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0.9;
}

/* ==========================================
   PILOT CTA SECTION
   ========================================== */

.pilot-section {
  padding: var(--section-padding);
  background: var(--white);
  text-align: center;
}

.pilot-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 3rem auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: var(--gray-800);
  text-align: left;
}

.benefit-item i {
  color: var(--secondary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  height: 91px;
  width: auto;
  max-width: 364px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.footer-links-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.footer p {
  margin: 0.5rem 0;
  opacity: 0.9;
}

.footer-links {
  margin: 0;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.footer-copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .section-title,
  .section-title-white {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .diff-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Hide arrows on mobile */
  .steps-grid::before,
  .steps-grid::after {
    display: none;
  }

  .audit-form {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .pilot-benefits {
    grid-template-columns: 1fr;
  }

  /* Header responsive */
  .header-logo {
    height: 59px;
    max-width: 260px;
  }

  .social-link {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  /* Footer responsive */
  .footer-logo {
    height: 65px;
  }

  .footer-social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 4rem 1rem 3rem;
  }

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

  .container {
    padding: 0 1rem;
  }

  .section-title,
  .section-title-white {
    font-size: 1.5rem;
  }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
