:root {
    --bg-color: #FAF9F6;
    --bg-alt: #F5F5F0;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent: #0071e3;
    --border-color: rgba(0, 0, 0, 0.08);
    --nav-bg: rgba(250, 249, 246, 0.72);
    --logo-vequal: rgba(29, 29, 31, 0.7);
    --logo-ia: rgba(29, 29, 31, 1);
    --shape-color: #1d1d1f;
    --shape-glow: rgba(0, 113, 227, 0.06);
    --timeline-dot: #0D0F14;
    --op-base: 0.4;
    --op-muted: 0.25;
    --op-faint: 0.12;

    --font-main: 'Inter', -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Noto Sans TC', 'Noto Sans SC', 'PingFang TC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Microsoft JhengHei', sans-serif;
    --font-serif: 'Playfair Display', 'Noto Serif TC', 'Noto Serif SC', 'Apple LiSung', 'Songti TC', 'Songti SC', 'STSong', serif;
    
    /* Spacing Scale - Using rem for accessibility-aware scaling */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 7.5rem;
    --space-xxl: 12.5rem;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0D0F14;
        --bg-alt: #12141C;
        --text-primary: #F5F5F7;
        --text-secondary: #949499;
        --accent: #2997ff;
        --border-color: rgba(255, 255, 255, 0.08);
        --nav-bg: rgba(13, 15, 20, 0.72);
        --logo-vequal: rgba(245, 245, 247, 0.7);
        --logo-ia: rgba(245, 245, 247, 1);
        --shape-color: #F5F5F7;
        --shape-glow: rgba(255, 255, 255, 0.08);
        --timeline-dot: #FAF9F6;
        --op-base: 0.3;
        --op-muted: 0.18;
        --op-faint: 0.08;
    }
}

html {
    font-size: 16px;
}

html[lang="zh-tw"] {
    --font-main: 'Inter', 'Noto Sans TC', -apple-system, 'BlinkMacSystemFont', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    --font-serif: 'Noto Serif TC', 'Apple LiSung', 'Songti TC', serif;
}

html[lang="zh-cn"] {
    --font-main: 'Inter', 'Noto Sans SC', -apple-system, 'BlinkMacSystemFont', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-serif: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
}

/* Strictly disable italics for Chinese versions */
html[lang^="zh-"] em, 
html[lang^="zh-"] i, 
html[lang^="zh-"] .italic-serif, 
html[lang^="zh-"] .product-label, 
html[lang^="zh-"] [style*="italic"] {
    font-style: normal !important;
}

html[lang="zh-tw"] body, html[lang="zh-cn"] body {
    line-height: 1.8; /* More vertical air for a more literary feel */
    letter-spacing: 0.05em;
}

html[lang="zh-tw"] .italic-serif, html[lang="zh-cn"] .italic-serif {
    font-weight: 500;
    opacity: 0.9;
}

html[lang="zh-tw"] .product-label, html[lang="zh-cn"] .product-label {
    letter-spacing: 0.12em; /* Expansive, luxury-brand spacing */
    line-height: 1.6;
    font-weight: 300;
}

html[lang="zh-tw"] .typewriter-text, html[lang="zh-cn"] .typewriter-text {
    white-space: normal;
}

html[lang="zh-tw"] .footer-slogan, html[lang="zh-cn"] .footer-slogan {
    letter-spacing: 0.15em;
    font-style: normal;
}

html[lang="fr"] body {
    line-height: 1.6;
    letter-spacing: -0.01em;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s ease;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

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

.animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.navbar {
    min-height: 3.5rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    font-family: 'Lexend', sans-serif;
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--logo-vequal);
    text-transform: uppercase;
    transition: color 0.5s ease;
    flex-shrink: 0;
    z-index: 2;
}

.logo span {
    color: var(--logo-ia);
    font-weight: 600;
}

.logo-img {
    height: 1.5rem;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-md);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 2;
}

.lang-switcher {
    position: relative;
}

.btn-lang {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-lang::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 3px solid var(--text-primary);
    opacity: 0.5;
}

.btn-lang:hover {
    opacity: 1;
    border-color: var(--text-primary);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    list-style: none;
    padding: 8px;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    font-size: 0.75rem;
    padding: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: var(--text-primary);
    white-space: nowrap;
}

.lang-dropdown li a {
    display: block;
    padding: 8px 12px;
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.lang-dropdown li:hover {
    background: rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
    .lang-dropdown li:hover {
        background: rgba(255, 255, 255, 0.06);
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at top, var(--bg-alt) 0%, var(--bg-color) 80%);
    padding: var(--space-xl) 0 var(--space-lg);
}

.hero-content {
    opacity: 0;
    width: 100%;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-primary);
    padding: 0.2rem 0;
}

.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.title-wipe {
    display: inline-block;
    background: linear-gradient(to right, var(--text-primary) 50%, rgba(29, 29, 31, 0.1) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    padding: 0 0.3rem;
    margin-left: -0.3rem;
    opacity: 1;
    transform: translateY(10px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.title-wipe.active {
    animation: text-wipe 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(0);
}

@keyframes text-wipe {
    from { background-position: 100% 0; }
    to { background-position: 0% 0; }
}

.typewriter-text {
    display: inline-block;
    background: linear-gradient(to right, var(--text-primary) 50%, rgba(29, 29, 31, 0.1) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-wipe 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
    white-space: nowrap;
    padding: 0.5rem 1.2rem 0.5rem 0.6rem;
    margin: -0.5rem -1.2rem -0.5rem -0.6rem;
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3125rem);
    color: var(--text-secondary);
    margin-top: var(--space-md);
    max-width: 35rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.2s;
}

.product-section {
    padding: var(--space-xxl) 0;
    position: relative;
    overflow: hidden;
}

.product-section.alternate {
    background-color: var(--bg-alt);
}

.reveal {
    opacity: 0;
    transform: translateY(1.875rem);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

[class$="-canvas"] {
    transition: opacity 0.8s ease-out;
    will-change: transform, opacity;
}

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

.product-label {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    display: block;
    margin-bottom: var(--space-md);
    max-width: 21.25rem;
    padding: 0 0.2rem;
    margin-left: -0.2rem;
}

html[lang="en"] .product-label, 
html[lang="fr"] .product-label {
    font-family: 'Georgia', 'Libre Baskerville', 'Times New Roman', serif;
    font-style: italic;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    opacity: 0.9;
}

html[lang^="zh-"] .product-label {
    font-family: var(--font-serif);
    font-style: normal !important;
    font-size: 1rem;
    letter-spacing: 0.05em;
    font-weight: 300;
}

.accent-line {
    width: 1.5rem;
    height: 1px;
    background-color: var(--text-primary);
    opacity: 0.2;
    margin-bottom: var(--space-md);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-timeline {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: var(--space-sm);
    opacity: 0.6;
    flex-wrap: wrap;
}

.timeline-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--timeline-dot);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border: 1px solid var(--timeline-dot);
    border-radius: 50%;
    animation: pulse-dot 2s infinite ease-out;
}

.timeline-text {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.visual {
    position: relative;
    min-height: 25rem;
    padding: var(--space-md) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, var(--shape-glow) 0%, transparent 70%);
}

.oria-canvas {
    position: relative;
    width: 21.25rem;
    height: 21.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oria-shape {
    position: absolute;
    border: 1.5px solid var(--shape-color);
    border-radius: 50%;
    opacity: var(--op-base);
    box-shadow: 0 0 30px var(--shape-glow);
    animation: breathing 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ring-1 { width: 7.5rem; height: 7.5rem; animation-delay: 0s; }
.ring-2 { width: 13.75rem; height: 13.75rem; animation-delay: 0.6s; opacity: var(--op-muted); }
.ring-3 { width: 20rem; height: 20rem; animation-delay: 1.2s; opacity: var(--op-faint); }

.lamina-canvas {
    position: relative;
    width: 20rem;
    height: 12.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lamina-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    border-left: 1.5px solid var(--shape-color);
    border-right: 1.5px solid var(--shape-color);
    opacity: var(--op-muted);
}

.lamina-lines {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lamina-lines span {
    height: 1.5px;
    background-color: var(--shape-color);
    opacity: var(--op-base);
    animation: scan 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.lamina-lines span:nth-child(1) { width: 11.25rem; animation-delay: 0s; }
.lamina-lines span:nth-child(2) { width: 16.25rem; animation-delay: 0.4s; }
.lamina-lines span:nth-child(3) { width: 13.75rem; animation-delay: 0.8s; }
.lamina-lines span:nth-child(4) { width: 15rem; animation-delay: 1.2s; }
.lamina-lines span:nth-child(5) { width: 10rem; animation-delay: 1.6s; }

.ambra-canvas {
    position: relative;
    width: 13.75rem;
    height: 13.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ambra-outer {
    position: absolute;
    width: 12.5rem;
    height: 12.5rem;
    border: 1.5px solid var(--shape-color);
    transform: rotate(15deg);
    opacity: var(--op-muted);
    animation: lock-rotate 40s linear infinite reverse;
}

.ambra-shape {
    width: 6.25rem;
    height: 6.25rem;
    border: 2px solid var(--shape-color);
    transform: rotate(45deg);
    opacity: var(--op-base);
    animation: lock-rotate 25s linear infinite;
}

@keyframes breathing {
    0%, 100% { transform: scale(0.95); opacity: var(--op-faint); }
    50% { transform: scale(1.05); opacity: var(--op-base); }
}

@keyframes scan {
    0%, 100% { opacity: var(--op-faint); transform: translateX(-0.625rem); }
    50% { opacity: 0.25; transform: translateX(0.625rem); }
}

@keyframes lock-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

footer {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo-inline {
    font-family: 'Lexend', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--logo-vequal);
    text-transform: uppercase;
    margin-right: var(--space-sm);
}

.footer-logo-inline span {
    color: var(--logo-ia);
    font-weight: 600;
}

.footer-copyright {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    opacity: 0.8;
}

.footer-slogan {
    font-family: var(--font-main);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    opacity: 0.7;
    margin-bottom: 0;
}

html[lang="en"] .footer-slogan, 
html[lang="fr"] .footer-slogan {
    font-family: var(--font-main);
    font-style: normal;
}

html[lang^="zh-"] .footer-slogan {
    font-family: var(--font-main);
    font-style: normal !important;
    letter-spacing: 0.08em;
    font-weight: 400;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    .footer-copyright {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-logo-inline {
        margin-right: 0;
    }
}

/* Responsive Refinements - Using relative units for breakpoints when possible */
@media (max-width: 1024px) {
    .grid { gap: var(--space-lg); }
    .product-section { padding: 8.75rem 0; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.75rem; }
    .hero { min-height: 70vh; padding: 7.5rem 0 5rem; }
    
    .grid { display: flex; flex-direction: column; text-align: center; gap: var(--space-lg); }
    .content { order: 2; display: flex; flex-direction: column; align-items: center; }
    .visual { order: 1; min-height: 15rem; width: 100%; }
    
    .product-section { padding: 6.25rem 0; }
    .product-label { margin-left: auto; margin-right: auto; margin-bottom: var(--space-sm); }
    .accent-line { margin-bottom: var(--space-sm); }
    h2.title-wipe { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 0.5rem; }
}

@media (max-width: 480px) {
    .hero { min-height: 75vh; padding: 6.25rem 0 3.75rem; }
}
