/* ============================================
   Bundle Sydney — Buyer Landing Page
   Mobile-first. No frameworks. Pure CSS.
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #FFFFFF;
    --charcoal: #1A1A2E;
    --charcoal-deep: #16213E;
    --grey-light: #F5F5F7;
    --grey-mid: #E8E8E8;
    --grey-text: #6E6E73;
    --accent: #E07A5F;
    --accent-hover: #C9694F;
    --accent-light: rgba(224, 122, 95, 0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.2s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--grey-mid);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--charcoal);
}

.nav-link.active {
    color: var(--charcoal);
    font-weight: 600;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--charcoal);
}

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

.tagline {
    font-size: 13px;
    color: var(--grey-text);
    letter-spacing: 0.2px;
}

/* --- Hero --- */
.hero {
    padding: 56px 0 48px;
    text-align: center;
}

.hero-headline {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.hero-subhead {
    font-size: 17px;
    line-height: 1.5;
    color: var(--grey-text);
    max-width: 400px;
    margin: 0 auto 36px;
}

.value-list {
    list-style: none;
    margin: 28px auto 0;
    padding: 0;
    max-width: 360px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.value-list li {
    font-size: 15px;
    line-height: 1.4;
    color: var(--charcoal);
    padding-left: 24px;
    position: relative;
}

.value-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* --- How It Works --- */
.how-it-works {
    padding: 56px 0;
    background: var(--grey-light);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 36px;
    color: var(--charcoal);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--charcoal);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.step-desc {
    font-size: 15px;
    line-height: 1.5;
    color: var(--grey-text);
}

/* --- Value Props --- */
.value-props {
    padding: 56px 0;
}

.props-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prop {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--grey-mid);
    transition: border-color var(--transition);
}

.prop:hover {
    border-color: var(--accent);
}

.prop-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prop-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--charcoal);
    line-height: 1.35;
}

/* --- Signup Form --- */
.signup {
    padding: 56px 0;
    background: var(--grey-light);
}

.form-intro {
    font-size: 15px;
    color: var(--grey-text);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: -0.1px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px; /* prevents iOS zoom */
    font-family: inherit;
    border: 1px solid var(--grey-mid);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--charcoal);
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder {
    color: #B0B0B5;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.12);
}

.form-group input.error {
    border-color: #D32F2F;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.08);
}

.form-group .error-message {
    font-size: 13px;
    color: #D32F2F;
    margin-top: 2px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: -0.2px;
    color: var(--white);
    background: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    -webkit-appearance: none;
    appearance: none;
    margin-top: 4px;
}

.btn-submit:hover {
    background: var(--accent-hover);
}

.btn-submit:active {
    transform: scale(0.98);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-fine-print {
    font-size: 13px;
    color: var(--grey-text);
    text-align: center;
    line-height: 1.4;
}

/* --- Success State --- */
.signup-success {
    text-align: center;
    padding: 24px 0;
}

.success-icon {
    margin-bottom: 20px;
}

.success-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.success-message {
    font-size: 16px;
    line-height: 1.5;
    color: var(--grey-text);
}

/* --- Social Proof --- */
.social-proof {
    padding: 40px 0;
    text-align: center;
}

.proof-text {
    font-size: 15px;
    color: var(--grey-text);
    letter-spacing: -0.1px;
}

.proof-text strong {
    color: var(--charcoal);
    font-weight: 600;
}

/* --- Bundle Explainer --- */
.bundle-explainer {
    padding: 56px 0;
    background: var(--white);
}

.explainer-subhead {
    font-size: 15px;
    color: var(--grey-text);
    text-align: center;
    margin-top: -24px;
    margin-bottom: 36px;
    line-height: 1.5;
}

.bundle-card {
    background: var(--white);
    border: 1px solid var(--grey-mid);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    max-width: 360px;
    margin: 0 auto;
}

.bundle-card-header {
    background: var(--grey-light);
    padding: 0;
}

.bundle-room-visual {
    width: 100%;
    line-height: 0;
}

.room-svg {
    width: 100%;
    height: auto;
    display: block;
}

.bundle-card-body {
    padding: 20px 24px 24px;
}

.bundle-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 8px;
}

.bundle-card-location {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}

.bundle-items {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bundle-items li {
    font-size: 14px;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bundle-check {
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.bundle-card-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--grey-mid);
}

.bundle-price {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--charcoal);
}

.bundle-label {
    font-size: 13px;
    color: var(--grey-text);
}

.explainer-footnote {
    font-size: 14px;
    color: var(--grey-text);
    text-align: center;
    margin-top: 24px;
    line-height: 1.5;
}

/* --- Trust --- */
.trust {
    padding: 40px 0;
    border-top: 1px solid var(--grey-mid);
}

.trust-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
}

.trust-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--grey-text);
}

/* --- Share --- */
.share-nudge {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--grey-mid);
}

.share-prompt {
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.share-section {
    padding: 48px 0;
    text-align: center;
    background: var(--grey-light);
}

.share-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.share-subtext {
    font-size: 15px;
    color: var(--grey-text);
    margin-bottom: 20px;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: var(--accent);
    background: var(--accent-light);
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    -webkit-appearance: none;
}

.btn-share::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E07A5F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8'/%3E%3Cpolyline points='16 6 12 2 8 6'/%3E%3Cline x1='12' y1='2' x2='12' y2='15'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.btn-share:hover {
    background: rgba(224, 122, 95, 0.18);
}

.btn-share:active {
    transform: scale(0.98);
}

.share-copied {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-copied.visible {
    opacity: 1;
}

/* --- Footer --- */
.footer {
    padding: 32px 0 40px;
    border-top: 1px solid var(--grey-mid);
    text-align: center;
}

.footer-copy {
    font-size: 14px;
    color: var(--grey-text);
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 13px;
    color: #B0B0B5;
}

/* ============================================
   Desktop Enhancement (768px+)
   ============================================ */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 40px;
    }

    .hero {
        padding: 80px 0 64px;
    }

    .hero-headline {
        font-size: 48px;
        letter-spacing: -1.2px;
    }

    .hero-subhead {
        font-size: 19px;
        max-width: 480px;
    }

    .how-it-works {
        padding: 72px 0;
    }

    .steps {
        flex-direction: row;
        gap: 20px;
    }

    .step {
        flex: 1;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 44px;
    }

    .value-props {
        padding: 72px 0;
    }

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

    .signup {
        padding: 72px 0;
    }

    .signup-form {
        max-width: 440px;
        margin: 0 auto;
    }

    .footer {
        padding: 40px 0 48px;
    }
}

/* ============================================
   Large Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .hero-headline {
        font-size: 56px;
    }

}
