:root {
    /* Colors */
    --color-primary: #385E3C;
    /* Dark Moss Green matching image */
    --color-primary-dark: #2A482E;
    --color-secondary: #F4Ebd9;
    /* Beige button bg */
    --color-text-main: #2C3E30;
    /* Darker green-gray text */
    --color-text-light: #4B5D50;
    --color-bg: #FDFBF6;
    /* Warmer cream background */
    --color-white: #FFFFFF;
    --color-white-rgba: rgba(255, 253, 245, 0.9);

    /* Spacing & Layout */
    --container-width: 1140px;
    --header-height: 90px;
    --header-height-scrolled: 70px;
    --radius-card: 20px;
    --radius-btn: 12px;

    /* Shadows */
    --shadow-soft: 0 8px 24px rgba(56, 94, 60, 0.06);
    --shadow-hover: 0 12px 32px rgba(56, 94, 60, 0.1);

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    color: var(--color-primary);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

.text-lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 700px;
    line-height: 1.8;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    font-size: 1.125rem;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
}

.btn--primary {
    background-color: var(--color-primary);
    color: #E8F5E9;
    /* Slight off-white text */
    box-shadow: 0 4px 15px rgba(56, 94, 60, 0.2);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 94, 60, 0.3);
}

.btn--secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn--secondary:hover {
    background-color: #EADFC8;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(253, 251, 246, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: none;
    /* Removed initial shadow for cleaner look */
}

.header.scrolled {
    height: var(--header-height-scrolled);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    background: rgba(253, 251, 246, 0.98);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Reduced gap since image has whitespace */
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.header__logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__menu {
    display: flex;
    gap: 2.5rem;
    margin-right: 3rem;
}

.header__link {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.header__link:hover,
.header__link.active {
    color: var(--color-primary);
}

.header__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
}

.header__toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: 0.3s;
}

/* Sections General */
.section {
    padding: 6rem 0;
    position: relative;
}

.section--light {
    background-color: rgba(255, 255, 255, 0.5);
    /* Subtle distinction */
}

.section__title {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title--left {
    text-align: left;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    padding-bottom: 15vh;
    /* Shift visual center up */
    overflow: hidden;
}

.hero__bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    /* More space for text */
    gap: 2rem;
    align-items: center;
}

.hero__content {
    max-width: 600px;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    margin-left: 5rem;
    /* Shift both buttons right by approx 2cm */
}

.hero .btn--primary {
    background-color: var(--color-primary);
    /* Match title */
    margin-left: 0;
    /* Align left */
    box-shadow: 0 4px 15px rgba(56, 94, 60, 0.2);
}

.hero .btn--primary:hover {
    background-color: var(--color-primary-dark);
}

.hero .btn--secondary {
    background-color: #FDFBF6;
    /* Light color from header */
    border: 2px solid white;
    /* White border */
    color: var(--color-primary);
    margin-left: 2.5rem;
    /* Offset further right by approx 1cm */
}

.hero .btn--secondary:hover {
    background-color: white;
    color: var(--color-primary);
}

.hero__visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
    transform: translateY(10vh) translateX(80px);
    /* Move phone down & further right */
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #2C3E30;
    /* Darker phone frame */
    border-radius: 48px;
    box-shadow: 0 30px 60px rgba(44, 62, 48, 0.25);
    padding: 14px;
    position: relative;
    border: none;
    transform: rotate(6deg);
    transition: transform 0.5s ease;
}

.phone-mockup__screen {
    width: 100%;
    height: 100%;
    background-color: #F5F0E8;
    background-image: url('app-splash.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    transition: background-image 0.5s ease;
}

.phone-mockup:hover .phone-mockup__screen {
    background-image: url('app-trips.png');
}




.phone-mockup::after {
    /* Notch placeholder */
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #2C3E30;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

/* Cards & Grid */

/* Cards & Grid */
.grid {
    display: grid;
    gap: 2.5rem;
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: #FDFBF6;
    /* Cream card background */
    border-radius: var(--radius-card);
    padding: 3rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content like in reference */
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(56, 94, 60, 0.08);
}

.card__icon {
    margin-bottom: 1.5rem;
    color: white;
    /* Icon itself white */
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #507A55;
    /* Muted Green circle */
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Feature specific */
.card--feature {
    text-align: center;
}

.card__text {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Pricing specific */
.pricing-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.card--pricing {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card--highlight {
    background: #fff;
    border: 2px solid #E8F0E6;
}

.list-check {
    margin-top: 1.5rem;
    text-align: left;
    margin-left: 2rem;
}

.list-check li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
    text-align: left;
}

.list-check li:not(.has-icon)::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.pricing-options {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

.divider {
    color: var(--color-text-light);
    margin: 0 0.5rem;
}

/* Audience specific */
.card--audience {
    text-align: center;
}

/* Large Family Card */
.card--wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    text-align: left;
    padding: 3rem;
}

.icon-wildy {
    font-size: 8rem;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.section__bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F0F5EF;
    z-index: -1;
    opacity: 0.6;
}

/* Extras */
.card--product {
    text-align: center;
    padding: 1.5rem;
}

.card__icon-small {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* CSS Classes for the new icon set */
.wc-icon {
    display: inline-block;
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    border-radius: 20px;
    /* Soften the sheet edges */
}

.wc-icon--small {
    width: 64px;
    height: 64px;
    border-radius: 12px;
}

/* Sheet 0 - icons_sheet_0.png (1x3) */
.icon--pin {
    background-image: url('icons_sheet_0.png');
    background-position: 0% 0%;
    background-size: 300% 100%;
}

.icon--walker {
    background-image: url('icons_sheet_0.png');
    background-position: 50% 0%;
    background-size: 300% 100%;
}

.icon--medal {
    background-image: url('icons_sheet_0.png');
    background-position: 100% 0%;
    background-size: 300% 100%;
}

/* Sheet 1 - icons_sheet_1.png (2x3) */
.icon--star {
    background-image: url('icons_sheet_1.png');
    background-position: 50% 0%;
    background-size: 300% 200%;
}

/* Sheet 2 - icons_sheet_2.png (1x2) */
.icon--destination-circle {
    background-image: url('icons_sheet_2.png');
    background-position: 100% 0%;
    background-size: 200% 100%;
}

/* Sheet 3 - icons_sheet_3.png (2x3) */
.icon--navigator {
    background-image: url('icons_sheet_3.png');
    background-position: 100% 0%;
    background-size: 300% 200%;
}

.icon--handshake {
    background-image: url('icons_sheet_3.png');
    background-position: 0% 100%;
    background-size: 300% 200%;
}

.icon--heart {
    background-image: url('icons_sheet_3.png');
    background-position: 100% 100%;
    background-size: 300% 200%;
}

/* Sheet 4 - icons_sheet_4.png (2x3) */
.icon--trees {
    background-image: url('icons_sheet_4.png');
    background-position: 0% 0%;
    background-size: 300% 200%;
}

.icon--ladybug {
    background-image: url('icons_sheet_4.png');
    background-position: 0% 100%;
    background-size: 300% 200%;
}

/* Individual Icons (256x256) */
.icon--magnifier {
    background-image: url('icon_magnifier.png');
    background-size: contain;
}

.icon--climber {
    background-image: url('icon_climber.png');
    background-size: contain;
}

.icon--clipboard {
    background-image: url('icon_clipboard.png');
    background-size: contain;
}

.icon--locked {
    background-image: url('icon_locked.png');
    background-size: contain;
}

.icon--unlocked {
    background-image: url('icon_unlocked.png');
    background-size: contain;
}

.icon--clock {
    background-image: url('icon_clock.png');
    background-size: contain;
}

.icon--compass {
    background-image: url('icon_compass.png');
    background-size: contain;
}

.icon--paw-magnifier {
    background-image: url('icon_paw_magnifier.png');
    background-size: contain;
}

.icon--eye {
    background-image: url('icon_eye.png');
    background-size: contain;
}

.icon--jumping-boy {
    background-image: url('icon_jumping_boy.png');
    background-size: contain;
}

.icon--audience-individual {
    background-image: url('icon_audience_individual.png');
    background-size: contain;
}

.icon--audience-pairs {
    background-image: url('icon_audience_pairs.png');
    background-size: contain;
}

.icon--audience-family {
    background-image: url('icon_audience_family.png');
    background-size: contain;
}

.icon--how-pin {
    background-image: url('icon_how_pin.png');
    background-size: contain;
}

.icon--how-hiker {
    background-image: url('icon_how_hiker.png');
    background-size: contain;
}

.icon--how-medal {
    background-image: url('icon_how_medal.png');
    background-size: contain;
}

/* CTA Section */
.section--highlight {
    background-color: #E8F0E6;
    text-align: center;
}

.cta-container {
    max-width: 700px;
}

.cta-centered {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.store-badge {
    width: 140px;
    height: 44px;
    background-color: #333;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: default;
    /* Placeholder */
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
    font-size: 0.9rem;
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer__links {
    display: flex;
    gap: 2rem;
}

.footer__links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero__container,
    .card--wide,
    .pricing-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
        /* Show image first on mobile? Usually top. Or bottom. Let's keep structure. */
        /* Actually visual below text on mobile is standard unless image is hero bg. 
           But mockup might be better below title. */
    }

    .section__title--left {
        text-align: center;
    }
}

@media (max-width: 768px) {

    .header__menu,
    .header__cta {
        display: none;
        /* Simple mobile hide for MVP, or implement toggle */
    }

    .header__toggle {
        display: flex;
    }

    .header__container {
        justify-content: space-between;
    }

    /* Mobile Menu (simplified logic needed in JS or CSS target) */
    .header__nav.open .header__menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: #fff;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }
}