/* ====================================================
   2026 MODERN DIVORCE HOME BUYERS - STYLESHEET
   Glassmorphism, Animations, Dark Hero with Mesh Gradient
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0a0f1e;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --green: #10b981;
  --green-dark: #059669;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-400: #94a3b8;
  --gray-700: #334155;
  --gradient-hero: linear-gradient(135deg, #0a0f1e 0%, #0f2044 40%, #0a1628 100%);
  --gradient-blue: linear-gradient(135deg, #2563eb, #1d4ed8);
  --gradient-green: linear-gradient(135deg, #10b981, #059669);
  --gradient-mesh: radial-gradient(at 40% 20%, hsla(228,100%,74%,0.15) 0px, transparent 50%), radial-gradient(at 80% 0%, hsla(189,100%,56%,0.1) 0px, transparent 50%), radial-gradient(at 0% 50%, hsla(355,100%,93%,0.05) 0px, transparent 50%);
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
  --glass-bg-light: rgba(255,255,255,0.7);
  --glass-border-light: rgba(255,255,255,0.8);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-blue: 0 8px 32px rgba(37,99,235,0.3);
  --radius-xl: 20px;
  --radius-2xl: 32px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  color: var(--navy);
  background-color: var(--white);
  line-height: 1.7;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  line-height: 1.3;
  font-weight: 800;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.03em;
}

h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-700);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--gray-50);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--navy);
}

/* ====================================================
   FLOATING PILL NAVBAR
   ==================================================== */

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: 1100px;
  width: 90%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 12px 30px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  font-size: 16px;
}

.logo-icon {
  font-size: 20px;
}

.logo-text {
  color: var(--white);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.navbar-menu a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-menu a:hover {
  color: var(--green);
}

.dropdown-container {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 12px 0;
  min-width: 280px;
  display: none;
  flex-direction: column;
  margin-top: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.dropdown-container:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 10px 20px;
  color: var(--white);
  font-size: 13px;
  transition: all 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.1);
  padding-left: 24px;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.navbar-phone {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.navbar-button {
  background: var(--gradient-green);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.navbar-button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ====================================================
   HERO SECTION
   ==================================================== */

.hero {
  margin-top: 120px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80') center/cover;
  opacity: 0.2;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-mesh);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  color: var(--white);
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  animation: fadeUp 0.8s ease-out;
}

.hero-subheadline {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  animation: fadeUp 0.8s ease-out 0.1s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(16,185,129,0.4);
}

.btn-glass {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* Floating Form Card */
.hero-form-container {
  position: relative;
  z-index: 5;
  animation: slideInRight 0.8s ease-out 0.3s both;
}

.form-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-2xl);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.form-card h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}

.offer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  transition: all 0.3s;
  background: rgba(255,255,255,0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-footer {
  font-size: 12px;
  color: var(--gray-700);
  text-align: center;
  margin-top: 12px;
}

/* ====================================================
   ANIMATED STATS BAR
   ==================================================== */

.stats-section {
  background: var(--navy);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stat-card {
  text-align: center;
  color: var(--white);
  animation: fadeUp 0.6s ease-out;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

.counter {
  display: inline-block;
}

/* ====================================================
   BENTO GRID - WHY CHOOSE US
   ==================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.bento-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all 0.3s ease;
}

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

.bento-large {
  grid-column: span 1;
  grid-row: span 2;
}

.card-icon {
  font-size: 42px;
  margin-bottom: 16px;
}

.bento-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.bento-card p {
  font-size: 14px;
  line-height: 1.6;
}

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

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}

.step {
  text-align: center;
  animation: fadeUp 0.6s ease-out;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
}

.step-line {
  height: 4px;
  background: var(--gradient-blue);
  margin: 20px 0;
  display: none;
}

/* ====================================================
   SPLIT SCREEN
   ==================================================== */

.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0f2044 100%);
  color: var(--white);
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.split-left h2 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 20px;
}

.split-left p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
}

.benefits-list {
  list-style: none;
  font-size: 15px;
}

.benefits-list li {
  padding: 10px 0;
  color: rgba(255,255,255,0.9);
}

.split-right img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

/* ====================================================
   TESTIMONIAL TICKER
   ==================================================== */

.testimonials-section {
  padding: 80px 0;
}

.ticker-container {
  overflow: hidden;
  background: var(--gray-50);
  border-radius: var(--radius-2xl);
  padding: 40px;
}

.ticker {
  display: flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.ticker-item {
  flex-shrink: 0;
  min-width: 400px;
}

.ticker-item p {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 16px;
  color: var(--navy);
}

.ticker-author {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 14px;
}

.ticker:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ====================================================
   PROPERTY TYPES
   ==================================================== */

.property-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.property-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.property-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.property-card h3 {
  font-size: 16px;
  color: var(--navy);
}

/* ====================================================
   FAQ ACCORDION
   ==================================================== */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.faq-header {
  width: 100%;
  padding: 20px;
  background: var(--gray-50);
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-header:hover {
  background: var(--gray-100);
}

.faq-header::after {
  content: '+';
  font-weight: 800;
  transition: transform 0.3s;
}

.faq-item.active .faq-header::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--white);
}

.faq-item.active .faq-content {
  padding: 20px;
  max-height: 500px;
}

.faq-content p {
  font-size: 14px;
  line-height: 1.6;
}

/* ====================================================
   CTA BANNER
   ==================================================== */

.cta-banner {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-mesh);
  opacity: 0.3;
  z-index: 1;
}

.cta-banner h2,
.cta-banner p,
.cta-banner-buttons {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 48px;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-banner-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====================================================
   FORM SECTION
   ==================================================== */

.form-section {
  max-width: 900px;
  margin: 0 auto;
}

.form-section h2 {
  text-align: center;
  margin-bottom: 16px;
}

.form-section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--gray-700);
  margin-bottom: 40px;
}

.offer-form-inline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

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

.footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 15px;
}

.footer-col p,
.footer-col ul {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--green);
}

.footer-contact p {
  margin-bottom: 8px;
}

.footer-copyright {
  font-size: 13px;
  margin-top: 16px;
}

/* ====================================================
   MOBILE CTA BAR
   ==================================================== */

.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  z-index: 999;
  padding: 12px 20px;
  gap: 12px;
}

.mobile-cta-phone,
.mobile-cta-button {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s;
}

.mobile-cta-phone {
  background: rgba(16,185,129,0.2);
  color: var(--green);
  border: 1px solid rgba(16,185,129,0.3);
}

.mobile-cta-button {
  background: var(--gradient-green);
  color: var(--white);
}

/* ====================================================
   ANIMATIONS
   ==================================================== */

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@media (max-width: 1024px) {
  .navbar-content {
    gap: 20px;
  }

  .navbar-menu {
    gap: 20px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-form-container {
    grid-column: 1;
    grid-row: 2;
  }

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

  .bento-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .split-screen {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .steps-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .step-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    width: 95%;
  }

  .navbar-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar-cta {
    flex-direction: column;
    gap: 8px;
  }

  .navbar-button {
    padding: 8px 14px;
    font-size: 12px;
  }

  .navbar-phone {
    font-size: 12px;
  }

  .hero {
    margin-top: 90px;
    min-height: auto;
    padding: 40px 0;
  }

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

  .form-card {
    padding: 20px;
  }

  .hero-badge {
    font-size: 12px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

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

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

  .ticker-item {
    min-width: 100%;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mobile-cta-bar {
    display: flex;
  }

  body {
    margin-bottom: 80px;
  }

  .section {
    padding: 40px 0;
  }

  .stats-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 16px;
    width: 98%;
  }

  .navbar-logo {
    font-size: 13px;
    gap: 4px;
  }

  .logo-icon {
    font-size: 16px;
  }

  .navbar-cta {
    display: none;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  p {
    font-size: 15px;
  }

  .hero {
    padding: 30px 0;
  }

  .form-card {
    padding: 16px;
  }

  .offer-form {
    gap: 12px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stats-container {
    gap: 20px;
  }

  .stats-section {
    padding: 30px 0;
  }

  .section {
    padding: 30px 0;
  }

  .property-types-grid {
    grid-template-columns: 1fr;
  }

  .bento-card {
    padding: 20px;
  }

  .mobile-cta-bar {
    padding: 10px 12px;
    gap: 8px;
  }

  .mobile-cta-phone,
  .mobile-cta-button {
    padding: 10px;
    font-size: 12px;
  }

  body {
    margin-bottom: 70px;
  }
}
