/* ==========================================
   M22HK.com - Styles
   Modern, Clean UI for M22 光子嫩膚 Information
   ========================================== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --background: #0f0f1a;
    --background-alt: #1a1a2e;
    --surface: #16162a;
    --surface-light: #1e1e3f;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(236, 72, 153, 0.3) 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

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

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

a {
    color: inherit;
    text-decoration: none;
    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 24px;
}

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

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-weight: 400;
    opacity: 0.8;
}

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

.nav-menu a {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
}

.nav-menu a:hover {
    color: var(--text);
}

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

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

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

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

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
}

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

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

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-30px) translateX(10px); }
    50% { transform: translateY(-15px) translateX(-10px); }
    75% { transform: translateY(-40px) translateX(5px); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-glow);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-weight: 500;
    color: white;
    transition: var(--transition);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.hero-cta svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ==========================================
   Section Base Styles
   ========================================== */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
}

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

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

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

.about-text {
    margin-bottom: 32px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
}

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

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.visual-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.visual-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.visual-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.visual-specs {
    padding: 24px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.spec-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.spec-value {
    color: var(--text);
    font-weight: 500;
}

/* ==========================================
   Benefits Section
   ========================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

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

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   Treatment Section
   ========================================== */
.treatment {
    background: var(--background-alt);
}

.treatment-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--text);
}

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

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

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

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

.treatment-item {
    text-align: center;
    padding: 28px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.treatment-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.treatment-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.treatment-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.treatment-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   Process Section
   ========================================== */
.process-timeline {
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

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

.timeline-number {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.timeline-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.timeline-duration {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-glow);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
}

.process-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.info-icon {
    font-size: 2rem;
}

.info-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
}

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

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--surface-light);
    font-weight: 600;
    font-size: 0.95rem;
}

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

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

.comparison-table td.highlight {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text);
    font-weight: 500;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-note {
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================
   Filter Demo Section
   ========================================== */
.filter-demo {
    background: var(--background);
}

.filter-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.filter-visual {
    margin-bottom: 40px;
}

.filter-display {
    position: relative;
    height: 200px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.filter-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--filter-color, rgba(0, 255, 136, 0.3)) 0%, transparent 70%);
    transition: background 0.5s ease;
}

.filter-info {
    position: relative;
    text-align: center;
    z-index: 1;
}

.filter-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.filter-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 400px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--text);
}

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

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

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

.faq-item {
    margin-bottom: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    transition: var(--transition);
}

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

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--text-muted);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    stroke: var(--primary-light);
}

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

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

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ==========================================
   SEO Content Section
   ========================================== */
.seo-content {
    background: var(--background);
    padding: 80px 0;
}

.seo-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.seo-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text);
}

.seo-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 16px;
}

.seo-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--surface);
    padding: 60px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

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

.disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

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

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: var(--surface);
        padding: 80px 32px 32px;
        gap: 24px;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .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);
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .tab-buttons {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

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

    .process-timeline::before {
        left: 20px;
    }

    .timeline-item {
        gap: 20px;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .seo-wrapper {
        padding: 24px;
    }
}

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

    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
        font-size: 0.8rem;
    }
}

/* ==========================================
   Animations
   ========================================== */
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.benefit-card:nth-child(1) { animation-delay: 0s; }
.benefit-card:nth-child(2) { animation-delay: 0.1s; }
.benefit-card:nth-child(3) { animation-delay: 0.2s; }
.benefit-card:nth-child(4) { animation-delay: 0.3s; }
.benefit-card:nth-child(5) { animation-delay: 0.4s; }
.benefit-card:nth-child(6) { animation-delay: 0.5s; }

/* ==========================================
   Active Navigation State
   ========================================== */
.nav-menu a.active {
    color: var(--primary-light);
}

.nav-menu a.active::after {
    width: 100%;
}

/* ==========================================
   Breadcrumbs
   ========================================== */
.breadcrumbs {
    padding: 100px 0 20px;
    background: var(--background);
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

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

.breadcrumbs .separator {
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumbs .current {
    color: var(--text);
}

/* ==========================================
   Page Header
   ========================================== */
.page-header {
    padding: 40px 0 60px;
    background: var(--background);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   Page Content (About, Contact, Legal)
   ========================================== */
.page-content {
    background: var(--background);
}

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

.content-block {
    margin-bottom: 40px;
}

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

.content-block h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.content-block h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-light);
}

.content-block p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.content-list {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.content-list li {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 8px;
}

.content-list strong {
    color: var(--text);
}

/* Legal Content Specific */
.legal-content .content-wrapper {
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* ==========================================
   About Page Specific
   ========================================== */
.about-intro {
    text-align: center;
    margin-bottom: 60px;
}

.about-intro .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.value-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-disclaimer {
    margin-top: 60px;
    padding: 32px;
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: var(--radius-lg);
    text-align: center;
}

.about-disclaimer h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.about-disclaimer p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

/* ==========================================
   Contact Page Specific
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.contact-info > p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-methods {
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.method-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.method-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-note {
    padding: 24px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius);
}

.contact-note h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.contact-note p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-note p:last-child {
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-light);
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Contact FAQ */
.contact-faq {
    background: var(--background-alt);
}

.contact-faq h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
}

.faq-simple {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.faq-simple-item {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.faq-simple-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-simple-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

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

/* ==========================================
   Blog Article Page
   ========================================== */
.blog-article {
    padding: 40px 0 80px;
    background: var(--background);
}

.article-header {
    text-align: center;
    margin-bottom: 48px;
}

.article-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-glow);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.blog-article .article-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Article Content */
.article-content {
    max-width: 720px;
    margin: 0 auto;
}

.article-content .lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 16px;
    color: var(--text);
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--text-light);
}

.article-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

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

.article-content a:hover {
    text-decoration: underline;
}

.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-content li {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Article CTA */
.article-cta {
    margin-top: 48px;
    padding: 32px;
    background: var(--gradient-glow);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.article-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.article-cta a {
    color: var(--primary-light);
    font-weight: 600;
}

/* Article Footer */
.article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.article-tags span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-tags a {
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.article-tags a:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

/* ==========================================
   Blog Index / Listing Page
   ========================================== */
.blog-categories {
    padding: 20px 0 40px;
    background: var(--background);
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.category-btn {
    padding: 10px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.category-btn:hover {
    border-color: var(--primary);
    color: var(--text);
}

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

.blog-listing {
    padding: 0 0 80px;
    background: var(--background);
}

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

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.blog-card-content {
    padding: 28px;
}

.blog-card .blog-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-glow);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

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

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

.blog-card > .blog-card-content > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.blog-card .read-more {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-light);
}

.blog-card .read-more:hover {
    text-decoration: underline;
}

/* Blog Newsletter */
.blog-newsletter {
    padding: 60px 0;
    background: var(--background-alt);
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.newsletter-box h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.newsletter-box p {
    font-size: 1rem;
    color: var(--text-muted);
}

.newsletter-box a {
    color: var(--primary-light);
}

.newsletter-box a:hover {
    text-decoration: underline;
}

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

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

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

.article-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.article-card .card-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-glow);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-card h3 a {
    color: var(--text);
}

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

.article-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .read-more {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
}

.article-card .read-more:hover {
    text-decoration: underline;
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

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

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

/* ==========================================
   Contextual Introduction Section
   ========================================== */
.intro-section {
    background: var(--background-alt);
    padding: 80px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 16px;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   User Guide Section
   ========================================== */
.user-guide {
    background: var(--background);
}

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

.guide-intro {
    text-align: center;
    margin-bottom: 48px;
}

.guide-intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.guide-questions {
    display: grid;
    gap: 24px;
}

.guide-item {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.guide-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.guide-item p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}
