﻿/* SeenHouse landing page */
:root {
--landing-bg: #f8f9fa;
--landing-card: #ffffff;
--landing-border: rgba(0,0,0,0.08);
}
body { background: var(--landing-bg); color: #1a1a1a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--color-3); }
img { max-width: 100%; height: auto; }

.landing-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #fff; border-bottom: 1px solid var(--landing-border); position: sticky; top: 0; z-index: 50; }
.landing-header img { height: 32px; }

.btn-primary-brand { background: var(--color-3); color: #fff; border: none; }
.btn-primary-brand:hover, .btn-primary-brand:focus { background: var(--color-4); color: #fff; }
.btn-cta-large { padding: 14px 28px; font-size: 17px; font-weight: 600; border-radius: 12px; }

/* Hero */
.hero { padding: 48px 20px 40px; background: linear-gradient(180deg, #fff 0%, var(--landing-bg) 100%); }
.hero-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 60px; } .hero { padding: 80px 20px; } }
.hero h1 {
	font-family: ui-rounded, "Avenir Next Rounded", "Nunito", "Segoe UI", sans-serif;
	font-size: clamp(30px, 6vw, 54px);
	line-height: 1.03;
	font-weight: 700;
	letter-spacing: -0.03em;
	text-wrap: balance;
	margin-bottom: 22px;
}
.hero h1 .accent { color: var(--color-3); }
.hero .lede { font-size: clamp(16px, 2.5vw, 20px); color: #495057; margin-bottom: 28px; max-width: 540px; }
.hero-form { display: flex; gap: 8px; max-width: 480px; flex-wrap: wrap; }
.hero-form input[type=email] { flex: 1 1 220px; padding: 14px 16px; border: 1px solid #ced4da; border-radius: 12px; font-size: 16px; }
.hero-form input[type=email]:focus { outline: none; border-color: var(--color-3); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.hero-trust { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px 24px; color: #6c757d; font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .bi { color: var(--color-3); }
@media (max-width: 767.98px) {
	.hero-trust { justify-content: center; text-align: center; }
}

/* Phone mockup */
.phone-stage { display: flex; justify-content: center; }
.phone-frame { width: 280px; max-width: 80vw; aspect-ratio: 9 / 19; background: #1a1a1a; border-radius: 36px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.35), 0 10px 20px -10px rgba(0,0,0,0.2); position: relative; }
.phone-frame::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #1a1a1a; border-radius: 999px; z-index: 2; }
.phone-screen { width: 100%; height: 100%; background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.phone-screen-header { padding: 36px 16px 12px; background: var(--color-1, #1f2d3d); color: #fff; }
.phone-screen-header .title { font-size: 14px; font-weight: 600; opacity: 0.95; }
.phone-screen-header .sub { font-size: 11px; opacity: 0.7; margin-top: 2px; }
.phone-screen-body { flex: 1; padding: 12px; overflow: hidden; background: #f5f6f8; display: flex; flex-direction: column; gap: 8px; }
.mock-card { background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 1px 2px rgba(0,0,0,0.06); display: flex; gap: 10px; align-items: center; }
.mock-card .thumb { width: 56px; height: 56px; border-radius: 8px; background: linear-gradient(135deg, var(--color-3, #0d6efd), var(--color-4, #5a32a3)); flex-shrink: 0; position: relative; overflow: hidden; }
.mock-card .thumb::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 60%); }
.mock-card .info { flex: 1; min-width: 0; }
.mock-card .info .addr { font-size: 11px; font-weight: 600; color: #1a1a1a; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-card .info .meta { font-size: 9px; color: #6c757d; margin-top: 2px; }
.mock-card .score { font-size: 11px; font-weight: 700; color: var(--color-3); }

/* Stats strip */
.stats-strip { background: #fff; border-top: 1px solid var(--landing-border); border-bottom: 1px solid var(--landing-border); padding: 28px 20px; }
.stats-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: clamp(22px, 4vw, 36px); font-weight: 700; color: var(--color-3); line-height: 1; }
.stat-label { font-size: 12px; color: #6c757d; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 6px; }

/* Sections */
section.landing-section { padding: 60px 20px; }
section.landing-section .inner { max-width: 1080px; margin: 0 auto; }
section.landing-section h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; text-align: center; }
section.landing-section .section-lede { text-align: center; color: #495057; font-size: 17px; max-width: 640px; margin: 0 auto 40px; }

/* Problem grid */
.problem-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.problem-card { background: #fff; border: 1px solid var(--landing-border); border-radius: 16px; padding: 24px; }
.problem-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 12px; }
.problem-card h3 .bi { font-size: 24px; color: var(--color-3); flex-shrink: 0; line-height: 1; }
.problem-card p { color: #6c757d; font-size: 15px; margin: 0; }

/* How it works */
.how-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-step { text-align: center; }
.how-step .step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--color-3); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.how-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.how-step p { color: #6c757d; font-size: 15px; margin: 0; }

/* Walkthrough */
.walkthrough { background: #fff; }
.walkthrough-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 768px) { .walkthrough-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.walkthrough-step { text-align: center; }
.walkthrough-step .phone-frame { margin: 0 auto 20px; transform: scale(0.85); }
.walkthrough-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.walkthrough-step p { color: #6c757d; font-size: 14px; margin: 0; }

/* Features */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 576px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: #fff; border: 1px solid var(--landing-border); border-radius: 12px; padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.feature-card .bi { color: var(--color-3); font-size: 22px; flex-shrink: 0; }
.feature-card h4 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.feature-card p { font-size: 13px; color: #6c757d; margin: 0; }

/* FAQ */
.faq { background: #fff; }
.faq .accordion-button { font-weight: 600; }
.faq .accordion-button:not(.collapsed) { background: rgba(13, 110, 253, 0.05); color: var(--color-3); }
.faq .accordion-item { border-color: var(--landing-border); }

/* Auth */
.auth-section { padding: 60px 20px; background: linear-gradient(135deg, var(--color-3) 0%, var(--color-4, #5a32a3) 100%); color: #fff; }
.auth-section .inner { max-width: 460px; margin: 0 auto; text-align: center; }
.auth-section h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 700; margin-bottom: 8px; color: #fff; }
.auth-section p.lede { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.auth-card { background: #fff; color: #1a1a1a; padding: 28px; border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.4); text-align: left; }
.auth-card label { font-size: 13px; font-weight: 600; color: #495057; margin-bottom: 6px; display: block; }
.auth-card input { width: 100%; padding: 12px 14px; border: 1px solid #ced4da; border-radius: 10px; font-size: 15px; }
.auth-card input:focus { outline: none; border-color: var(--color-3); box-shadow: 0 0 0 3px rgba(13,110,253,0.15); }
.auth-card .password-wrap { position: relative; }
.auth-card .password-wrap .toggle-password { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #6c757d; cursor: pointer; padding: 4px; }
.auth-card .form-error { background: #fff5f5; border: 1px solid #fecaca; color: #b91c1c; padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 14px; }
.auth-card .submit-btn { width: 100%; padding: 14px; background: var(--color-3); color: #fff; border: none; border-radius: 10px; font-weight: 600; font-size: 16px; cursor: pointer; }
.auth-card .submit-btn:hover { background: var(--color-4, #5a32a3); }
.auth-card .submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-toggle { margin-top: 20px; text-align: center; color: rgba(255,255,255,0.9); font-size: 14px; }
.auth-toggle a { color: #fff; font-weight: 600; text-decoration: underline; cursor: pointer; }
.auth-card .terms-note { font-size: 12px; color: #6c757d; margin-top: 12px; text-align: center; }
.auth-card .terms-note a { color: var(--color-3); }

/* SEO links */
.seo-links { padding: 50px 20px; background: var(--landing-bg); border-top: 1px solid var(--landing-border); }
.seo-links .inner { max-width: 1080px; margin: 0 auto; }
.seo-links h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.seo-links .links-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .seo-links .links-grid { grid-template-columns: repeat(2, 1fr); } }
.seo-links ul { list-style: none; padding: 0; margin: 0; }
.seo-links li { padding: 6px 0; }
.seo-links a { color: #495057; text-decoration: none; }
.seo-links a:hover { color: var(--color-3); text-decoration: underline; }

/* Footer */
.landing-footer { background: #1a1a1a; color: rgba(255,255,255,0.75); padding: 30px 20px 90px; text-align: center; font-size: 14px; }
.landing-footer a { color: rgba(255,255,255,0.85); }

/* Sticky mobile CTA */
.sticky-mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); border-top: 1px solid var(--landing-border); box-shadow: 0 -4px 16px rgba(0,0,0,0.08); z-index: 100; transform: translateY(110%); transition: transform 0.3s ease; }
.sticky-mobile-cta.visible { transform: translateY(0); }
.sticky-mobile-cta .btn { width: 100%; padding: 14px; background: var(--color-3); color: #fff; border: none; border-radius: 12px; font-weight: 600; font-size: 16px; }
@media (min-width: 768px) { .sticky-mobile-cta { display: none; } }

/* ===== Realistic in-app mockup styles ===== */
.app-screen{display:flex;flex-direction:column;height:100%;background:#f3f4f6;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;position:relative;}
.app-header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#fff;border-bottom:1px solid #e5e7eb;font-size:12px;flex:0 0 auto;}
.app-header .bi-list{font-size:16px;color:#374151;}
.app-header .app-title{font-weight:700;color:#111827;font-size:12px;letter-spacing:.2px;}
.app-header .app-avatar{width:24px;height:24px;border-radius:50%;background:var(--color-3,#16a34a);color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;}
.app-body{flex:1;overflow:hidden;padding:8px 8px 56px;display:flex;flex-direction:column;gap:6px;}
.app-section-title{font-size:10px;font-weight:700;color:#374151;text-transform:uppercase;letter-spacing:.6px;padding:2px 2px;display:flex;align-items:center;justify-content:space-between;}
.app-section-title .ast-count{background:#e5e7eb;color:#374151;border-radius:10px;padding:1px 6px;font-size:8.5px;}
.app-welcome-card{background:linear-gradient(135deg,var(--color-1,#0f2d3d),#1d4a63);color:#fff;border-radius:10px;padding:9px 11px;display:flex;flex-direction:column;gap:5px;}
.app-welcome-card .awc-title{font-size:11px;font-weight:700;}
.app-welcome-card .awc-sub{font-size:9px;opacity:.8;}
.app-welcome-card .awc-input{background:rgba(255,255,255,.12);border:1px dashed rgba(255,255,255,.35);border-radius:6px;padding:4px 6px;font-size:8.5px;display:flex;align-items:center;gap:5px;color:#cbe1f0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.app-welcome-card .awc-btn{align-self:flex-start;background:transparent;border:1px solid var(--color-3,#16a34a);color:#a5e6b9;border-radius:6px;font-size:9px;padding:3px 8px;display:inline-flex;align-items:center;gap:4px;font-weight:600;}
.app-welcome-card .awc-stats{display:flex;gap:6px;margin-top:2px;}
.app-welcome-card .awc-stat{flex:1;background:rgba(255,255,255,.08);border-radius:6px;padding:4px 6px;display:flex;flex-direction:column;align-items:center;}
.app-welcome-card .awc-stat strong{font-size:13px;font-weight:700;color:#fff;}
.app-welcome-card .awc-stat span{font-size:7.5px;opacity:.75;}
.app-prop-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.06);display:flex;flex-direction:column;}
.app-prop-image{height:54px;background:#cbd5e1;background-size:cover;background-position:center;position:relative;}
.app-prop-image .api-fav{position:absolute;top:5px;right:5px;width:18px;height:18px;border-radius:50%;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;font-size:9px;color:#ef4444;}
.app-prop-body{padding:6px 9px 8px;display:flex;flex-direction:column;gap:3px;}
.app-prop-title{font-size:10.5px;font-weight:700;color:var(--color-3,#0a8c3f);}
.app-prop-addr{font-size:9px;color:#6b7280;}
.app-prop-row{display:flex;align-items:center;gap:6px;font-size:9.5px;color:#374151;}
.app-prop-price{font-weight:700;color:var(--color-3,#0a8c3f);font-size:10.5px;}
.app-prop-beds{display:inline-flex;align-items:center;gap:3px;color:#6b7280;}
.app-score-badge{margin-left:auto;background:#fde68a;color:#92400e;border-radius:50%;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:9.5px;font-weight:700;}
.app-score-badge.score-grey{background:#e5e7eb;color:#4b5563;}
.app-score-badge.score-green{background:var(--color-3,#16a34a);color:#fff;}
.app-rank-row{display:flex;align-items:center;gap:6px;}
.app-rank{font-size:10.5px;font-weight:800;color:var(--color-3,#0a8c3f);}
.app-rank.rank-grey{color:#9ca3af;}
.score-bar-row{display:flex;align-items:center;gap:5px;font-size:8.5px;color:#374151;}
.score-bar-row .sb-label{flex:0 0 50px;font-weight:600;}
.score-bar-row .sb-track{flex:1;height:5px;background:#e5e7eb;border-radius:3px;overflow:hidden;}
.score-bar-row .sb-fill{height:100%;border-radius:3px;}
.score-bar-row .sb-pct{flex:0 0 24px;text-align:right;color:#6b7280;font-size:8px;}
.app-score-question{background:#fff;border-radius:8px;padding:6px 8px;display:flex;flex-direction:column;gap:4px;box-shadow:0 1px 2px rgba(0,0,0,.05);}
.app-score-question .asq-label{font-size:9.5px;font-weight:700;color:#1f2937;}
.score-grid-row{display:grid;grid-template-columns:repeat(10,1fr);gap:2px;}
.score-grid-row button{appearance:none;border:1px solid #d1d5db;background:#f9fafb;color:#374151;font-size:8px;font-weight:600;padding:3px 0;border-radius:4px;cursor:default;line-height:1;}
.score-grid-row button.selected{background:var(--color-3,#16a34a);color:#fff;border-color:var(--color-3,#16a34a);}
.app-bottom-nav{position:absolute;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #e5e7eb;display:grid;grid-template-columns:repeat(5,1fr);align-items:end;padding:5px 4px 7px;}
.app-bottom-nav .abn-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:1px;font-size:7.5px;color:#6b7280;}
.app-bottom-nav .abn-item i{font-size:13px;}
.app-bottom-nav .abn-item.active{color:var(--color-3,#16a34a);}
.app-bottom-nav .abn-item.abn-add{justify-self:center;background:var(--color-3,#16a34a);color:#fff;width:32px;height:32px;border-radius:50%;justify-content:center;align-items:center;margin-top:-14px;box-shadow:0 4px 10px rgba(22,163,74,.35);padding:0;}
.app-bottom-nav .abn-item.abn-add i{font-size:14px;}

/* House photo placeholders (SVG illustrations as data URIs) */
.house-photo-1{background-image:linear-gradient(135deg,rgba(15,45,61,.45),rgba(15,45,61,.15)),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'><defs><linearGradient id='s' x1='0' x2='0' y1='0' y2='1'><stop offset='0' stop-color='%2387b4d9'/><stop offset='1' stop-color='%23bcd4e6'/></linearGradient></defs><rect width='200' height='80' fill='url(%23s)'/><polygon points='40,55 100,20 160,55' fill='%23b04a2e'/><rect x='55' y='50' width='90' height='30' fill='%23e8d9b8'/><rect x='75' y='58' width='14' height='22' fill='%234a3525'/><rect x='110' y='58' width='12' height='12' fill='%23a0c8e8'/><rect x='130' y='58' width='12' height='12' fill='%23a0c8e8'/><rect x='0' y='72' width='200' height='8' fill='%23829665'/></svg>");}
.house-photo-2{background-image:linear-gradient(135deg,rgba(45,80,55,.45),rgba(45,80,55,.15)),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'><rect width='200' height='80' fill='%23a8c5a0'/><rect x='30' y='30' width='140' height='45' fill='%23d8d2c2'/><polygon points='30,30 100,8 170,30' fill='%23555'/><rect x='90' y='45' width='20' height='30' fill='%23332b22'/><rect x='45' y='42' width='18' height='14' fill='%23bde0ff'/><rect x='137' y='42' width='18' height='14' fill='%23bde0ff'/><rect x='0' y='68' width='200' height='12' fill='%2386a06d'/></svg>");}
.house-photo-3{background-image:linear-gradient(135deg,rgba(60,40,40,.4),rgba(60,40,40,.1)),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'><rect width='200' height='80' fill='%23c8b89a'/><rect x='25' y='35' width='70' height='40' fill='%23a64f2f'/><rect x='95' y='25' width='80' height='50' fill='%23b06840'/><polygon points='25,35 60,15 95,35' fill='%23333'/><polygon points='95,25 135,5 175,25' fill='%23333'/><rect x='40' y='48' width='12' height='12' fill='%23ffd97a'/><rect x='70' y='48' width='12' height='12' fill='%23ffd97a'/><rect x='110' y='40' width='14' height='14' fill='%23bde0ff'/><rect x='145' y='40' width='14' height='14' fill='%23bde0ff'/><rect x='125' y='55' width='15' height='20' fill='%23332'/><rect x='0' y='72' width='200' height='8' fill='%23708060'/></svg>");}
.house-photo-4{background-image:linear-gradient(135deg,rgba(80,60,90,.35),rgba(80,60,90,.1)),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'><rect width='200' height='80' fill='%23d8c5b0'/><rect x='40' y='25' width='120' height='50' fill='%23ede2cf'/><rect x='40' y='25' width='120' height='8' fill='%23463729'/><polygon points='40,25 100,2 160,25' fill='%23463729'/><rect x='55' y='40' width='18' height='18' fill='%23bde0ff'/><rect x='85' y='40' width='18' height='18' fill='%23bde0ff'/><rect x='115' y='40' width='18' height='18' fill='%23bde0ff'/><rect x='90' y='62' width='18' height='13' fill='%23332b22'/><rect x='0' y='73' width='200' height='7' fill='%23a8b88e'/></svg>");}
.house-photo-5{background-image:linear-gradient(135deg,rgba(40,60,80,.35),rgba(40,60,80,.1)),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'><rect width='200' height='80' fill='%2398b8d4'/><rect x='35' y='28' width='130' height='48' fill='%23e6d6c0'/><polygon points='35,28 100,5 165,28' fill='%23704030'/><rect x='50' y='40' width='14' height='14' fill='%23bde0ff'/><rect x='75' y='40' width='14' height='14' fill='%23bde0ff'/><rect x='125' y='40' width='14' height='14' fill='%23bde0ff'/><rect x='150' y='40' width='14' height='14' fill='%23bde0ff'/><rect x='95' y='52' width='18' height='24' fill='%23402820'/><rect x='0' y='72' width='200' height='8' fill='%2380a070'/></svg>");}

/* ===== Auth: social login ===== */
.social-login-row{display:flex;flex-direction:column;gap:8px;margin-bottom:14px;}
.social-login-row .btn-social{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:600;padding:10px 12px;border-radius:8px;background:#fff;color:#1f2937;border:1px solid #d1d5db;}
.social-login-row .btn-social:hover{background:#f9fafb;border-color:#9ca3af;}
.social-login-row .btn-social i{font-size:16px;}
.auth-divider{display:flex;align-items:center;gap:10px;margin:6px 0 16px;color:#6b7280;font-size:12px;}
.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:#e5e7eb;}
