/* ========================================
   session-sop 頁面專屬樣式
   紀謙的自在空間 - SOP 可能性的交響樂個案
   配色主題：宇宙靛藍 (Cosmic Indigo)
   
   字體規格繼承自 global-style.css：
   - H1: --text-5xl (3rem = 48px)
   - H2: --text-4xl (2.25rem = 36px)
   - H3: --text-xl ~ --text-2xl (1.25-1.5rem)
   - 內文: --text-base (1rem = 16px)
   - 大內文: --text-lg (1.125rem = 18px)
   - 小字: --text-sm (0.875rem = 14px)
   - 行高: --leading-relaxed (1.8)
   ======================================== */

/* ========== 頁面專屬配色變數 ========== */
:root {
    /* 宇宙靛藍色系 - 代表無限可能 */
    --indigo-light: #eef2ff;
    --indigo-soft: #e0e7ff;
    --indigo-main: #818cf8;
    --indigo-dark: #6366f1;
    --indigo-deep: #4f46e5;
    
    /* 紫羅蘭色 */
    --violet-light: #f5f3ff;
    --violet-soft: #ede9fe;
    --violet-main: #a78bfa;
    --violet-dark: #8b5cf6;
    
    /* 青色 */
    --cyan-light: #ecfeff;
    --cyan-soft: #cffafe;
    --cyan-main: #22d3ee;
    --cyan-dark: #06b6d4;
    
    /* 金色 */
    --gold-cream: #fef7ed;
    --gold-soft: #fde68a;
    --gold-main: #d4a574;
    --gold-dark: #b08968;
    
    /* 漸層 */
    --cosmos-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --aurora-gradient: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #22d3ee 100%);
    --infinity-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --light-gradient: linear-gradient(180deg, #eef2ff 0%, #f5f3ff 100%);
    
    /* 基礎色彩 */
    --white: #ffffff;
    --cream: #fafbff;
    --text-dark: #1e1b4b;
    --text-warm: #3730a3;
    --text-soft: #6366f1;
    --text-light: #a5b4fc;
    
    /* 頁面專屬陰影 */
    --shadow-soft: 0 4px 20px rgba(99, 102, 241, 0.15);
    --shadow-purple: 0 10px 40px rgba(139, 92, 246, 0.2);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-purple-hover: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* ========== 頁面基礎設定 ========== */
body {
    color: var(--text-dark);
    background: var(--cream);
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-24) 0 var(--space-16);
    background: linear-gradient(180deg, var(--indigo-light) 0%, var(--violet-light) 50%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

/* 星星動畫 */
.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--indigo-main);
    border-radius: var(--radius-circle);
    opacity: 0.6;
    animation: twinkle 3s ease-in-out infinite;
}

.star-1 { top: 15%; left: 10%; animation-delay: 0s; }
.star-2 { top: 25%; right: 15%; animation-delay: 0.5s; width: 6px; height: 6px; }
.star-3 { top: 40%; left: 20%; animation-delay: 1s; }
.star-4 { top: 60%; right: 25%; animation-delay: 1.5s; width: 5px; height: 5px; }
.star-5 { top: 75%; left: 5%; animation-delay: 2s; }
.star-6 { top: 20%; left: 50%; animation-delay: 0.8s; width: 3px; height: 3px; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* 光暈效果 */
.glow-orb {
    position: absolute;
    border-radius: var(--radius-circle);
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--violet-main);
    top: 10%;
    right: -100px;
}

.glow-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--cyan-main);
    bottom: 20%;
    left: -80px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

/* Hero Badge：使用 --text-sm */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--white);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--indigo-deep);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-soft);
}

.hero-badge::before {
    content: '✨';
}

/* Hero H1：使用 --text-5xl */
.hero-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-medium);
    color: var(--text-dark);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-5);
}

.hero-title .highlight {
    background: var(--cosmos-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero 副標題：使用 --text-lg */
.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-warm);
    margin-bottom: var(--space-5);
    line-height: var(--leading-loose);
}

/* Hero Quote */
.hero-quote {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--indigo-main);
    margin-bottom: var(--space-8);
}

.hero-quote p {
    font-size: var(--text-base);
    color: var(--indigo-deep);
    font-style: italic;
    margin: 0;
    line-height: var(--leading-relaxed);
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--white);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
}

.hero-feature span {
    font-size: var(--text-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image-main {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-purple);
    border: 6px solid var(--white);
}

.hero-image-badge {
    position: absolute;
    bottom: var(--space-8);
    left: calc(-1 * var(--space-5));
    background: var(--white);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-purple);
    text-align: center;
}

/* Badge Number：使用 --text-4xl */
.hero-image-badge .number {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--indigo-deep);
    display: block;
}

/* Badge Label：使用 --text-sm */
.hero-image-badge .label {
    font-size: var(--text-sm);
    color: var(--text-warm);
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    transition: all var(--transition-normal) var(--ease-out);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--cosmos-gradient);
    color: white;
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-purple-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--indigo-deep);
    border: 2px solid var(--indigo-main);
}

.btn-secondary:hover {
    background: var(--indigo-light);
}

/* ========== Stats Section ========== */
.stats {
    background: var(--cosmos-gradient);
    padding: var(--space-12) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.stat-item {
    text-align: center;
    color: white;
}

/* Stat Number：使用 --text-4xl */
.stat-number {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-1);
}

/* Stat Label：使用 --text-sm */
.stat-label {
    font-size: var(--text-sm);
    opacity: 0.9;
}

/* ========== Section 通用樣式 ========== */
section {
    padding: var(--space-24) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

/* Section Tag：使用 --text-sm */
.section-tag {
    display: inline-block;
    background: var(--cosmos-gradient);
    color: white;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-4);
}

/* Section H2：使用 --text-4xl */
.section-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-medium);
    color: var(--text-dark);
    margin-bottom: var(--space-4);
    line-height: var(--leading-tight);
}

.section-title .accent {
    color: var(--indigo-deep);
}

/* Section 副標題：使用 --text-lg */
.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-warm);
    max-width: 700px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
}

/* ========== What Is Section ========== */
.what-is {
    background: var(--white);
}

.what-is-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
}

.what-is-image {
    position: relative;
}

.what-is-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-purple);
}

.what-is-image::before {
    content: '';
    position: absolute;
    top: calc(-1 * var(--space-5));
    left: calc(-1 * var(--space-5));
    right: var(--space-5);
    bottom: var(--space-5);
    border: 3px solid var(--indigo-main);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

/* What Is H2：使用 --text-4xl */
.what-is-text h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-medium);
    color: var(--text-dark);
    margin-bottom: var(--space-6);
    line-height: var(--leading-tight);
}

/* What Is 內文：使用 --text-base */
.what-is-text p {
    color: var(--text-warm);
    margin-bottom: var(--space-5);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.what-is-highlight {
    background: var(--indigo-light);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--indigo-main);
    margin-top: var(--space-8);
}

.what-is-highlight p {
    margin: 0;
    color: var(--indigo-deep);
    font-weight: var(--font-medium);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

/* ========== Name Origin Section ========== */
.name-origin {
    background: linear-gradient(180deg, var(--cream) 0%, var(--indigo-light) 100%);
}

.name-origin-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.name-char {
    display: inline-block;
    font-size: var(--text-6xl);
    font-weight: var(--font-bold);
    background: var(--cosmos-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-5);
}

.name-meanings {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    margin: var(--space-8) 0;
    flex-wrap: wrap;
}

.name-meaning {
    background: var(--white);
    padding: var(--space-5) var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

/* Name Meaning H4：使用 --text-xl */
.name-meaning h4 {
    font-size: var(--text-xl);
    color: var(--indigo-deep);
    margin-bottom: var(--space-1);
}

/* Name Meaning 內文：使用 --text-sm */
.name-meaning p {
    font-size: var(--text-sm);
    color: var(--text-warm);
    margin: 0;
}

/* Name Quote：使用 --text-xl */
.name-quote {
    font-size: var(--text-xl);
    color: var(--indigo-deep);
    font-style: italic;
    margin-top: var(--space-8);
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    line-height: var(--leading-relaxed);
}

/* ========== Benefits Section ========== */
.benefits {
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.benefit-card {
    background: var(--cream);
    padding: var(--space-10) var(--space-8);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: all var(--transition-normal) var(--ease-out);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cosmos-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal) var(--ease-out);
}

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

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--indigo-light);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    font-size: var(--text-4xl);
}

/* Benefit Card H3：使用 --text-lg */
.benefit-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-3);
}

/* Benefit Card 內文：使用 --text-sm */
.benefit-card p {
    font-size: var(--text-sm);
    color: var(--text-warm);
    line-height: var(--leading-relaxed);
}

/* ========== How It Works Section ========== */
.how-it-works {
    background: linear-gradient(180deg, var(--violet-light) 0%, var(--indigo-light) 100%);
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

/* How Content H2：使用 --text-4xl */
.how-content h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-medium);
    color: var(--text-dark);
    margin-bottom: var(--space-6);
    line-height: var(--leading-tight);
}

/* How Content 內文：使用 --text-base */
.how-content p {
    color: var(--text-warm);
    margin-bottom: var(--space-5);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.how-list {
    list-style: none;
    margin-top: var(--space-8);
    padding: 0;
}

.how-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

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

.how-list li::before {
    content: '✦';
    color: var(--indigo-main);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

/* How List Item：使用 --text-base */
.how-list li span {
    color: var(--text-warm);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.how-image {
    position: relative;
}

.how-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-purple);
}

/* ========== 照片畫廊 - 四格排列 ========== */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.gallery-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal) var(--ease-out);
    box-shadow: var(--shadow-soft);
}

.gallery-container img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-purple);
}

/* ========== Lightbox 樣式 ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: var(--space-5);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    background: var(--white);
    border: none;
    border-radius: var(--radius-circle);
    font-size: var(--text-2xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all var(--transition-normal) var(--ease-out);
}

.lightbox-close:hover {
    background: var(--indigo-light);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: var(--radius-circle);
    font-size: var(--text-2xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all var(--transition-normal) var(--ease-out);
}

.lightbox-nav:hover {
    background: var(--indigo-light);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

/* Lightbox Caption：使用 --text-sm */
.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: var(--space-4);
    font-size: var(--text-sm);
}

/* ========== Process Section ========== */
.process {
    background: var(--white);
}

.process-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    max-width: 900px;
    margin: 0 auto;
}

.process-card {
    background: var(--cream);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal) var(--ease-out);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-purple);
}

/* Process Card H3：使用 --text-lg */
.process-card h3 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

.process-card h3 span {
    font-size: var(--text-2xl);
}

/* Process Card 內文：使用 --text-sm */
.process-card p {
    color: var(--text-warm);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* ========== Pricing Section ========== */
.pricing {
    background: linear-gradient(180deg, var(--indigo-light) 0%, var(--violet-light) 100%);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-12) var(--space-10);
    text-align: center;
    box-shadow: var(--shadow-purple);
    border: 2px solid var(--indigo-main);
    position: relative;
}

/* Pricing Badge：使用 --text-sm */
.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cosmos-gradient);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    white-space: nowrap;
}

.pricing-emoji {
    font-size: var(--text-6xl);
    margin-bottom: var(--space-5);
}

/* Pricing Title：使用 --text-2xl */
.pricing-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-3);
}

/* Pricing Price：使用 --text-5xl */
.pricing-price {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--indigo-deep);
    margin: var(--space-5) 0;
}

.pricing-price span {
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    color: var(--text-warm);
}

.pricing-features {
    list-style: none;
    margin: var(--space-8) 0;
    text-align: left;
    padding: 0;
}

/* Pricing Features：使用 --text-base */
.pricing-features li {
    padding: var(--space-3) 0;
    color: var(--text-warm);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--indigo-light);
    color: var(--indigo-deep);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    flex-shrink: 0;
}

/* Pricing Note：使用 --text-sm */
.pricing-note {
    background: var(--indigo-light);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    margin-top: var(--space-5);
    font-size: var(--text-sm);
    color: var(--indigo-deep);
    line-height: var(--leading-relaxed);
}

/* ========== FAQ Section ========== */
.faq {
    background: var(--white);
}

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

.faq-item {
    background: var(--cream);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
    transition: border-color var(--transition-normal) var(--ease-out);
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--indigo-main);
}

/* FAQ Question：使用 --text-base + semibold */
.faq-question {
    padding: var(--space-6) var(--space-8);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    color: var(--text-dark);
    transition: background var(--transition-normal) var(--ease-out);
}

.faq-question:hover {
    background: var(--indigo-light);
}

.faq-question::after {
    content: '+';
    font-size: var(--text-2xl);
    color: var(--indigo-deep);
    transition: transform var(--transition-normal) var(--ease-out);
    font-weight: var(--font-normal);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* FAQ Answer：使用 --text-base */
.faq-answer-content {
    padding: 0 var(--space-8) var(--space-6);
    color: var(--text-warm);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

/* ========== Contact Section ========== */
.contact {
    background: var(--indigo-light);
    padding: var(--space-24) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

/* Contact H2：使用 --text-4xl */
.contact-text h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-medium);
    color: var(--text-dark);
    margin-bottom: var(--space-5);
    line-height: var(--leading-tight);
}

/* Contact 內文：使用 --text-base */
.contact-text > p {
    color: var(--text-warm);
    font-size: var(--text-base);
    margin-bottom: var(--space-5);
    line-height: var(--leading-relaxed);
}

.contact-info {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-purple);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-5) 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-circle);
    background: var(--indigo-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--indigo-deep);
}

.contact-detail {
    display: flex;
    flex-direction: column;
}

/* Contact Label：使用 --text-xs */
.contact-label {
    font-size: var(--text-xs);
    color: var(--text-light);
    margin-bottom: var(--space-1);
}

/* Contact Value：使用 --text-base + medium */
.contact-detail a,
.contact-detail span {
    font-size: var(--text-base);
    color: var(--text-dark);
    font-weight: var(--font-medium);
}

.contact-detail a:hover {
    color: var(--indigo-deep);
}

/* ========== CTA Section ========== */
.cta {
    background: var(--cosmos-gradient);
    padding: var(--space-20) 0;
    text-align: center;
}

/* CTA H2：使用 --text-4xl */
.cta h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-medium);
    color: white;
    margin-bottom: var(--space-4);
    line-height: var(--leading-tight);
}

/* CTA 內文：使用 --text-lg */
.cta p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--leading-relaxed);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--indigo-deep);
}

.cta .btn-secondary {
    border-color: white;
    color: white;
    background: transparent;
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========== 響應式設計 ========== */
@media (max-width: 1024px) {
    .hero-inner,
    .what-is-content,
    .how-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .hero-image,
    .how-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .process-cards {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    /* RWD Hero H1 */
    .hero-title {
        font-size: var(--text-4xl);
    }

    /* RWD Section H2 */
    .section-title {
        font-size: var(--text-3xl);
    }

    section {
        padding: var(--space-16) 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .name-meanings {
        flex-direction: column;
        gap: var(--space-5);
    }

    .hero-features {
        justify-content: center;
    }

    .cta h2 {
        font-size: var(--text-3xl);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5);
    }

    .what-is-text h2,
    .how-content h2,
    .contact-text h2 {
        font-size: var(--text-3xl);
    }

    /* Lightbox RWD */
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .gallery-container img {
        height: 140px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: var(--text-lg);
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    .lightbox-close {
        top: -45px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-5);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-card {
        padding: var(--space-10) var(--space-6);
    }

    .hero-image-badge {
        left: var(--space-4);
        bottom: var(--space-4);
        padding: var(--space-3) var(--space-4);
    }

    .hero-image-badge .number {
        font-size: var(--text-3xl);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}
