:root {
    --primary-color: #0b6636;
    --primary-hover: #084d28;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --bg-soft: #f7f9f8;
    --border-color: #e5e7eb;
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

/* Shared button styles for nav and content sections */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.8rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

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

.btn-outline {
    background: #ffffff;
    border-color: #1f2937;
    color: #1f2937;
}

.btn-outline:hover {
    background: #f9fafb;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #ffffff;
    border-bottom: 1px solid rgba(17, 24, 39, 0.05);
}

.nav-container {
    width: min(1180px, 92vw);
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-mark {
    width: 2.25rem;
    height: 2.75rem;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.logo-text span {
    color: #6b7280;
    font-size: 0.72rem;
}

.nav-links {
    display: inline-flex;
    align-items: center;
    gap: 1.6rem;
    font-weight: 500;
}

.nav-links a {
    color: #1f2937;
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-toggle,
.mobile-menu {
    display: none;
}

.mobile-menu-toggle {
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-dark);
    padding: 0.65rem 0.9rem;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.hamburger-lines {
    width: 1.1rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.22rem;
}

.hamburger-lines span {
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.mobile-menu {
    width: min(1180px, 92vw);
    margin: 0 auto;
    padding: 0 0 1rem;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    color: #1f2937;
    font-weight: 600;
}

.mobile-menu a.active {
    color: var(--primary-color);
}

.mobile-menu .btn {
    width: 100%;
    margin-top: 0.8rem;
    min-height: auto;
    border-top: 0;
    color: #ffffff;
}

.hero-section {
    position: relative;
    background: var(--bg-soft);
    min-height: clamp(520px, 75vh, 700px);
    overflow: visible;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 33%, rgba(255, 255, 255, 0) 60%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: clamp(520px, 75vh, 700px);
    display: flex;
    align-items: center;
}

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

.hero-pill {
    display: inline-block;
    background: #ecf8f0;
    color: var(--primary-color);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1.04;
    margin-bottom: 1.1rem;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.3rem;
    color: #374151;
    max-width: 540px;
    margin-bottom: 1.4rem;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.hero-trust {
    color: #374151;
    font-size: 1rem;
}

.hero-phone {
    position: absolute;
    right: clamp(16px, 6vw, 80px);
    bottom: clamp(-96px, -9vw, -42px);
    width: clamp(230px, 28vw, 360px);
    z-index: 3;
}

.hero-main-img,
.ai-banner img,
.download-bg {
    width: 100%;
    display: block;
}

.hero-main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section {
    padding: 3.75rem 0;
}

.section.light {
    background: #ffffff;
}

.section-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 2.6vw, 2.55rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.section-title.left {
    text-align: left;
    margin-bottom: 0;
}

.feature-grid,
.steps-grid,
.listing-grid,
.stats-grid {
    display: grid;
    gap: 1.1rem;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.3rem;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.feature-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
}

.feature-card p,
.step-item p,
.listing-body p,
.stat-item span {
    color: var(--text-muted);
    line-height: 1.45;
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-item {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.2rem;
    background: #ffffff;
}

.step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    color: #ffffff;
    font-weight: 700;
    background: var(--primary-color);
}

.step-item h3 {
    margin-bottom: 0.45rem;
}

.listings-section {
    background: #f8faf9;
}

.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.listing-card {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: #ffffff;
}

.listing-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.listing-body {
    padding: 1rem;
}

.listing-body h3 {
    margin-bottom: 0.3rem;
}

.listing-meta {
    margin-top: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.listing-meta span {
    font-size: 0.78rem;
    color: var(--primary-color);
    background: #e8f4ed;
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
}

.ai-banner {
    position: relative;
    flex: 1 1 auto;
    height: clamp(260px, 28vw, 340px);
    min-height: 0;
    background: #071612;
    overflow: hidden;
}

.ai-impact-section {
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.ai-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-copy-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(2, 12, 9, 0.04) 0%, rgba(2, 12, 9, 0.14) 34%, rgba(2, 12, 9, 0.72) 58%, rgba(2, 12, 9, 0.88) 100%);
}

.ai-copy {
    color: #ffffff;
    padding-left: min(52vw, 620px);
}

.ai-copy .section-label {
    text-align: left;
    color: #2bc471;
}

.ai-copy h2 {
    font-size: clamp(1.8rem, 2.7vw, 3rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.ai-copy p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.55;
}

.ai-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 650px;
    margin-top: 2rem;
}

.ai-process-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ai-process-item > span {
    width: 2.9rem;
    height: 2.9rem;
    flex: 0 0 2.9rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.ai-process-item strong {
    display: block;
    margin-bottom: 0.15rem;
    color: #ffffff;
}

.ai-process-item p {
    max-width: none;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.84rem;
    line-height: 1.25;
}

.impact-stats-wrap {
    padding: 1.35rem 0 1.5rem;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 0.35rem;
}

.download-section {
    position: relative;
    height: clamp(220px, 21vw, 290px);
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.download-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 102, 54, 0.94) 0%, rgba(11, 102, 54, 0.82) 34%, rgba(11, 102, 54, 0.38) 62%, rgba(11, 102, 54, 0.05) 100%);
}

.download-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: #ffffff;
}

.download-content h2 {
    max-width: 560px;
    font-size: clamp(1.6rem, 2.2vw, 2.35rem);
    line-height: 1.1;
    margin-bottom: 0.65rem;
}

.download-content p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.store-links {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.store-links a {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.store-links a:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.store-badge {
    display: block;
    width: clamp(132px, 14vw, 150px);
    height: auto;
}

.site-footer {
    background: radial-gradient(circle at top right, rgba(22, 163, 74, 0.22), transparent 36%),
        linear-gradient(120deg, #032f22 0%, #064b35 55%, #032f22 100%);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.8fr 0.85fr 0.75fr;
    gap: 3rem;
    padding: 2.8rem 0 2.4rem;
}

.footer-brand p {
    max-width: 310px;
    margin-top: 0.9rem;
    color: #d1fae5;
    font-size: 0.9rem;
    line-height: 1.5;
}

.site-footer .logo-text strong {
    color: #ffffff;
}

.site-footer .logo-text span {
    color: #d1fae5;
}

.footer-logo .logo-mark {
    filter: brightness(0) invert(1);
}

.site-footer h2 {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 800;
}

.footer-link-list {
    display: grid;
    gap: 0.65rem;
}

.footer-link-list a {
    color: #d1fae5;
    font-size: 0.9rem;
}

.footer-link-list a:hover {
    color: #ffffff;
}

.footer-social-links {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
}

.footer-social-links a {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    text-transform: uppercase;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 0 1.25rem;
    color: #d1fae5;
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .hero-section,
    .hero-inner {
        min-height: clamp(480px, 72vh, 620px);
    }

    .hero-phone {
        bottom: clamp(-74px, -10vw, -34px);
    }

    .ai-copy h2 {
        font-size: clamp(1.6rem, 3vw, 2.25rem);
    }

    .ai-process-grid {
        max-width: 580px;
    }

    .feature-grid,
    .listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1.6rem;
    }
}

@media (max-width: 780px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .navbar {
        position: sticky;
    }

    .nav-container {
        min-height: 70px;
    }

    .logo-mark {
        width: 1.9rem;
        height: 2.35rem;
    }

    .logo-text strong {
        font-size: 0.95rem;
    }

    .logo-text span {
        font-size: 0.66rem;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .mobile-menu.is-open {
        display: block;
    }

    .steps-grid,
    .feature-grid,
    .listing-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        text-align: center;
    }

    .footer-brand p {
        margin-right: auto;
        margin-left: auto;
    }

    .footer-logo {
        justify-content: center;
    }

    .section-title.left {
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .section {
        padding: 2.8rem 0;
    }

    .stat-item {
        text-align: center;
    }

    .hero-section,
    .hero-inner {
        min-height: 500px;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.76) 56%, rgba(255, 255, 255, 0.45) 100%);
    }

    .hero-content h1 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-phone {
        display: none;
    }

    .ai-banner {
        height: 460px;
    }

    .ai-copy-wrap {
        align-items: center;
        padding: 1.4rem 0;
        text-align: center;
    }

    .ai-copy h2 {
        margin-bottom: 0.55rem;
    }

    .ai-copy p {
        max-width: none;
        font-size: 0.95rem;
        line-height: 1.42;
    }

    .ai-copy {
        padding-left: 0;
    }

    .ai-copy .section-label {
        text-align: center;
    }

    .ai-process-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 1.2rem;
    }

    .ai-process-item > span {
        width: 2.35rem;
        height: 2.35rem;
        flex-basis: 2.35rem;
    }

    .ai-process-item {
        justify-content: center;
        text-align: left;
    }

    .download-section,
    .download-bg {
        height: 350px;
    }

    .download-bg {
        width: 100%;
        max-width: 100%;
        object-position: 68% center;
    }

    .download-overlay {
        background: linear-gradient(180deg, rgba(11, 102, 54, 0.94) 0%, rgba(11, 102, 54, 0.8) 48%, rgba(11, 102, 54, 0.24) 100%);
    }

    .download-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .store-links {
        width: 100%;
        justify-content: center;
    }

    .footer-social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}
