/* ============================================
   PICO LASER HK - Styles
   Modern, Clean UI for Hong Kong Market
   ============================================ */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);

    --font-sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

ul {
    list-style: none;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-800);
}

.nav-logo:hover {
    color: var(--gray-800);
}

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

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--gray-100);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 1rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .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 SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    overflow: hidden;
}

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

.particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

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

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.title-sub {
    display: block;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 300;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-300);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    display: inline;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 0.25rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    color: white;
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray-400);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--gray-50);
}

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

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

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
}

/* ============================================
   WHAT IS SECTION
   ============================================ */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.intro-text p {
    margin-bottom: 1rem;
}

.intro-text strong {
    color: var(--gray-800);
}

/* Timeline */
.timeline {
    margin-top: 2.5rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.timeline-items {
    position: relative;
    padding-left: 2rem;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    transform: translateX(-5px);
}

.timeline-year {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

/* Pulse Demo */
.pulse-demo {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

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

.pulse-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.pulse-comparison {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.pulse-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pulse-bar {
    flex: 1;
    height: 40px;
    background: var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.pulse-wave {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    border-radius: var(--radius);
    transition: width 0.3s ease;
}

.pulse-item.traditional .pulse-wave {
    background: var(--gray-400);
}

.pulse-item.pico .pulse-wave {
    background: var(--gradient-primary);
}

.pulse-item.traditional.active .pulse-wave {
    animation: pulseLong 2s ease-in-out;
}

.pulse-item.pico.active .pulse-wave {
    animation: pulseShort 0.3s ease-out 0.5s;
}

@keyframes pulseLong {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

@keyframes pulseShort {
    0% { width: 0; }
    20% { width: 100%; }
    100% { width: 0; }
}

.pulse-name {
    min-width: 100px;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.pulse-time {
    min-width: 80px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.pulse-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.pulse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.mechanism-interactive {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mechanism-tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
    overflow-x: auto;
}

.mechanism-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    font-weight: 500;
    color: var(--gray-500);
    background: var(--gray-50);
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.mechanism-tab:hover {
    color: var(--gray-700);
    background: white;
}

.mechanism-tab.active {
    color: var(--primary);
    background: white;
    border-bottom-color: var(--primary);
}

.tab-icon {
    font-size: 1.25rem;
}

.mechanism-content {
    padding: 2rem;
}

.mechanism-panel {
    display: none;
}

.mechanism-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

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

@media (max-width: 800px) {
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

.panel-info > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

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

.info-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.list-icon {
    font-size: 1.25rem;
    line-height: 1.5;
}

.info-list li div strong {
    display: block;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.info-list li div p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

/* Skin Diagram */
.skin-diagram {
    position: relative;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.skin-layer {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 1rem;
}

.skin-layer.epidermis {
    top: 0;
    height: 40%;
    background: linear-gradient(180deg, #fce4ec 0%, #f8bbd9 100%);
}

.skin-layer.dermis {
    top: 40%;
    height: 60%;
    background: linear-gradient(180deg, #ffccbc 0%, #ffab91 100%);
}

.layer-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
}

.pigment {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 15px;
    height: 15px;
    background: #5d4037;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.pigment.large {
    width: 25px;
    height: 25px;
}

.laser-beam {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.8), rgba(99, 102, 241, 0.8));
    transform: translateX(-50%);
    transition: height 0.3s ease;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.6);
}

.laser-beam.active {
    height: 100%;
}

.shatter-effect {
    position: absolute;
    pointer-events: none;
}

.shatter-effect.active .fragment {
    animation: shatter 0.6s ease-out forwards;
}

@keyframes shatter {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.3);
    }
}

.demo-trigger {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.demo-trigger:hover {
    background: var(--gray-200);
}

/* Wavelength Chart */
.wavelength-chart {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    height: 250px;
    padding: 1rem;
}

.wavelength-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.wave-bar {
    width: 60px;
    height: var(--height);
    background: var(--color);
    border-radius: var(--radius) var(--radius) 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.5rem;
    transition: transform var(--transition);
}

.wave-bar:hover {
    transform: scaleY(1.05);
}

.wave-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.wave-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.wave-target {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Honeycomb Demo */
.honeycomb-demo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.honeycomb-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hex-row {
    display: flex;
    gap: 8px;
}

.hex-row.offset {
    margin-left: 30px;
}

.hex {
    width: 50px;
    height: 55px;
    background: var(--gray-200);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all var(--transition);
}

.hex:hover, .hex.active {
    background: var(--primary);
}

.honeycomb-effect {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.liob-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: liob 2s ease-in-out infinite;
}

.liob-point:nth-child(1) {
    left: 45%;
    top: 40%;
    animation-delay: 0s;
}

.liob-point:nth-child(2) {
    left: 55%;
    top: 50%;
    animation-delay: 0.5s;
}

.liob-point:nth-child(3) {
    left: 48%;
    top: 60%;
    animation-delay: 1s;
}

@keyframes liob {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(2); }
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

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

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

.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
}

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

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.benefit-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.benefit-progress {
    position: relative;
}

.progress-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: var(--progress);
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: progressFill 1s ease-out;
}

@keyframes progressFill {
    from { width: 0; }
    to { width: var(--progress); }
}

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

/* ============================================
   TREATMENT AREAS SECTION
   ============================================ */
.treatment-interactive {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 800px) {
    .treatment-interactive {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.body-map {
    position: relative;
    display: flex;
    justify-content: center;
}

.body-outline {
    width: 200px;
    height: auto;
}

.body-part {
    fill: var(--gray-200);
    stroke: var(--gray-300);
    stroke-width: 1;
    transition: all var(--transition);
    cursor: pointer;
}

.body-part:hover, .body-part.active {
    fill: rgba(99, 102, 241, 0.3);
    stroke: var(--primary);
    stroke-width: 2;
}

.hotspot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.hotspot-dot {
    display: block;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.hotspot:hover .hotspot-dot {
    transform: scale(1.3);
    background: var(--secondary);
}

.hotspot-label {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    margin-top: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--gray-800);
    color: white;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.hotspot:hover .hotspot-label {
    opacity: 1;
    visibility: visible;
}

.treatment-details {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.detail-card {
    display: none;
}

.detail-card.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.detail-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.detail-card > p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.detail-card ul {
    margin-bottom: 1.5rem;
}

.detail-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.detail-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.detail-meta {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.9rem;
    color: var(--gray-600);
}

.detail-meta strong {
    color: var(--gray-800);
}

/* Skin Types */
.subsection-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: 1.5rem;
}

.skin-types {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.skin-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    min-width: 100px;
}

.skin-tone {
    width: 50px;
    height: 50px;
    background: var(--tone);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.skin-label {
    font-weight: 700;
    color: var(--gray-800);
}

.skin-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.skin-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
}

.skin-status.suitable {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.skin-status.caution {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.skin-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 1.5rem;
}

/* ============================================
   COMPARISON SECTION
   ============================================ */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 3rem;
}

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

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

.comparison-table th {
    background: var(--gray-800);
    color: white;
    font-weight: 600;
}

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

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

.comparison-table tbody tr:hover {
    background: var(--gray-50);
}

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

/* Comparison Visual */
.comparison-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.compare-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.compare-diagram {
    width: 200px;
    height: 150px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.compare-diagram p {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin: 0;
}

.laser-pulse {
    height: 8px;
    border-radius: 4px;
}

.laser-pulse.long {
    width: 120px;
    background: var(--gray-400);
}

.laser-pulse.short {
    width: 30px;
    background: var(--gradient-primary);
}

.pigment-particles {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pigment-particles.large span {
    width: 16px;
    height: 16px;
    background: #5d4037;
    border-radius: 50%;
}

.pigment-particles.small span {
    width: 6px;
    height: 6px;
    background: #8d6e63;
    border-radius: 50%;
}

.compare-arrow {
    font-size: 2rem;
    color: var(--gray-400);
}

@media (max-width: 600px) {
    .compare-arrow {
        transform: rotate(90deg);
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

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

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

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

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

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

.faq-answer p,
.faq-answer ul {
    padding: 0 1.5rem;
    color: var(--gray-600);
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
    padding-bottom: 1.5rem;
}

.faq-answer ul {
    padding-left: 3rem;
}

.faq-answer ul li {
    position: relative;
    margin-bottom: 0.5rem;
}

.faq-answer ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary);
}

/* ============================================
   SEO SECTION
   ============================================ */
.seo-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

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

.seo-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    text-align: center;
}

.seo-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    text-align: justify;
}

.seo-keywords {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.seo-keywords span {
    font-weight: 600;
    color: var(--gray-700);
}

.seo-keywords a {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.seo-keywords a:hover {
    background: var(--primary);
    color: white;
}

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

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo:hover {
    color: white;
}

.footer-desc {
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

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

.footer-column ul li a:hover {
    color: white;
}

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

.copyright {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

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

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

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

/* ============================================
   UTILITIES & ANIMATIONS
   ============================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Intersection Observer Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb-container {
    background: var(--gray-50);
    padding: 1rem 0;
    margin-top: 70px;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gray-400);
}

.breadcrumb a {
    color: var(--gray-600);
    transition: color var(--transition);
}

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

.breadcrumb li.active {
    color: var(--gray-800);
    font-weight: 500;
}

/* ============================================
   PAGE CONTENT (Non-home pages)
   ============================================ */
.page-content {
    padding: 3rem 0 5rem;
    min-height: calc(100vh - 400px);
}

/* ============================================
   BLOG INDEX PAGE
   ============================================ */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

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

.blog-card-image {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder {
    font-size: 4rem;
    opacity: 0.6;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

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

.blog-card-content h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

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

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

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

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.read-more {
    color: var(--primary);
    font-weight: 500;
    transition: color var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.blog-cta h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.blog-cta p {
    color: var(--gray-600);
}

/* ============================================
   BLOG POST PAGE
   ============================================ */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

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

.post-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.post-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.post-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.post-content .lead {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.post-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 2.5rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.25rem;
}

.post-content ul,
.post-content ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 0.5rem;
    position: relative;
}

.post-content ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary);
}

.post-content ol {
    list-style: decimal;
}

.post-content strong {
    color: var(--gray-800);
}

.post-content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(99, 102, 241, 0.3);
    text-underline-offset: 2px;
}

.post-content a:hover {
    text-decoration-color: var(--primary);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2.5rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.post-tags .tag {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.875rem;
    border-radius: var(--radius-full);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.post-navigation a {
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition);
}

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

.related-posts {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.related-posts h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.related-posts ul li {
    margin-bottom: 0.75rem;
}

.related-posts ul li a {
    color: var(--gray-600);
    transition: color var(--transition);
}

.related-posts ul li a:hover {
    color: var(--primary);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page {
    max-width: 900px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.about-header .lead {
    font-size: 1.25rem;
    color: var(--gray-600);
}

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

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

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

.mission-list {
    margin-top: 1.5rem;
}

.mission-list li {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

.mission-list li strong {
    display: block;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.mission-list li p {
    margin: 0;
    font-size: 0.9rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-item {
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 0.9rem;
    margin: 0;
}

.commitment-box {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.commitment-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.commitment-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.commitment-item p {
    margin: 0;
    font-size: 0.95rem;
}

.disclaimer-box {
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-lg);
}

.disclaimer-box p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

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

.contact-info h2,
.contact-form-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.contact-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

.contact-notice {
    margin-top: 2rem;
    padding: 1.25rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-lg);
}

.contact-notice h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-notice p {
    font-size: 0.9rem;
    margin: 0;
}

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

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

.form-group label {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 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.1);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.btn-primary {
    padding: 0.875rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--success);
    color: white;
    font-size: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray-600);
}

.faq-quick {
    margin-top: 3rem;
    text-align: center;
}

.faq-quick h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.faq-quick > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    color: var(--gray-700);
    font-weight: 500;
    transition: all var(--transition);
}

.quick-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.quick-icon {
    font-size: 1.25rem;
}

/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.5rem 0 0.75rem;
}

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

.legal-content ul {
    margin: 1rem 0 1rem 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
    position: relative;
}

.legal-content ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary);
}

/* ============================================
   NAV ACTIVE STATE FOR SUB-PAGES
   ============================================ */
.nav-link.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

/* ============================================
   CONTEXTUAL INTRO & USER GUIDE SECTIONS
   ============================================ */
.intro-section {
    padding: 3rem 0;
    background: white;
}

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

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

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

.user-guide-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

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

.user-guide-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    text-align: center;
}

.user-guide-content > p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guide-step {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.guide-step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.guide-step p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

.guide-links {
    text-align: center;
    margin-top: 2rem;
}

.guide-links p {
    color: var(--gray-600);
}

/* ============================================
   LATEST ARTICLES SECTION
   ============================================ */
.articles-section {
    padding: 4rem 0;
    background: white;
}

.articles-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.articles-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.articles-header p {
    color: var(--gray-600);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.articles-cta {
    text-align: center;
    margin-top: 2rem;
}

.articles-cta a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.articles-cta a:hover {
    background: var(--primary);
    color: white;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-bg,
    .scroll-indicator,
    .back-to-top,
    .demo-trigger,
    .pulse-btn,
    .mechanism-tabs,
    .breadcrumb-container {
        display: none !important;
    }

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

    .section {
        padding: 2rem 0;
    }

    .page-content {
        margin-top: 0;
    }
}
