/* ============================================
   向莹莹个人网站 — 维多利亚田园茶会风
   Victorian Pastoral Tea Party
   柔和褪色马卡龙色系 · 破损做旧质感 · 蕾丝碎花 · 温馨治愈
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #D4A0B9;
    --primary-light: #E8C4D4;
    --primary-lighter: rgba(212, 160, 185, 0.1);
    --primary-bg: rgba(212, 160, 185, 0.08);
    --primary-dark: #B87A9A;
    --primary-glow: rgba(212, 160, 185, 0.25);

    --lavender: #C3B1E1;
    --lavender-light: #DDD0F0;
    --lavender-dark: #9F8BC5;
    --mint: #A8D8C8;
    --mint-light: #C8E8DC;
    --mint-dark: #7BBFAC;
    --peach: #F5C6AA;
    --peach-light: #F8D8C4;
    --peach-dark: #E0A882;
    --rose: #E8A0BF;
    --rose-light: #F0C0D8;

    --bg-primary: #FFF8F0;
    --bg-secondary: #FEF0E8;
    --bg-card: #FFFBF5;
    --bg-card-alt: #FFF5EE;
    --bg-nav: rgba(255, 248, 240, 0.88);

    --text-primary: #5C4A4A;
    --text-secondary: #8A7070;
    --text-muted: #B09898;
    --text-inverse: #FFF8F0;

    --border-color: rgba(212, 160, 185, 0.25);
    --border-light: rgba(212, 160, 185, 0.12);

    --shadow-sm: 0 2px 8px rgba(92, 74, 74, 0.06);
    --shadow-md: 0 4px 16px rgba(92, 74, 74, 0.08);
    --shadow-lg: 0 8px 32px rgba(92, 74, 74, 0.1);
    --shadow-xl: 0 16px 48px rgba(92, 74, 74, 0.12);
    --shadow-glow: 0 0 24px rgba(212, 160, 185, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --font-serif: Georgia, "Noto Serif SC", "Source Han Serif SC", serif;
    --font-sans: "Segoe UI", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
}

/* ---------- Dark Mode — Moonlit Tea Garden ---------- */
[data-theme="dark"] {
    --primary: #D4A0B9;
    --primary-light: #C89AAF;
    --primary-lighter: rgba(212, 160, 185, 0.08);
    --primary-bg: rgba(212, 160, 185, 0.06);
    --primary-dark: #E0B0C8;
    --primary-glow: rgba(212, 160, 185, 0.15);

    --lavender: #B8A5D4;
    --lavender-light: #A898C0;
    --lavender-dark: #C8B8E0;
    --mint: #90C4B4;
    --mint-light: #80B8A6;
    --mint-dark: #A8D4C4;
    --peach: #E0B498;
    --peach-light: #D0A888;
    --rose: #D490AE;

    --bg-primary: #1E1418;
    --bg-secondary: #261A20;
    --bg-card: #2A1E24;
    --bg-card-alt: #30222A;
    --bg-nav: rgba(30, 20, 24, 0.92);

    --text-primary: #F0E4E4;
    --text-secondary: #C0A8A8;
    --text-muted: #8A7070;

    --border-color: rgba(212, 160, 185, 0.18);
    --border-light: rgba(212, 160, 185, 0.08);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 24px rgba(212, 160, 185, 0.12);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.75;
    transition: background-color var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Vintage paper texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.025;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(92, 74, 74, 0.08) 2px,
            rgba(92, 74, 74, 0.08) 3px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(92, 74, 74, 0.05) 3px,
            rgba(92, 74, 74, 0.05) 4px
        );
}

[data-theme="dark"] body::after {
    opacity: 0.04;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(200, 180, 180, 0.06) 2px,
            rgba(200, 180, 180, 0.06) 3px
        );
}

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

img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

::selection {
    background: var(--primary);
    color: #fff;
}

/* =============================================
   LOADING SCREEN
   ============================================= */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px dashed var(--primary-light);
    animation: loaderSpin 4s linear infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

.loader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

.loader-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    font-family: var(--font-serif);
    animation: loaderFade 1.5s ease-in-out infinite;
}

@keyframes loaderFade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--lavender), var(--mint), var(--peach));
    z-index: 1001;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(212, 160, 185, 0.3);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px dashed var(--border-light);
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    font-family: var(--font-serif);
    color: var(--text-primary);
    transition: transform var(--transition);
}
.nav-logo:hover { transform: scale(1.05); }

.logo-icon {
    font-size: 1.4rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(8deg); }
}

.logo-text {
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
    font-family: var(--font-serif);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    border-radius: 1px;
    transition: all var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
    background: var(--primary-bg);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--primary-light);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--rose)) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 2px 10px rgba(212, 160, 185, 0.25);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 160, 185, 0.35);
}

.theme-toggle {
    background: none;
    border: 1.5px dashed var(--border-color);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: all var(--transition);
}
.theme-toggle:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
    transform: rotate(20deg);
}

.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: inline; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}
.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 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
    position: relative;
    overflow: hidden;
    /* Soft macaron gradient */
    background: linear-gradient(170deg, #FDE8F0 0%, #EDE0F4 30%, #E0F0EA 60%, #FDE8D8 100%);
}

[data-theme="dark"] .hero {
    background: linear-gradient(170deg, #2A1820 0%, #201828 30%, #182420 60%, #281E18 100%);
}

/* Soft vignette */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(253, 232, 240, 0.3) 100%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .hero::after {
    background: radial-gradient(ellipse at center, transparent 50%, rgba(30, 20, 24, 0.4) 100%);
}

#particleCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(70px);
}

.shape-1 {
    width: 450px; height: 450px;
    top: -120px; right: -120px;
    background: var(--primary);
    animation: float1 12s ease-in-out infinite;
}
.shape-2 {
    width: 350px; height: 350px;
    bottom: -80px; left: -100px;
    background: var(--lavender);
    animation: float2 15s ease-in-out infinite;
}
.shape-3 {
    width: 280px; height: 280px;
    top: 40%; left: 55%;
    background: var(--mint);
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.08); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.1); }
}
@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -20px); }
    75% { transform: translate(-15px, 15px); }
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.5);
    border: 1px dashed var(--primary-light);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(212, 160, 185, 0.12);
    backdrop-filter: blur(10px);
    font-family: var(--font-serif);
    letter-spacing: 0.08em;
}

[data-theme="dark"] .hero-badge {
    background: rgba(42, 30, 36, 0.5);
    color: var(--primary-light);
    border-color: rgba(212, 160, 185, 0.3);
}

.hero-greeting {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
}

.hero-name {
    font-size: 3.8rem;
    font-weight: 800;
    font-family: var(--font-serif);
    background: linear-gradient(135deg, var(--primary-dark), var(--lavender-dark), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    animation: gradientShift 4s ease-in-out infinite;
}

[data-theme="dark"] .hero-name {
    background: linear-gradient(135deg, var(--primary-light), var(--lavender-light), var(--primary-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 3rem;
    background: var(--primary);
    margin-left: 4px;
    vertical-align: middle;
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 16px;
    font-weight: 500;
    font-family: var(--font-serif);
    letter-spacing: 0.1em;
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-family: var(--font-serif);
}

.hero-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.45);
    border: 1px dashed var(--border-color);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: 0 2px 8px rgba(92, 74, 74, 0.06);
    transition: all var(--transition);
    backdrop-filter: blur(6px);
    font-family: var(--font-serif);
}
.tag:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(212, 160, 185, 0.15);
    background: rgba(212, 160, 185, 0.08);
}

[data-theme="dark"] .tag {
    background: rgba(42, 30, 36, 0.4);
    border-color: rgba(212, 160, 185, 0.2);
    color: var(--text-secondary);
}
[data-theme="dark"] .tag:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(212, 160, 185, 0.1);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--rose));
    color: #fff;
    box-shadow: 0 4px 16px rgba(212, 160, 185, 0.3);
}
.hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 160, 185, 0.4);
}
.hero-actions .btn-outline {
    color: var(--primary-dark);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.4);
}
.hero-actions .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
[data-theme="dark"] .hero-actions .btn-outline {
    color: var(--primary-light);
    border-color: var(--primary);
    background: rgba(42, 30, 36, 0.4);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
    z-index: 1;
    font-family: var(--font-serif);
    letter-spacing: 2px;
    animation: hintFade 2s ease-in-out infinite;
}

@keyframes hintFade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 1.5px solid var(--text-muted);
    border-bottom: 1.5px solid var(--text-muted);
    transform: rotate(45deg);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(45deg) translate(5px, 5px); }
}

/* Hero entrance animations */
.animate-item {
    opacity: 0;
    transform: translateY(24px);
    animation: heroEnter 0.7s ease forwards;
}
.animate-item[data-delay="0"] { animation-delay: 0.3s; }
.animate-item[data-delay="1"] { animation-delay: 0.5s; }
.animate-item[data-delay="2"] { animation-delay: 0.7s; }
.animate-item[data-delay="3"] { animation-delay: 0.9s; }
.animate-item[data-delay="4"] { animation-delay: 1.1s; }
.animate-item[data-delay="5"] { animation-delay: 1.3s; }
.animate-item[data-delay="6"] { animation-delay: 1.5s; }

@keyframes heroEnter {
    to { opacity: 1; transform: translateY(0); }
}

.tag-anim {
    opacity: 0;
    transform: translateY(16px) scale(0.9);
    animation: tagPop 0.5s ease forwards;
}
.tag-anim:nth-child(1) { animation-delay: 1.4s; }
.tag-anim:nth-child(2) { animation-delay: 1.55s; }
.tag-anim:nth-child(3) { animation-delay: 1.7s; }
.tag-anim:nth-child(4) { animation-delay: 1.85s; }

@keyframes tagPop {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
    background: var(--bg-card);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
}

/* Subtle floral pattern */
.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background:
        radial-gradient(circle at 20% 50%, var(--primary) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, var(--lavender) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-serif);
    line-height: 1;
    display: inline;
    background: linear-gradient(135deg, var(--primary), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-unit {
    font-size: 1.1rem;
    font-weight: 600;
    display: inline;
    color: var(--text-muted);
    font-family: var(--font-serif);
}

.stat-label {
    font-size: 0.88rem;
    margin-top: 8px;
    color: var(--text-secondary);
    font-family: var(--font-serif);
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px dashed var(--border-color);
    font-family: var(--font-serif);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

/* Floral accent under title */
.section-title::after {
    content: '\2740';
    display: block;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-top: 10px;
    opacity: 0.6;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-serif);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: var(--font-serif);
    letter-spacing: 0.03em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--rose));
    color: #fff;
    box-shadow: 0 4px 14px rgba(212, 160, 185, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 160, 185, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 1.5px dashed var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    border-style: solid;
}

[data-theme="dark"] .btn-outline {
    color: var(--primary-light);
    border-color: var(--primary);
}
[data-theme="dark"] .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-download {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-icon { font-size: 1.2rem; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.info-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
}

/* Lace corner decorations (replaces specimen pins) */
.info-card::before,
.info-card::after {
    content: '\2740';
    position: absolute;
    font-size: 0.85rem;
    color: var(--primary-light);
    opacity: 0.45;
    z-index: 2;
}
.info-card::before { top: 10px; left: 12px; }
.info-card::after { top: 10px; right: 12px; }

.info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}
.info-card.full-width { grid-column: 1 / -1; }

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

.info-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 20px;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-light);
    font-size: 0.92rem;
    transition: background var(--transition);
}
.info-list li:last-child { border-bottom: none; }
.info-list li:hover { background: var(--primary-bg); border-radius: var(--radius-sm); padding-left: 8px; padding-right: 8px; }

.info-list .label { color: var(--text-muted); font-weight: 500; font-family: var(--font-serif); }
.info-list .value { color: var(--text-primary); font-weight: 500; text-align: right; }

.course-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.course-tag {
    background: var(--primary-bg);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
    border: 1px dashed var(--border-color);
    font-family: var(--font-serif);
}
.course-tag:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
    border-style: solid;
}

[data-theme="dark"] .course-tag { color: var(--primary-light); }
[data-theme="dark"] .course-tag:hover {
    background: var(--primary);
    color: #fff;
}

/* =============================================
   MATERIAL SECTION
   ============================================= */
.material-block { margin-bottom: 50px; }
.material-block:last-child { margin-bottom: 0; }

.block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.block-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--lavender));
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    font-family: var(--font-serif);
    box-shadow: 0 2px 8px rgba(212, 160, 185, 0.2);
}

.block-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
}

/* Timeline */
.timeline { position: relative; padding-left: 32px; }

.timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), var(--lavender-light), var(--mint-light));
    border-radius: 1px;
}

[data-theme="dark"] .timeline::before {
    background: linear-gradient(to bottom, rgba(212, 160, 185, 0.3), rgba(195, 177, 225, 0.3), rgba(168, 216, 200, 0.3));
}

.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -28px; top: 8px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-primary);
    z-index: 1;
    transition: all var(--transition);
    box-shadow: 0 0 0 3px rgba(212, 160, 185, 0.15);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(212, 160, 185, 0.3);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-family: var(--font-serif);
}

[data-theme="dark"] .timeline-date { color: var(--primary-light); }

.timeline-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 10px;
}

.timeline-content p,
.timeline-content li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-content li {
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}
.timeline-content li::before {
    content: '\2740';
    position: absolute;
    left: 0; top: 5px;
    font-size: 0.55rem;
    color: var(--primary-light);
}

/* Two column */
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.strength-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.strength-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--primary-light); }

.card-label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: var(--font-serif);
}
.card-label.positive { background: rgba(168, 216, 200, 0.15); color: var(--mint-dark); }
.card-label.negative { background: rgba(212, 160, 185, 0.12); color: var(--primary-dark); }
[data-theme="dark"] .card-label.positive { background: rgba(168, 216, 200, 0.12); color: var(--mint); }
[data-theme="dark"] .card-label.negative { background: rgba(212, 160, 185, 0.12); color: var(--primary-light); }

.strength-card ol { counter-reset: item; list-style: none; }
.strength-card ol li {
    counter-increment: item;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    padding-left: 32px;
    position: relative;
}
.strength-card ol li::before {
    content: counter(item);
    position: absolute;
    left: 0; top: 9px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
}

[data-theme="dark"] .strength-card ol li::before {
    color: var(--primary-light);
    background: rgba(212, 160, 185, 0.1);
}

/* Goal card */
.goal-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.goal-item {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    text-align: center;
}
.goal-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--primary-light); }

.goal-icon { font-size: 2rem; margin-bottom: 12px; }
.goal-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 10px;
}
.goal-item p { font-size: 0.92rem; color: var(--text-secondary); }
.goal-item li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
    text-align: left;
}
.goal-item li::before {
    content: '\2740';
    position: absolute;
    left: 0; top: 5px;
    font-size: 0.5rem;
    color: var(--primary-light);
}

/* Limit grid */
.limit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.limit-item {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.limit-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--primary-light); }
.limit-icon { font-size: 1.6rem; flex-shrink: 0; }
.limit-item p { font-size: 0.92rem; color: var(--text-secondary); }

/* Values card */
.values-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.value-item {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border-light);
    align-items: flex-start;
    transition: all var(--transition);
}
.value-item:last-child { border-bottom: none; }
.value-item:hover { padding-left: 8px; }

.value-keyword {
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
    min-width: 120px;
    font-size: 0.92rem;
    font-family: var(--font-serif);
}
[data-theme="dark"] .value-keyword { color: var(--primary-light); }
.value-text { color: var(--text-secondary); font-size: 0.92rem; }

/* =============================================
   QUADRANT SECTION
   ============================================= */
.quadrant-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.quadrant-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

/* Floral corner accent */
.quadrant-card::before {
    content: '\2740';
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 0.75rem;
    color: var(--primary-light);
    opacity: 0.3;
}

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

.q-header { margin-bottom: 14px; }

.q-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    font-family: var(--font-serif);
}
.q1 .q-badge { background: rgba(212, 160, 185, 0.12); color: var(--primary-dark); }
.q2 .q-badge { background: rgba(168, 216, 200, 0.15); color: var(--mint-dark); }
.q3 .q-badge { background: rgba(195, 177, 225, 0.15); color: var(--lavender-dark); }
.q4 .q-badge { background: rgba(245, 198, 170, 0.18); color: var(--peach-dark); }
[data-theme="dark"] .q1 .q-badge { color: var(--primary-light); }
[data-theme="dark"] .q2 .q-badge { color: var(--mint); }
[data-theme="dark"] .q3 .q-badge { color: var(--lavender); }
[data-theme="dark"] .q4 .q-badge { color: var(--peach); }

.quadrant-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
}
.q-desc {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
    font-family: var(--font-serif);
}
[data-theme="dark"] .q-desc { color: var(--primary-light); }
.q-feature { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; font-style: italic; }

.q-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
}
.q-list li::before {
    content: '\2740';
    position: absolute;
    left: 0; top: 6px;
    font-size: 0.5rem;
    color: var(--primary-light);
}

.quadrant-note {
    margin-top: 32px;
    text-align: center;
    padding: 20px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-secondary);
    border: 1px dashed var(--primary);
    font-family: var(--font-serif);
}

/* =============================================
   DIALOGUE SECTION
   ============================================= */
.dialogue-round { margin-bottom: 48px; }
.dialogue-round:last-of-type { margin-bottom: 0; }

.round-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.round-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
    font-family: var(--font-serif);
    letter-spacing: 1px;
}
.round-ai { background: linear-gradient(135deg, var(--primary), var(--lavender)); color: #fff; }
.round-me { background: linear-gradient(135deg, var(--mint), var(--peach)); color: #fff; }
.round-user { background: linear-gradient(135deg, var(--mint), var(--peach)); color: #fff; }

.round-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
}

.question-groups,
.answer-groups { display: grid; gap: 20px; }

.q-group,
.answer-group {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.q-group:hover,
.answer-group:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.q-group h4,
.answer-group h4 {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--primary-dark);
    margin-bottom: 12px;
}
[data-theme="dark"] .q-group h4,
[data-theme="dark"] .answer-group h4 { color: var(--primary-light); }

.q-group ol,
.answer-group ol,
.followup-list ol { counter-reset: item; list-style: none; }

.q-group ol li,
.answer-group ol li,
.followup-list ol li {
    counter-increment: item;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 36px;
    position: relative;
    border-bottom: 1px dashed var(--border-light);
}
.q-group ol li:last-child,
.answer-group ol li:last-child,
.followup-list ol li:last-child { border-bottom: none; }

.q-group ol li::before,
.answer-group ol li::before,
.followup-list ol li::before {
    content: counter(item);
    position: absolute;
    left: 0; top: 9px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
}

[data-theme="dark"] .q-group ol li::before,
[data-theme="dark"] .answer-group ol li::before,
[data-theme="dark"] .followup-list ol li::before {
    color: var(--primary-light);
    background: rgba(212, 160, 185, 0.1);
}

.followup-list {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.answer-block {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
}
.answer-block h4 {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 12px;
}
.answer-block p,
.answer-block li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.answer-block ul {
    list-style: disc;
    padding-left: 20px;
}
.answer-block li { margin-bottom: 4px; }

.dialogue-note { margin-top: 40px; }
.dialogue-note blockquote {
    background: var(--primary-bg);
    border-left: 3px dashed var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-style: italic;
    font-family: var(--font-serif);
}

/* =============================================
   CONTRACT SECTION
   ============================================= */
.contract-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.contract-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
}

/* Lace corner flowers on contract cards */
.contract-card::before,
.contract-card::after {
    content: '\2740';
    position: absolute;
    font-size: 0.7rem;
    color: var(--primary-light);
    opacity: 0.4;
    z-index: 2;
}
.contract-card::before { top: 10px; left: 12px; }
.contract-card::after { bottom: 10px; right: 12px; }

.contract-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--primary-light); }

.contract-num {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--primary-bg);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-family: var(--font-serif);
}

[data-theme="dark"] .contract-num { color: var(--primary-light); }

.contract-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contract-items { display: grid; gap: 14px; }
.contract-item { display: flex; gap: 12px; align-items: flex-start; }
.item-icon { font-size: 1.4rem; flex-shrink: 0; }
.contract-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-family: var(--font-serif);
}
.contract-item p { font-size: 0.85rem; color: var(--text-secondary); }

.contract-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}
.contract-list li::before {
    content: '\2740';
    position: absolute;
    left: 2px; top: 7px;
    font-size: 0.5rem;
    color: var(--primary-light);
}

.check-list li::before {
    content: '\2713';
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--mint);
    color: #fff;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8px;
    border: none;
}

.contract-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-family: var(--font-serif);
}

.contract-highlight {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(212, 160, 185, 0.06) 0%, var(--bg-card) 100%);
    border: 1.5px dashed var(--primary);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    grid-column: 1 / -1;
}

.contract-highlight::before,
.contract-highlight::after {
    content: '\2740';
    position: absolute;
    font-size: 0.65rem;
    color: var(--primary-light);
    opacity: 0.4;
}
.contract-highlight::before { top: 10px; left: 12px; }
.contract-highlight::after { bottom: 10px; right: 12px; }

.contract-highlight:hover { box-shadow: var(--shadow-glow); }
.contract-highlight h3 {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 10px;
}
.contract-highlight p { font-size: 0.95rem; color: var(--text-secondary); }
.contract-highlight strong { color: var(--primary-dark); }
[data-theme="dark"] .contract-highlight strong { color: var(--primary-light); }

/* =============================================
   PROJECTS SECTION
   ============================================= */
.project-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.project-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
}
.project-card::after {
    content: '\2740';
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 0.65rem;
    color: var(--primary-light);
    opacity: 0.3;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--primary-light); }

.project-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border-color);
}

.project-tag {
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-serif);
}
.tag-practice, .tag-green { background: rgba(168, 216, 200, 0.15); color: var(--mint-dark); }
.tag-work, .tag-blue { background: rgba(212, 160, 185, 0.12); color: var(--primary-dark); }
.tag-academic { background: rgba(195, 177, 225, 0.15); color: var(--lavender-dark); }
[data-theme="dark"] .tag-practice, [data-theme="dark"] .tag-green { color: var(--mint); }
[data-theme="dark"] .tag-work, [data-theme="dark"] .tag-blue { color: var(--primary-light); }
[data-theme="dark"] .tag-academic { color: var(--lavender); }

.project-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: var(--font-serif);
}

.project-body { padding: 24px; }
.project-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 14px;
}
.project-body p { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 14px; }
.project-body li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}
.project-body li::before {
    content: '\2740';
    position: absolute;
    left: 0; top: 5px;
    font-size: 0.5rem;
    color: var(--primary-light);
}

.project-highlight {
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 14px 0;
    border-left: 3px dashed var(--primary);
}
.highlight-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
    font-family: var(--font-serif);
}
[data-theme="dark"] .highlight-label { color: var(--primary-light); }
.project-highlight p { margin-bottom: 0; }
.project-meta { font-size: 0.88rem; color: var(--text-secondary); }

.project-insight {
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-top: 14px;
    border-left: 3px dashed var(--mint);
}
.project-insight p { margin-bottom: 0; font-style: italic; }

/* =============================================
   SKILLS SECTION
   ============================================= */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.skill-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.skill-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--primary-light); }

.skill-icon { font-size: 2.2rem; margin-bottom: 12px; }
.skill-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 10px;
}
.skill-card > p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 18px; }

.skill-bar-wrap { display: flex; align-items: center; gap: 12px; }

.skill-bar {
    flex: 1;
    height: 7px;
    background: rgba(212, 160, 185, 0.1);
    border-radius: 4px;
    overflow: hidden;
}
[data-theme="dark"] .skill-bar { background: rgba(212, 160, 185, 0.08); }

.skill-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-fill.fill-pink {
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
}
.skill-fill.fill-lavender {
    background: linear-gradient(90deg, var(--lavender-light), var(--lavender));
}
.skill-fill.fill-mint {
    background: linear-gradient(90deg, var(--mint-light), var(--mint));
}
.skill-fill.fill-peach {
    background: linear-gradient(90deg, var(--peach-light), var(--peach));
}

.skill-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: skillShine 2.5s ease-in-out infinite;
}

@keyframes skillShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skill-percent {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    min-width: 36px;
    text-align: right;
    font-family: var(--font-serif);
}
[data-theme="dark"] .skill-percent { color: var(--primary-light); }

/* =============================================
   TIPS SECTION
   ============================================= */
.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }

.tip-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.tip-card::after {
    content: '\2740';
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 0.6rem;
    color: var(--primary-light);
    opacity: 0.25;
}
.tip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }

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

.tip-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--primary-bg);
    color: var(--primary-dark);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    font-family: var(--font-serif);
}
[data-theme="dark"] .tip-number { color: var(--primary-light); }

.tip-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.tip-card p { font-size: 0.9rem; color: var(--text-secondary); position: relative; z-index: 1; }

.tip-highlight {
    border-color: var(--primary);
    background: rgba(212, 160, 185, 0.04);
}
.tip-highlight .tip-number {
    background: var(--primary);
    color: #fff;
}

/* AI Cognition */
.ai-cognition {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.ai-cognition h3 {
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.cognition-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cognition-item { text-align: center; padding: 16px; }

.cognition-label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: var(--font-serif);
}
.cognition-label.positive { background: rgba(168, 216, 200, 0.12); color: var(--mint-dark); }
.cognition-label.negative { background: rgba(212, 160, 185, 0.1); color: var(--primary-dark); }
.cognition-label.neutral { background: rgba(195, 177, 225, 0.1); color: var(--lavender-dark); }
[data-theme="dark"] .cognition-label.positive { background: rgba(168, 216, 200, 0.1); color: var(--mint); }
[data-theme="dark"] .cognition-label.negative { background: rgba(212, 160, 185, 0.1); color: var(--primary-light); }
[data-theme="dark"] .cognition-label.neutral { background: rgba(195, 177, 225, 0.1); color: var(--lavender); }

.cognition-item p { font-size: 0.88rem; color: var(--text-secondary); }

/* =============================================
   RESUME SECTION
   ============================================= */
.resume-section {
    background: linear-gradient(160deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.resume-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    position: relative;
}

/* Floral pins on resume card */
.resume-card::before,
.resume-card::after {
    content: '\2740';
    position: absolute;
    font-size: 0.7rem;
    color: var(--primary-light);
    opacity: 0.45;
}
.resume-card::before { top: 14px; left: 14px; }
.resume-card::after { top: 14px; right: 14px; }

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

.resume-icon { font-size: 3.5rem; margin-bottom: 16px; }
.resume-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 8px;
}
.resume-card > p { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 20px; }

.resume-info { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.resume-info span {
    background: var(--primary-bg);
    color: var(--primary-dark);
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px dashed var(--border-color);
    font-family: var(--font-serif);
}
[data-theme="dark"] .resume-info span { color: var(--primary-light); }

.resume-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-serif);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: #3A2828;
    color: rgba(240, 228, 228, 0.6);
    padding: 48px 0 24px;
}
[data-theme="dark"] .footer { background: #140E10; }

.footer-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 32px; }
.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-light);
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-serif);
}
.footer p { font-size: 0.88rem; line-height: 1.8; }

.footer-bottom {
    border-top: 1px dashed rgba(212, 160, 185, 0.15);
    padding-top: 20px;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(240, 228, 228, 0.35);
    font-family: var(--font-serif);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 48px; height: 48px;
    background: var(--primary);
    color: #fff;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(212, 160, 185, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 160, 185, 0.4);
    background: var(--lavender);
}

[data-theme="dark"] .back-to-top {
    background: var(--primary-dark);
    color: #fff;
}

/* =============================================
   SPARKLE CURSOR TRAIL
   ============================================= */
.sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    border-radius: 50%;
    animation: sparkleFade 0.8s ease-out forwards;
}

@keyframes sparkleFade {
    0% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.7; transform: scale(0.5) rotate(180deg); }
    100% { opacity: 0; transform: scale(0) rotate(360deg) translateY(-20px); }
}

/* =============================================
   TILT CARD 3D EFFECT
   ============================================= */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .about-grid,
    .quadrant-grid,
    .contract-grid,
    .project-cards,
    .skills-grid,
    .tips-grid { grid-template-columns: 1fr; }
    .cognition-items { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .section { padding: 70px 0; }
    .section-title { font-size: 1.8rem; }

    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 68px; left: 0; right: 0; bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform var(--transition);
        overflow-y: auto;
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-link { padding: 14px 16px; font-size: 1rem; }
    .nav-cta { text-align: center; margin-top: 8px; }
    .theme-toggle { align-self: center; margin-top: 16px; }

    .hero { min-height: 90vh; padding: 100px 20px 50px; }
    .hero-name { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-actions { flex-direction: column; align-items: center; }

    .two-col, .goal-card, .limit-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-number { font-size: 2.2rem; }

    .block-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .value-item { flex-direction: column; gap: 6px; }
    .value-keyword { min-width: auto; }
    .info-list li { flex-direction: column; gap: 2px; }
    .info-list .value { text-align: left; }
    .resume-card { padding: 32px 24px; }
    .back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .hero-name { font-size: 2.2rem; }
    .hero-tags { gap: 8px; }
    .tag { padding: 4px 12px; font-size: 0.82rem; }
    .section-header { margin-bottom: 40px; }
    .container { padding: 0 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
