/**
 * GoEverywhereTogether - Homepage Styles
 */

/* ===================================
   Page Content Wrapper
   =================================== */
.page-content-wrapper {
    position: relative;
}

/* Elements that should appear ABOVE the airplane */
.photo-collage,
.product-card,
.feature-card,
.features-comparison,
.phone-frame,
.step,
.hero-image,
.hero-content,
.about-text,
.btn,
.cta .container,
.social-proof-stats {
    position: relative;
    z-index: 10;
}

/* ===================================
   Homepage Header
   =================================== */
/* Banner fixed at very top */
.page-home .site-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.home-header {
    position: fixed;
    top: 40px; /* Below the banner */
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding-top: 16px; /* Space for progress bar */
    margin-top: -16px; /* Pull header up to cover progress area */
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(45, 90, 71, 0.1);
    z-index: 10;
}

.scroll-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-forest) 0%, var(--color-gold) 100%);
    transition: width 0.1s ease-out;
}

.scroll-progress-airplane {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateX(-50%) translateY(-50%) rotate(90deg);
    color: var(--color-forest);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
    transition: left 0.1s ease-out;
    z-index: 11;
}

.scroll-progress-airplane svg {
    display: block;
}

/* When no banner, header at top */
.page-home .site-banner:empty + .home-header,
.page-home .site-banner[hidden] + .home-header {
    top: 0;
}

.home-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: .25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-forest);
    text-decoration: none;
}

.home-logo .logo-img {
    height: 90px;
    width: auto;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.home-nav a:hover {
    color: var(--color-gold);
}

.home-nav .btn {
    margin-left: 0.5rem;
}

/* Ensure button text colors are not overridden */
.home-nav a.btn-primary,
.home-nav a.btn-primary:hover,
.home-nav a.btn.btn-primary {
    color: white !important;
}

.home-nav a.btn-secondary {
    color: var(--color-forest);
}

.home-nav a.btn-secondary:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-forest);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .home-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 1rem 2rem 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: none;
        gap: 1rem;
    }

    .home-nav.active {
        display: flex;
    }

    .home-nav .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 2rem 4rem; /* Account for fixed banner + header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-light) 50%, var(--color-wood) 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(212, 165, 116, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-image {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.hero-content {
    flex: 1 1 50%;
    text-align: left;
    color: white;
    min-width: 0;
}

@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        max-width: 400px;
    }

    .hero-content {
        text-align: center;
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .hero-cta {
        justify-content: center;
    }
}

.hero .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero .btn-outline {
    border-color: white;
    color: white;
}

.hero .btn-outline:hover {
    background: white;
    color: var(--color-forest);
}

.hero-trust-line {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-trust-line .trust-divider {
    margin: 0 0.5rem;
    opacity: 0.5;
}

@media (max-width: 600px) {
    .hero-trust-line {
        font-size: 0.85rem;
    }

    .hero-trust-line .trust-divider {
        display: none;
    }

    .hero-trust-line {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-pin {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(2px);
}

.floating-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.pin-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: rgba(212, 165, 116, 0.15);
}

.pin-2 {
    top: 60%;
    right: 15%;
    width: 40px;
    height: 40px;
    animation-delay: 2s;
    background: rgba(255, 255, 255, 0.12);
}

.pin-3 {
    bottom: 20%;
    left: 20%;
    width: 50px;
    height: 50px;
    animation-delay: 4s;
    background: rgba(212, 165, 116, 0.1);
}

/* Additional decorative elements - Logo as background */
.hero-decoration::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='55' r='38' fill='none' stroke='white' stroke-width='1' opacity='0.12'/%3E%3Cellipse cx='50' cy='55' rx='38' ry='15' fill='none' stroke='white' stroke-width='0.8' opacity='0.1'/%3E%3Cellipse cx='50' cy='55' rx='15' ry='38' fill='none' stroke='white' stroke-width='0.8' opacity='0.1'/%3E%3Cline x1='12' y1='55' x2='88' y2='55' stroke='white' stroke-width='0.8' opacity='0.1'/%3E%3Cpath d='M50 8 C40 8 32 16 32 26 C32 38 50 52 50 52 C50 52 68 38 68 26 C68 16 60 8 50 8 Z' fill='white' opacity='0.1'/%3E%3Ccircle cx='50' cy='24' r='8' fill='%230f2218' opacity='0.15'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    animation: spin-slow 90s linear infinite;
    pointer-events: none;
}

/* Second logo element - smaller, different position */
.hero-decoration::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 3%;
    width: 200px;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='55' r='38' fill='none' stroke='white' stroke-width='1' opacity='0.08'/%3E%3Cellipse cx='50' cy='55' rx='38' ry='15' fill='none' stroke='white' stroke-width='0.8' opacity='0.06'/%3E%3Cellipse cx='50' cy='55' rx='15' ry='38' fill='none' stroke='white' stroke-width='0.8' opacity='0.06'/%3E%3Cline x1='12' y1='55' x2='88' y2='55' stroke='white' stroke-width='0.8' opacity='0.06'/%3E%3Cpath d='M50 8 C40 8 32 16 32 26 C32 38 50 52 50 52 C50 52 68 38 68 26 C68 16 60 8 50 8 Z' fill='white' opacity='0.06'/%3E%3Ccircle cx='50' cy='24' r='8' fill='%230f2218' opacity='0.08'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    animation: spin-slow 120s linear infinite reverse;
    pointer-events: none;
}

/* Airplane trail container */
.airplane-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}

.airplane-trail-dot {
    position: fixed;
    width: 5px;
    height: 5px;
    background: rgba(45, 90, 71, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: trail-fade 1.5s ease-out forwards;
}

.airplane-trail-dot.on-dark {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes trail-fade {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
}

.airplane-trail-dot.shooting {
    animation: trail-shoot 2.5s ease-out forwards;
}

@keyframes trail-shoot {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--shoot-x)), calc(-50% + var(--shoot-y))) scale(0.3);
    }
}

/* Interactive airplane that follows cursor */
.interactive-airplane {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    pointer-events: none;
    z-index: 5;
    color: rgba(45, 90, 71, 0.12);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transform: translate(-50%, -50%);
    transition: color 0.3s ease;
}

.interactive-airplane.on-dark {
    color: rgba(255, 255, 255, 0.15);
}

.interactive-airplane svg {
    width: 100%;
    height: 100%;
    /* No transition - JS handles smooth animation */
}

/* Hide on mobile */
@media (max-width: 768px) {
    .interactive-airplane {
        display: none;
    }
}

@keyframes float {
    0%, 100% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(-20px); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* ===================================
   Sections
   =================================== */
.section {
    position: relative;
    padding: 6rem 2rem;
    scroll-margin-top: 120px; /* Account for fixed header + banner */
}

/* Target sections by ID for scroll offset */
#how-it-works,
#products,
#about {
    scroll-margin-top: 120px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--color-forest);
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.section-subtext {
    text-align: center;
    color: var(--color-charcoal);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    padding: 1.5rem 2rem;
    background: rgba(45, 90, 71, 0.05);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-forest);
}

.section-subtext strong {
    color: var(--color-forest);
}

/* ===================================
   Social Proof Stats Bar
   =================================== */
.social-proof-bar {
    background: linear-gradient(135deg, var(--color-forest) 0%, #1a3a2a 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.social-proof-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.social-proof-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-sand);
    line-height: 1.1;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .social-proof-bar {
        padding: 1.5rem 0;
    }

    .social-proof-stats {
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 100px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-divider {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .stat-divider {
        display: none;
    }

    .social-proof-stats {
        gap: 2rem 3rem;
    }
}

/* ===================================
   How It Works
   =================================== */
.how-it-works {
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

/* Large subtle globe background */
.how-it-works::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -15%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='90' fill='none' stroke='%232d5a47' stroke-width='0.5' opacity='0.08'/%3E%3Cellipse cx='100' cy='100' rx='90' ry='35' fill='none' stroke='%232d5a47' stroke-width='0.5' opacity='0.08'/%3E%3Cellipse cx='100' cy='100' rx='35' ry='90' fill='none' stroke='%232d5a47' stroke-width='0.5' opacity='0.08'/%3E%3Cellipse cx='100' cy='100' rx='60' ry='90' fill='none' stroke='%232d5a47' stroke-width='0.3' opacity='0.06'/%3E%3Cline x1='10' y1='100' x2='190' y2='100' stroke='%232d5a47' stroke-width='0.5' opacity='0.08'/%3E%3Cline x1='100' y1='10' x2='100' y2='190' stroke='%232d5a47' stroke-width='0.3' opacity='0.05'/%3E%3Ccircle cx='100' cy='100' r='60' fill='none' stroke='%232d5a47' stroke-width='0.3' opacity='0.05'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

/* Pin Diagram - floating decorative image (positioned between hero and how-it-works) */
.pin-diagram-float {
    position: relative;
    width: 420px;
    margin-top: -280px;
    margin-left: auto;
    margin-right: 5%;
    margin-bottom: -180px;
    z-index: 15;
    pointer-events: none;
}

.pin-diagram-float img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

/* Handle high-DPI scaled displays (e.g., Surface Pro at 200% scaling = 1440x960 effective) */
@media (min-width: 1200px) and (max-height: 1000px) {
    .pin-diagram-float {
        width: 340px;
        margin-top: -80px;
        margin-right: 4%;
        margin-bottom: -100px;
    }
}

@media (max-width: 1200px) {
    .pin-diagram-float {
        width: 340px;
        margin-top: -220px;
        margin-right: 3%;
        margin-bottom: -140px;
    }
}

@media (max-width: 900px) {
    .pin-diagram-float {
        width: 260px;
        margin-top: -80px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: -100px;
    }
}

@media (max-width: 600px) {
    .pin-diagram-float {
        width: 200px;
        margin-top: -50px;
        margin-bottom: -70px;
    }
}

@media (max-width: 900px) {
    .how-it-works .section-title {
        padding-top: 2.5rem;
    }

    .step {
        padding: 1rem;
    }

    .hiw-cta-link {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .how-it-works .section-title {
        padding-top: 0.5rem;
    }
}

/* Hide the mobile-only version since we're using the float on all sizes */
.how-it-works .pin-diagram-mobile {
    display: none;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
    max-width: 1800px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-forest-light), var(--color-forest));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover .step-video {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(45, 90, 71, 0.15);
}

.step-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-video .video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.step-video .video-placeholder svg {
    width: 60px;
    height: 60px;
}

/* Hide placeholder when video loads */
.step-video.video-loaded .video-placeholder {
    display: none;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.step-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(45, 90, 71, 0.15);
    animation: spin-slow 20s linear infinite;
}

.step:hover .step-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(45, 90, 71, 0.15);
}

.step-icon svg {
    width: 50px;
    height: 50px;
    color: var(--color-forest);
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-forest);
}

.step p {
    color: var(--color-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

.step-note {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.how-it-works-cta {
    text-align: center;
    margin-top: 3rem;
}

.hiw-cta-link {
    font-family: 'Caveat', cursive;
    font-size: 3.6rem;
    color: var(--color-forest);
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
    animation: text-pulsate 2.5s ease-in-out infinite;
}

@keyframes text-pulsate {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.85;
    }
}

.hiw-cta-link:hover {
    color: var(--color-forest-dark);
    transform: scale(1.08);
    animation: none;
}

.hiw-cta-link u {
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===================================
   Features
   =================================== */
.features {
    background: white;
    position: relative;
    overflow: hidden;
}

/* Dotted world map pattern - left side */
.features::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='85' fill='none' stroke='%232d5a47' stroke-width='1' stroke-dasharray='2 4' opacity='0.06'/%3E%3Ccircle cx='100' cy='100' r='65' fill='none' stroke='%232d5a47' stroke-width='1' stroke-dasharray='2 4' opacity='0.05'/%3E%3Ccircle cx='100' cy='100' r='45' fill='none' stroke='%232d5a47' stroke-width='1' stroke-dasharray='2 4' opacity='0.04'/%3E%3Cpath d='M100 15 C90 15 82 23 82 33 C82 45 100 59 100 59 C100 59 118 45 118 33 C118 23 110 15 100 15 Z' fill='%232d5a47' opacity='0.05'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.features .container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

/* Features Split Layout */
.features-split {
    display: grid;
    grid-template-columns: auto 1.4fr;
    gap: 6.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

/* Left: Phone Testimonials */
.phone-testimonials {
    display: flex;
    justify-content: flex-start;
}

.phone-frame {
    width: 340px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 44px;
    padding: 14px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px #333;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-header {
    background: var(--color-forest);
    color: white;
    padding: 1.75rem 1.25rem 1rem;
    text-align: center;
    flex-shrink: 0;
}

.phone-header-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.phone-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
    cursor: grab;
}

.phone-messages:active {
    cursor: grabbing;
}

.phone-messages::-webkit-scrollbar {
    width: 4px;
}

.phone-messages::-webkit-scrollbar-track {
    background: transparent;
}

.phone-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.text-message {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.text-message.hidden {
    display: none;
}

.text-message.pop-in {
    animation: message-pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes message-pop-in {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.text-message.incoming {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 90%;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    position: relative;
}

.text-message.incoming .message-bubble {
    background: white;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.message-bubble p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 0;
}

.message-sender {
    display: block;
    font-size: 0.75rem;
    color: var(--color-forest);
    font-weight: 600;
    margin-top: 0.4rem;
    opacity: 0.8;
}

.phone-scroll-hint {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.7rem;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: linear-gradient(0deg, #e8e8e8 0%, transparent 100%);
    flex-shrink: 0;
}

.phone-scroll-hint svg {
    animation: bounce-down 1.5s infinite;
}

@keyframes message-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* Right: Before/After Comparison Slider */
.features-comparison {
    position: relative;
    flex: 1.3;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    min-height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    cursor: ew-resize;
    user-select: none;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-before {
    z-index: 1;
    clip-path: inset(0 0 0 15%);
}

.comparison-after {
    z-index: 0;
}

/* Dark overlay on "before" side */
.comparison-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* Before/After labels */
.comparison-label {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 2;
}

.comparison-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-before .comparison-placeholder {
    background: linear-gradient(135deg, var(--color-gray) 0%, var(--color-gray-light) 100%);
}

.comparison-after .comparison-placeholder {
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-light) 100%);
}

/* Hide placeholder when image loads */
.comparison-image img:not([style*="display: none"]) ~ .comparison-placeholder,
.comparison-image img ~ .comparison-placeholder {
    display: none;
}

.comparison-image img[style*="display: none"] ~ .comparison-placeholder,
.comparison-image:not(:has(img:not([style*="display: none"]))) .comparison-placeholder {
    display: flex;
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15%;
    transform: translateX(-50%);
    width: 4px;
    z-index: 10;
}

.comparison-handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.comparison-handle-circle {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--color-forest);
    z-index: 11;
}

.comparison-handle-circle svg {
    transform: rotate(90deg);
}

.comparison-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--color-gray);
    font-size: 0.9rem;
}

.comparison-caption .quote-styled {
    font-style: italic;
    font-weight: 600;
    color: var(--color-charcoal);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    border-radius: var(--radius-lg);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    border-color: rgba(45, 90, 71, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: var(--color-forest);
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h4 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--color-forest);
}

.feature-card p {
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.7;
}

.highlight-text {
    display: inline;
    color: var(--color-forest);
    font-weight: 700;
    font-size: 1.15rem;
    background: rgba(212, 165, 116, 0.35);
    padding: 2px 6px;
    border-radius: 3px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

@media (max-width: 900px) {
    .features-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .phone-testimonials {
        order: 1;
        justify-content: center;
    }

    .features-comparison {
        order: 0;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .comparison-slider {
        aspect-ratio: 4/3;
        min-height: unset;
        max-height: 340px;
    }

    .comparison-label {
        font-size: 0.85rem;
        bottom: 1rem;
    }

    .comparison-caption {
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        width: 300px;
        height: 520px;
    }

    .features-comparison {
        max-width: 100%;
        width: 100%;
    }

    .comparison-slider {
        aspect-ratio: 4/3;
        max-height: 280px;
    }

    .comparison-label {
        font-size: 0.75rem;
        bottom: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .comparison-handle-circle {
        width: 36px;
        height: 36px;
    }

    .comparison-handle-circle svg {
        width: 16px;
        height: 16px;
    }
}

/* ===================================
   Products
   =================================== */
.products {
    background: white;
    position: relative;
    overflow: hidden;
}

/* Compass rose decoration - right side */
.products::before {
    content: '';
    position: absolute;
    bottom: -5%;
    right: 5%;
    width: 300px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%232d5a47' stroke-width='0.5' opacity='0.06'/%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='%232d5a47' stroke-width='0.5' opacity='0.05'/%3E%3Cpath d='M50 5 L53 45 L50 50 L47 45 Z' fill='%232d5a47' opacity='0.06'/%3E%3Cpath d='M50 95 L53 55 L50 50 L47 55 Z' fill='%232d5a47' opacity='0.04'/%3E%3Cpath d='M5 50 L45 47 L50 50 L45 53 Z' fill='%232d5a47' opacity='0.04'/%3E%3Cpath d='M95 50 L55 47 L50 50 L55 53 Z' fill='%232d5a47' opacity='0.06'/%3E%3Ctext x='50' y='18' text-anchor='middle' font-size='6' fill='%232d5a47' opacity='0.08'>N%3C/text%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.products .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-card {
    display: block;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--color-forest-light), var(--color-forest));
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image .image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.product-image .image-placeholder svg {
    width: 80px;
    height: 80px;
}

/* Hide placeholder when image loads */
.product-image img:not([style*="display: none"]) ~ .image-placeholder {
    display: none;
}

.product-video {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--color-forest-light), var(--color-forest));
    overflow: hidden;
}

.product-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.video-placeholder svg {
    width: 80px;
    height: 80px;
}

/* Show placeholder by default until video loads */
.product-video:not(.video-loaded) .video-placeholder {
    display: flex;
}

.product-info {
    padding: 1.5rem;
}

/* Legacy support */
.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-forest-light), var(--color-forest));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.product-placeholder svg {
    width: 80px;
    height: 80px;
}

.product-card h3 {
    font-size: 1.4rem;
    color: var(--color-forest);
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--color-gray);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-price {
    display: block;
    padding: 1rem 1.5rem 1.5rem;
    font-weight: 600;
    color: var(--color-gold-dark);
}

.product-cta {
    display: inline-block;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-forest);
    transition: color 0.2s;
}

.product-card:hover .product-cta {
    color: var(--color-gold-dark);
}

.products-cta {
    text-align: center;
}

.products-cta p {
    margin-bottom: 1rem;
    color: var(--color-gray);
    font-size: 1.1rem;
}

@media (max-width: 1400px) {
    .products-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .products-grid .product-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .products .container {
        max-width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .products-grid .product-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
}

/* ===================================
   About
   =================================== */
.about {
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

/* Travel path decoration */
.about::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10 80 Q30 60 50 65 T90 40' fill='none' stroke='%232d5a47' stroke-width='0.8' stroke-dasharray='3 3' opacity='0.08'/%3E%3Ccircle cx='10' cy='80' r='4' fill='%232d5a47' opacity='0.06'/%3E%3Ccircle cx='50' cy='65' r='3' fill='%232d5a47' opacity='0.05'/%3E%3Ccircle cx='90' cy='40' r='4' fill='%232d5a47' opacity='0.06'/%3E%3Cpath d='M90 35 C88 35 86 37 86 40 C86 43.5 90 47 90 47 C90 47 94 43.5 94 40 C94 37 92 35 90 35 Z' fill='%232d5a47' opacity='0.08'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}


.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-forest);
}

.about-text p {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-signature {
    margin-top: 1.5rem;
    color: var(--color-forest);
    font-style: italic;
}

.about-names {
    display: block;
    margin-top: 0.75rem;
    font-family: 'Caveat', cursive;
    font-style: normal;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-gold-dark);
}

/* Story text emphasis - cursive highlights */
.story-emphasis {
    font-family: 'Caveat', cursive;
    font-size: 1.8em;
    color: var(--color-forest);
    font-weight: 700;
}

.story-emphasis.subtle {
    font-size: 1.5em;
    font-weight: 600;
}

.story-underline {
    text-decoration: underline;
    text-decoration-color: var(--color-gold-dark);
    text-decoration-thickness: 2.5px;
    text-underline-offset: 3px;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-cream), var(--color-cream-dark));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-light);
}

.about-placeholder svg {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
}

.about-placeholder span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-gray);
}

.about-photo {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Photo Collage Layout */
/* Photo Collage Layout */
.photo-collage {
    position: relative;
    width: 480px;
    height: 420px;
}

.collage-photo {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.collage-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collage-main {
    width: 260px;
    height: 320px;
    left: 0;
    top: 50px;
    transform: rotate(-2deg);
    z-index: 3;
}

.collage-top {
    width: 220px;
    height: 180px;
    right: 0;
    top: 0;
    transform: rotate(3deg);
    z-index: 2;
}

.collage-bottom {
    width: 200px;
    height: 200px;
    right: 10px;
    bottom: 0;
    transform: rotate(-1deg);
    z-index: 1;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .about-text h2 {
        font-size: 1.9rem;
    }

    .about-image {
        order: -1;
        position: relative;
    }

    /* Hide decorative frame when using collage */
    .about-image::before {
        display: none;
    }

    .about-placeholder {
        width: 200px;
        height: 200px;
    }

    .about-placeholder svg {
        width: 100px;
        height: 100px;
    }

    .about-photo {
        max-width: 300px;
        aspect-ratio: 1;
        object-fit: cover;
        object-position: center top;
    }

    /* Photo collage mobile */
    .photo-collage {
        width: 300px;
        height: 340px;
        margin: 0 auto;
    }

    .collage-main {
        width: 180px;
        height: 230px;
        left: 0;
        top: 40px;
    }

    .collage-top {
        width: 150px;
        height: 120px;
        right: 0;
        top: 0;
    }

    .collage-bottom {
        width: 140px;
        height: 140px;
        right: 0;
        bottom: 0;
    }

    .about-signature {
        margin-top: 1rem;
    }
}

/* ===================================
   CTA Section
   =================================== */
/* ===================================
   Value Comparison Table
   =================================== */
.value-comparison {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.comparison-title {
    text-align: center;
    font-size: 1.75rem;
    color: var(--color-forest);
    margin-bottom: 2rem;
}

.comparison-table-wrapper {
    overflow: visible;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 700px;
}

.comparison-table.two-col {
    min-width: 500px;
}

.comparison-table.two-col th,
.comparison-table.two-col td {
    width: 33.33%;
}

.comparison-table.two-col th:first-child,
.comparison-table.two-col td:first-child {
    width: 40%;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.comparison-table th {
    background: var(--color-cream);
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table th.competitor {
    background: #e8e8e8;
    color: #666;
}

.comparison-table td.competitor {
    color: #777;
    background: rgba(0, 0, 0, 0.02);
}

/* Negative styling for competitor disadvantages */
.comparison-table td.competitor.negative {
    color: #a87070;
    background: rgba(180, 60, 60, 0.04);
}

.comparison-table th.our-plan {
    color: white;
}

.comparison-table th.free {
    background: var(--color-forest-light);
}

.comparison-table th.adventurer {
    background: var(--color-forest);
}

.comparison-table th.globetrotter {
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    color: var(--color-forest-dark);
}

.comparison-table .plan-price {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.comparison-table td.our-plan {
    background: rgba(45, 90, 71, 0.05);
    color: var(--color-forest);
}

.comparison-table td.our-plan.adventurer.highlight {
    background: rgba(45, 90, 71, 0.12);
    font-weight: 600;
    color: var(--color-forest-dark);
}

/* Larger checkmarks */
.comparison-table .check {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--color-forest);
    vertical-align: middle;
}

/* Savings badge */
.comparison-table .savings {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-forest-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.comparison-table td.globetrotter.highlight {
    background: rgba(212, 165, 116, 0.15);
    font-weight: 600;
    color: var(--color-gold-dark);
}

.comparison-table .total-row td {
    border-top: 2px solid var(--color-forest);
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.02);
}

.comparison-table .total-row td.competitor {
    background: rgba(180, 60, 60, 0.08);
    color: #a04040;
}

.comparison-table .total-row td.our-plan.adventurer {
    background: rgba(45, 90, 71, 0.15);
    color: var(--color-forest-dark);
    font-size: 1.1rem;
}

.comparison-table .total-row.our-price-row td {
    background: rgba(45, 90, 71, 0.08);
    font-size: 1.1rem;
    color: var(--color-forest);
}

.comparison-table .total-row.our-price-row td.globetrotter {
    background: rgba(212, 165, 116, 0.2);
    color: var(--color-gold-dark);
}

/* Comparison Table Tooltips */
.tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    background: var(--color-forest);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: help;
    vertical-align: middle;
}

.tooltip-content {
    position: absolute;
    top: 50%;
    left: calc(100% + 12px);
    transform: translateY(-50%);
    width: 480px;
    padding: 1.25rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    text-align: left;
}

.tooltip-content::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-right-color: white;
}

.tooltip-trigger:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

.tooltip-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-forest-dark);
    margin-bottom: 0.75rem;
    text-align: center;
}

.tooltip-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.tooltip-table th,
.tooltip-table td {
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    vertical-align: middle;
}

.tooltip-table th {
    font-weight: 700;
    font-size: 0.8rem;
    color: #444;
    background: var(--color-cream);
}

.tooltip-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #333;
    background: rgba(0, 0, 0, 0.02);
    width: 35%;
}

.tooltip-table td:nth-child(2) {
    color: #666;
    background: rgba(180, 60, 60, 0.04);
}

.tooltip-table td:nth-child(3) {
    background: rgba(45, 90, 71, 0.06);
}

.tooltip-table td.positive {
    color: var(--color-forest);
    font-weight: 600;
}

.tooltip-table td.negative {
    color: #994444;
}

.tooltip-table small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.85;
    margin-top: 2px;
}

.tooltip-table a {
    color: var(--color-forest);
    text-decoration: underline;
    font-weight: 600;
}

.tooltip-table a:hover {
    color: var(--color-forest-dark);
}

.tooltip-note {
    font-size: 0.75rem;
    color: var(--color-forest);
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* Comparison Table Mobile Styles */
@media (max-width: 768px) {
    .comparison-table.two-col {
        min-width: unset;
        font-size: 0.85rem;
    }

    .comparison-table.two-col th,
    .comparison-table.two-col td {
        padding: 0.75rem 0.5rem;
    }

    .comparison-table.two-col th:first-child,
    .comparison-table.two-col td:first-child {
        width: 45%;
        font-size: 0.8rem;
    }

    .comparison-table th {
        font-size: 0.75rem;
    }

    .comparison-table .check {
        font-size: 1.2em;
    }

    .comparison-table .savings {
        display: block;
        margin-left: 0;
        margin-top: 0.35rem;
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }

    .comparison-table .total-row td.our-plan.adventurer {
        font-size: 1rem;
    }

    .comparison-footnote {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* Tooltip adjustments for tablet */
    .tooltip-trigger {
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
        margin-left: 4px;
    }

    .tooltip-content {
        width: 320px;
        left: calc(100% + 8px);
    }
}

@media (max-width: 480px) {
    /* Hide tooltips on small mobile - too cramped */
    .tooltip-trigger {
        display: none;
    }
    .comparison-table.two-col th,
    .comparison-table.two-col td {
        padding: 0.6rem 0.35rem;
    }

    .comparison-table.two-col td:first-child {
        font-size: 0.75rem;
    }

    .comparison-table th {
        font-size: 0.7rem;
    }

    .comparison-table.two-col {
        font-size: 0.8rem;
    }
}

/* Urgency Banners (Globetrotter & Promotion) */
.globetrotter-urgency,
.promotion-urgency {
    background: linear-gradient(135deg, var(--color-forest-dark), var(--color-forest));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.globetrotter-urgency::before,
.promotion-urgency::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

.urgency-content {
    position: relative;
    z-index: 1;
}

.urgency-badge {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-forest-dark);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    animation: pulsate 2s ease-in-out infinite;
}

@keyframes pulsate {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 5px rgba(212, 165, 116, 0.4);
    }
}

.globetrotter-urgency h4,
.promotion-urgency h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
}

.globetrotter-urgency p,
.promotion-urgency p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.rally-spots {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--color-gold);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.rally-spots .spots-remaining {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
}

.rally-deadline {
    margin-bottom: 0.75rem !important;
    font-size: 0.95rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    min-width: 70px;
}

.countdown-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-gold);
    font-family: 'Playfair Display', serif;
}

.countdown-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.globetrotter-urgency .btn,
.promotion-urgency .btn {
    background: var(--color-gold);
    color: var(--color-forest-dark);
    border: none;
}

.globetrotter-urgency .btn:hover,
.promotion-urgency .btn:hover {
    background: var(--color-gold-dark);
    transform: translateY(-2px);
}

.urgency-note {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.8rem;
    opacity: 0.7;
}

.comparison-footnote {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    font-size: 0.85rem;
    color: var(--color-gray);
    text-align: center;
    font-style: italic;
}

@media (max-width: 600px) {
    .comparison-title {
        font-size: 1.35rem;
    }

    .globetrotter-urgency,
    .promotion-urgency {
        padding: 1.5rem;
    }

    .globetrotter-urgency h4,
    .promotion-urgency h4 {
        font-size: 1.25rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-item {
        padding: 0.5rem 0.75rem;
        min-width: 55px;
    }

    .countdown-number {
        font-size: 1.35rem;
    }
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    background: var(--color-cream);
}

.faq .container {
    max-width: 900px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-forest);
    font-family: inherit;
    gap: 1rem;
}

.faq-question:hover {
    background: rgba(45, 90, 71, 0.03);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--color-forest);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 600px) {
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.25rem 1rem;
        font-size: 0.95rem;
    }
}

.cta {
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-light) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Globe outline with location pins */
.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 250px;
    height: 250px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='white' stroke-width='0.8' opacity='0.1'/%3E%3Cellipse cx='50' cy='50' rx='40' ry='16' fill='none' stroke='white' stroke-width='0.5' opacity='0.08'/%3E%3Cellipse cx='50' cy='50' rx='16' ry='40' fill='none' stroke='white' stroke-width='0.5' opacity='0.08'/%3E%3Cpath d='M30 25 C28 25 26 27 26 29 C26 32 30 35 30 35 C30 35 34 32 34 29 C34 27 32 25 30 25 Z' fill='white' opacity='0.15'/%3E%3Cpath d='M70 60 C68 60 66 62 66 64 C66 67 70 70 70 70 C70 70 74 67 74 64 C74 62 72 60 70 60 Z' fill='white' opacity='0.12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}


.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.cta > .container > p:first-of-type {
    font-size: 1.35rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background: white;
    color: var(--color-forest);
}

.cta-trust-badges {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cta-guarantee,
.cta-shipping {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-guarantee svg,
.cta-shipping svg {
    flex-shrink: 0;
}

.cta-early-note {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.7;
    font-style: italic;
}

/* ===================================
   Footer
   =================================== */
.home-footer {
    position: relative;
    background: var(--color-forest-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.footer-logo .logo-img {
    height: 90px;
    width: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
}

.footer-social a:hover {
    color: white;
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.footer-links h4 {
    color: var(--color-gold-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo .logo-img {
        height: 60px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* ===================================
   Scroll-Triggered Animations
   =================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grid items */
.scroll-reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.scroll-reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.3s; }

.scroll-reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Slide from left */
.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.scroll-reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up effect */
.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ===================================
   Parallax Effects
   =================================== */
.parallax-bg {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Hero parallax layers */
.hero-bg.parallax-enabled {
    transition: transform 0.05s linear;
}

/* Section background parallax - use custom property set by JS */
.how-it-works::before {
    will-change: transform;
    transform: translateY(calc(-50% + var(--parallax-offset, 0px)));
}

.features::before {
    will-change: transform;
    transform: translateY(calc(-50% + var(--parallax-offset, 0px)));
}

.products::before {
    will-change: transform;
    transform: translateY(var(--parallax-offset, 0px));
}

.about::before {
    will-change: transform;
    transform: translateY(var(--parallax-offset, 0px));
}

.cta::before {
    will-change: transform;
    transform: translateY(calc(-50% + var(--parallax-offset, 0px)));
}

/* ===================================
   Animated Hero Text
   =================================== */
.hero-line-1 {
    white-space: nowrap;
    display: inline-block;
}

@media (max-width: 500px) {
    .hero-line-1 {
        white-space: normal;
    }
}

.hero-text-wrapper {
    display: inline-block;
    overflow: hidden;
}

.hero-cycling-container {
    display: inline-block;
    min-width: 4.8em; /* Accommodate longest words "Honeymoon"/"Adventure" */
}

.hero-cycling-text {
    display: inline-block;
    position: relative;
}

.hero-cycling-word {
    display: inline-block;
    position: relative;
    color: var(--color-gold-light);
    font-weight: 700;
}

/* Typing cursor effect */
.hero-cursor {
    color: var(--color-gold-light);
    animation: blink-cursor 0.8s infinite;
    margin-left: 2px;
}

@keyframes blink-cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Word fade animation */
.hero-cycling-word {
    animation: word-fade-in 0.5s ease-out;
}

@keyframes word-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow effect on cycling text */
.hero-cycling-word {
    text-shadow: 0 0 30px rgba(212, 165, 116, 0.4);
}


/* ===================================
   Enhanced Hover States
   =================================== */
.step-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
}

.step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease,
                background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
}
