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

:root {
    --accent-green: #2DD6A3;
    --light-green-bg: #E8F8F4;
    --primary-bg: #F8F6F4;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --purple-tag: #EBE2F5;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header */
.header {
    padding: 24px 0;
    background-color: var(--primary-bg);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.logo-icon {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    border-bottom: 2px solid currentColor;
    padding-bottom: 1px;
    transition: border-color 0.2s;
}

.nav-link:hover {
    border-bottom-color: #149F90;
}

.btn-get-app {
    background-color: var(--accent-green);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-get-app:hover {
    opacity: 0.9;
}

/* Hero Section - fills viewport so green bar sits near bottom, then scrolls with content */
.hero {
    display: flex;
    flex-direction: column;
    padding: 16px 0 0;
    margin-bottom: 0;
    background-color: var(--primary-bg);
}

.hero-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 0;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tag {
    display: inline-block;
    background-color: var(--white);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.hero-headline {
    font-size: 74px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* App Store link: Safari can hide img inside flex; inline-block + block img fixes it */
.app-store-link {
    display: inline-block;
    line-height: 0;
}

.app-store-link .app-store-img {
    display: block;
    width: 161px;
    height: auto;
    max-width: 100%;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--black);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
    height: 50px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.app-store-btn:hover {
    opacity: 0.9;
}

.apple-logo {
    flex-shrink: 0;
    width: 18px;
    height: 22px;
}

.app-store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-store-label {
    font-size: 11px;
    opacity: 0.9;
}

.app-store-name {
    font-size: 16px;
    font-weight: 600;
}


.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup-image {
    max-width: 100%;
    height: auto;
    width: auto;
    max-height: 450px;
    margin-bottom: 100px;
    object-fit: contain;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--white);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background-color: var(--black);
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            #e0e0e0 20px,
            #e0e0e0 21px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            #e0e0e0 20px,
            #e0e0e0 21px
        );
    border-radius: 32px;
}

/* Feature Bar - at bottom of hero, scrolls with content */
.feature-bar {
    background-color: #149F90;
    padding: 24px 0;
    margin-bottom: 0;
    width: 100%;
}

.feature-bar-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    color: var(--white);
}


/* Feature Sections - narrower so text breaks into more lines */
.feature-section {
    margin-top: 0;
    padding: 100px 0;
    background-color: #FBF9F7;
}

.feature-section .container {
    max-width: 920px;
}

.feature-section-alt {
    background-color: var(--white);
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-content-reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-thumb {
    max-width: 100%;
    width: auto;
    max-height: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.phone-mockup-small {
    width: 240px;
    height: 480px;
    background: var(--white);
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.phone-screen-with-content {
    background: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.app-entry {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.entry-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-green), #1fb893);
}

.entry-text {
    flex: 1;
}

.entry-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.entry-date {
    font-size: 12px;
    color: var(--text-light);
}

.app-map {
    margin-top: auto;
    height: 80px;
    background-color: #f0f0f0;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-green);
    position: absolute;
}

.map-pin:nth-child(1) {
    top: 30%;
    left: 30%;
}

.map-pin:nth-child(2) {
    top: 50%;
    right: 35%;
}

.map-pin:nth-child(3) {
    bottom: 25%;
    left: 50%;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-headline {
    font-size: 44px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.feature-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-light);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bullet-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-green);
    flex-shrink: 0;
}

.feature-link {
    color: var(--accent-green);
    text-decoration: underline;
    font-size: 16px;
    font-weight: 500;
    width: fit-content;
}

.feature-link:hover {
    opacity: 0.8;
}

/* Privacy Section */
.privacy-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
}

.privacy-content {
    text-align: center;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.privacy-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent-green);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.privacy-headline {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.privacy-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 60px;
}

.privacy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    width: 100%;
}

.privacy-card {
    background-color: var(--white);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: left;
    min-width: 0;
}

.card-headline {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background-color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

.footer-feedback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 360px;
    text-align: center;
}

.footer-tagline {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.footer-email {
    color: #149F90;
    font-size: 16px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-email:hover {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.2s;
}

.footer-link:hover {
    opacity: 0.7;
}


.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-icon {
    color: var(--text-dark);
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    opacity: 0.7;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    gap: 20px;
}

.footer-copyright {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.footer-copyright p {
    margin: 4px 0;
}

/* About page */
.about-page {
    padding: 60px 0 80px;
    background-color: var(--primary-bg);
}

.about-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.2;
}

.about-page .container {
    max-width: 780px;
}

.about-section {
    margin-bottom: 40px;
}

.about-section p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-section p:last-child {
    margin-bottom: 0;
}

.about-lead {
    font-size: 20px;
    line-height: 1.6;
}

.about-heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    margin-top: 32px;
}

.about-section:first-child .about-heading,
.about-heading:first-child {
    margin-top: 0;
}

.about-subheading {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 24px 0 12px;
}

.about-section ul {
    margin: 0 0 16px;
    padding-left: 24px;
}

.about-section li {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content,
    .feature-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left {
        text-align: center;
        align-items: center;
    }

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

    .hero-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-content {
        align-items: center;
    }

    .feature-content-reverse {
        grid-template-columns: 1fr;
    }

    .feature-text {
        text-align: center;
    }

    .feature-description {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-headline,
    .privacy-headline {
        font-size: 32px;
    }

    .privacy-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .privacy-card {
        text-align: center;
    }

    .feature-bar-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .feature-bar {
        padding: 20px 0;
    }

    .footer-content {
        align-items: center;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-feedback {
        text-align: center;
    }

    .nav {
        gap: 16px;
    }

    .nav-link {
        font-size: 14px;
    }

    .btn-get-app {
        padding: 8px 16px;
        font-size: 14px;
    }

    .about-title {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .about-page {
        padding: 40px 0 60px;
    }

    .about-heading {
        font-size: 22px;
    }

    .about-section p,
    .about-section li {
        font-size: 17px;
    }
}

@media (max-width: 640px) {
    .hero-headline {
        font-size: 46px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .header-content {
        flex-wrap: nowrap;
    }

    .nav {
        justify-content: flex-end;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
