/* ============================================
   Tullahoma Realtor App — Landing Page Styles
   Design: "Architectural Precision"
   Palette: Navy #071A1F + Gold #CCB070
   Fonts: DM Sans (headings) + Inter (body)
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #071A1F;
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* === UTILITY === */
.gold { color: #CCB070; }
.mt-2 { margin-top: 2rem; }

/* === STORE BADGES === */
.store-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.store-badges.center-badges {
  justify-content: center;
}

.store-badge {
  height: 52px;
  width: auto;
  transition: transform 0.15s ease;
}

.store-badge:active {
  transform: scale(0.97);
}

.store-badge.google-play {
  height: 76px;
  margin: -12px 0;
}

.store-badge.large {
  height: 58px;
}

.store-badge.google-play.large {
  height: 84px;
  margin: -13px 0;
}

/* === PHONE MOCKUP === */
.phone-mockup {
  position: relative;
  border-radius: 2.5rem;
  border: 8px solid #1a1a1a;
  background: #1a1a1a;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow: hidden;
  aspect-ratio: 390 / 844;
  width: 280px;
}

.phone-mockup.small {
  width: 180px;
  border-radius: 2rem;
  border-width: 6px;
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 1rem 1rem;
  z-index: 10;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  background: #071A1F;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #071A1F, rgba(7,26,31,0.95), rgba(7,26,31,0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 6rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-eyebrow {
  display: inline-block;
  color: #CCB070;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-phone {
    justify-content: flex-end;
  }
}

.hero-phone .phone-mockup {
  width: 240px;
  transform: perspective(1000px) rotateY(-3deg) rotateZ(2deg);
}

@media (min-width: 640px) {
  .hero-phone .phone-mockup { width: 280px; }
}

@media (min-width: 1024px) {
  .hero-phone .phone-mockup { width: 300px; }
}

.phone-glow {
  position: absolute;
  inset: -2rem;
  background: rgba(204,176,112,0.1);
  border-radius: 50%;
  filter: blur(48px);
  z-index: -1;
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, #fff, transparent);
}

/* === STATS === */
.stats {
  background: #fff;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(7,26,31,0.05);
}

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

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #071A1F;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(7,26,31,0.6);
  margin-top: 0.25rem;
}

/* === SECTION HEADERS === */
.section-header {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.section-header.center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: #CCB070;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-header h2,
.sellers-text h2,
.about-text h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: #071A1F;
  margin-top: 0.75rem;
  letter-spacing: -0.01em;
}

.section-header p,
.sellers-text > p,
.about-text > p {
  font-size: 1.125rem;
  color: rgba(7,26,31,0.6);
  margin-top: 1rem;
  line-height: 1.7;
}

/* === BUYERS === */
.buyers {
  padding: 5rem 0 6rem;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

.feature-card {
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-phone-wrap {
  background: #F8F7F4;
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 0;
  overflow: hidden;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: #071A1F;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: rgba(7,26,31,0.6);
  line-height: 1.6;
}

/* === SELLERS === */
.sellers {
  padding: 5rem 0 6rem;
  background: #F8F7F4;
}

.sellers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .sellers-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.sellers-phone {
  display: flex;
  justify-content: center;
}

.sellers-phone .phone-mockup {
  width: 260px;
}

@media (min-width: 640px) {
  .sellers-phone .phone-mockup { width: 280px; }
}

.check-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(7,26,31,0.7);
}

.check-list svg {
  color: #CCB070;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* === SHOWCASE === */
.showcase {
  padding: 5rem 0 6rem;
  background: #fff;
  overflow: hidden;
}

.showcase-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
  .showcase-scroll {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.showcase-scroll .phone-mockup {
  flex-shrink: 0;
  scroll-snap-align: center;
  width: 160px;
}

@media (min-width: 640px) {
  .showcase-scroll .phone-mockup { width: 180px; }
}

@media (min-width: 1024px) {
  .showcase-scroll .phone-mockup { width: 200px; }
}

/* Hide scrollbar */
.showcase-scroll::-webkit-scrollbar { display: none; }
.showcase-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* === ABOUT === */
.about {
  padding: 5rem 0 6rem;
  background: #F8F7F4;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.about-text p {
  margin-top: 1rem;
  color: rgba(7,26,31,0.7);
  line-height: 1.7;
}

.about-text p:first-of-type {
  margin-top: 1.5rem;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.1);
}

/* === CTA === */
.cta {
  position: relative;
  padding: 6rem 0 7rem;
  background: #071A1F;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  background: rgba(204,176,112,0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-glow-tr { top: 0; right: 0; }
.cta-glow-bl { bottom: 0; left: 0; width: 16rem; height: 16rem; }

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: #fff;
  letter-spacing: -0.01em;
}

.cta p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1.25rem;
  line-height: 1.7;
}

.cta .store-badges {
  margin-top: 2rem;
}

.cta-note {
  display: block;
  margin-top: 1rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
}

/* === FOOTER === */
.footer {
  background: #0A1E24;
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-col h3 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-title {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.footer-contact {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact a {
  color: rgba(255,255,255,0.7);
}

.footer-contact a:hover {
  color: #CCB070;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
  color: #CCB070;
}

.footer-logo {
  height: 2.5rem;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-brokerage {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

/* Disclaimers */
.footer-disclaimers {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-eho {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.4);
}

.footer-eho svg {
  flex-shrink: 0;
}

.footer-eho span {
  font-size: 0.75rem;
}

.disclaimer-text {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  line-height: 1.6;
}

.disclaimer-copyright {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  margin-top: 0.75rem;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 1023px) {
  .sellers-grid {
    text-align: center;
  }
  .sellers-text .store-badges {
    justify-content: center;
  }
  .check-list {
    align-items: center;
  }
  .check-list li {
    text-align: left;
  }
}

@media (max-width: 639px) {
  .hero-content { padding: 4rem 0 6rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero-phone .phone-mockup { width: 220px; }
  .phone-mockup { width: 240px; }
  .phone-mockup.small { width: 160px; }
}

/* ===== FAQ SECTION ===== */
.faq { padding: 5rem 0; background: #fafbfd; }
.faq-list { max-width: 820px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 1.25rem 1.5rem; transition: box-shadow .15s ease; }
.faq-item[open] { box-shadow: 0 8px 24px -8px rgba(24, 59, 99, 0.18); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: 'DM Sans', system-ui, sans-serif; font-size: 1.05rem; font-weight: 600; color: #0E1726; margin: 0; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: #183B63; transition: transform .15s ease; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: #475467; line-height: 1.7; margin: 1rem 0 0; }

/* ===== MEET JON SECTION (cross-site bridge) ===== */
.meet-jon { padding: 5rem 0; background: linear-gradient(180deg, #183B63 0%, #0D2744 100%); color: #fff; }
.meet-jon-card { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; background: rgba(255,255,255,0.04); border: 1px solid rgba(185,151,91,0.2); border-radius: 24px; padding: 3rem; }
.meet-jon-text .eyebrow { color: #B9975B; }
.meet-jon-text h2 { font-family: 'DM Sans', system-ui, sans-serif; font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 0.5rem 0 1rem; color: #fff; }
.meet-jon-text p { color: rgba(255,255,255,0.85); line-height: 1.75; margin: 0 0 1rem; }
.meet-jon-text p a { color: #B9975B; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.meet-jon-text p a:hover { color: #fff; }
.btn-primary { display: inline-block; margin-top: 1rem; padding: 0.9rem 1.6rem; background: #B9975B; color: #0D2744; font-family: 'DM Sans', system-ui, sans-serif; font-weight: 600; font-size: 0.95rem; border-radius: 999px; text-decoration: none; transition: transform .12s ease, background .12s ease; }
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.meet-jon-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.meet-jon-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(185,151,91,0.18); border-radius: 16px; padding: 1.5rem; text-align: center; }
.meet-jon-value { font-family: 'DM Sans', system-ui, sans-serif; font-size: 2rem; font-weight: 700; color: #B9975B; line-height: 1; }
.meet-jon-label { margin-top: 0.4rem; font-size: 0.8rem; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 800px) { .meet-jon-card { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; } }
