/* ========================================
   Lifehacker Premium - Modern Dynamic Style
   Primary Color: #21a4b1
   ======================================== */

:root {
    /* Colors */
    --bg-cream: rgb(247, 245, 240);
    --bg-white: #ffffff;
    --primary: #21a4b1;
    --primary-light: #2ec4d4;
    --primary-dark: #1a8a95;
    --primary-glow: rgba(33, 164, 177, 0.3);
    --accent: #21a4b1;
    --accent-light: #2ec4d4;
    --accent-dark: #1a8a95;
    --accent-orange: #E77E47;
    --accent-orange-light: #FF9A6C;
    --accent-orange-dark: #C6633A;
    --accent-orange-glow: rgba(231, 126, 71, 0.3);
    --text-dark: #1a1a1a;
    --text-medium: #555555;
    --text-light: #888888;
    --border: rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;

    /* Typography */
    --font-sans: 'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Inter', 'Noto Sans TC', sans-serif;
    --font-mono: 'Space Mono', monospace;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.16), 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile responsive overrides */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-cream);
    overflow-x: hidden;
}

/* No italic anywhere */
*,
*::before,
*::after {
    font-style: normal !important;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.nav-cta:hover {
    color: var(--primary-dark);
}

/* Hide hamburger and mobile CTA on desktop */
.hamburger,
.nav-cta-mobile {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    /* Mobile CTA Button - Prominent Style */
    .nav-links .nav-cta-mobile {
        display: block;
        margin-top: 16px;
        padding: 16px 24px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: white !important;
        font-weight: 600;
        text-align: center;
        border-radius: 50px;
        border-bottom: none;
        box-shadow: 0 4px 16px var(--primary-glow);
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 100;
    }

    .hamburger-line {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-dark);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px var(--primary-glow), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px var(--primary-glow), 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Pulse animation for CTA buttons */
.btn-primary.pulse {
    animation: btnPulse 1.2s ease-in-out infinite;
}

@keyframes btnPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 16px var(--primary-glow), 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: scale(1.12);
        box-shadow: 0 12px 45px rgba(33, 164, 177, 0.6), 0 6px 12px rgba(0, 0, 0, 0.2);
    }
}

.btn-primary.large {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-primary.light {
    background: white;
    color: var(--text-dark);
    box-shadow: var(--shadow-medium);
}

.btn-primary.light:hover {
    background: white;
    box-shadow: var(--shadow-strong);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: white;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
    background: #F6B85A;
    color: white;
    border-color: #F6B85A;
    transform: translateY(-2px);
}

.btn-outline.light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline.light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   SECTION LABELS & TITLES
   ======================================== */
.section-label {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-orange);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-label.light {
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.title-serif {
    font-family: var(--font-sans);
    font-weight: 900;
    color: var(--primary);
}

.title-sans {
    font-family: var(--font-sans);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding-top: 100px;
    min-height: 40vh;
    display: flex;
    align-items: center;
    background: var(--bg-cream);
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* 手機版調整 hero 卡片的高度和z-index,避免遮擋文字 */
    .hero-image-wrapper {
        height: 400px;
        /* 降低高度 */
        margin-bottom: 120px;
        position: relative;
        z-index: 1;
        /* 確保不會蓋住下方內容 */
    }

    .hero-text {
        position: relative;
        z-index: 2;
        /* 文字層級高於卡片 */
    }
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-orange);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(48px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .title-sans {
    display: block;
    color: var(--text-dark);
}

.hero-title .title-serif {
    display: block;
    color: var(--primary);
    font-size: 0.85em;
    font-weight: 900;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .hero-actions {
        justify-content: center;
    }
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-card);
}

.stat-avatars {
    display: flex;
}

.stat-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.stat-avatars img:first-child {
    margin-left: 0;
}

.stat-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: var(--text-medium);
}

.stat-rating {
    color: #f59e0b;
    letter-spacing: 1px;
}

.hero-brands {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero-brands>span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.brand-logos {
    display: flex;
    gap: 24px;
}

.brand-logos span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.5;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

/* Hero Visual Stack Container */
.hero-image-wrapper {
    position: relative;
    /* Remove container framing to let cards be individual objects */
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    /* Allow cards to slide out freely */
    height: 500px;
    z-index: 1;
    /* Establish stacking context */
}

.hero-card {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    object-fit: cover;

    /* Polaroid/Card Frame Style */
    border: 8px solid white;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);

    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    transform-origin: center center;
    background: #fff;
    will-change: transform;
}

/* Specific Stacking Rotation for "Messy Pile" Look */
.hero-card:nth-child(1) {
    /* Top Card */
    transform: rotate(-2deg) scale(1);
    z-index: 10 !important;
    /* Enforce top */
}

.hero-card:nth-child(2) {
    /* Middle Card */
    transform: rotate(3deg) scale(0.95);
    top: 5.5%;
    /* Slight offset */
    z-index: 5 !important;
}

.hero-card:nth-child(3) {
    /* Bottom Card */
    transform: rotate(-4deg) scale(0.9);
    top: 6%;
    z-index: 1 !important;
}

/* Hide deeper cards to prevent shadow accumulation */
.hero-card:nth-child(n+4) {
    opacity: 0;
    pointer-events: none;
    z-index: 0 !important;
}

/* Active State (ensures top card is reset to intended transform if script messes with it) */
.hero-card.active {
    opacity: 1;
}

/* Animation Class */
.hero-card.slide-out {
    animation: cardSwipe 0.8s forwards ease-in;
    z-index: 20 !important;
    /* Ensure it stays on top while flying out */
}

@keyframes cardSwipe {
    0% {
        transform: rotate(-2deg) translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: rotate(15deg) translate(200px, 50px);
        opacity: 0;
    }
}

.hero-image-overlay {
    display: none;
}

.hero-badge-float {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.badge-icon {
    font-size: 24px;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.badge-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.hero-caption {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.intro-text {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 48px;
}

.intro-text .highlight {
    color: var(--primary);
    font-weight: 700;
}

/* Feature Cards - Staggered Modern Layout */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: flex-start;
    /* Allow staggering */
}

@media (max-width: 900px) {
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 24px;
    }

    /* 手機版卡片滿版 */
    .feature-card {
        border-radius: 0;
        /* 滿版時移除圓角 */
        margin-left: -24px;
        margin-right: -24px;
        border-left: none;
        border-right: none;
    }
}

.feature-card {
    position: relative;
    padding: 40px 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: auto;
    /* Fixed height for consistency */
    justify-content: space-between;
}

/* Stagger effect on desktop */
@media (min-width: 901px) {
    .feature-card:nth-child(2) {
        margin-top: 40px;
    }

    .feature-card:nth-child(3) {
        margin-top: 80px;
    }
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: rgba(33, 164, 177, 0.3);
}

/* Gradient Overlay on Hover */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(33, 164, 177, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Large decorative icon in background */
.feature-card::after {
    content: attr(data-icon);
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 160px;
    opacity: 0.04;
    font-family: serif, "Apple Color Emoji", "Segoe UI Emoji";
    pointer-events: none;
    transition: transform 0.6s ease;
    filter: grayscale(100%);
}

.feature-card:hover::after {
    transform: rotate(10deg) scale(1.1);
    opacity: 0.08;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 28px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
    background: var(--primary-light);
    color: white;
    /* If icon is text/emoji */
}

/* Special styling for the middle card if we want to differentiate, 
   but user asked for consistent redesign. 
   We removed the .accent class styling preference here 
   to make them uniform modern cards. */

.feature-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: auto;
    /* Push link to bottom */
    position: relative;
    z-index: 1;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 24px;
    position: relative;
    z-index: 1;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Arrow decoration for link */
.feature-link::after {
    content: '→';
    display: inline-block;
}

/* About Stats - Data Stream Style */
.about-stats-container {
    position: relative;
    padding-left: 80px;
}

/* The vertical connecting line */
.about-stats-container::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 15px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(33, 164, 177, 0.1) 100%);
}

.stat-flow-main {
    position: relative;
    margin-bottom: 50px;
}

.stat-item.main-item {
    position: relative;
}

/* Dot for main item */
.stat-item.main-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 25px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 6px var(--primary-glow);
    z-index: 2;
}

.stat-item.main-item .stat-num {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(60px, 8vw, 80px);
    font-weight: 700;
    line-height: 0.9;
    color: var(--primary);
    letter-spacing: -2px;
    margin-bottom: 8px;
}

.stat-item.main-item .stat-desc {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    padding-left: 4px;
}

.stats-grid-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 480px) {
    .stats-grid-flow {
        grid-template-columns: 1fr;
    }
}

.stat-item.flow-item {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stat-item.flow-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dots for flow items */
.stat-item.flow-item::before {
    content: '';
    position: absolute;
    left: -35px;
    /* Alignment with main line */
    top: 20px;
    width: 12px;
    height: 1px;
    background: var(--primary);
    opacity: 0.5;
}

/* Adjust dots alignment for grid */

.stats-grid-flow .stat-item:nth-child(2n)::before {
    display: none;
    /* Hide connector for right column to avoid long lines */
}

.stat-num-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 8px;
    width: fit-content;
    position: relative;
}

/* Animated bar under the number */
.stat-num-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 1s ease-out;
}

.stat-item.flow-item.visible .stat-num-wrapper::after {
    width: 100%;
}

.stat-item.flow-item .stat-num {
    font-family: var(--font-mono);
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stat-item.flow-item .stat-unit {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.stat-item.flow-item .stat-desc {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
}

/* ========================================
   RAYMOND SECTION
   ======================================== */
/* ========================================
   RAYMOND SECTION
   ======================================== */
.raymond-section {
    padding: var(--section-padding) 0;
    background: var(--bg-cream);
    overflow: hidden;
    /* For floaty effects */
}

.raymond-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 968px) {
    .raymond-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Intro Column */
.raymond-intro-col {
    position: sticky;
    top: 120px;
}

@media (max-width: 968px) {
    .raymond-intro-col {
        position: static;
    }
}

.raymond-quote-modern {
    margin: 40px 0;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.raymond-quote-modern blockquote {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.raymond-quote-modern .cite-text {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-light);
    display: block;
}

.raymond-bio-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.raymond-bio-text .highlight {
    color: var(--primary);
    position: relative;
}

.raymond-bio-text .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-glow);
    z-index: -1;
    transform: skewX(-10deg);
}

/* Roles List - Modern Timeline Style */
.roles-list-modern {
    position: relative;
    padding-left: 10px;
    margin-bottom: 40px;
}

/* Timeline vertical line */
.roles-list-modern::before {
    content: '';
    position: absolute;
    left: 29px;
    /* Center of marker (40px width / 2 + padding) */
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: rgba(33, 164, 177, 0.15);
    /* #21a4b1 with opacity */
}

.role-row {
    position: relative;
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.role-row:last-child {
    margin-bottom: 0;
}

.role-marker {
    flex-shrink: 0;
    width: 40px;
    display: flex;
    justify-content: center;
    padding-top: 0;
}

/* Icon Container */
.role-icon-circle {
    width: 36px;
    height: 36px;
    background: var(--bg-cream);
    /* Match section bg to mask line */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    /* Optional: keeps a circular safe area */
}

/* Adjust SVG stroke via CSS if needed, though inline attribute handles it mainly */
.role-icon-circle svg {
    stroke: #21a4b1;
    transition: transform 0.3s ease;
}

.role-content {
    flex: 1;
    padding-bottom: 16px;
    padding-top: 4px;
    /* Align text with icon */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.role-row:last-child .role-content {
    border-bottom: none;
    padding-bottom: 0;
}

.role-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.role-head h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.role-tag {
    font-size: 13px;
    font-weight: 600;
    color: #21a4b1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(33, 164, 177, 0.08);
    /* Light bg for tags */
    padding: 2px 8px;
    border-radius: 4px;
}

.role-tag.current {
    background: #21a4b1;
    color: white;
}

.role-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

/* Hover Effect */
.role-row:hover .role-icon-circle svg {
    transform: scale(1.2);
}

/* Gallery - Vertical Layout in Left Col */
.raymond-gallery {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.gallery-row-main {
    width: 100%;
}

.gallery-row-main .gallery-item {
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
}

.gallery-row-sub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-row-sub .gallery-item {
    height: 100px;
    /* Square-ish small items */
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* 手機版確保圖片不遮擋文字 */
@media (max-width: 968px) {
    .raymond-gallery {
        position: static;
        margin-bottom: 32px;
    }

    .gallery-row-main .gallery-item {
        height: 250px;
    }
}

.gallery-item {
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    background: #eee;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 13px;
    /* Smaller text for small thumbs */
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    white-space: nowrap;
}



@media (max-width: 600px) {
    .raymond-photos {
        grid-template-columns: 1fr;
    }
}

/* Raymond Action Button - Mobile */
@media (max-width: 768px) {
    .raymond-action-b {
        text-align: center !important;
        margin-top: 24px !important;
    }
}

.photo-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    border: 4px solid white;
}

.photo-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.photo-main:hover img {
    transform: scale(1.05);
}

.photo-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 10px 18px;
    background: white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
}

.photo-grid-small {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.photo-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    border: 3px solid white;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-track-wrapper {
    overflow: hidden;
    margin-bottom: 24px;
    padding: 30px 0;
    /* Adjusted padding to 30px */
    position: relative;
    /* Gradient Mask for fading edges */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 24px;
    animation: marquee 45s linear infinite;
    width: max-content;
}

.testimonials-track.reverse {
    animation: marquee-reverse 45s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.testimonials-track-wrapper:hover .testimonials-track {
    animation-play-state: paused;
}

.testimonial-card {
    flex-shrink: 0;
    width: 340px;
    padding: 32px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    /* Smaller shadow to prevent clipping */
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.testimonial-header img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-glow);
    box-shadow: var(--shadow-soft);
}

.testimonial-header h4 {
    font-size: 16px;
    font-weight: 700;
}

.testimonial-header span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.testimonial-card>p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 16px;
}

.testimonial-rating {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 2px;
}

.testimonial-link {
    display: inline;
    font-size: 14px;
    font-weight: 500;
    color: #21a4b1;
    text-decoration: none;
    transition: var(--transition);
    padding: 2px 4px;
    border-radius: 4px;
}

.testimonial-link::before {
    content: '🔗 ';
}

.testimonial-link:hover {
    background: rgba(255, 236, 130, 0.6);
}

/* ========================================
   COMMUNITY SECTION
   ======================================== */
.community-section {
    padding: var(--section-padding) 0;
    background: #2F9AA7;
}

.community-header {
    text-align: center;
    margin-bottom: 60px;
}

.community-section .section-label {
    color: rgba(255, 255, 255, 0.8);
}

.community-section .section-title {
    color: #fff;
}

.community-section .title-serif {
    color: #fff;
}

.community-sub-heading {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.community-description {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.community-description p {
    margin-bottom: 4px;
}

.community-bento {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
}

@media (max-width: 968px) {
    .community-bento {
        grid-template-columns: 1fr;
    }
}

.bento-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.bento-main {
    grid-row: 1 / 4;
    padding: 36px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 968px) {
    .bento-main {
        grid-row: auto;
    }
}

.bento-text {
    display: flex;
    align-items: center;
}

.bento-text p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

.bento-text strong {
    color: var(--text-dark);
    font-weight: 700;
}

.bento-text.accent {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    box-shadow: 0 8px 32px var(--primary-glow), var(--shadow-card);
}

.bento-text.accent p {
    color: white;
}

.bento-text.accent strong {
    color: white;
}

.bento-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    border: none;
    box-shadow: var(--shadow-elevated);
}

.bento-cta span {
    font-size: 36px;
}

.bento-cta p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.bento-cta strong {
    color: white;
}

/* Island Visual */
.island-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.island-svg {
    width: 100%;
    max-width: 500px;
}

.island-body,
.island-peak {
    transition: var(--transition);
}

.island-svg:hover .island-body {
    transform: translateY(-5px);
}

.island-svg:hover .island-peak {
    transform: translateY(-3px);
}

.ocean {
    animation: wave 4s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

.dot {
    fill: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px var(--primary-glow));
}

.dot:hover {
    fill: var(--primary-dark);
    r: 12;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.island-tooltip {
    position: absolute;
    padding: 12px 16px;
    background: var(--text-dark);
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
    white-space: nowrap;
    z-index: 10;
    box-shadow: var(--shadow-medium);
}

.island-tooltip.active {
    opacity: 1;
}

.bento-hint {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    text-align: center;
}

/* ========================================
   BENEFITS SECTION
   ======================================== */
.benefits-section {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.benefits-header {
    text-align: center;
    margin-bottom: 60px;
}

.benefits-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 968px) {
    .benefits-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .benefits-bento {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    padding: 32px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elevated);
}

.benefit-card.large {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .benefit-card.large {
        grid-column: span 1;
    }
}

.benefit-card.accent {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    box-shadow: 0 8px 32px var(--primary-glow), var(--shadow-card);
}

.benefit-card.accent p {
    color: rgba(255, 255, 255, 0.9);
}

/* New Icon Wrappers */
.benefit-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Color Variants for Icons */
.benefit-icon-wrapper.blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.2));
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.benefit-icon-wrapper.orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.2));
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.benefit-icon-wrapper.purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(168, 85, 247, 0.2));
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.benefit-icon-wrapper.red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.2));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.benefit-icon-wrapper.teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.2));
    color: #14b8a6;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.benefit-icon-wrapper.pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(236, 72, 153, 0.2));
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.benefit-icon-wrapper.green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.2));
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Special Case for Accent Card (Discord) */
.benefit-card.accent .benefit-icon-wrapper.white {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

.benefit-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.benefit-note {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-section {
    padding: var(--section-padding) 0;
    background: var(--bg-cream);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .pricing-header {
        margin-bottom: 20px;
    }
}

.pricing-desc {
    font-size: 16px;
    color: var(--text-medium);
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* NEW Badge */
.new-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Tooltip Styles */
.tooltip-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    margin-left: 8px;
    /* Slightly more space */
    cursor: help;
    position: relative;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.tooltip-icon:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Tooltip Popup */
.tooltip-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%;
    /* Position above */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(30, 41, 59, 0.95);
    /* Dark blue-grey backdrop */
    color: #fff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 8px;
    white-space: normal;
    width: max-content;
    max-width: 240px;
    /* prevent too wide */
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
}

/* Tooltip Arrow */
.tooltip-icon::after {
    content: '';
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border: 6px solid transparent;
    border-top-color: rgba(30, 41, 59, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 100;
    margin-bottom: -12px;
    /* Pull arrow down to touch box */
}

/* Hover State */
.tooltip-icon:hover::before,
.tooltip-icon:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Pricing Cards Layout */
.pricing-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0 40px;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 992px) {
    .pricing-cards-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
}

.pricing-plan-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
    /* Allow shrinking on mobile */
    max-width: 360px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .pricing-plan-card {
        min-width: 0;
        max-width: 100%;
        width: calc(100% - 32px);
        margin: 0 auto;
    }
}

.pricing-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Featured / Premium Card */
.pricing-plan-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(33, 164, 177, 0.15);
    /* Primary glow */
    transform: scale(1.05);
    z-index: 2;
    padding-top: 48px;
    /* Extra space for tag */
}

@media (max-width: 992px) {
    .pricing-plan-card.featured {
        transform: scale(1);
        z-index: 1;
        margin-bottom: 24px;
    }
}

.pricing-plan-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 30px 70px rgba(33, 164, 177, 0.2);
}

@media (max-width: 992px) {
    .pricing-plan-card.featured:hover {
        transform: translateY(-8px);
    }
}

.card-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(33, 164, 177, 0.3);
    text-align: center;
}

/* Headers */
.plan-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.featured .plan-title {
    color: var(--primary);
    font-size: 22px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 800;
}

.plan-price .amount {
    font-size: 32px;
    line-height: 1;
}

.featured .plan-price .amount {
    font-size: 48px;
    color: var(--primary-dark);
}

.plan-price .currency {
    font-size: 16px;
    margin-right: 4px;
    color: var(--text-medium);
}

.plan-price .period {
    font-size: 14px;
    color: var(--text-light);
    margin-left: 4px;
    font-weight: 500;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
    min-height: 44px;
    /* Align heights */
}

/* Feature List */
.plan-features {
    flex: 1;
    /* Push footer down */
    margin-bottom: 32px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    /* items top aligned */
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
}

.feature-item.disabled {
    color: var(--text-light);
    opacity: 0.7;
}

.feature-item .icon {
    flex-shrink: 0;
    margin-right: 12px;
    font-weight: 700;
    width: 20px;
    text-align: center;
}

.feature-item .icon.check {
    color: #22c55e;
}

.feature-item .icon.cross {
    color: #cbd5e1;
    font-size: 14px;
}

.featured .feature-item.highlight {
    background: rgba(33, 164, 177, 0.08);
    /* Highlight bg for main feature */
    padding: 8px 12px;
    border-radius: 8px;
    margin: 0 -12px 16px;
    /* Negative margin to bleed out */
    color: var(--primary-dark);
}

/* Action Area */
.plan-action {
    text-align: center;
}

.guarantee-text {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 12px;
}

/* Full Width Button for Card */
.pricing-plan-card .btn-primary.full-width {
    width: 100%;
    display: block;
    /* Ensure block for full width */
}

/* ========================================
   COUNTDOWN TIMER
   ======================================== */
.countdown-wrapper {
    margin-top: 80px;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: 'Inter', var(--font-sans);
}

.countdown-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
    margin-top: 8px;
}

.countdown-separator {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-light);
    margin-top: -20px;
}

.countdown-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 600px) {
    .countdown-value {
        font-size: 32px;
    }

    .countdown-item {
        min-width: 60px;
    }

    .countdown-separator {
        font-size: 28px;
    }

    .countdown-timer {
        gap: 8px;
    }
}


/* ========================================
   BLACK CARD SECTION
   ======================================== */
.blackcard-section {
    padding: var(--section-padding) 0;
    background: #000;
    color: white;
    position: relative;
    overflow: clip;
    /* Use clip instead of hidden to preserve sticky behavior */
}

/* Watermark "BLACK" text */
.blackcard-section::before {
    content: 'BLACK';
    position: absolute;
    bottom: -6%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22vw;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    font-family: var(--font-sans);
}

/* Bottom gradient fade (top to bottom fade-out) */
.blackcard-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #000);
    pointer-events: none;
    z-index: 1;
}

.blackcard-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 1024px) {
    .blackcard-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* 3D Card */
.blackcard-3d-wrapper {
    perspective: 1200px;
    position: sticky;
    top: 120px;
}

@media (max-width: 1024px) {
    .blackcard-3d-wrapper {
        position: relative;
        top: 0;
        display: flex;
        justify-content: center;
    }
}

.blackcard-3d {
    width: 380px;
    height: 240px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.blackcard-3d:hover {
    transform: rotateY(180deg);
}

.blackcard-front,
.blackcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blackcard-front {
    background: linear-gradient(145deg, #1f2937, #111827);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Shine animation */
.blackcard-front::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(25deg);
    animation: cardShine 3s ease-in-out infinite;
}

@keyframes cardShine {
    0% {
        left: -100%;
        top: -100%;
    }

    50%,
    100% {
        left: 150%;
        top: 100%;
    }
}

.blackcard-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.02) 50px,
            rgba(255, 255, 255, 0.02) 51px);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.blackcard-back {
    background: linear-gradient(145deg, #1f2937, #111827);
    transform: rotateY(180deg);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.card-brand {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.card-tier {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    padding: 6px 14px;
    border: 2px solid var(--primary);
    border-radius: 6px;
    box-shadow: 0 0 12px var(--primary-glow);
}

.card-chip {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #d4af37, #aa8f2e, #d4af37);
    border-radius: 8px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chip-lines {
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.chip-lines::before,
.chip-lines::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.2);
}

.chip-lines::before {
    top: 30%;
}

.chip-lines::after {
    top: 60%;
}

.card-name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.card-id {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

.card-motto {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
}

/* Card Back */
.card-magnetic {
    height: 45px;
    background: #000;
    margin: -32px -32px 24px -32px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-cvv {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

.card-info {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.card-info p {
    margin-bottom: 4px;
}

/* Blackcard Content */
.blackcard-title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 800;
    margin-bottom: 32px;
    line-height: 1.4;
}

.blackcard-title span {
    display: block;
    font-size: 0.55em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* Scrolling Content Side */
/* Scrolling Content Side */
.blackcard-content {
    padding: 0px 60px 120px 0;
    position: relative;
    max-width: 520px;
    margin-left: 40px;
}

/* Removed: Connecting Timeline Line (.blackcard-content::before) */

.blackcard-content::after {
    display: none;
}

@media (max-width: 1024px) {
    .blackcard-content {
        padding: 40px 24px 80px;
        margin-left: 0;
        max-width: 100%;
        margin-top: 0;
    }
}

/* Story Layers */
.story-block {
    margin-bottom: 100px;
    /* Reduced from 240px to close gaps */
    position: relative;
    padding-left: 40px;
    /* Space for the line/dot */
    opacity: 1;
    transition: opacity 0.6s ease;
}

/* Timeline Dot */
.story-block::after {
    content: '';
    position: absolute;
    left: -25px;
    /* Relative to padding-left offset, aligning with parent line */
    top: 10px;
    /* Align with top text roughly */
    width: 12px;
    height: 12px;
    background: #000;
    border: 2px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px rgba(33, 164, 177, 0.4);
}

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

/* Typography Overrides for Black Theme */
.blackcard-title {
    font-size: 40px;
    color: #fff;
    margin-bottom: 32px;
    line-height: 1.3;
    font-family: inherit;
    font-style: normal;
}

.blackcard-title span {
    display: block;
    font-size: 20px;
    color: var(--primary);
    font-weight: 500;
    margin-top: 8px;
    letter-spacing: 2px;
    font-family: inherit;
}

.blackcard-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #94a3b8;
    /* Slate 400 */
    margin-bottom: 24px;
}

.blackcard-content strong {
    color: #fff;
    font-weight: 600;
    background: transparent;
    padding: 0;
}

.blackcard-content blockquote {
    border-left: 2px solid var(--primary);
    padding-left: 24px;
    margin: 32px 0;
    color: #e2e8f0;
    font-style: italic;
    font-size: 20px;
    background: linear-gradient(90deg, rgba(33, 164, 177, 0.1), transparent);
    padding: 24px;
    border-radius: 0 8px 8px 0;
}

.blackcard-benefits {
    margin: 32px 0;
}

.blackcard-benefits h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.blackcard-benefits p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.blackcard-benefits ul {
    list-style: none;
    margin: 16px 0;
}

.blackcard-benefits li {
    padding: 10px 0 10px 24px;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.blackcard-benefits li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 9px;
    top: 14px;
}

.blackcard-benefits .promise {
    padding: 16px 20px;
    background: rgba(33, 164, 177, 0.15);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.blackcard-thanks p {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.blackcard-thanks p:first-child {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-light);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 160px 0;
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&h=900&fit=crop') center/cover;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.cta-title .title-serif {
    color: var(--primary-light);
    font-weight: 900;
}

.cta-desc {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.cta-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.stat-desc {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   FOOTER
   ======================================== */
/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 80px 0 32px;
    background: #171923;
    /* Dark slate/blue tint */
    color: white;
    font-family: var(--font-sans);
}

.footer-main {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
}

/* Column 1: Brand */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

@media (max-width: 900px) {
    .footer-brand-col {
        align-items: center;
    }
}

.footer-logo-square {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo-square img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.social-icon {
    color: #fff;
    transition: transform 0.2s, color 0.2s;
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Columns 2 & 3: Links */
.footer-links-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .footer-links-col {
        align-items: center;
    }
}

.footer-links-col h4 {
    font-size: 18px;
    /* Larger heading */
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-links-col a {
    display: block;
    font-size: 15px;
    color: #cbd5e1;
    /* Slate 300 */
    margin-bottom: 16px;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.footer-links-col a:hover {
    color: #fff;
}

.footer-links-col a.highlight-link {
    color: #d97706;
    /* Amber/Orange for the first link */
}

.footer-links-col a.highlight-link:hover {
    color: #f59e0b;
}

/* Bottom */
.footer-bottom {
    padding-top: 32px;
    text-align: center;
    border-top: none;
    /* Removed border as per image clean look, or maybe subtle? Image seems no border or very subtle. */
    opacity: 0.6;
}

.footer-bottom p {
    font-size: 14px;
    color: #fff;
    font-weight: 400;
}

/* Removed stray code block */

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 44px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    transform: scale(0.95);
    transition: var(--transition);
    box-shadow: var(--shadow-elevated);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

/* ========================================
   TOOLTIP
   ======================================== */
.tooltip {
    position: fixed;
    padding: 12px 16px;
    background: var(--text-dark);
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    max-width: 300px;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
    line-height: 1.5;
    box-shadow: var(--shadow-medium);
}

.tooltip.active {
    opacity: 1;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
@media (prefers-reduced-motion: no-preference) {

    .feature-card,
    .stat-card,
    .role-card,
    .benefit-card,
    .bento-card,
    .timeline-card,
    .community-card {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .feature-card.visible,
    .stat-card.visible,
    .role-card.visible,
    .benefit-card.visible,
    .bento-card.visible,
    .timeline-card.visible,
    .community-card.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   TIMELINE SECTION
   ======================================== */
.timeline-section {
    padding: var(--section-padding) 0;
    /* Removed extra padding-bottom to fix footer gap */
    background: var(--bg-white);
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-subtitle {
    font-size: 18px;
    color: var(--text-medium);
}

.timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Center vertical line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #f1f1f1;
    /* Light gray */
    border-radius: 2px;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
        transform: none;
    }
}

.timeline-item {
    position: relative;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
}

@media (max-width: 768px) {
    .timeline-item {
        padding-left: 0;
        justify-content: center;
    }
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    min-width: 80px;
    height: 32px;
    padding: 0 16px;
    background: #a8dfe0;
    /* Light teal/green */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(168, 223, 224, 0.3);
    z-index: 2;
}


@media (max-width: 768px) {
    .timeline-marker {
        left: 50%;
        transform: translateX(-50%);
        min-width: 70px;
        height: 36px;
        padding: 0 16px;
        border-radius: 18px;
    }

    .timeline-year {
        font-size: 34px;
    }
}

.timeline-year {
    color: #2d6c6e;
    /* Darker teal for text */
    font-size: 18px;
    /* Increased from 14px */
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Timeline Cards Group - grid layout with 2 cards per row */
.timeline-cards-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 800px;
    /* Reduced from 1000px */
    margin: 50px auto 0;
}

/* Single card or odd last card - center it */
.timeline-cards-group .timeline-card:only-child,
.timeline-cards-group .timeline-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    /*max-width: 380px;*/
    margin: 0 auto;
}

@media (max-width: 768px) {
    .timeline-cards-group {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .timeline-cards-group .timeline-card:only-child,
    .timeline-cards-group .timeline-card:last-child:nth-child(odd) {
        grid-column: 1;
        max-width: none;
    }
}

.timeline-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    border: 2px solid transparent;
    /* Invisible border by default */
}

/* Default state: black text for all */
.timeline-card .timeline-title-wrap h3 {
    color: var(--text-dark);
}

.timeline-card .timeline-title-wrap p {
    color: var(--text-medium);
}

.timeline-card .timeline-icon svg {
    stroke: #bdbdbd;
    /* Default icon color */
}

/* Opened cards specific styling */
.timeline-card.open {
    background: var(--card-bg);
    border-color: #21a4b1;
    /* Green border when active */
}

.timeline-card.open .timeline-icon svg,
.timeline-item.active .timeline-card .timeline-icon svg {
    stroke: #21a4b1;
    /* Green icon when active */
}

/* For items WITHOUT timeline-cards-group (single card per year) */
.timeline-item>.timeline-card {
    width: 100%;
    max-width: 800px;
    margin: 50px auto 0;
}

@media (max-width: 768px) {
    .timeline-item>.timeline-card {
        max-width: none;
        margin-top: 50px;
    }
}

.timeline-card:hover {
    box-shadow: var(--shadow-elevated);
}

.timeline-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    cursor: pointer;
    transition: var(--transition);
}

.timeline-card-header:hover {
    background: rgba(33, 164, 177, 0.03);
}

.timeline-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.timeline-title-wrap {
    flex: 1;
}

.timeline-title-wrap h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.timeline-title-wrap p {
    font-size: 14px;
    color: var(--text-medium);
}

/* Timeline 內文連結樣式 */
.timeline-title-wrap a,
.timeline-description a {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.timeline-title-wrap a:hover,
.timeline-description a:hover {
    color: var(--primary-dark);
    text-decoration-thickness: 2px;
}

.timeline-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    border-radius: 50%;
    transition: var(--transition);
}

.timeline-toggle svg {
    transition: var(--transition);
    color: var(--text-medium);
}

.timeline-card.open .timeline-toggle {
    background: var(--primary);
}

.timeline-card.open .timeline-toggle svg {
    transform: rotate(180deg);
    color: white;
}

.timeline-card-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
}

.timeline-card.open .timeline-card-content {
    max-height: 1200px;
    /* Increased to accommodate gallery */
    padding: 28px;
    opacity: 1;
    transition-delay: 0s, 0.1s;
    /* Slight delay for opacity to start after height expands */
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.timeline-list li:last-child {
    border-bottom: none;
}

.timeline-list strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

/* Fix for links inside timeline list */
.timeline-list a.testimonial-link strong {
    display: inline;
    color: inherit;
}

.timeline-list p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

.timeline-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.highlight-item {
    text-align: center;
    padding: 20px 16px;
    background: var(--bg-cream);
    border-radius: var(--radius-md);
}

.highlight-icon {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

.highlight-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
}

.timeline-note {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(33, 164, 177, 0.08), rgba(33, 164, 177, 0.04));
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 14px;
    color: var(--text-dark);
    margin-top: 16px;
}

/* Timeline Description */
.timeline-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Timeline Highlight Box */
.timeline-highlight-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 236, 130, 0.15);
    border-left: 3px solid #f59e0b;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 20px 0;
}

.highlight-emoji {
    font-size: 24px;
    flex-shrink: 0;
}

.timeline-highlight-box p {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0;
    font-style: italic;
}

/* Timeline Gallery */
.timeline-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.timeline-gallery .gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-cream);
}

.timeline-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.timeline-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .timeline-gallery {
        grid-template-columns: 1fr;
    }
}

/* Notion Bookmark Style */
.notion-bookmark {
    display: block;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin: 20px 0;
    background: white;
    transition: var(--transition);
}

.notion-bookmark:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(33, 164, 177, 0.1);
    transform: translateY(-2px);
}

.bookmark-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bookmark-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.bookmark-description {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.5;
}

.bookmark-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.bookmark-link svg {
    flex-shrink: 0;
}


/* ========================================
   ISLAND MAP SECTION
   ======================================== */
.island-map-container {
    margin-bottom: 60px;
}

.island-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
    /* Removed border and background as requested */
    background: transparent;
    border: none;
    box-shadow: none;
}

/* 手機版確保滿版 */
@media (max-width: 768px) {
    .island-map-container {
        margin-left: -24px;
        margin-right: -24px;
        width: calc(100% + 48px);
    }

    .island-image-wrapper {
        border-radius: 0;
    }

    .island-bg-image {
        border-radius: 0;
    }
}

.island-bg-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    /* Ensure image has rounded corners if wrapper doesn't enforce it via overflow */
    border-radius: var(--radius-xl);
}

.island-overlay {
    position: absolute;
    inset: 0;
    /* Adjusted overlay to match rounded corners */
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg,
            rgba(33, 164, 177, 0.1) 0%,
            rgba(33, 164, 177, 0.2) 50%,
            rgba(26, 26, 46, 0.4) 100%);
}

.island-point {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.point-dot {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    animation: pointPulse 2s ease-in-out infinite;
}

.point-dot.active {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.3);
}

@keyframes pointPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.island-point:hover .point-dot {
    background: #ffffff;
    transform: scale(1.2);
}

.point-label {
    padding: 6px 12px;
    background: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-medium);
    white-space: nowrap;
    transition: var(--transition);
}

.island-point:hover .point-label {
    background: #F6B85A;
    color: var(--text-dark);
}

/* Island Info Panel */
.island-info-panel {
    /* Pull up to integrate with image */
    margin-top: -20px;
    position: relative;
    z-index: 20;
    padding: 0 20px;
    /* Add horizontal padding for smaller screens */
}

.island-info-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevated);
    padding: 32px;
    min-height: 200px;
}

/* 手機版調整 */
@media (max-width: 768px) {
    .island-info-panel {
        padding: 0 24px;
        margin-top: 20px;
    }

    .island-info-content {
        padding: 24px 20px;
    }
}

.island-info-item {
    display: none;
}

.island-info-item.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.info-icon {
    font-size: 32px;
}

.info-header h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.island-info-item>p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
}

.info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.info-tags span {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(33, 164, 177, 0.1), rgba(33, 164, 177, 0.05));
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(33, 164, 177, 0.2);
}

/* Community Cards */
.community-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 968px) {
    .community-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .community-cards {
        grid-template-columns: 1fr;
    }
}

.community-card {
    padding: 28px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.community-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elevated);
}

.community-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

.community-card strong {
    color: var(--text-dark);
    font-weight: 700;
}

.community-card.accent {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    box-shadow: 0 8px 32px var(--primary-glow), var(--shadow-card);
}

.community-card.accent p {
    color: white;
}

.community-card.accent strong {
    color: white;
}

.community-card.dark {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    border: none;
    box-shadow: var(--shadow-elevated);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.community-card.dark p {
    color: rgba(255, 255, 255, 0.9);
}

.community-card.dark strong {
    color: white;
}

.card-emoji {
    font-size: 36px;
}

/* Responsive for island */
@media (max-width: 768px) {
    .island-bg-image {
        max-height: 350px;
    }

    .point-label {
        display: none;
    }

    .island-point:hover .point-label,
    .island-point .point-dot.active+.point-label {
        display: block;
    }

    .point-dot {
        width: 18px;
        height: 18px;
    }

    .island-info-panel {
        margin-top: 20px;
    }

    .island-info-content {
        padding: 24px;
    }
}

/* ========================================
   COMMUNITY QUOTES
   ======================================== */
.community-quotes {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.community-quotes.visible {
    opacity: 1;
    transform: translateY(0);
}

.community-quotes p {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6em;
}

.community-quotes strong {
    color: #fff;
    font-weight: 700;
}

.quote-line.highlight {
    color: var(--text-dark);
    font-weight: 600;
    font-size: clamp(20px, 2.8vw, 28px);
}

.quote-line.highlight strong {
    color: var(--primary);
}

/* ========================================
   SHOULD YOU JOIN SECTION
   ======================================== */
.should-join-section {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.should-join-header {
    text-align: center;
    margin-bottom: 60px;
}

.should-join-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .should-join-grid {
        grid-template-columns: 1fr;
    }
}

.join-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.join-card.yes {
    background: linear-gradient(135deg, rgba(33, 164, 177, 0.08), rgba(33, 164, 177, 0.02));
    border: 2px solid rgba(33, 164, 177, 0.2);
}

.join-card.no {
    background: var(--card-bg);
    border: 1px solid var(--border);
}

.join-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.join-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

.join-card.yes .join-icon {
    background: var(--primary);
    color: white;
}

.join-card.no .join-icon {
    background: #fee2e2;
    color: #dc2626;
}

.join-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.join-list {
    list-style: none;
}

.join-list li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border);
}

.join-list li:last-child {
    border-bottom: none;
}

.join-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.join-card.yes .join-list li::before {
    background: var(--primary);
}

.join-card.no .join-list li::before {
    background: #dc2626;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-cream);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(33, 164, 177, 0.03);
}

.faq-num {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.faq-question h4 {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-medium);
    transition: var(--transition);
}

.faq-item.open .faq-toggle {
    background: var(--primary);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 24px;
    opacity: 1;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.8;

}

/* Island image update for illustration */
.island-bg-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    background: transparent;
}

.island-overlay {
    display: none;
}

/* Adjust point positions for isometric illustration */
.island-point {
    transform: translate(-50%, -50%);
}

.point-dot {
    width: 24px;
    height: 24px;
    border: 4px solid var(--primary);
    box-shadow: 0 4px 20px var(--primary-glow), 0 0 0 6px rgba(255, 255, 255, 0.8);
}

.point-label {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: var(--shadow-strong);
}

/* ==========================================
   3D CARD SECTION (New)
   ========================================== */
.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.membership-card {
    width: 450px;
    height: 280px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    position: relative;
    /* Removed padding: 60px 0 as it breaks the sticky container sizing */
}

@media (max-width: 500px) {
    .membership-card {
        width: 100%;
        height: auto;
        aspect-ratio: 1.6/1;
    }
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

/* Flip on click (controlled by JS adding .flipped class) */
.membership-card.flipped .card-inner {
    transform: rotateY(180deg);
}

/* Remove hover flip - now mouseenter does 3D tilt instead */

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.card-front {
    background: transparent;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(212, 175, 55, 0.1);
}

.card-back {
    transform: rotateY(180deg);
    background: transparent;
}

.card-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 20%,
            rgba(212, 175, 55, 0.05) 35%,
            rgba(212, 175, 55, 0.2) 50%,
            rgba(212, 175, 55, 0.05) 65%,
            transparent 80%);
    transform: translateX(-150%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.membership-card:hover .card-shine {
    transform: translateX(150%);
}

.card-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 70% 120%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
}

.card-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 60px,
            rgba(255, 255, 255, 0.01) 60px,
            rgba(255, 255, 255, 0.01) 61px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 60px,
            rgba(255, 255, 255, 0.01) 60px,
            rgba(255, 255, 255, 0.01) 61px);
}

.card-glow {
    position: absolute;
    bottom: -20%;
    left: 10%;
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.8;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.membership-card:hover .card-glow {
    opacity: 1;
}

/* Rotating Gold Border Glow - Cross-browser approach */
.card-border-glow {
    position: absolute;
    inset: -4px;
    border-radius: calc(var(--radius-md) + 4px);
    z-index: -1;
    /* Behind the card */
    overflow: hidden;
    pointer-events: none;
}

.card-border-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent 0deg 270deg,
            rgba(255, 215, 0, 0.8) 300deg,
            rgba(212, 175, 55, 1) 330deg,
            rgba(255, 215, 0, 0.8) 360deg);
    animation: spinGlow 3s linear infinite;
}

@keyframes spinGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.membership-card:hover .card-border-glow::before {
    animation-duration: 2s;
}

/* ========================================
   BLACK CARD INTERIOR - NEW DESIGN
   ======================================== */

/* Matte texture overlay */
.card-texture {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 120% 80% at 50% 120%, rgba(180, 150, 80, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Top Row - Brand + Logo */
.card-top-row {
    position: absolute;
    top: 28px;
    left: 28px;
    right: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text-main {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #c9a227;
    text-shadow: 0 2px 8px rgba(180, 140, 50, 0.4);
    font-family: var(--font-sans);
}

.brand-text-sub {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #b8860b;
    text-shadow: 0 1px 4px rgba(180, 140, 50, 0.3);
    font-family: var(--font-sans);
}

.card-logo-icon {
    opacity: 0.6;
}

/* Middle - Holder Name */
.card-holder {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.holder-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-family: var(--font-sans);
}

/* Right Side Motto (Vertical) */
.card-motto-side {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.card-motto-side span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-family: var(--font-sans);
}

/* Bottom Row */
.card-bottom-row {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.member-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-sans);
}

.member-number {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-mono);
}

/* Bottom Gold Glow (under card) */
.card-bottom-glow {
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 80%;
    height: 60px;
    background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(212, 175, 55, 0.5) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}

/* Old card styles removed - using new design above */

.card-back {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    transform: rotateY(180deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.card-stripe {
    height: 50px;
    background: #000;
    margin-top: 30px;
}

.card-back-content {
    padding: 24px;
    text-align: center;
}

.card-quote {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.card-barcode {
    height: 40px;
    background: repeating-linear-gradient(90deg,
            var(--white),
            var(--white) 2px,
            transparent 2px,
            transparent 4px,
            var(--white) 4px,
            var(--white) 5px,
            transparent 5px,
            transparent 8px);
    margin: 0 auto;
    width: 60%;
}

.card-hint {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 24px;
}

/* ==========================================
   VISUAL STORY ELEMENTS (New)
   ========================================== */
/* ==========================================
   VISUAL STORY ELEMENTS (Dark Mode)
   ========================================== */
.milestone-visual {
    display: flex;
    align-items: center;
    margin: 32px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.milestone-icon {
    font-size: 24px;
    filter: grayscale(1);
    opacity: 0.5;
}

.milestone-icon.active {
    font-size: 32px;
    filter: none;
    opacity: 1;
}

.milestone-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), var(--primary));
    margin: 0 16px;
    position: relative;
    border-radius: 2px;
}

.milestone-text {
    margin-left: 16px;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.5;
    text-align: right;
    font-family: var(--font-sans);
}

.gift-box-visual {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 24px;
    border-radius: 12px;
}

.gift-icon {
    font-size: 48px;
    margin-right: 24px;
}

.gift-content h3 {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 700;
}

.gift-content p {
    color: #fff;
    font-size: 15px;
    margin: 0;
}

.benefit-grid-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 600px) {
    .benefit-grid-visual {
        grid-template-columns: 1fr;
    }
}

.benefit-visual-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.benefit-visual-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
}

.visual-icon {
    display: block;
    font-size: 32px;
    margin-bottom: 12px;
}

.benefit-visual-item span:last-child {
    display: block;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.4;
}

/* Finale & Typewriter */
.story-block.finale {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

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

.thanks-heading {
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 2px;
    font-family: inherit;
    font-style: normal;
}

.typewriter-container {
    font-family: var(--font-mono);
    font-size: 20px;
    color: #ffd700;
    /* Gold */
    min-height: 40px;
    display: inline-block;
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: #ffd700;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.mb-4 {
    margin-bottom: 16px;
}

.mt-4 {
    margin-top: 16px;
}

/* ==========================================
   SIMPLE TEXT FLOW REDESIGN (Pure Text)
   ========================================== */

/* Overall Container */
.blackcard-content {
    padding: 0;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    color: #e5e7eb;
}

/* 1. Header */
.blackcard-heading {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

/* 2. Intro */
.blackcard-intro {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 60px;
    line-height: 1.8;
}

/* 3. Gratitude (Text Only) */
.blackcard-tree-section {
    margin-bottom: 60px;
}

.blackcard-tree-section p {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* 4. Gift Highlight (Text Only) */
.blackcard-gift-highlight {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gift-emoji {
    font-size: 32px;
}

.blackcard-gift-highlight p {
    margin: 0;
    font-size: 18px;
    /* Slightly larger */
    color: #cbd5e1;
    line-height: 1.6;
}

.blackcard-gift-highlight strong {
    color: #ffd700;
    /* Gold text for emphasis */
    font-weight: 600;
}

/* 5. Benefits List (Text Only) */
.blackcard-timeline-feature h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 700;
}

.blackcard-timeline-feature p {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.simple-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.simple-benefit-list li {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 16px;
    padding-left: 0;
}

.promise-text {
    font-size: 14px;
    color: #64748b;
    margin-top: 16px;
    letter-spacing: 1px;
    border-top: none;
    /* Removed border */
}

/* 6. Footer Center Bottom */
.blackcard-footer-message {
    margin-top: 40px;
    padding-top: 40px;
}

.blackcard-footer-message h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 16px;
}

.blackcard-footer-message p {
    font-size: 20px;
    color: #ffd700;
    opacity: 1;
    letter-spacing: 1px;
}

/* Typewriter Effect */
.typewriter-text {
    display: inline;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--primary);
    font-weight: 400;
    animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .blackcard-content {
        padding: 40px 0;
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }
}