/* Base styles and resets */
:root {
  --primary-color: #2c6ecb;
  --secondary-color: #4CAF50;
  --accent-color: #ff6b35;
  --light-gray: #f5f7fa;
  --medium-gray: #e0e5ec;
  --dark-gray: #5a6474;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f5f7fa;
  background: linear-gradient(135deg, rgba(8, 24, 47, 0.9) 0%, rgba(16, 57, 116, 0.8) 100%), 
              url('./images/happy-homeowners-hero.jpg') center/cover fixed;
  padding: 0;
  margin: 0;
  min-height: 100vh;
}

/* Container styles */
.exemptioncontainer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 20px 10px 20px;
  background-color: #f5f8fa;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  margin-top: 40px;
}

/* Typography */
h2, h3, h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #4b5563;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 1rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #044081;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: underline;
  color: #1d4e89;
}

/* Form elements */
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

small {
  display: block;
  margin-bottom: 1rem;
  color: var(--dark-gray);
  font-style: italic;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  margin-bottom: 1rem;
  background-color: white;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 110, 203, 0.1);
}

.input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  margin-bottom: 1rem;
  background-color: white;
}

.input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(44, 110, 203, 0.1);
}

.full-width {
  width: 100%;
}

.ml6 {
  margin-left: 6px;
}

.mb12 {
  margin-bottom: 12px;
}

/* Buttons */
button, .search-button {
  cursor: pointer;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--primary-color);
  color: white;
  margin: 5px;
  min-width: 100px;
  text-align: center;
}

button:hover, .search-button:hover {
  background-color: #1d4e89;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  color: white;
}

button:active, .search-button:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.search-button {
  background-color: var(--secondary-color);
  width: 50%;
  padding: 12px;
  margin: 1rem 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.search-button:hover {
  background-color: #3a9d3d;
}

/* Disabled button styles */
button:disabled, 
.search-button:disabled {
  background-color: #e0e0e0;
  color: #a0a0a0;
  cursor: not-allowed;
  box-shadow: none;
  border: 1px solid #d1d5db;
  transform: none;
  opacity: 0.7;
}

button:disabled:hover, 
.search-button:disabled:hover {
  background-color: #e0e0e0;
  transform: none;
  box-shadow: none;
}

.search-button.active {
  background-color: var(--secondary-color);
}

.search-button.active:hover {
  background-color: #3a9d3d;
}

/* Selection buttons */
.deselected {
  background-color: #f1f5f9;
  color: #4b5563;
  border: 1px solid #d1d5db;
}

.selected {
  background-color: var(--secondary-color);
  color: white;
  border: 1px solid var(--secondary-color);
  position: relative;
  padding-right: 30px; 
}

.selected:after {
  content: "✓";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.disabilityRatingButton {
  width: calc(20% - 10px);
  margin: 5px;
  flex-grow: 0;
}

/* Dividers */
.custom-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  margin: 1.5rem 0;
}

/* Progress bar */
#progressContainer {
  margin: 1.5rem 0;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.progress {
  height: 14px !important;
  margin-bottom: 6px !important;
  background-color: #e9ecef !important;
  overflow: hidden;
  border-radius: 7px !important;
}

.progress-bar {
  height: 100%;
  background-color: var(--secondary-color);
  border-radius: 10px;
  transition: width 0.5s ease;
  position: relative;
}

.progress-level-1 {
  background: linear-gradient(to right, #ff9900, #ffb84d) !important;
}

.progress-level-2 {
  background: linear-gradient(to right, #ff9900, #ffcc00, #ffe066) !important;
}

.progress-level-3 {
  background: linear-gradient(to right, #ffcc00, #cde04d, #a4d03c) !important;
}

.progress-level-4 {
  background: linear-gradient(to right, #cde04d, #a4d03c, #4CAF50) !important;
}

.progress-level-5 {
  background: linear-gradient(to right, #a4d03c, #4CAF50, #2e7d32) !important;
}

@keyframes sparkle {
  0% { opacity: 0; right: 100%; }
  50% { opacity: 1; }
  100% { opacity: 0; right: 0; }
}

.progress-bar:after {
  content: "✨";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 14px;
  opacity: 0;
  animation: sparkle 3s ease-in-out infinite;
}

#progressText {
  text-align: right;
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

/* Question section styling */
.question {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f9fbfd;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
}

/* Hidden elements */
.hidden {
  display: none !important;
}

/* Green checkmark */
.green-checkmark {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Loading animation */
#loading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  font-weight: 500;
  text-align: center;
  padding: 15px;
}

.dots {
  position: relative;
}

.dots:after {
  content: '';
  animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60% { content: '...'; }
  80% { content: '....'; }
  100% { content: '.....'; }
}

/* Error message */
.error-message {
  color: #a16207;
  padding: 16px 20px;
  margin: 1rem 0;
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: 8px;
}

.error-message::before {
  content: "⚠️ ";
  margin-right: 8px;
}

.error-message strong {
  color: #78350f;
  font-weight: 600;
}

/* Results section */
#results {
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f0fff4;
  border-radius: var(--radius-md);
  border: 1px solid #c6f6d5;
  animation: fadeIn 0.3s ease-out;
}

/* Alert styles */
.alert {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  position: relative;
  animation: fadeIn 0.3s ease-out;
}

.alert-success {
  background-color: #f0fff4;
  border-left: 4px solid var(--secondary-color);
}

/* Loading overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1000;
}

.loading-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  text-align: center;
}

#loadingMessage {
  margin-top: 1rem;
  font-weight: 500;
}

#loadingContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

#loadingCircle #progressCircle {
  transition: stroke-dashoffset 0.5s ease;
}

/* Navigation */
.header-nav {
  background-color: #f5f8fa;
  padding: 0 20px;
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1;
}

.animated-title {
  margin: 0;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.property-text, .exemption-text {
  display: inline-block;
  position: relative;
}

.animated-title::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5f8fa;
  transform: translateX(0);
  animation: revealText 1.5s ease-out forwards;
}

@keyframes revealText {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-left: 20px;
}

.menu a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.menu a:hover {
  background-color: rgba(44, 110, 203, 0.1);
  color: var(--accent-color);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 24px;
  outline: none;
  text-align: right;
}

.hamburger:hover, .hamburger:focus {
  background: transparent;
  outline: none;
  box-shadow: none;
}

.hamburger-icon {
  display: block;
  position: relative;
  width: 24px;
  height: 18px;
  margin-left: auto;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }

.hamburger.active .hamburger-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Landing page styles */
.demo-landing-screen {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
  border-radius: 20px;
  border: 1px solid #e1e8ff;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.demo-landing-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c5aa0, #4f46e5, #2c5aa0);
  background-size: 200% 100%;
  animation: demo-shimmer 3s ease-in-out infinite;
}

@keyframes demo-shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.demo-landing-content {
  max-width: 500px;
  margin: 0 auto;
}

.demo-savings-highlight {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 15px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
  border: 2px solid #e1e8ff;
  position: relative;
}

.demo-savings-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2c5aa0;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.demo-savings-text {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-landing-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.demo-landing-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
  font-weight: 500;
  line-height: 1.4;
}

.demo-start-button {
  background: linear-gradient(135deg, #4CAF50 0%, #3a9d3d 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 200px;
  justify-content: center;
}

.demo-start-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.demo-start-button:hover::before {
  left: 100%;
}

.demo-start-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(58, 157, 61, 0.4);
}

.demo-button-arrow {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.demo-start-button:hover .demo-button-arrow {
  transform: translateX(3px);
}

.demo-trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.demo-trust-item {
  font-size: 0.9rem;
  color: #374151;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.demo-testimonial {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
  box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
  border: 2px solid #e1e8ff;
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c5aa0;
  text-align: center;
}

.demo-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.demo-trusted-badge {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.3rem 0.8rem;
  margin-top: 0.5rem;
}

/* Footer styling */
.powered-by {
  text-align: center;
  padding: 0.2rem 0;
  color: var(--dark-gray);
  font-size: 0.875rem;

}

/* Property info styling */
#property-info {
  background-color: white;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--medium-gray);
  margin-top: 0.5rem;
  animation: fadeIn 0.3s ease-out;
}

/* Unit selection */
#unit-selection {
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f0f7ff;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary-color);
}

.unit-list {
  margin-top: 1rem;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
}

.unit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background-color: white;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  border: 1px solid var(--medium-gray);
}

.unit-select-btn {
  background-color: var(--secondary-color);
  min-width: 80px;
}



/* Button container */
.button-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Ownership section */
#ownershipQuestion button {
  min-width: 150px;
  margin: 5px 10px;
}

#ownersList {
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f9fbfd;
  border-radius: var(--radius-md);
  border: 1px solid var(--medium-gray);
}

#buyerInputContainer {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  border: 1px solid var(--medium-gray);
}

#over60 {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: #f0f7ff;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
}

/* Dropdown styling */
#otherModificationsDropdown {
  margin-top: 15px;
  padding: 16px;
  background-color: #f9fbfd;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

#otherModSelect {
  width: 100%;
  padding: 14px 40px 14px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background-color: white;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6474' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

#otherModSelect:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 110, 203, 0.1);
}

#otherModSelect:hover {
  border-color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.search-button {
  animation: pulse 2s infinite;
}

/* Focus styles for accessibility */
button:focus, input:focus, select:focus {
  outline: 3px solid rgba(44, 110, 203, 0.2);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .exemptioncontainer {
    padding: 15px;
    margin: 0 auto;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 98%;
  }

  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  h3 {
    font-size: 1rem;
  }
  
  .question button {
    width: calc(50% - 10px);
    margin: 5px;
  }
  
  #address-state, #address-zip {
    margin-left: 0;
    width: 100%;
  }
  
  .loading-popup {
    width: 90%;
    max-width: 320px;
  }
  
  .nav-container {
    padding-right: 0;
  }
  
  .logo h2 {
    font-size: 1.3rem;
  }
  
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #eaf2fa;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }
  
  .menu.active {
    display: flex;
  }
  
  .menu li {
    margin: 10px 0;
  }
  
  .hamburger {
    position: absolute;
    right: 1px;
    display: block;
  }
  
  .demo-landing-screen {
    padding: 2rem 1rem;
  }
  
  .demo-landing-title {
    font-size: 1.6rem;
  }
  
  .demo-landing-subtitle {
    font-size: 1rem;
  }
  
  .demo-savings-amount {
    font-size: 1.8rem;
  }
  
  .demo-testimonial {
    font-size: 1.1rem;
  }
  
  .demo-trust-indicators {
    gap: 1rem;
  }
  
  #otherModificationsDropdown {
    padding: 12px;
  }
  
  #otherModSelect {
    padding: 12px 36px 12px 12px;
    font-size: 16px;
  }
  
  #homeModType .question button {
    width: calc(50% - 10px);
    margin: 5px;
    padding: 10px 5px;
    font-size: 0.9rem;
    min-width: 0;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  #homeModType .question button {
    width: 100%;
    margin: 5px 0;
  }
}


/* ===================================================================
   PAYWALL STYLES - Add these to your existing style.css
   =================================================================== */

   .paywall-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-elevation-3);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.paywall-header {
    margin-bottom: 2rem;
}

.paywall-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.paywall-header p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Method Selection */
.contact-method-section {
    margin-bottom: 2rem;
}

.contact-method-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.contact-method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-lg);
    background: white;
    cursor: pointer;
    transition: var(--transition-fast);
    min-width: 140px;
    font-size: 1rem;
    color: #374151;
}

.contact-method-btn:hover {
    border-color: var(--primary-color);
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevation-2);
}

.contact-method-btn.selected {
    border-color: var(--secondary-color);
    background: var(--success-50);
    color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-elevation-2);
}

.method-icon {
    font-size: 2rem;
}

.method-text {
    font-weight: 600;
}

/* Input Section */
.input-section {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    margin-top: 1rem;
}

.input-section label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    text-align: left;
}

.input-section .input {
    margin-bottom: 1rem;
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

.input-section button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Verification Section */
.verification-section {
    background: #f0fff4;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid #bbf7d0;
    margin-top: 1rem;
}

.verification-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #15803d;
    margin-bottom: 1rem;
}

.verification-section p {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 1.5rem;
}

.verification-input-section label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    text-align: left;
}

.verification-code-input {
  text-align: left; 
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem; 
}

.verification-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.verification-actions .btn {
    min-width: 200px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
}

/* Security Footer */
.paywall-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.security-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.security-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}

.security-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Error message for verification */
.verification-section .error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    margin-bottom: 1rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Loading state for buttons */
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Mobile responsiveness for paywall */
@media (max-width: 768px) {
    .paywall-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .contact-method-btn {
        min-width: auto;
        padding: 1rem;
    }
    
    .verification-actions {
        gap: 0.5rem;
    }
    
    .verification-actions .btn {
        min-width: auto;
        width: 100%;
    }
    
    .security-badges {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .verification-code-input {
        font-size: 1.25rem;
        letter-spacing: 0.25rem;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .paywall-header h2 {
        font-size: 1.5rem;
    }
    
    .paywall-header p {
        font-size: 1rem;
    }
    
    .contact-method-section h3 {
        font-size: 1.1rem;
    }
    
    .verification-section h3 {
        font-size: 1.2rem;
    }
}

/* SOME STYLING FOR THE LOADING ANIMATION TEXT IN STEP 5 */
.tax-info-text {
  color: #2563eb; /* Nice blue color */
  font-size: 14px; /* Slightly smaller font */
  font-weight: 500; /* Medium weight for better readability */
  line-height: 1.4; /* Better line spacing */
  text-align: center;
  margin: 10px 0;
  padding: 0 20px; /* Add some side padding */
  max-width: 400px; /* Limit width for better readability */
  margin-left: auto;
  margin-right: auto;
}

/* Optional: Add a subtle fade animation */
.info-fade-in {
  animation: fadeInText 0.5s ease-in;
}

.info-fade-out {
  animation: fadeOutText 0.5s ease-out;
}

@keyframes fadeInText {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutText {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

/* SATELITTE IMAGE */
/* Simple Property Image - Above Chatbot */
/* IMPROVED SATELLITE IMAGE STYLES - Replace your existing satellite image CSS */

/* Property Header */
.property-header {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 24px auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.property-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
}

.property-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

#satelliteImageContainer {
  position: relative;
  margin-bottom: 16px;
}

#satelliteImage {
  width: 100%;
  max-width: 600px;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.8);
  position: relative;
}

#satelliteImage:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.property-address {
  margin: 16px 0 0 0;
  color: #15803d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%);
  border-radius: 12px;
  border: 1px solid #bbf7d0;
  position: relative;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .property-header {
    margin: 0 auto 20px auto;  /* Changed from 0 16px 20px 16px */
    padding: 20px;
    max-width: none;
     }
  
  #satelliteImage {
      height: 200px;
      border-radius: 12px;
  }

  .property-address {
      font-size: 14px;
      padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .property-header {
    margin: 0 auto 16px auto;  /* Changed from 0 12px 16px 12px */
    padding: 16px;
    border-radius: 16px;
     }
  
  #satelliteImage {
      height: 180px;
      border-radius: 10px;
  }

  .property-address {
      font-size: 13px;
      padding: 8px 12px;
      margin-top: 12px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .property-header, #satelliteImage, .property-address {
      transition: none;
      animation: none;
  }
  
  .property-header:hover {
      transform: none;
  }
  
  #satelliteImage:hover {
      transform: none;
  }
  
  .property-header::before {
      animation: none;
  }
}

/* Improved Owner Selection Styles */
.owner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 0; 
}

.owner-selection-container {
  max-height: 400px;
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  background-color: #f9fafb;
  margin: 1rem 0;
}

.owner-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.owner-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.owner-card:active {
  transform: translateY(0);
}

.owner-card.selected {
  border-color: var(--secondary-color);
  background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%);
}

.owner-name {
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.owner-card.selected .owner-name {
  color: var(--secondary-color);
}

.owner-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #9ca3af;
}

.owner-card.selected .owner-icon {
  color: var(--secondary-color);
}

.owner-card.selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.owner-card.none-option {
  border-color: #d1d5db;
  background: #f9fafb;
  border-style: dashed;
}

.owner-card.none-option:hover {
  border-color: #6b7280;
  background: #f3f4f6;
}

.owner-card.none-option .owner-name {
  color: #6b7280;
  font-style: italic;
}

.owner-card.none-option .owner-icon {
  color: #d1d5db;
}

@media (max-width: 768px) {
  .owner-grid {
      grid-template-columns: 1fr;
      gap: 0.5rem;
  }
}

/* VIDEO CSS FOUNDER LAST STEP 6 */

.video-benefits-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 3rem 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.video-benefits-section h2 {
  text-align: center;
  font-weight: 800;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #2c5aa0;
  margin-top: 2rem;
  line-height: 1.3;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .video-benefits-section {
      padding: 2rem 1rem;
      margin: 1.5rem 0;
      border-radius: 8px;
  }

  .video-benefits-section h2 {
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
  }

  .video-container {
      max-width: 100%;
      border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .video-benefits-section {
      padding: 1.5rem 0.75rem;
  }

  .video-benefits-section h2 {
      font-size: 1.3rem;
      margin-bottom: 1rem;
  }
}

/*NEWSLETTER STEP6 CSS */
/* Newsletter Signup Section - Follows existing style patterns */
.newsletter-signup-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  animation: fadeIn 0.3s ease-out;
}

.newsletter-signup-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.newsletter-header {
  margin-bottom: 1.5rem;
}

.newsletter-header h3 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.newsletter-header p {
  color: #4b5563;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.current-email {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1rem 0;
  border: 2px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.current-email:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 110, 203, 0.1);
}

.current-email strong {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Newsletter Options */
.newsletter-options {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.newsletter-btn {
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  min-width: 120px;
  position: relative;
  overflow: hidden;
}

.newsletter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.newsletter-btn:hover::before {
  left: 100%;
}

.newsletter-btn.primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #3a9d3d 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.newsletter-btn.primary:hover {
  background: linear-gradient(135deg, #3a9d3d 0%, #2e7d32 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.newsletter-btn.secondary {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.newsletter-btn.secondary:hover {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(107, 114, 128, 0.4);
}

.newsletter-btn.tertiary {
  background: white;
  color: #374151;
  border: 2px solid #d1d5db;
  box-shadow: var(--shadow-sm);
}

.newsletter-btn.tertiary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(44, 110, 203, 0.1);
}

.newsletter-btn:active {
  transform: translateY(0);
}

/* Different Email Input */
#differentEmailContainer {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid #e5e7eb;
  margin: 1.5rem 0;
  animation: fadeIn 0.3s ease-out;
}

#differentEmailContainer .input {
  margin-bottom: 1rem;
  font-size: 1rem;
  padding: 0.875rem 1rem;
}

#differentEmailContainer button {
  background: var(--secondary-color);
  color: white;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

#differentEmailContainer button:hover {
  background: #3a9d3d;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Newsletter Benefits */
.newsletter-benefits {
  text-align: left;
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.newsletter-benefits h4 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.newsletter-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.newsletter-benefits li {
  padding: 0.75rem 0;
  position: relative;
  padding-left: 2rem;
  line-height: 1.5;
  color: #4b5563;
  border-bottom: 1px solid #f3f4f6;
}

.newsletter-benefits li:last-child {
  border-bottom: none;
}

.newsletter-benefits li::before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 20px;
  height: 20px;
  background: #f0fff4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid #bbf7d0;
}

.newsletter-benefits strong {
  color: var(--dark-gray);
  font-weight: 600;
}

/* Newsletter Result Message */
.newsletter-result {
  background: #f0fff4;
  color: #15803d;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid #bbf7d0;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.5s ease-out;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .newsletter-signup-container {
      margin: 1.5rem 0;
      padding: 1.5rem;
      border-radius: var(--radius-md);
  }
  
  .newsletter-header h3 {
      font-size: 1.3rem;
  }
  
  .newsletter-header p {
      font-size: 1rem;
  }
  
  .newsletter-options {
      flex-direction: column;
      gap: 0.5rem;
      align-items: center;
  }
  
  .newsletter-btn {
      width: 100%;
      max-width: 280px;
      min-width: auto;
      padding: 1rem 1.5rem;
  }
  
  .current-email {
      padding: 0.875rem 1rem;
  }
  
  .current-email strong {
      font-size: 1rem;
  }
  
  .newsletter-benefits {
      padding: 1.25rem;
      margin-top: 1.5rem;
  }
  
  .newsletter-benefits h4 {
      font-size: 1.1rem;
  }
  
  .newsletter-benefits li {
      padding: 0.625rem 0;
      padding-left: 1.75rem;
      font-size: 0.95rem;
  }
  
  .newsletter-benefits li::before {
      width: 18px;
      height: 18px;
      top: 0.625rem;
      font-size: 11px;
  }
}

@media (max-width: 480px) {
  .newsletter-signup-container {
      margin: 1rem 0;
      padding: 1.25rem;
      border-radius: var(--radius-sm);
  }
  
  .newsletter-header h3 {
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
  }
  
  .newsletter-header p {
      font-size: 0.95rem;
      margin-bottom: 0.75rem;
  }
  
  .newsletter-btn {
      padding: 0.875rem 1.25rem;
      font-size: 0.95rem;
  }
  
  .current-email {
      padding: 0.75rem;
  }
  
  .current-email strong {
      font-size: 0.95rem;
  }
  
  .newsletter-benefits {
      padding: 1rem;
      text-align: center;
  }
  
  .newsletter-benefits h4 {
      font-size: 1rem;
      margin-bottom: 0.75rem;
  }
  
  .newsletter-benefits ul {
      text-align: left;
  }
  
  .newsletter-benefits li {
      padding: 0.5rem 0;
      padding-left: 1.5rem;
      font-size: 0.9rem;
  }
  
  .newsletter-benefits li::before {
      width: 16px;
      height: 16px;
      top: 0.5rem;
      font-size: 10px;
  }
  
  #differentEmailContainer {
      padding: 1.25rem;
  }
  
  .newsletter-result {
      padding: 1.25rem;
      font-size: 1rem;
  }
}

/* Accessibility and reduced motion */
@media (prefers-reduced-motion: reduce) {
  .newsletter-signup-container,
  .newsletter-btn,
  .newsletter-result,
  #differentEmailContainer {
      animation: none;
      transition: none;
  }
  
  .newsletter-signup-container::before {
      animation: none;
  }
  
  .newsletter-btn::before {
      display: none;
  }
  
  .newsletter-btn:hover {
      transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .newsletter-signup-container {
      border-width: 3px;
  }
  
  .newsletter-btn {
      border-width: 2px;
  }
  
  .newsletter-benefits li::before {
      border-width: 3px;
  }
}