/* ============================================================
   css/landing.css – CanaryOne Landing Page (Cream/Brown Palette)
   ============================================================ */

/* ── 1. Hero Section ── */
.hero-section {
    position: relative;
    min-height: 95vh;
    width: 100%;
    overflow: hidden;
    background: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 0 80px;
    z-index: 10;
}

.hero-container-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text-block {
    max-width: 720px;
    margin-bottom: 60px;
}

.postcard-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 18px;
    display: inline-block;
}

.hero-text-block h1 {
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 36px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.btn-ghost-arrow {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    transition: opacity var(--transition);
    cursor: pointer;
}

.btn-ghost-arrow .arrow {
    transition: transform var(--transition);
}

.btn-ghost-arrow:hover {
    opacity: 0.7;
}

.btn-ghost-arrow:hover .arrow {
    transform: translateX(4px);
}

/* Hero Showcase Stacked Cards */
.hero-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-cards {
    position: relative;
    width: 180px;
    height: 252px;
}

.hero-card-img {
    position: absolute;
    width: 180px;
    height: 252px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(65, 31, 20, 0.12);
    border: 1px solid rgba(65, 31, 20, 0.08);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.hero-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-left {
    transform: rotate(-14deg) translateX(-110px) translateY(10px) translateZ(0);
    z-index: 1;
}

.card-center {
    transform: rotate(0deg) scale(1.08) translateZ(0);
    z-index: 3;
}

.card-right {
    transform: rotate(14deg) translateX(110px) translateY(10px) translateZ(0);
    z-index: 2;
}

/* Hover effect on showcase pile */
.hero-showcase:hover .card-left {
    transform: rotate(-24deg) translateX(-150px) translateY(0px);
}

.hero-showcase:hover .card-center {
    transform: rotate(0deg) scale(1.15) translateY(-15px);
}

.hero-showcase:hover .card-right {
    transform: rotate(24deg) translateX(150px) translateY(0px);
}


/* ── 2. Bento Section ── */
.bento-section {
    padding: 120px 0 40px;
    background-color: var(--navy);
}

.bento-large {
    grid-column: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 8px;
    display: block;
}

.bento-card-content {
    z-index: 2;
}

.bento-card-content h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
}

.bento-card-content p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 480px;
}

.bento-card-visual {
    position: relative;
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

/* Visual spreads */
.cards-spread {
    height: 200px;
}

.spread-img {
    position: absolute;
    width: 100px;
    aspect-ratio: 1 / 1.4;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(65, 31, 20, 0.08);
    border: 1px solid rgba(65, 31, 20, 0.08);
    transition: transform var(--transition);
}

.spread-img.img-1 {
    transform: rotate(-15deg) translateX(-60px) translateZ(0);
    z-index: 1;
}

.spread-img.img-2 {
    transform: rotate(0deg) translateY(-10px) scale(1.05) translateZ(0);
    z-index: 3;
}

.spread-img.img-3 {
    transform: rotate(15deg) translateX(60px) translateZ(0);
    z-index: 2;
}

.bento-card:hover .spread-img.img-1 {
    transform: rotate(-25deg) translateX(-90px) translateY(-5px);
}

.bento-card:hover .spread-img.img-2 {
    transform: rotate(0deg) translateY(-25px) scale(1.1);
}

.bento-card:hover .spread-img.img-3 {
    transform: rotate(25deg) translateX(90px) translateY(-5px);
}

/* Single floating card bento layout */
.single-card-show {
    height: 180px;
}

.floating-card {
    width: 110px;
    aspect-ratio: 1 / 1.4;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(65, 31, 20, 0.08);
    border: 1px solid rgba(65, 31, 20, 0.08);
    transform: translateY(10px) rotate(5deg);
}

@keyframes simpleFloat {

    0%,
    100% {
        transform: translateY(10px) rotate(5deg);
    }

    50% {
        transform: translateY(-5px) rotate(2deg);
    }
}

.specs-pills {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.spec-pill {
    background: var(--navy);
    border: 1px solid var(--card-border);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
}

/* Custom badge showing */
.custom-badge-show {
    height: 100px;
}

.custom-badge-show .badge-nios {
    font-size: 2.2rem;
    padding: 10px 30px;
    border-radius: 12px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    box-shadow: var(--shadow-gold);
    display: inline-block;
    transform: rotate(-3deg);
}

@keyframes pulseBadge {

    0%,
    100% {
        transform: rotate(-3deg) scale(1);
    }

    50% {
        transform: rotate(-1deg) scale(1.05);
    }
}


/* ── 3. Waitlist Section ── */
.waitlist-section {
    padding: 40px 0 80px;
    background-color: var(--navy-mid);
    display: flex;
    justify-content: center;
}

.waitlist-box {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--card-border);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #20AB5D;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #20AB5D;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

.waitlist-box h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
}

.waitlist-sub {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 24px;
}

.waitlist-form-clean {
    max-width: 420px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 50px;
    padding: 4px;
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(239, 169, 22, 0.15);
}

.input-group input {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 20px;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
}

.input-group input::placeholder {
    color: var(--text-dim);
    opacity: 0.7;
}

.btn-submit {
    background-color: var(--text);
    color: #FDF5E8;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: opacity var(--transition);
}

.btn-submit:hover {
    opacity: 0.85;
}

.guarantee {
    margin-top: 18px;
    font-size: 0.75rem;
    color: var(--text-dim);
}


/* ── 4. Responsive Settings ── */
@media (max-width: 900px) {
    .hero-section {
        padding-top: 100px;
    }

    .bento-large {
        grid-column: span 1;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .cards-spread {
        height: 160px;
    }

    .spread-img {
        width: 80px;
    }

    .showcase-cards {
        width: 140px;
        height: 196px;
    }

    .hero-card-img {
        width: 140px;
        height: 196px;
    }

    .card-left {
        transform: rotate(-14deg) translateX(-80px) translateY(8px);
    }

    .card-center {
        transform: rotate(0deg) scale(1.08);
    }

    .card-right {
        transform: rotate(14deg) translateX(80px) translateY(8px);
    }

    .hero-showcase:hover .card-left {
        transform: rotate(-22deg) translateX(-110px) translateY(0px);
    }

    .hero-showcase:hover .card-center {
        transform: rotate(0deg) scale(1.15) translateY(-10px);
    }

    .hero-showcase:hover .card-right {
        transform: rotate(22deg) translateX(110px) translateY(0px);
    }
}

@media (max-width: 600px) {
    .bento-wide {
        grid-column: span 1;
    }

    .waitlist-box {
        padding: 40px 20px;
    }

    .input-group {
        flex-direction: column;
        background: none;
        border: none;
        padding: 0;
        gap: 12px;
    }

    .input-group input {
        background: #ffffff;
        border: 1px solid var(--card-border);
        border-radius: 50px;
        padding: 14px 20px;
        width: 100%;
    }

    .btn-submit {
        padding: 14px 20px;
        width: 100%;
    }
}

/* ── Journey Section ── */
.journey-section {
    padding: 120px 0;
    background-color: var(--navy-mid);
    position: relative;
}

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

.journey-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.journey-text h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 24px;
    line-height: 1.15;
}

.journey-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 36px;
}

.journey-stats {
    display: flex;
    gap: 20px;
}

.stat-box {
    background: var(--navy);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    flex: 1;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.stat-num {
    display: block;
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
}

.journey-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-stack {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.map-bg-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    transition: transform var(--transition);
}

.map-bg-img:hover {
    transform: scale(1.02);
}

.floating-badge-island {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-gold);
}

/* ── 3D Carousel Section ── */
.carousel-section {
    padding: 100px 0 140px;
    background-color: var(--navy);
    overflow: hidden;
}

.carousel-scene {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 40px auto 0;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-pivot {
    position: relative;
    width: 180px;
    height: 252px;
    transform-style: preserve-3d;
    will-change: transform;
}

.carousel-card {
    position: absolute;
    width: 180px;
    height: 252px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(65, 31, 20, 0.15);
    background: #000;
    border: 1px solid rgba(65, 31, 20, 0.08);
    transform: rotateY(calc(var(--i) * (360deg / 13))) translateZ(320px);
    backface-visibility: hidden;
    cursor: pointer;
    transition: filter 0.3s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-card:hover {
    filter: brightness(1.05) contrast(1.02);
}

@media (max-width: 900px) {
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .visual-stack {
        max-width: 360px;
    }

    .journey-stats {
        flex-wrap: wrap;
    }

    .carousel-card {
        width: 120px;
        height: 168px;
        transform: rotateY(calc(var(--i) * (360deg / 13))) translateZ(220px);
    }

    .carousel-scene {
        height: 300px;
    }

    .carousel-pivot {
        width: 120px;
        height: 168px;
    }
}

/* ── Bento Grid Adjustments to fit text content tightly ── */
.bento-card {
    justify-content: flex-start !important;
    gap: 16px;
}

.bento-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bento-card-content h3 {
    margin-bottom: 0 !important;
}

.bento-card-content p {
    margin-bottom: 0 !important;
}

@media (min-width: 901px) {
    .bento-large {
        flex-direction: row !important;
        align-items: center;
        gap: 30px;
    }

    .bento-large .bento-card-content {
        flex: 1.2;
    }

    .bento-large .bento-card-visual {
        flex: 0.8;
        margin-top: 0;
        height: auto;
    }

    .bento-wide {
        flex-direction: row !important;
        align-items: center;
        gap: 30px;
    }

    .bento-wide .bento-card-content {
        flex: 1.2;
    }

    .bento-wide .bento-card-visual {
        flex: 0.8;
        margin-top: 0;
        height: auto;
    }
}

/* ── Explore Cards CTA Layout ── */
.explore-cards-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}