/* ═══════════════════════════════════════════
   PROPERTY ALERT — PROFESSIONAL EDITION
   Brand CSS for Marketing Website
   ═══════════════════════════════════════════ */

:root {
  --navy: #1A1A2E;
  --ocean: #2D5A7B;
  --amber: #CC7832;
  --amber-hover: #b66b2c;
  --amber-glow: rgba(204,120,50,0.1);
  --amber-dim: rgba(204,120,50,0.5);
  --cream: #FAF8F5;
  --cream2: #F0ECE5;
  --red: #C44B4F;
  --green: #4A9B6A;
  --text: #1A1A2E;
  --text2: #6B6B7B;
  --text3: #A0A0AE;
  --card-bg: #FFFFFF;
  --card-border: rgba(0,0,0,0.06);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}
h1 { font-size: clamp(36px, 5.5vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: clamp(18px, 2vw, 22px); }

h1 em, h2 em, h3 em, h4 em {
  font-style: italic;
  color: var(--amber);
}

p { font-size: 16px; color: var(--text2); line-height: 1.7; }
.lead { font-size: 18px; line-height: 1.7; max-width: 640px; }

/* ─── LAYOUT ─── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section-sm {
  padding: 48px 0;
}
.text-center { text-align: center; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-logo .logo-icon { flex-shrink: 0; }
.nav-logo .logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  white-space: nowrap;
}
.nav-logo .logo-text em {
  font-style: italic;
  color: var(--amber);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(250,248,245,0.7);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--amber); }
.nav-links a.active { color: var(--amber); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 99;
  padding: 32px 24px;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  padding: 16px 0;
  color: var(--navy);
  border-bottom: 1px solid var(--card-border);
}
.nav-mobile a:last-child { border-bottom: none; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 4px 16px rgba(204,120,50,0.3);
}
.btn-primary:hover {
  background: var(--amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204,120,50,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
}
.btn-secondary:hover {
  background: var(--amber-glow);
}
.btn-nav {
  padding: 10px 24px;
  font-size: 13px;
}
.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
}

/* ─── HERO ─── */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(204,120,50,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 720px;
}
.hero h1 {
  margin-bottom: 20px;
  color: var(--navy);
}
.hero .lead {
  margin-bottom: 32px;
  color: var(--text2);
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-note {
  font-size: 13px;
  color: var(--text3);
  margin-top: 12px;
}

/* Hero (centered variant for landing pages) */
.hero-centered {
  text-align: center;
  padding: 160px 0 80px;
}
.hero-centered .hero-content {
  margin: 0 auto;
}
.hero-centered .lead {
  margin-left: auto;
  margin-right: auto;
}
.hero-centered .hero-cta {
  justify-content: center;
}

/* ─── SOCIAL PROOF BAR ─── */
.proof-bar {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 20px 0;
  background: var(--card-bg);
}
.proof-bar-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.proof-stat {
  text-align: center;
}
.proof-stat .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.proof-stat .num.amber { color: var(--amber); }
.proof-stat .num.red { color: var(--red); }
.proof-stat .num.green { color: var(--green); }
.proof-stat .lbl {
  font-size: 12px;
  color: var(--text3);
  margin-top: 4px;
  font-weight: 500;
}

/* ─── PROBLEM / PAIN POINTS ─── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pain-card {
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: all 0.3s;
}
.pain-card:hover {
  border-color: rgba(204,120,50,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.pain-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.pain-card h4 {
  margin-bottom: 8px;
  color: var(--navy);
}
.pain-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* ─── STEPS / HOW IT WORKS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(204,120,50,0.3);
}
.step-card h4 {
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px;
}
/* Arrow connector between steps */
.step-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text3);
}

/* ─── FEATURE CARDS ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: rgba(204,120,50,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--amber-glow);
  border: 1px solid rgba(204,120,50,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h4 { margin-bottom: 8px; }
.feature-card p { font-size: 14px; }

/* ─── ALERT DEMO SECTION ─── */
.alert-demo {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}
.alert-demo::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(204,120,50,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.alert-demo h3 {
  color: #fff;
  margin-bottom: 8px;
  position: relative;
}
.alert-demo .lead {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  position: relative;
}
.alert-msg {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  position: relative;
}
.alert-msg strong { color: var(--amber); font-weight: 500; }

/* ─── PRICING ─── */
.pricing-card {
  max-width: 480px;
  margin: 48px auto 0;
  background: var(--card-bg);
  border: 2px solid var(--amber);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 100px;
  background: var(--amber);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.pricing-price span {
  font-size: 20px;
  font-weight: 300;
  color: var(--text2);
}
.pricing-desc {
  font-size: 14px;
  color: var(--text2);
  margin: 8px 0 24px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--amber-glow);
  border: 1px solid rgba(204,120,50,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--amber);
  flex-shrink: 0;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 680px;
  margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--card-border);
  padding: 20px 0;
}
.faq-q {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: '+';
  font-size: 24px;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-top: 12px;
}
.faq-a p {
  font-size: 15px;
  line-height: 1.7;
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(204,120,50,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.cta-section .lead {
  color: rgba(255,255,255,0.65);
  margin: 0 auto 32px;
  position: relative;
}
.cta-section .btn { position: relative; }

/* ─── FOOTER ─── */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--card-border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand {
  max-width: 280px;
}
.footer-brand .nav-logo {
  margin-bottom: 12px;
}
.footer-brand .nav-logo .logo-text {
  color: var(--navy);
}
.footer-brand p {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.6;
}
.footer-links h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text3);
  padding: 4px 0;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text3);
}
.footer-bottom a {
  font-size: 12px;
  color: var(--text3);
  transition: color 0.3s;
}
.footer-bottom a:hover { color: var(--amber); }

/* ─── ABOUT PAGE ─── */
.about-hero {
  padding: 140px 0 60px;
}
.about-hero .lead { max-width: 580px; }
.founder-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.founder-img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--ocean), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-img .placeholder {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  color: var(--amber);
  opacity: 0.4;
}
.founder-text h3 { margin-bottom: 16px; }
.founder-text p { margin-bottom: 16px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
}
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 14px; }

/* ─── ALERT TYPE CARDS ─── */
.alert-types-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.alert-type-card {
  padding: 24px 20px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-align: center;
  transition: all 0.3s;
}
.alert-type-card:hover {
  border-color: rgba(204,120,50,0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.alert-type-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.alert-type-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}
.alert-type-card p {
  font-size: 12px;
  line-height: 1.5;
}

/* ─── SCORING VISUAL ─── */
.scoring-demo {
  max-width: 480px;
  margin: 32px auto 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
}
.score-row {
  display: flex;
  align-items: center;
  padding: 10px 0;
  gap: 12px;
}
.score-label {
  width: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  flex-shrink: 0;
}
.score-bar-wrap {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--cream2);
  overflow: hidden;
}
.score-bar {
  height: 100%;
  border-radius: 4px;
  background: var(--amber);
  transition: width 0.6s ease;
}
.score-val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--amber);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

/* ─── SECTION HEADERS ─── */
.section-header {
  margin-bottom: 16px;
}
.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--amber);
  margin-bottom: 8px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .alert-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .hero { padding: 110px 0 60px; }
  .hero-centered { padding: 120px 0 60px; }
  .section { padding: 56px 0; }

  h1 { font-size: clamp(30px, 8vw, 44px); }
  h2 { font-size: clamp(26px, 6vw, 36px); }

  .pain-grid,
  .steps-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .alert-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-card::after { display: none; }

  .founder-section {
    grid-template-columns: 1fr;
  }
  .founder-img {
    aspect-ratio: 16/9;
    max-height: 280px;
  }

  .pricing-card { padding: 28px 24px; }
  .pricing-price { font-size: 44px; }

  .alert-demo { padding: 28px 20px; border-radius: 16px; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }

  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .proof-bar-inner { gap: 20px; }
  .proof-stat .num { font-size: 22px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .alert-types-grid { grid-template-columns: 1fr; }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
