/* ===== CSS Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1D1D1F;
    --accent: #0066CC;
    --secondary: #F5F5F7;
    --bg-section: #F5F5F7;
    --text: #1D1D1F;
    --text-light: #6E6E73;
    --border: rgba(0, 0, 0, 0.16);
    --white: #FFFFFF;
    --radius-card: 18px;
    --radius-btn: 980px;
    --shadow-card: 2px 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    font-family: "SF Pro Display", "SF Pro Text", "SF Pro Icons", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Helvetica", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.hidden {
    display: none !important;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #000000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 2.75rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 0 0;
}

.logo {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0;
}

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

.logo-img {
    height: 2.5rem;
    width: auto;
    display: block;
    border-radius: 4px;
}

.nav {
    display: none;
    gap: 1.25rem;
}

.nav a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.2s, opacity 0.2s;
    opacity: 0.8;
}

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

.btn-header {
    background: transparent;
    color: var(--white);
    padding: 0.4rem 1.1rem;
    border: 1px solid var(--white);
    border-radius: var(--radius-btn);
    font-size: 0.8rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0;
    font-family: inherit;
}

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

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

/* ===== Hero Section ===== */
.hero {
    padding: 5rem 0 7rem;
    background: var(--bg-section);
    overflow: hidden;
}

.hero-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.hero-title-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-subtitle-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--white);
    width: fit-content;
    letter-spacing: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.08;
    color: var(--text);
    letter-spacing: -0.022em;
}

.hero-title .accent {
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-light);
    max-width: 40rem;
    font-weight: 400;
    line-height: 1.47059;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-primary {
    background: var(--text);
    color: var(--white);
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0;
    font-family: inherit;
}

.btn-primary:hover {
    background: #424245;
}

.btn-large {
    width: fit-content;
}

.trust-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.stars {
    color: var(--text-light);
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.hero-image-wide {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    aspect-ratio: 21/9;
}

.hero-image-wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.hero-image-wide:hover img {
    transform: scale(1.05);
}

@media (min-width: 1024px) {
    .hero-text-split {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    .hero-title-col {
        padding-right: 2rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-cta {
        flex-direction: row;
        align-items: center;
    }
}

/* ===== Trust Section ===== */
.trust-section {
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.trust-content {
    text-align: center;
}

.trust-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.trust-logos img {
    height: 2rem;
    width: auto;
    object-fit: contain;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .trust-logos {
        gap: 4rem;
    }
}

/* ===== Statistics Section ===== */
.stats-section {
    padding: 5rem 0;
    background: var(--bg-section);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 56rem;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #F5F5F7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-icon svg {
    width: 2rem;
    height: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.022em;
}

.stat-number::after {
    content: '+';
}

.stat-item:nth-child(2) .stat-number::after {
    content: '%';
}

.stat-item:nth-child(3) .stat-number::after {
    content: '';
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
    max-width: 12.5rem;
}

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

/* ===== How It Works ===== */
.how-it-works {
    padding: 6rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.022em;
}

.section-header p {
    color: var(--text-light);
}

.steps-grid {
    display: grid;
    gap: 2rem;
}

.step-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-card);
    background: var(--bg-warm);
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    transition: border-color 0.2s;
}

.step-card:hover {
    border-color: rgba(0, 0, 0, 0.25);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 4rem;
    font-weight: 700;
    color: #D2D2D7;
    user-select: none;
    z-index: 0;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

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

/* ===== Benefits Section ===== */
.benefits-section {
    padding: 5rem 0;
    background: var(--bg-warm);
}

.benefits-grid {
    display: grid;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem;
    border-radius: var(--radius-card);
    background: var(--white);
    border: 0.5px solid rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s;
}

.benefit-card:hover {
    border-color: rgba(0, 0, 0, 0.22);
}

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #F5F5F7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.benefit-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.022em;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

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

/* ===== Footer ===== */
.footer {
    background: #F5F5F7;
    color: var(--text-light);
    padding: 3rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-col h4 {
    color: var(--text);
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    letter-spacing: 0;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #424245;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s;
    display: inline-block;
    font-weight: 400;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-logo {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0;
}

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

.footer-logo-img {
    height: 2rem;
    width: auto;
    display: block;
    border-radius: 4px;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-light);
}

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

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

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


/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary);
}

.funnel-step h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.property-types {
    display: grid;
    gap: 1rem;
}

.property-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    font-weight: 500;
}

.property-btn:hover {
    border-color: var(--primary);
    background: #F5F5F7;
}

.property-btn .icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
}

.back-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.back-btn:hover {
    color: var(--primary);
}

.funnel-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

.form-group input {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== Dedicated Funnel Page Styles ===== */
.grid-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px solid var(--border);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white);
    gap: 1rem;
}

.grid-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.funnel-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.funnel-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.radio-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-option:hover {
    background: #F5F5F7;
    border-color: var(--primary);
}

.radio-option input[type="radio"] {
    margin-right: 1rem;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary);
}

.option-title {
    font-weight: 500;
    color: var(--primary);
}

.btn-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: space-between;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #D2D2D7;
}