/* ========================================
   InMode 溶脂資訊網站 - CSS Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--gray-400);
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-300);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.title-line {
    display: block;
    color: var(--white);
}

.title-highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -10px rgba(99, 102, 241, 0.6);
}

.btn-outline {
    border: 2px solid var(--gray-600);
    color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.75rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gray-500);
    border-bottom: 2px solid var(--gray-500);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Section Styles
   ======================================== */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--gray-100);
}

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

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.about-text strong {
    color: var(--primary-dark);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--dark);
    border-radius: var(--radius-xl);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
}

.card-animation {
    height: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.energy-wave {
    position: absolute;
    left: 50%;
    top: 20%;
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: pulse-wave 2s infinite;
}

.energy-wave:nth-child(2) {
    animation-delay: 0.5s;
}

.energy-wave:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse-wave {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
    }
}

.target-layer {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.target-layer span {
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.target-layer span:nth-child(1) {
    background: rgba(255, 200, 180, 0.3);
    color: #ffb4a2;
    border-radius: var(--radius) var(--radius) 0 0;
}

.target-layer span:nth-child(2) {
    background: rgba(255, 150, 130, 0.3);
    color: #ff9a8b;
}

.target-layer span:nth-child(3) {
    background: rgba(255, 220, 100, 0.4);
    color: #ffd166;
    border-radius: 0 0 var(--radius) var(--radius);
}

.card-label {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* ========================================
   Technologies Section
   ======================================== */
.technologies {
    background: var(--white);
}

.tech-tabs {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tab-buttons {
    display: flex;
    background: var(--dark);
    padding: 0.5rem;
    gap: 0.5rem;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-400);
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    color: var(--white);
    background: var(--gradient-primary);
}

.tab-content {
    padding: 3rem;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tech-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.panel-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.tech-intro {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.tech-features {
    margin-bottom: 2rem;
}

.tech-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.check-icon {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.tech-targets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.target-label {
    font-weight: 600;
    color: var(--gray-700);
}

.target-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.35rem 0.85rem;
    background: var(--gray-200);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gray-700);
}

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

.tech-illustration {
    width: 300px;
    height: 300px;
    background: var(--dark);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bodytite-illust .illust-device {
    width: 8px;
    height: 150px;
    background: linear-gradient(180deg, var(--gray-400) 0%, var(--primary) 100%);
    border-radius: 4px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: probe 2s infinite;
}

@keyframes probe {
    0%, 100% { top: 30px; }
    50% { top: 50px; }
}

.bodytite-illust .illust-energy {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glow 1.5s infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

.bodytite-illust .illust-layer {
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
}

.bodytite-illust .illust-layer.skin {
    bottom: 80px;
    background: rgba(255, 180, 162, 0.3);
}

.bodytite-illust .illust-layer.fat {
    bottom: 40px;
    background: rgba(255, 209, 102, 0.4);
}

.morpheus-illust {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
}

.morpheus-illust .illust-needles {
    width: 80px;
    height: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px;
}

.morpheus-illust .illust-needles::before,
.morpheus-illust .illust-needles::after {
    display: none;
}

.morpheus-illust .illust-rf-waves {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    animation: pulse-wave 2s infinite;
}

.bodyfx-illust .illust-handpiece {
    width: 100px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    position: relative;
}

.bodyfx-illust .illust-suction {
    position: absolute;
    bottom: 60px;
    width: 80px;
    height: 80px;
    border: 3px dashed var(--primary-light);
    border-radius: 50%;
    animation: suction 1.5s infinite;
}

@keyframes suction {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(0.8); opacity: 1; }
}

.minifx-illust .illust-mini-device {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.minifx-illust .illust-target-area {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: target-pulse 1.5s infinite;
}

@keyframes target-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

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

.benefit-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.benefit-meter {
    background: var(--gray-200);
    border-radius: 50px;
    height: 8px;
    position: relative;
    overflow: hidden;
}

.meter-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--fill);
    background: var(--gradient-primary);
    border-radius: 50px;
    transition: width 1s ease;
}

.benefit-meter span {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

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

.process .section-tag {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.process .section-title {
    color: var(--white);
}

.process .section-desc {
    color: var(--gray-400);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-700);
}

.process-step {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
}

.step-marker {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    border: 1px solid var(--gray-700);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.step-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.step-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.step-details i {
    font-style: normal;
}

/* ========================================
   Comparison Section
   ======================================== */
.comparison {
    background: var(--white);
}

.comparison-wrapper {
    overflow-x: auto;
    margin: 0 -1.5rem;
    padding: 0 1.5rem;
}

.comparison-table-container {
    min-width: 800px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table th.highlight {
    background: var(--gradient-primary);
}

.comparison-table td {
    font-size: 0.9rem;
    color: var(--gray-700);
}

.comparison-table td.highlight {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-dark);
    font-weight: 600;
}

.comparison-table tr:hover td {
    background: var(--gray-100);
}

.comparison-table tr:hover td.highlight {
    background: rgba(99, 102, 241, 0.15);
}

.comparison-note {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.comparison-note p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ========================================
   Body Map Section
   ======================================== */
.body-map {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.bodymap-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.bodymap-visual {
    display: flex;
    justify-content: center;
}

.body-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.body-outline {
    fill: none;
    stroke: var(--gray-400);
    stroke-width: 2;
}

.hotspot {
    fill: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
}

.hotspot:hover,
.hotspot.active {
    opacity: 1;
    filter: drop-shadow(0 0 10px var(--primary));
    transform-origin: center;
    animation: hotspot-pulse 1s infinite;
}

@keyframes hotspot-pulse {
    0%, 100% { r: 8; }
    50% { r: 12; }
}

.bodymap-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    min-height: 250px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.info-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 180px;
    color: var(--gray-500);
    text-align: center;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.info-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.info-content ul {
    margin-bottom: 1.5rem;
}

.info-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-700);
}

.info-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.area-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.area-btn {
    padding: 0.75rem 1.25rem;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.area-btn:hover,
.area-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

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

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

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========================================
   SEO Content Section
   ======================================== */
.seo-content {
    background: var(--gray-100);
    padding: 4rem 0;
}

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

.seo-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.seo-text {
    columns: 2;
    column-gap: 3rem;
}

.seo-text p {
    margin-bottom: 1rem;
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.8;
    break-inside: avoid;
}

.seo-text strong {
    color: var(--primary-dark);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.75rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .about-grid,
    .panel-grid,
    .bodymap-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-visual {
        order: -1;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .seo-text {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

    .nav-link {
        font-size: 1.25rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .tab-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .tab-content {
        padding: 1.5rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-line {
        display: none;
    }

    .step-marker {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

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

    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   Animations for scroll reveal
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Breadcrumbs
   ======================================== */
.breadcrumbs {
    background: rgba(15, 23, 42, 0.98);
    padding: 0.75rem 0;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    line-height: 1.5;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--gray-400);
}

.breadcrumb-item a:hover {
    color: var(--primary-light);
}

.breadcrumb-item {
    white-space: nowrap;
}

.breadcrumb-item.active {
    color: var(--gray-500);
    white-space: normal;
    word-break: break-word;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--gray-600);
}

/* ========================================
   Contextual Introduction
   ======================================== */
.contextual-intro {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-bottom: 1px solid var(--gray-200);
}

.intro-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.intro-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.intro-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.intro-content p {
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.intro-content strong {
    color: var(--primary-dark);
}

/* ========================================
   User Guide Section
   ======================================== */
.user-guide {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
}

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

.guide-header {
    margin-bottom: 2rem;
}

.guide-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 0.5rem;
}

.guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.guide-text p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.guide-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.guide-text h3:first-of-type {
    margin-top: 0;
}

.guide-faq h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.guide-faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.guide-faq-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.guide-faq-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   Latest Articles Section
   ======================================== */
.latest-articles {
    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.article-image {
    height: 160px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-placeholder-img {
    font-size: 4rem;
    opacity: 0.8;
}

.article-content {
    padding: 1.5rem;
}

.article-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.article-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.article-content h3 a {
    color: var(--dark);
}

.article-content h3 a:hover {
    color: var(--primary);
}

.article-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-link {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.article-link:hover {
    color: var(--primary-dark);
}

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

/* ========================================
   Static Page Styles (About, Contact, etc.)
   ======================================== */
.static-page-header {
    background: var(--gradient-dark);
    padding: 6rem 0 4rem;
    margin-top: 100px;
    text-align: center;
}

.static-page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.static-page-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.static-page-content {
    padding: 4rem 0;
}

.static-page-content .container {
    max-width: 800px;
}

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

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.content-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    list-style: disc;
}

.content-section ul li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.feature-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.contact-info {
    margin-top: 1.5rem;
}

.contact-item {
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.notice-box {
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.notice-box.important {
    background: rgba(236, 72, 153, 0.1);
    border-left-color: var(--secondary);
}

.legal-content h3 {
    margin-top: 1.5rem;
}

/* ========================================
   Blog Page Styles
   ======================================== */
.blog-header {
    background: var(--gradient-dark);
    padding: 6rem 0 4rem;
    margin-top: 100px;
}

.blog-header .container {
    max-width: 800px;
}

.blog-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.blog-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.blog-list {
    padding: 4rem 0;
    background: var(--gray-100);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.blog-card-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.blog-card-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.blog-card-content h2 a {
    color: var(--dark);
}

.blog-card-content h2 a:hover {
    color: var(--primary);
}

.blog-card-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-link {
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   Blog Post Page Styles
   ======================================== */
.post-header {
    background: var(--gradient-dark);
    padding: 6rem 0 4rem;
    margin-top: 100px;
}

.post-header .container {
    max-width: 800px;
}

.post-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.post-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 2rem;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.post-content {
    padding: 4rem 0;
    background: var(--white);
}

.post-content .container {
    max-width: 800px;
}

.post-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray-700);
}

.post-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2.5rem 0 1rem;
    padding-top: 1rem;
}

.post-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin: 2rem 0 0.75rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul, .post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body strong {
    color: var(--dark);
}

.post-body a {
    color: var(--primary);
    text-decoration: underline;
}

.post-body a:hover {
    color: var(--primary-dark);
}

.post-cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.post-cta p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.related-posts {
    padding: 4rem 0;
    background: var(--gray-100);
}

.related-posts h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ========================================
   Static Pages (About, Contact, etc.)
   ======================================== */
.page-header {
    background: var(--gradient-dark);
    padding: 8rem 0 4rem;
    margin-top: 60px;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
    max-width: 600px;
}

.page-content {
    padding: 4rem 0;
    background: var(--white);
}

.page-content .container {
    max-width: 800px;
}

.page-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray-700);
}

.page-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 1rem;
}

.page-body p {
    margin-bottom: 1.5rem;
}

.page-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-body li {
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   Responsive Updates
   ======================================== */
@media (max-width: 1024px) {
    .guide-content {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .intro-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .articles-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .breadcrumbs {
        top: 56px;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .back-to-top,
    .scroll-indicator,
    .breadcrumbs {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }
}
