/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0A1628;
  --primary-light: #1E3A5F;
  --accent: #C9A84C;
  --accent-light: #E8D48B;
  --accent-dark: #A8893A;
  --bg: #FAFAF8;
  --bg-alt: #F1EFE9;
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --border: #E0DDD5;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--primary);
}

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

/* ===== SKIP TO CONTENT ===== */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 2000;
  background: var(--accent);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 0;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: var(--transition);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.nav-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
}

.nav-logo .logo-text span {
  color: var(--accent);
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #2A4A6B 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 460px;
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 28px;
  text-align: center;
}

.equity-breakdown {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.equity-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.equity-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.equity-icon.you { background: rgba(76, 175, 80, 0.15); }
.equity-icon.bzf { background: rgba(201, 168, 76, 0.15); }
.equity-icon.lender { background: rgba(66, 165, 245, 0.15); }

.equity-details {
  flex: 1;
}

.equity-details .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.equity-details .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  font-family: 'Playfair Display', serif;
}

.equity-details .amount {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}


/* Hero to content seamless transition */
.section-after-hero {
  background: var(--bg-alt);
  position: relative;
  border-top: none;
}

/* Page hero to content seamless transition */
.section-after-page-hero {
  position: relative;
  padding-top: 80px;
  border-top: 3px solid var(--accent);
}

/* Obligations grid (2 items, no runaway line) */
.obligations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.equity-bar {
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 28px;
  overflow: hidden;
  display: flex;
}

.equity-bar .bar-you {
  width: 5%;
  background: #4CAF50;
  border-radius: 5px 0 0 5px;
}

.equity-bar .bar-bzf {
  width: 15%;
  background: var(--accent);
}

.equity-bar .bar-lender {
  width: 80%;
  background: #42A5F5;
  border-radius: 0 5px 5px 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

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

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

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

/* ===== SECTIONS ===== */
section {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 60px;
}

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

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* ===== HOW IT WORKS STEPS (Home preview) ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--border), var(--accent));
  z-index: 0;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

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

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 24px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== FEATURES / BENEFITS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.cta-banner .btn {
  flex-shrink: 0;
}

/* ===== HOW IT WORKS PAGE ===== */
.page-hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  display: none;
}

.page-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Process Timeline */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-marker {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-dark);
  flex-shrink: 0;
  z-index: 1;
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  flex: 1;
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* Equity Diagram */
.equity-diagram {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  margin-top: 60px;
}

.equity-diagram h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.equity-visual {
  display: flex;
  gap: 0;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}

.equity-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.equity-segment.owner { background: #4CAF50; flex: 5; }
.equity-segment.bzf-seg { background: var(--accent); flex: 15; color: var(--primary); }
.equity-segment.lender-seg { background: #42A5F5; flex: 80; }

.equity-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.legend-item {
  text-align: center;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.legend-item .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 auto 12px;
}

.legend-item .dot.green { background: #4CAF50; }
.legend-item .dot.gold { background: var(--accent); }
.legend-item .dot.blue { background: #42A5F5; }

.legend-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.legend-item .big {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.legend-item p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Exit Pathways */
.exit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.exit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  transition: var(--transition);
}

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

.exit-card .exit-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.exit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.exit-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== ELIGIBILITY PAGE ===== */
.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.checklist-item {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.checklist-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF50, #388E3C);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.checklist-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Quick Check Form */
.quick-check {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: sticky;
  top: 100px;
}

.quick-check h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.quick-check > p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

.form-btn {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
}

/* ===== THE HOME PAGE ===== */
.home-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.stat-card .stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Floor Plan */
.floor-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.floor-plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.floor-plan-card:hover {
  box-shadow: var(--shadow-lg);
}

.floor-plan-header {
  background: var(--primary);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floor-plan-header h3 {
  color: var(--white);
  font-size: 1.1rem;
}

.floor-plan-header span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.room-list {
  padding: 28px;
}

.room-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.room-item:last-child {
  border-bottom: none;
}

.room-item .room-name {
  font-weight: 500;
}

.room-item .room-size {
  color: var(--text-light);
  font-size: 0.82rem;
}

.room-item .room-features {
  display: flex;
  gap: 6px;
}

.room-tag {
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-visual {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  padding: 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.1), transparent 70%);
}

.about-visual h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 24px;
  position: relative;
}

.about-stat-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.about-stat {
  display: flex;
  gap: 16px;
  align-items: center;
}

.about-stat .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 80px;
}

.about-stat .text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CONTACT PAGE ===== */
.contact-centered {
  max-width: 800px;
  margin: 0 auto;
}

.contact-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.contact-card-large {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  transition: var(--transition);
}

.contact-card-large:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.contact-icon-large {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.contact-card-large h3,
.contact-location h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.contact-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--text-light);
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  transition: var(--transition);
}

.contact-location:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.contact-location .contact-icon-large {
  margin-bottom: 0;
}

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

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  padding: 64px 0 32px;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .logo-text span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* pulse animation defined in polish section below */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero h1 { font-size: 2.8rem; }

  .steps-grid::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .floor-plans { grid-template-columns: 1fr; }
  .home-showcase { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .eligibility-grid { grid-template-columns: 1fr; }
  .contact-cards-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 48px 32px;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  section { padding: 64px 0; }
  .section-after-page-hero { padding-top: 56px; }
  .section-title { font-size: 2rem; }
  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: 2.2rem; }

  .steps-grid { grid-template-columns: 1fr; }
  .exit-cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .equity-legend { grid-template-columns: 1fr; }
  .obligations-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .quick-check { position: static; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-card { padding: 28px 20px; }
}

/* ===== POLISH & REFINEMENTS ===== */

/* Smooth mobile menu transition */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    padding: 0 24px;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    border-bottom: 1px solid transparent;
  }

  .nav-links.active {
    display: flex;
    max-height: 400px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
    margin-top: 8px;
  }

  .nav-cta {
    text-align: center;
    display: block;
    padding: 14px 24px !important;
  }

  /* Better mobile footer */
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Mobile CTA banner polish */
  .cta-banner {
    padding: 40px 24px;
    border-radius: 16px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  /* Mobile checklist cards */
  .checklist-item {
    padding: 16px 18px;
  }

  /* Better mobile form spacing */
  .quick-check {
    padding: 28px 22px;
  }

  /* Contact cards on mobile */
  .contact-card-large {
    padding: 36px 24px;
  }
}

/* Enhanced selection color */
::selection {
  background: rgba(201, 168, 76, 0.25);
  color: var(--primary);
}

/* Smoother focus styles for accessibility */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}

/* Better button active states */
.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Subtle card lift for all interactive cards */
.step-card,
.feature-card,
.exit-card,
.value-card,
.checklist-item,
.contact-card-large,
.floor-plan-card,
.timeline-content {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Refined scrollbar for webkit */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(10, 22, 40, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(10, 22, 40, 0.3);
}

/* Navbar shrink on scroll — tighter feel */
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(10, 22, 40, 0.15);
}

/* Eligibility result animation */
#eligibility-result > div {
  animation: fadeInUp 0.4s ease forwards;
}

/* Better link underline on body text */
.about-content a,
.timeline-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 76, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s ease;
}

.about-content a:hover,
.timeline-content a:hover {
  text-decoration-color: var(--accent);
}

/* Refined hero badge pulse */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}


/* Smoother page-hero gradient overlay */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #1E3A5F 100%);
}

/* Footer link hover slide effect */
.footer-col a {
  position: relative;
  width: fit-content;
}

.footer-col a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-col a:hover::after {
  width: 100%;
}

/* Subtle gradient border on quick-check form */
.quick-check {
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.06);
}

/* Hero card glass polish */
.hero-card {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* CTA banner refined glow */
.cta-banner {
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.2);
}

/* Better stat card hover */
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.08);
}


/* Tablet spacing refinements */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .cta-banner {
    padding: 48px 36px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }
}

/* Large desktop polish */
@media (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  border: none;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.15);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}
