:root {
    /* Color Palette - Soft Minimalism & Medical Aesthetics */
    --c-bg: #faf9f6;          /* Pearl White */
    --c-surface: #ffffff;     /* Pure White */
    --c-surface-shade: #f4ecf0; /* Very soft rose/beige tint */
    
    --c-text: #2c3539;        /* Gunmetal / Deep Grey for softer contrast than pure black */
    --c-text-dim: #79838a;
    
    /* Rose Gold & Champagne Accents */
    --c-rose-light: #f7e7ce;
    --c-rose-main: #b76e79;
    --c-rose-dark: #8b515b;
    
    --g-rose: linear-gradient(135deg, var(--c-rose-light) 0%, var(--c-rose-main) 50%, var(--c-rose-dark) 100%);
    --g-rose-text: linear-gradient(to right, #b76e79, #9c5c66);
    
    --c-border: rgba(183, 110, 121, 0.15); /* Rose gold border with high transparency */
    
    /* Typography */
    --f-heading: 'Noto Serif TC', serif;
    --f-body: 'Noto Sans TC', sans-serif;
    
    /* Spacing */
    --s-xs: 0.5rem;
    --s-sm: 1rem;
    --s-md: 2rem;
    --s-lg: 4rem;
    --s-xl: 6rem;
    --s-xxl: 10vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--c-bg); /* Prevents white flashes during scroll bounce */
}

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--f-body);
    font-weight: 300;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Glowing Background Effect */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: var(--c-bg);
}

.glow-orb {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%; left: -10%;
    background: radial-gradient(circle, #f7e7ce 0%, transparent 70%);
    animation-delay: 0s;
}

.orb-2 {
    bottom: -20%; right: -10%;
    background: radial-gradient(circle, #f4dbdb 0%, transparent 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%; left: 40%;
    width: 40vw; height: 40vw;
    background: radial-gradient(circle, #fdfbf7 0%, transparent 60%);
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

/* Glassmorphism Blur Base */
.blur-bg {
    background: rgba(250, 249, 246, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-heading);
    color: var(--c-text);
    line-height: 1.3;
    font-weight: 400; /* Softer weight for elegance */
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Text Utilities */
.highlight-rose {
    background: var(--g-rose-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--c-rose-main);
    margin-bottom: var(--s-md);
    font-family: var(--f-body);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-sm);
    padding: 1.1rem 2.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: var(--f-body);
    border-radius: 50px; /* High-end rounded pill buttons */
}

.btn-primary {
    background: var(--g-rose);
    color: var(--c-surface);
    font-weight: 500;
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(183, 110, 121, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--c-rose-main);
    border: 1px solid var(--c-rose-main);
}

.btn-secondary:hover {
    background: var(--c-rose-main);
    color: var(--c-surface);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--c-border);
    color: var(--c-text);
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 50px;
}

.btn-outline:hover {
    border-color: var(--c-rose-main);
    color: var(--c-rose-main);
    background: transparent;
}

.btn.lg {
    padding: 1.5rem 3.5rem;
    font-size: 1.1rem;
}

/* Shadow Utility */
.shadow-elegant {
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--c-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    font-family: var(--f-heading);
    font-size: 2rem;
    color: var(--c-rose-main);
    letter-spacing: 0.2em;
    margin-bottom: var(--s-md);
    opacity: 0;
}

.loader-line-wrap {
    width: 200px;
    height: 1px;
    background: var(--c-border);
    position: relative;
    overflow: hidden;
}

.loader-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-rose-main);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: var(--s-md) 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(250, 249, 246, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
}

.header-logo {
    font-family: var(--f-heading);
    font-size: 1.5rem;
    color: var(--c-text);
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: var(--s-sm);
}

.header-logo .en-sub {
    font-family: var(--f-body);
    font-size: 0.65rem;
    color: var(--c-text-dim);
    letter-spacing: 0.2em;
    border-left: 1px solid var(--c-border);
    padding-left: var(--s-sm);
}

.header-nav {
    display: flex;
    gap: var(--s-md);
    align-items: center;
}

.header-nav a:not(.btn) {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--c-text);
    position: relative;
}

.hover-fade {
    transition: color 0.3s;
}

.hover-fade:hover {
    color: var(--c-rose-main);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5vw;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: -5%;
    z-index: -2;
    opacity: 0.4; /* Very subtle image */
    mix-blend-mode: multiply;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.3) hue-rotate(330deg) saturate(0.5) contrast(0.9);
}

.hero-content {
    max-width: 900px;
    margin-top: 5vh;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--c-rose-main);
    color: var(--c-rose-main);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: var(--s-md);
    border-radius: 50px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    margin-bottom: var(--s-lg);
    line-height: 1.25;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 10px;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(110%);
}

.hero-cta {
    display: flex;
    gap: var(--s-md);
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: var(--s-lg);
    left: 5vw;
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--c-text-dim);
    transform: rotate(-90deg);
    transform-origin: left bottom;
}

.scroll-down .line-pulse {
    width: 40px;
    height: 1px;
    background: var(--c-text-dim);
    animation: stretch 2s infinite ease-in-out;
}

@keyframes stretch {
    0%, 100% { transform: scaleX(0.5); transform-origin: left; opacity: 0.3; }
    50% { transform: scaleX(1); transform-origin: left; opacity: 1; }
}

/* Services */
.services {
    padding: var(--s-xxl) 0;
    position: relative;
    z-index: 1;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--s-xxl);
    align-items: center;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    margin-bottom: var(--s-md);
    color: var(--c-text);
}

.service-desc {
    font-size: 1.1rem;
    color: var(--c-text-dim);
    margin-bottom: var(--s-lg);
    max-width: 500px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-md);
}

.service-list li {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    color: var(--c-text);
}

.bullet {
    width: 6px;
    height: 6px;
    background: var(--g-rose);
    border-radius: 50%;
    display: inline-block;
}

.service-visual .image-mask {
    width: 100%;
    height: 700px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    border-radius: 200px 200px 0 0; /* Arched luxury shape commonly used in beauty/interior */
}

.service-visual img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    filter: brightness(1.05) contrast(0.95) saturate(0.85);
}

/* Philosophy */
.philosophy {
    padding-top: var(--s-xxl);
}

.philosophy-content {
    margin-bottom: var(--s-xxl);
    max-width: 900px;
}

.philosophy-header h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    margin-bottom: var(--s-xl);
}

.philosophy-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-xl);
}

.philosophy-col p {
    margin-bottom: var(--s-md);
    font-size: 1.05rem;
    color: var(--c-text-dim);
    line-height: 2;
}

.quote-wrapper {
    position: relative;
    margin-top: var(--s-lg);
}

.large-quote {
    font-family: var(--f-heading);
    font-size: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.philosophy-banner {
    width: 100%;
    height: 70vh;
    position: relative;
    overflow: hidden;
}

.philosophy-banner img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    filter: sepia(0.1) hue-rotate(330deg) brightness(1.05);
}

/* FAQ Section */
.faq-section {
    padding: var(--s-xxl) 0;
}

.faq-list {
    max-width: 800px;
    margin: var(--s-xl) auto 0;
    border-top: 1px solid var(--c-border);
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--s-lg) 0;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question h3 {
    font-size: 1.25rem;
    font-family: var(--f-body);
    font-weight: 500;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon .h-line, .faq-icon .v-line {
    position: absolute;
    background: var(--c-text-dim);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s;
}

.faq-icon .h-line { width: 100%; height: 1px; }
.faq-icon .v-line { width: 1px; height: 100%; }

.faq-item.active .v-line { transform: rotate(90deg); opacity: 0; }
.faq-item.active .h-line { background: var(--c-rose-main); }
.faq-item.active h3 { color: var(--c-rose-main); }

.faq-answer {
    height: 0;
    overflow: hidden;
    color: var(--c-text-dim);
    font-size: 1.05rem;
    padding-right: var(--s-lg);
}

/* CTA */
.cta-banner {
    padding: var(--s-xxl) 0;
    position: relative;
}

.cta-banner h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    margin-bottom: var(--s-lg);
}

.relative-z {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    padding-top: var(--s-xl);
    border-top: 1px solid var(--c-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--s-xl);
    padding-bottom: var(--s-lg);
    border-bottom: 1px solid var(--c-border);
}

.footer-logo {
    font-size: 1.6rem;
    margin-bottom: var(--s-sm);
}

.footer-desc {
    color: var(--c-text-dim);
    max-width: 400px;
    font-size: 0.95rem;
}

.footer-links-group {
    display: flex;
    gap: var(--s-xl);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--s-sm);
}

.footer-links h4 {
    color: var(--c-rose-main);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: var(--s-xs);
    font-family: var(--f-body);
}

.footer-links a {
    color: var(--c-text-dim);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--c-rose-main);
}

.footer-bottom {
    padding: var(--s-md) 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--c-text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* Utils */
.delay-1 { transition-delay: 0.2s; }

/* Responsive adjustments */
@media (max-width: 900px) {
    .service-grid, .philosophy-body, .footer-grid, .footer-links-group {
        grid-template-columns: 1fr;
        gap: var(--s-lg);
    }
    
    .header-nav { display: none; }
    .service-visual .image-mask { height: 500px; }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--s-sm);
        text-align: center;
    }
}
