/* ==========================================================================
   Supersquid Landing Page Styles - Finalized Production Build
   Soft Pastel Yellow, Warm Beige & Calm Onboarding Atmosphere
   Zero Orange, Zero Harsh High Contrast, 100% Adaptive & Mobile-Perfect
   ========================================================================== */

/* ==========================================================================
   1. HERO SECTION (Dark Portal Universe & Canvas Animation)
   ========================================================================== */
body.home {
    --landing-bg-color: #0b3d91;
    --landing-bg-gradient: linear-gradient(135deg, #080e2b 0%, #0b3d91 50%, #00a8e8 100%);
    --landing-text-color: #ffffff;
    --landing-subtext-color: #dce6f5;
    --landing-accent-color: #ffe6ab;
    --landing-tap-label-color: #dce6f5;
    --landing-footer-text: #cccccc;
    --landing-overlay-bg: rgba(6, 9, 28, 0.45);
}

.landing-hero {
    position: relative;
    z-index: 50;
    height: 100vh;
    height: 100dvh;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 520px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: stretch;
    text-align: center;
    background: var(--landing-bg-gradient);
}

/* Canvas background for portal particle effect */
.landing-hero canvas.portal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

/* White fade transition overlay */
.white-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

/* Overlay tint */
.landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--landing-overlay-bg);
    z-index: 1;
}

/* Hero Content Layout */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    padding: calc(var(--header-height) + 0.5rem) 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    box-sizing: border-box;
}

.heroTop {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.heroTop h1,
.landing-hero .heroTop h1 {
    font-family: var(--font-serif);
    font-size: clamp(42px, 8vw, 92px);
    line-height: 1.05;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.heroTop h4,
.landing-hero .heroTop h4 {
    font-family: var(--font-base);
    font-size: clamp(1.05rem, 2.2vw, 1.5rem);
    line-height: 1.3;
    font-weight: 400;
    color: #ffffff !important;
    max-width: 600px;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.heroBottom {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 1.25rem;
}

/* Tap to Enter Element */
.tap-enter {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.squid-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-bounce);
}

.squid-wrap:hover {
    transform: scale(1.08);
}

#squid-svg {
    display: block;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    max-width: 110px;
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.4));
}

.tap-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    animation: rotateTapText 24s linear infinite;
}

.tap-text text {
    fill: #ffffff !important;
}

@keyframes rotateTapText {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tap-enter p.small,
.landing-hero .tap-enter p.small {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #ffffff !important;
    margin-top: 1rem;
    max-width: 480px;
    opacity: 0.92;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.poweredByMandalora {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    margin-top: 1.25rem;
    color: #ffffff !important;
}

.poweredByMandalora img {
    height: 24px;
    width: auto;
}

.poweredByMandalora p,
.landing-hero .poweredByMandalora p {
    margin: 0;
    font-size: 0.75rem;
    color: #ffffff !important;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ==========================================================================
   2. LIVING AMBIENT CANVAS BACKGROUND (Fixed Organic Moving Blobs)
   ========================================================================== */
.landing-main-wrapper {
    position: relative;
    z-index: 10;
    overflow: hidden;
    background: linear-gradient(180deg, #E8FCF6 0%, #FFF9EC 15%, #FBF0FA 100%);
}

.ss-ambient-canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ss-live-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.85;
    will-change: transform, margin;
    pointer-events: none;
    transition: margin 0.15s ease-out;
}

/* 1. Honey / Soft Butter Yellow Blob */
.ss-live-blob-1 {
    top: 2%;
    left: -5%;
    width: 600px;
    height: 600px;
    max-width: 60vw;
    max-height: 60vw;
    background: radial-gradient(circle, #ffe6ab 0%, #fff4d1 55%, transparent 80%);
    animation: floatBlobLive1 20s infinite alternate ease-in-out;
}

/* 2. Soft Mint / Airy Light Blue Blob */
.ss-live-blob-2 {
    top: 28%;
    right: -5%;
    width: 650px;
    height: 650px;
    max-width: 65vw;
    max-height: 65vw;
    background: radial-gradient(circle, #d6f6ee 0%, #dbe7ff 55%, transparent 80%);
    animation: floatBlobLive2 26s infinite alternate ease-in-out;
}

/* 3. Soft Peach / Apricot Cream Blob */
.ss-live-blob-3 {
    top: 58%;
    left: -5%;
    width: 600px;
    height: 600px;
    max-width: 60vw;
    max-height: 60vw;
    background: radial-gradient(circle, #ffdec7 0%, #fff0e0 55%, transparent 80%);
    animation: floatBlobLive3 22s infinite alternate ease-in-out;
}

/* 4. Delicate Pale Lavender Blob */
.ss-live-blob-4 {
    bottom: 5%;
    right: -5%;
    width: 550px;
    height: 550px;
    max-width: 55vw;
    max-height: 55vw;
    background: radial-gradient(circle, #f5e4f7 0%, #fff8e8 55%, transparent 80%);
    animation: floatBlobLive4 28s infinite alternate ease-in-out;
}

@keyframes floatBlobLive1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(70px, 80px) scale(1.14) rotate(12deg); }
    100% { transform: translate(120px, 45px) scale(0.96) rotate(22deg); }
}

@keyframes floatBlobLive2 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-90px, -70px) scale(1.16) rotate(-14deg); }
    100% { transform: translate(-60px, -120px) scale(1.04) rotate(-8deg); }
}

@keyframes floatBlobLive3 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-70px, 60px) scale(1.18) rotate(14deg); }
    100% { transform: translate(50px, 100px) scale(0.92) rotate(-10deg); }
}

@keyframes floatBlobLive4 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(80px, -60px) scale(1.12) rotate(-12deg); }
    100% { transform: translate(40px, -100px) scale(1.02) rotate(10deg); }
}

.landing-main-wrapper > section,
.landing-main-wrapper > footer,
.landing-main-wrapper > div:not(.ss-ambient-canvas-bg) {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   3. SECTION HEADERS & SHARED UTILITIES
   ========================================================================== */
.section-header-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-header-center .badge {
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title.text-left {
    text-align: left;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-body);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   4. PERSONAS CAROUSEL SECTION (Cute, Alive & Unboxed)
   ========================================================================== */
.section-personas {
    padding: 6rem 0 5rem;
}

.persona-carousel-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.persona-stack {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 380px;
    margin: 0 auto 3rem;
    perspective: 1000px;
}

.persona-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 280px;
    height: 340px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    cursor: pointer;
    opacity: 0;
    transform: translateX(-50%) scale(0.65) translateZ(-100px);
    transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Warm glowing aura pedestal beneath cute squid feet */
.persona-card::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 230, 171, 0.95) 0%, rgba(246, 237, 217, 0.45) 55%, transparent 75%);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease, width 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.persona-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 14px 28px rgba(40, 45, 76, 0.12));
    transition: transform 0.4s ease, filter 0.4s ease;
    user-select: none;
    -webkit-user-drag: none;
}

/* 1. Active Persona: Alive & Bobbing in the Spotlight */
.persona-card.active {
    opacity: 1;
    z-index: 10;
    transform: translateX(-50%) scale(1) translateZ(0);
    pointer-events: auto;
}

.persona-card.active img {
    filter: drop-shadow(0 20px 40px rgba(40, 45, 76, 0.16)) drop-shadow(0 0 24px rgba(255, 230, 171, 0.5));
    animation: cuteSquidBob 4s ease-in-out infinite alternate;
}

.persona-card.active::after {
    opacity: 1;
    width: 210px;
    height: 42px;
    animation: cuteShadowPulse 4s ease-in-out infinite alternate;
}

@keyframes cuteSquidBob {
    0% {
        transform: translateY(0px) scale(1.15) rotate(0deg);
    }
    50% {
        transform: translateY(-14px) scale(1.18) rotate(1.5deg);
    }
    100% {
        transform: translateY(0px) scale(1.15) rotate(-1.5deg);
    }
}

@keyframes cuteShadowPulse {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.95;
    }
    50% {
        transform: translateX(-50%) scale(0.82);
        opacity: 0.6;
    }
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.95;
    }
}

/* 2. Flanking Squid Positions (Left & Right) */
.persona-card.left1 {
    opacity: 0.72;
    transform: translateX(calc(-50% - 155px)) scale(0.85) rotate(-6deg);
    z-index: 8;
}

.persona-card.left1:hover {
    opacity: 0.95;
    transform: translateX(calc(-50% - 155px)) scale(0.92) translateY(-8px) rotate(-3deg);
}

.persona-card.left2 {
    opacity: 0.38;
    transform: translateX(calc(-50% - 265px)) scale(0.7) rotate(-12deg);
    z-index: 6;
}

.persona-card.left2:hover {
    opacity: 0.75;
    transform: translateX(calc(-50% - 265px)) scale(0.78) translateY(-6px) rotate(-6deg);
}

.persona-card.right1 {
    opacity: 0.72;
    transform: translateX(calc(-50% + 155px)) scale(0.85) rotate(6deg);
    z-index: 8;
}

.persona-card.right1:hover {
    opacity: 0.95;
    transform: translateX(calc(-50% + 155px)) scale(0.92) translateY(-8px) rotate(3deg);
}

.persona-card.right2 {
    opacity: 0.38;
    transform: translateX(calc(-50% + 265px)) scale(0.7) rotate(12deg);
    z-index: 6;
}

.persona-card.right2:hover {
    opacity: 0.75;
    transform: translateX(calc(-50% + 265px)) scale(0.78) translateY(-6px) rotate(6deg);
}

/* Persona Detail Card */
.persona-detail-card {
    background: var(--glass-bg-warm);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2.5rem;
    box-shadow: 0 16px 40px rgba(40, 45, 76, 0.07);
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.persona-detail-inner {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.persona-detail-inner.fading {
    opacity: 0;
    transform: translateY(6px);
}

.persona-meta {
    margin-bottom: 0.75rem;
}

.persona-badge {
    display: inline-block;
    background: rgba(255, 230, 171, 0.5);
    color: #5c4308;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(226, 186, 96, 0.3);
    margin-bottom: 0.5rem;
}

.persona-meta h3 {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    color: var(--color-primary);
    margin: 0;
}

.persona-detail-card p {
    font-size: var(--text-base);
    color: var(--color-text-body);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

.persona-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.persona-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    border: 1.5px solid rgba(40, 45, 76, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-primary);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.persona-nav-btn:hover {
    background: var(--color-yellow);
    border-color: var(--color-yellow-gold);
    color: var(--color-primary);
    transform: scale(1.08);
}

.persona-dots {
    display: flex;
    gap: 0.5rem;
}

.persona-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    background: rgba(40, 45, 76, 0.18);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.persona-dot.active {
    width: 24px;
    background: var(--color-yellow-gold);
}

/* ==========================================================================
   5. SUPERSQUID APP: PROACTIVE AI & MODES
   ========================================================================== */
.section-app-features {
    padding: 6rem 0;
}

.app-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.app-feature-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(40, 45, 76, 0.05);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.app-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(40, 45, 76, 0.09);
    border-color: rgba(226, 186, 96, 0.4);
}

.feature-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.bg-soft-yellow {
    background: rgba(255, 230, 171, 0.6);
}

.bg-soft-mint {
    background: rgba(214, 246, 238, 0.7);
}

.bg-soft-peach {
    background: rgba(255, 222, 199, 0.7);
}

.bg-soft-lavender {
    background: rgba(245, 228, 247, 0.7);
}

.app-feature-card h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.feature-card-p {
    font-size: var(--text-base);
    color: var(--color-text-body);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
}

.feature-mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-mini-list li {
    position: relative;
    padding-left: 1.35rem;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.feature-mini-list li::before {
    content: "•";
    position: absolute;
    left: 0.35rem;
    color: var(--color-yellow-gold);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
}

/* Highlight Card for Privacy-First Brand Match */
.feature-card-highlight {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 249, 236, 0.9) 100%);
    border-color: rgba(226, 186, 96, 0.45);
}

.card-highlight-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 230, 171, 0.6);
    color: #5c4308;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(226, 186, 96, 0.3);
}

.privacy-callout-box {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 186, 96, 0.25);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-size: var(--text-xs);
    color: var(--color-text-body);
    line-height: 1.6;
    margin-top: 1rem;
}

.privacy-callout-box strong {
    color: var(--color-primary);
}

/* ==========================================================================
   6. SQUID PORTAL: PHYSICAL GIFTING & NFC
   ========================================================================== */
.section-portal-gifting {
    padding: 6rem 0;
}

.portal-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.portal-option-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 2.25rem 1.75rem;
    text-align: center;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(40, 45, 76, 0.04);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(40, 45, 76, 0.08);
    border-color: rgba(226, 186, 96, 0.4);
}

.portal-card-badge {
    position: absolute;
    top: 1rem;
    background: rgba(246, 237, 217, 0.6);
    color: #5c4308;
    font-size: 0.68rem;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
}

.portal-icon {
    font-size: 2.4rem;
    line-height: 1;
    margin: 1.25rem 0 1rem;
    transition: transform var(--transition-bounce);
}

.portal-option-card:hover .portal-icon {
    transform: scale(1.15);
}

.portal-option-card h4 {
    font-family: var(--font-base);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}

.portal-option-card p {
    font-size: var(--text-sm);
    color: var(--color-text-body);
    line-height: 1.5;
    margin: 0;
}

.portal-cta-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 248, 232, 0.9) 100%);
    border: 1.5px solid rgba(226, 186, 96, 0.3);
    border-radius: var(--radius-xl);
    padding: 2.5rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 12px 35px rgba(40, 45, 76, 0.05);
}

.portal-cta-text h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--color-primary);
    margin: 0 0 0.4rem 0;
}

.portal-cta-text p {
    font-size: var(--text-base);
    color: var(--color-text-body);
    margin: 0;
}

/* ==========================================================================
   7. SUPERSQUID CHALLENGES: REAL-WORLD EXPLORATION
   ========================================================================== */
.section-challenges {
    padding: 6rem 0;
}

.challenges-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.challenges-content-col {
    text-align: left;
}

.challenges-content-col .badge {
    margin-bottom: 1.25rem;
}

.challenges-content-col h2 {
    margin-bottom: 1rem;
}

.story-p-lead {
    font-size: var(--text-lg);
    color: var(--color-primary);
    font-weight: var(--weight-medium);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.section-subtitle-text {
    font-size: var(--text-base);
    color: var(--color-text-body);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.challenge-pill-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.challenge-pill-item {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(40, 45, 76, 0.06);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.challenge-pill-item:hover {
    transform: translateX(4px);
    border-color: rgba(226, 186, 96, 0.4);
    background: #ffffff;
}

.pill-icon {
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 2px;
}

.challenge-pill-item strong {
    display: block;
    color: var(--color-primary);
    font-size: var(--text-sm);
    margin-bottom: 0.15rem;
}

.challenge-pill-item span {
    font-size: var(--text-xs);
    color: var(--color-text-body);
    line-height: 1.45;
}

/* Challenges Visual Card Mockup */
.challenges-visual-col {
    display: flex;
    justify-content: center;
}

.challenge-visual-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(40, 45, 76, 0.09);
    border: 1.5px solid rgba(226, 186, 96, 0.25);
}

.challenge-map-mockup {
    height: 280px;
    background: linear-gradient(135deg, #E3FDF5 0%, #FFE6FA 100%);
    position: relative;
    padding: 1.5rem;
    overflow: hidden;
}

.mockup-pin {
    position: absolute;
    background: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(40, 45, 76, 0.1);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
}

.pin-1 { top: 22%; left: 15%; animation: floatPin 3s ease-in-out infinite alternate; }
.pin-2 { top: 65%; right: 18%; animation: floatPin 3.5s ease-in-out infinite alternate-reverse; }
.pin-3 { top: 40%; left: 50%; }

@keyframes floatPin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

.mockup-route-line {
    position: absolute;
    top: 35%;
    left: 25%;
    width: 50%;
    height: 40%;
    border: 3px dashed var(--color-yellow-gold);
    border-radius: 40px;
    opacity: 0.75;
}

.challenge-card-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem;
    background: #ffffff;
    text-align: center;
    border-top: 1px solid rgba(40, 45, 76, 0.05);
}

.challenge-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

/* ==========================================================================
   8. SYNERGY SECTION (Supersquid Magic + Mandalora Brain)
   ========================================================================== */
.section-synergy {
    padding: 6rem 0;
}

.synergy-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.synergy-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 35px rgba(40, 45, 76, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.synergy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(40, 45, 76, 0.1);
}

.card-glow-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.magic-card .card-glow-top {
    background: linear-gradient(90deg, #ffe6ab 0%, #4DB6AC 100%);
}

.brain-card .card-glow-top {
    background: linear-gradient(90deg, #7E57C2 0%, #ffe6ab 100%);
}

.synergy-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.card-icon-halo {
    font-size: 2.25rem;
    line-height: 1;
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: rgba(255, 230, 171, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brain-card .card-icon-halo {
    background: rgba(126, 87, 194, 0.1);
}

.synergy-card-header h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--color-primary);
    margin: 0 0 0.2rem 0;
}

.card-subtitle {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5c4308;
}

.brain-card .card-subtitle {
    color: var(--color-accent-purple);
}

.card-lead {
    font-size: var(--text-base);
    color: var(--color-text-body);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.synergy-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.synergy-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--color-text-body);
    margin: 0;
}

.feature-bullet-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.synergy-feature-list strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.15rem;
}

/* Center Nexus */
.synergy-nexus {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
}

.nexus-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(226, 186, 96, 0.35), transparent);
}

.nexus-bubble {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: var(--weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(226, 186, 96, 0.25);
    border: 2px solid var(--color-yellow-gold);
    margin: 1rem 0;
}

/* ==========================================================================
   9. PRODUCTS & CUSTOM INQUIRY FORM
   ========================================================================== */
.section-products {
    padding: 6rem 0 8rem;
}

.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(40, 45, 76, 0.05);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-yellow-gold);
}

.product-media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #fff8e0;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.product-card:hover .product-media img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ffe6ab;
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(226, 186, 96, 0.35);
    box-shadow: 0 2px 8px rgba(40, 45, 76, 0.08);
}

.product-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: var(--text-sm);
    color: var(--color-text-body);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

.product-link {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: #5c4308;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--transition-fast);
}

.product-link:hover {
    gap: 0.7rem;
    color: var(--color-accent);
}

/* Custom Inquiry Box - Warm Gentle Cream Card */
.custom-inquiry-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 248, 235, 0.85) 100%);
    color: var(--color-primary);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(40, 45, 76, 0.08);
    position: relative;
    border: 1.5px solid rgba(226, 186, 96, 0.25);
}

.inquiry-header {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 2.5rem;
}

.inquiry-header .badge {
    margin-bottom: 1rem;
}

.inquiry-header h3 {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.inquiry-header p {
    color: var(--color-text-body);
    font-size: var(--text-base);
    margin: 0;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1.5px solid rgba(40, 45, 76, 0.1);
    color: var(--color-primary);
    font-family: var(--font-base);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-yellow-gold);
    box-shadow: 0 0 14px rgba(226, 186, 96, 0.25);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(40, 45, 76, 0.35);
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS (Tablet, Mobile & Compact Heights)
   ========================================================================== */
@media (max-width: 900px) {
    .synergy-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .synergy-nexus {
        width: 100%;
        height: 60px;
        flex-direction: row;
    }

    .nexus-line {
        width: auto;
        height: 2px;
        background: linear-gradient(to right, transparent, rgba(226, 186, 96, 0.35), transparent);
    }

    .nexus-bubble {
        margin: 0 1rem;
    }

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

    .portal-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .challenges-split-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portal-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .product-showcase-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

@media (max-width: 680px) {
    .portal-options-grid {
        grid-template-columns: 1fr;
    }

    .app-feature-card {
        padding: 1.75rem 1.25rem;
    }

    .portal-cta-banner {
        padding: 2rem 1.25rem;
    }

    .landing-hero {
        min-height: 100svh;
        min-height: -webkit-fill-available;
        height: 100dvh;
        height: calc(var(--vh, 1vh) * 100);
    }

    .hero-content {
        padding: 4.25rem 1rem 1rem;
        height: 100%;
        max-height: 100dvh;
    }

    .heroTop {
        flex: 1 1 auto;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        justify-content: center;
    }

    .heroTop h1,
    .landing-hero .heroTop h1 {
        font-size: clamp(30px, 8.5vw, 44px);
        line-height: 1.1;
        margin-bottom: 0.4rem;
    }

    .heroTop h4,
    .landing-hero .heroTop h4 {
        font-size: clamp(0.95rem, 3.8vw, 1.15rem);
        line-height: 1.35;
        max-width: 320px;
    }

    .heroBottom {
        flex: 0 0 auto;
        padding-bottom: 0.5rem;
        width: 100%;
    }

    .squid-wrap {
        width: 110px;
        height: 110px;
    }

    #squid-svg {
        max-width: 80px;
    }

    .tap-enter p.small,
    .landing-hero .tap-enter p.small {
        font-size: 0.75rem;
        line-height: 1.35;
        margin-top: 0.4rem;
        max-width: 300px;
    }

    .poweredByMandalora {
        margin-top: 0.4rem;
        gap: 0.35rem;
        font-size: 0.65rem;
    }

    .poweredByMandalora img {
        height: 18px;
    }

    .persona-card.left2,
    .persona-card.right2 {
        display: none;
    }

    .persona-stack {
        height: 270px;
        margin-bottom: 2rem;
    }

    .persona-card {
        width: 210px;
        height: 250px;
    }

    .persona-card.left1 {
        transform: translateX(calc(-50% - 95px)) scale(0.78) rotate(-4deg);
    }

    .persona-card.right1 {
        transform: translateX(calc(-50% + 95px)) scale(0.78) rotate(4deg);
    }

    .persona-card::after {
        width: 130px;
        height: 24px;
        bottom: -8px;
    }

    .persona-card.active::after {
        width: 160px;
        height: 30px;
    }

    .persona-detail-card {
        padding: 1.75rem 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .custom-inquiry-box {
        padding: 2rem 1.25rem;
    }
}

/* Compact height support (iPhone SE, landscape, or expanded browser address bars) */
@media (max-height: 700px) {
    .hero-content {
        padding: 3.5rem 1rem 0.5rem;
    }

    .heroTop h1,
    .landing-hero .heroTop h1 {
        font-size: clamp(26px, 6vw, 36px);
        margin-bottom: 0.25rem;
    }

    .heroTop h4,
    .landing-hero .heroTop h4 {
        font-size: 0.88rem;
        line-height: 1.25;
    }

    .squid-wrap {
        width: 95px;
        height: 95px;
    }

    #squid-svg {
        max-width: 70px;
    }

    .tap-enter p.small,
    .landing-hero .tap-enter p.small {
        font-size: 0.7rem;
        line-height: 1.25;
        margin-top: 0.25rem;
        max-width: 270px;
    }

    .poweredByMandalora {
        margin-top: 0.25rem;
    }
}

/* ==========================================================================
   11. DEDICATED FEATURE PAGES (Real Caring AI, Portal, Challenges, Products)
   ========================================================================== */
.feature-page-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.feature-hero {
    position: relative;
    padding: calc(var(--header-height) + 5rem) 0 4.5rem;
    text-align: center;
    z-index: 10;
}

.feature-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.breadcrumb-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-back:hover {
    color: var(--color-primary);
}

.feature-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    color: var(--color-primary);
    line-height: 1.15;
    margin: 1rem 0 1.25rem;
}

.feature-hero-lead {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    line-height: 1.65;
    color: var(--color-text-body);
    margin: 0 auto 2.5rem;
    max-width: 720px;
}

.feature-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(40, 45, 76, 0.15);
    color: var(--color-primary);
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-pill);
    font-weight: var(--weight-semibold);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: #ffffff;
    border-color: var(--color-yellow-gold);
    box-shadow: 0 4px 16px rgba(226, 186, 96, 0.2);
    transform: translateY(-2px);
}

/* Feature Page Narrative Section */
.feature-page-section {
    position: relative;
    padding: 4rem 0 6rem;
    z-index: 10;
}

.story-chapter {
    margin-bottom: 6rem;
}

.story-chapter:last-child {
    margin-bottom: 0;
}

.story-chapter-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-chapter-split.reverse {
    direction: rtl;
}

.story-chapter-split.reverse > * {
    direction: ltr;
}

.chapter-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5c4308;
    background: rgba(255, 230, 171, 0.45);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
    border: 1px solid rgba(226, 186, 96, 0.35);
}

.chapter-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--color-primary);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.chapter-text {
    font-size: var(--text-base);
    color: var(--color-text-body);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.chapter-insight-box {
    background: rgba(255, 255, 255, 0.85);
    border-left: 3.5px solid var(--color-yellow-gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 16px rgba(40, 45, 76, 0.04);
}

.chapter-insight-box p {
    font-size: var(--text-sm);
    color: var(--color-primary);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.chapter-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.chapter-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--color-text-body);
}

.chapter-bullets li span.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffe6ab;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Chapter Visual Card */
.chapter-visual-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(40, 45, 76, 0.06);
    backdrop-filter: blur(16px);
    text-align: center;
    position: relative;
}

.chapter-visual-card img.squid-art {
    max-width: 260px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(40, 45, 76, 0.12));
    animation: cuteSquidBob 4s ease-in-out infinite;
}

.chapter-visual-card .shadow-pedestal {
    width: 170px;
    height: 26px;
    background: radial-gradient(ellipse at center, rgba(226, 186, 96, 0.35) 0%, rgba(226, 186, 96, 0) 70%);
    border-radius: 50%;
    margin: -10px auto 1.5rem;
    animation: cuteShadowPulse 4s ease-in-out infinite;
}

.chapter-visual-caption {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--color-primary);
    margin-bottom: 0.35rem;
}

.chapter-visual-sub {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Lore Manifesto Quote Banner */
.lore-manifesto-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 248, 235, 0.85) 100%);
    border: 1.5px solid rgba(226, 186, 96, 0.3);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    max-width: 900px;
    margin: 4rem auto;
    box-shadow: 0 16px 40px rgba(40, 45, 76, 0.06);
    position: relative;
}

.lore-manifesto-banner .quote-symbol {
    font-size: 3.5rem;
    line-height: 1;
    color: var(--color-yellow-gold);
    font-family: var(--font-serif);
    display: block;
    margin-bottom: 1rem;
}

.lore-manifesto-banner blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    line-height: 1.6;
    color: var(--color-primary);
    margin: 0 0 1.5rem 0;
}

.lore-manifesto-banner cite {
    font-style: normal;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: var(--weight-bold);
}

/* Feature Page Cards 3-Col Grid */
.story-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.story-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    box-shadow: 0 10px 30px rgba(40, 45, 76, 0.05);
    backdrop-filter: blur(12px);
    transition: all var(--transition-smooth);
}

.story-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-yellow-gold);
    box-shadow: 0 18px 40px rgba(226, 186, 96, 0.15);
}

.story-card .card-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.story-card h4 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--color-primary);
    margin-bottom: 0.65rem;
}

.story-card p {
    font-size: var(--text-sm);
    color: var(--color-text-body);
    line-height: 1.65;
    margin: 0;
}

/* Responsive adjustments for story chapters */
@media (max-width: 900px) {
    .story-chapter-split,
    .story-chapter-split.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        direction: ltr;
    }
    
    .story-cards-grid {
        grid-template-columns: 1fr;
    }

    .lore-manifesto-banner {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================================================
   12. LEGAL PAGES (Privacy Policy, Terms of Service, Cookie Policy)
   ========================================================================== */
.legal-page-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-bottom: 6rem;
}

.legal-hero {
    position: relative;
    padding: calc(var(--header-height) + 4.5rem) 0 3rem;
    text-align: center;
    z-index: 10;
}

.legal-hero-inner {
    max-width: 820px;
    margin: 0 auto;
}

.legal-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--color-primary);
    line-height: 1.2;
    margin: 0.75rem 0 1rem;
}

.legal-hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-body);
    margin: 0 auto 1.25rem;
    max-width: 640px;
}

.legal-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5c4308;
    background: rgba(255, 230, 171, 0.45);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(226, 186, 96, 0.35);
}

.legal-content-container {
    position: relative;
    z-index: 10;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.legal-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    border: 1.5px solid rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(40, 45, 76, 0.06);
}

.legal-highlight-box {
    background: linear-gradient(135deg, #FFF9EC 0%, #FFF3D6 100%);
    border: 1.5px solid rgba(226, 186, 96, 0.35);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
}

.legal-highlight-box h4 {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--color-primary);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-highlight-box p {
    font-size: var(--text-sm);
    color: var(--color-text-body);
    line-height: 1.6;
    margin: 0;
}

.legal-section {
    margin-bottom: 3rem;
}

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

.legal-section h2 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--color-primary);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(40, 45, 76, 0.08);
}

.legal-section h3 {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--color-primary);
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
    font-size: var(--text-base);
    color: var(--color-text-body);
    line-height: 1.75;
    margin: 0 0 1rem 0;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    font-size: var(--text-sm);
    line-height: 1.65;
    color: var(--color-text-body);
}

.legal-section ul li::before {
    content: "•";
    position: absolute;
    left: 0.25rem;
    color: var(--color-yellow-gold);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.legal-contact-box {
    background: #faf8f5;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(40, 45, 76, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 680px) {
    .legal-card {
        padding: 2rem 1.25rem;
    }
    .legal-section h2 {
        font-size: var(--text-xl);
    }
}