/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');

/* ===== GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #2c3e50;
    --primary-blue: #34495e;
    --accent-gold: #d4a574;
    --accent-teal: #16a085;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-cream: #faf8f5;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-cream);
}

/* ===== HEADER ===== */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden; /* never allow two lines */
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap; /* absolutely never wrap to second line */
    height: 44px;      /* fixed height locks it to one row */
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: color 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* Hide logo text on smallest phones — icon only */
.logo-text {
    display: none;
}

.logort { color: #1f3a5f; }
.logoca { color: #16a085; }

.cta-button {
    background: linear-gradient(135deg, var(--accent-teal), #138f78);
    color: white;
    border: none;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(22, 160, 133, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #138f78, #0e7461);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 160, 133, 0.4);
}

/* Show logo text once there's enough room */
@media (min-width: 420px) {
    .logo-text { display: inline; font-size: 1rem; }
    .logo img { width: 28px; height: 28px; }
    .cta-button { padding: 0.55rem 1rem; font-size: 0.82rem; }
    .header-nav { gap: 0.8rem; }
}

@media (min-width: 560px) {
    .logo-text { font-size: 1.2rem; }
    .logo img { width: 32px; height: 32px; }
    .cta-button { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
    .nav-link { font-size: 0.9rem; }
    .header-nav { gap: 1.2rem; }
}

@media (min-width: 768px) {
    .logo-text { font-size: 1.5rem; }
    .logo img { width: 40px; height: 40px; }
    .cta-button { padding: 0.75rem 1.75rem; font-size: 1rem; }
    .nav-link { font-size: 0.95rem; }
    .header-nav { gap: 1.5rem; }
    .header-content { padding: 0 2rem; }
}

/* ===== HERO ===== */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: rgba(212, 165, 116, 0.95);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.subtext {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.85;
}

.hero-visual {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-family: 'Crimson Pro', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STORE BADGES ===== */
.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-badge:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.store-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.store-badge-small {
    font-size: 0.65rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.store-badge-big {
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
}

.web-app-note {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.web-app-note a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.footer-store-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.footer-store-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-store-links a:hover {
    opacity: 1;
}

/* ===== SECTIONS ===== */
.section {
    padding: 6rem 2rem;
}

.pain-section {
    background: white;
}

.shift-section {
    background: linear-gradient(135deg, var(--bg-cream) 0%, #f0ede8 100%);
}

.screenshots-section {
    background: white;
}

.origin-section {
    background: var(--bg-cream);
}

.benefits-section {
    background: white;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

/* ===== PAIN POINTS ===== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pain-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.pain-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pain-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.pain-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== THE SHIFT ===== */
.shift-content {
    max-width: 900px;
    margin: 0 auto;
}

.shift-text h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.shift-list {
    list-style: none;
    padding: 0;
}

.shift-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.15rem;
    line-height: 1.7;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.shift-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.3rem;
}

.shift-list li strong {
    color: var(--accent-teal);
}

.shift-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent-teal);
    font-size: 1.1rem;
    line-height: 1.7;
}

.shift-result strong {
    color: var(--accent-teal);
    font-weight: 600;
}

/* ===== WORKFLOW ===== */
.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.workflow-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.workflow-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.workflow-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-teal), #138f78);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.workflow-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.workflow-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ===== ORIGIN STORY ===== */
.origin-content {
    max-width: 800px;
    margin: 0 auto;
}

.origin-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent-gold);
}

.origin-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.origin-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.origin-card em {
    color: var(--accent-teal);
    font-style: italic;
    font-weight: 500;
}

/* ===== BENEFITS ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.benefit-card ul {
    list-style: none;
    padding: 0;
}

.benefit-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.benefit-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
}

/* ===== CAROUSEL ===== */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--accent-teal);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.carousel-nav button:hover {
    background: #138f78;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-teal);
    width: 30px;
    border-radius: 6px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.95;
}

.cta-button-white {
    background: white;
    color: var(--accent-teal);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.cta-button-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.demo-info {
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.demo-info .note {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== SECTION INTRO ===== */
.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: -2rem auto 3rem;
    line-height: 1.7;
}

/* ===== TENSION SECTION ===== */
.tension-section {
    background: white;
}

.tension-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tension-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid;
}

.tension-buyer {
    border-top-color: var(--accent-teal);
}

.tension-realtor {
    border-top-color: var(--accent-gold);
}

.tension-who {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.tension-buyer .tension-who {
    color: var(--accent-teal);
}

.tension-realtor .tension-who {
    color: #b8860b;
}

.tension-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

.tension-card p {
    color: var(--text-light);
    line-height: 1.65;
    font-size: 1rem;
}

.tension-bridge {
    background: linear-gradient(135deg, rgba(22,160,133,0.06), rgba(22,160,133,0.12));
    border-left: 4px solid var(--accent-teal);
    border-radius: 8px;
    padding: 1.5rem 2rem;
}

.tension-bridge p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-dark);
}

.tension-bridge strong {
    color: var(--accent-teal);
    font-weight: 600;
}

/* ===== WHO TAGS ===== */
.step-who-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.who-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.who-buyer {
    background: rgba(22,160,133,0.12);
    color: #0e7461;
}

.who-realtor {
    background: rgba(52,73,94,0.1);
    color: var(--primary-blue);
}

.who-both {
    background: rgba(212,165,116,0.2);
    color: #8a6340;
}

@media (max-width: 640px) {
    .tension-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 7rem;
    }

    .hero h1 { font-size: 2.8rem; }
    .hero h2 { font-size: 1.6rem; }
    .section-title { font-size: 2.2rem; }

    .workflow-step {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .workflow-number {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero h1 { font-size: 2.2rem; }
    .hero h2 { font-size: 1.3rem; }
    .section-title { font-size: 1.8rem; }
    .pain-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== JOURNEY PHASES ===== */
.journey-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.journey-phase {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent-teal);
    transition: all 0.3s ease;
}

.journey-phase:nth-child(2) { border-top-color: var(--accent-gold); }
.journey-phase:nth-child(3) { border-top-color: #5dade2; }
.journey-phase:nth-child(4) { border-top-color: #a29bfe; }

.journey-phase:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.phase-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.phase-header h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.phase-list {
    list-style: none;
    padding: 0;
}

.phase-list li {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    padding: 0.4rem 0 0.4rem 1.4rem;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.phase-list li:last-child {
    border-bottom: none;
}

.phase-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 0.85rem;
    top: 0.5rem;
}