    /* ===== 1. RESET ===== */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
    a { text-decoration: none; color: inherit; }
    ul, ol { list-style: none; }
    img { max-width: 100%; display: block; }
    button { border: none; background: none; cursor: pointer; font: inherit; }

    /* ===== 2. CSS VARIABLES ===== */
    :root {
      --primary: #D697FF;
      --primary-light: #E8C8FF;
      --primary-dark: #B366E0;
      --accent: #FF6B9D;
      --bg: #F8F5FF;
      --bg-alt: #F0EBFF;
      --white: #FFFFFF;
      --text-primary: #1A0A2E;
      --text-secondary: #5A3D7A;
      --border-light: #E8E0F0;
      --shadow-color: rgba(214, 151, 255, 0.15);
      --shadow: 0 4px 24px var(--shadow-color);
      --shadow-lg: 0 12px 40px rgba(214, 151, 255, 0.22);
      --font-heading: 'Poppins', sans-serif;
      --font-body: 'Inter', sans-serif;
      --font-accent: 'Playfair Display', serif;
      --radius: 20px;
      --radius-sm: 12px;
      --radius-xs: 8px;
      --container: 1140px;
      --nav-h: 72px;
      --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ===== 3. BASE STYLES ===== */
    body {
      font-family: var(--font-body);
      color: var(--text-primary);
      background: var(--bg);
      transition: background var(--transition), color var(--transition);
    }

    h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; }
    h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
    h2 { font-size: clamp(1.5rem, 4vw, 2.625rem); }
    h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
    p { color: var(--text-secondary); }

    ::selection { background: var(--primary-light); color: var(--text-primary); }
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--primary); }

    /* ===== 4. UTILITY CLASSES ===== */
    .container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
    .section { padding-block: 100px; }

    .section__header { text-align: center; margin-bottom: 56px; }
    .section__title { color: var(--text-primary); margin-bottom: 12px; }
    .section__title span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .section__subtitle { color: #6F5B95; font-size: 1.1rem; max-width: 560px; margin-inline: auto; font-style: italic; font-weight: 450; letter-spacing: 0.3px; line-height: 2.0; text-align: center; }

    .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    .gradient-text { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

    /* ===== 5. COMPONENTS ===== */

    /* --- Preloader --- */
    .preloader { position: fixed; inset: 0; z-index: 9999; background: var(--white); display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s ease; }
    .preloader--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
    .preloader__spinner { width: 48px; height: 48px; border: 4px solid var(--primary-light); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* --- Navbar --- */
    .navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(214, 151, 255, 0.1); transition: box-shadow var(--transition), background var(--transition); }
    .navbar--scrolled { box-shadow: 0 2px 24px rgba(214, 151, 255, 0.1); }
    .navbar__container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
    .navbar__logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--text-primary); display: flex; align-items: center; gap: 2px; }
    .navbar__logo-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: pulseDot 2s infinite; }
    @keyframes pulseDot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); opacity: 0.6; } }

    .navbar__menu { display: flex; align-items: center; gap: 28px; }
    .navbar__link { font-family: var(--font-heading); font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); position: relative; padding-block: 4px; transition: color var(--transition); }
    .navbar__link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--primary); border-radius: 2px; transition: width var(--transition); }
    .navbar__link:hover, .navbar__link--active { color: var(--primary-dark); }
    .navbar__link:hover::after, .navbar__link--active::after { width: 100%; }

    .navbar__actions { display: flex; align-items: center; gap: 8px; }
    .navbar__dark-toggle { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 1.1rem; transition: all var(--transition); }
    .navbar__dark-toggle:hover { background: var(--primary-light); color: var(--primary-dark); }

    .navbar__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
    .navbar__hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all var(--transition); }
    .navbar__hamburger--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .navbar__hamburger--active span:nth-child(2) { opacity: 0; }
    .navbar__hamburger--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .menu-backdrop { position: fixed; inset: 0; background: rgba(26, 10, 46, 0.4); z-index: 998; opacity: 0; visibility: hidden; transition: all var(--transition); }
    .menu-backdrop--active { opacity: 1; visibility: visible; }

    /* --- Cards --- */
    .card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: all var(--transition); border: 1px solid var(--border-light); }
    .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

    /* --- Badges --- */
    .badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; background: var(--primary-light); color: var(--primary-dark); transition: all var(--transition); }
    .badge:hover { background: var(--primary); color: var(--white); transform: scale(1.05); }
    .badge--accent { background: rgba(255, 107, 157, 0.12); color: var(--accent); }
    .badge--accent:hover { background: var(--accent); color: var(--white); }

    /* --- Buttons --- */
    .btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; padding: 12px 28px; border-radius: 30px; transition: all var(--transition); font-size: 0.9rem; }
    .btn--primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--white); box-shadow: 0 4px 20px rgba(214, 151, 255, 0.35); }
    .btn--primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 30px rgba(214, 151, 255, 0.5); }
    .btn--outline { border: 2px solid var(--primary); color: var(--primary-dark); background: transparent; }
    .btn--outline:hover { background: var(--primary); color: var(--white); }
    .btn--accent { background: var(--accent); color: var(--white); }
    .btn--accent:hover { background: #e85588; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 107, 157, 0.35); }
    .btn--sm { padding: 8px 18px; font-size: 0.82rem; }

    /* --- Social Icons --- */
    .social-icons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
    .social-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; transition: all var(--transition); }
    .social-icon--light { background: var(--white); color: var(--primary-dark); box-shadow: 0 2px 12px rgba(214, 151, 255, 0.15); }
    .social-icon--light:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(214, 151, 255, 0.35); }
    .social-icon--dark { border: 1px solid rgba(214, 151, 255, 0.25); color: rgba(255, 255, 255, 0.6); }
    .social-icon--dark:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 4px 16px rgba(214, 151, 255, 0.3); }

    /* --- TikTok Dropdown (fixed, appended to body) --- */
    .tiktok-wrapper { position: relative; display: inline-flex; }
    .tiktok-trigger { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; background: var(--white); color: var(--primary-dark); box-shadow: 0 2px 12px rgba(214, 151, 255, 0.15); cursor: pointer; transition: all var(--transition); border: none; }
    .tiktok-trigger:hover, .tiktok-trigger.active { background: linear-gradient(135deg, #D697FF, #FF6B9D); color: #FFFFFF; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(214, 151, 255, 0.3); }
    .tiktok-dropdown { position: fixed; width: min(400px, calc(100vw - 32px)); padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1); opacity: 0; visibility: hidden; transform: scale(0.95); transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), transform 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1); z-index: 9999; border: 1px solid rgba(255, 255, 255, 0.2); text-align: left; pointer-events: none; }
    .tiktok-dropdown.active { opacity: 1; visibility: visible; transform: scale(1); pointer-events: auto; }
    .dropdown-title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
    .dropdown-subtitle { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.4; }
    .dropdown-profile { display: flex; gap: 12px; padding: 12px 14px; border-radius: 14px; cursor: pointer; transition: all 0.3s ease; border: 1px solid transparent; background: transparent; align-items: flex-start; outline: none; }
    .dropdown-profile:hover, .dropdown-profile:focus-visible { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 40px rgba(214, 151, 255, 0.2); border-color: var(--primary); background: rgba(214, 151, 255, 0.06); }
    .dropdown-profile-avatar-wrap { position: relative; width: 72px; height: 72px; flex-shrink: 0; }
    .dropdown-profile-avatar-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-light); display: block; }
    .dropdown-profile-avatar-wrap .avatar-fb { width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; display: none; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; }
    .dropdown-profile-avatar-wrap.fallback img { display: none; }
    .dropdown-profile-avatar-wrap.fallback .avatar-fb { display: flex; }
    .dropdown-profile-info { flex: 1; min-width: 0; }
    .dropdown-profile-info .name { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
    .dropdown-profile-info .category { font-size: 0.7rem; color: var(--primary); font-weight: 500; }
    .dropdown-profile-info .username { font-size: 0.7rem; color: var(--text-secondary); }
    .dropdown-profile-info .description { font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .dropdown-profile .visit-btn { font-size: 0.7rem; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 6px 16px; border-radius: 20px; white-space: nowrap; align-self: center; transition: all 0.3s ease; border: none; cursor: pointer; font-family: var(--font-heading); }
    .dropdown-profile:hover .visit-btn, .dropdown-profile:focus-visible .visit-btn { background: var(--primary); color: white; }
    .dropdown-divider { height: 1px; background: var(--border-light); margin: 6px 0 10px; opacity: 0.5; }
    body.dark .tiktok-dropdown { background: rgba(30, 26, 43, 0.95); border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5); }
    body.dark .dropdown-profile:hover, body.dark .dropdown-profile:focus-visible { background: rgba(214, 151, 255, 0.08); border-color: var(--primary); }
    body.dark .dropdown-divider { background: rgba(255, 255, 255, 0.08); }

    /* --- TikTok Bottom Sheet (Mobile) --- */
    .tiktok-modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: all 0.3s ease; display: flex; align-items: flex-end; justify-content: center; }
    .tiktok-modal-overlay.active { opacity: 1; visibility: visible; }
    .tiktok-modal { background: var(--white); width: 100%; max-width: 480px; max-height: 80vh; overflow-y: auto; border-radius: 24px 24px 0 0; padding: 24px 20px 32px; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1); position: relative; }
    .tiktok-modal-overlay.active .tiktok-modal { transform: translateY(0); }
    .tiktok-modal-handle { width: 40px; height: 4px; border-radius: 4px; background: var(--border-light); margin: 0 auto 16px; }
    .tiktok-modal-close { position: absolute; top: 16px; right: 20px; font-size: 1.3rem; background: none; border: none; color: var(--text-secondary); cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all var(--transition); }
    .tiktok-modal-close:hover { background: var(--bg); color: var(--text-primary); }
    @media (min-width: 768px) { .tiktok-modal-overlay { display: none !important; } }
    @media (max-width: 767px) { .tiktok-dropdown { display: none !important; } }

    /* --- Modal --- */
    .modal-overlay { position: fixed; inset: 0; background: rgba(26, 10, 46, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: all 0.35s ease; }
    .modal-overlay--active { opacity: 1; visibility: visible; }
    .modal { background: var(--white); border-radius: var(--radius); max-width: 680px; width: 100%; max-height: 88vh; overflow-y: auto; transform: scale(0.95); transition: transform 0.35s ease; box-shadow: 0 24px 64px rgba(26, 10, 46, 0.25); position: relative; }
    .modal-overlay--active .modal { transform: scale(1); }
    .modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text-primary); z-index: 10; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all var(--transition); }
    .modal__close:hover { background: var(--primary); color: var(--white); }
    .modal__image { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(135deg, var(--primary-light), var(--bg)); }
    .modal__body { padding: 28px 32px 32px; }
    .modal__title { font-size: 1.35rem; color: var(--text-primary); margin-bottom: 12px; }
    .modal__text { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; }
    .modal__metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
    .modal__metric { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--primary-light); border-radius: 24px; padding: 8px 18px; font-size: 0.85rem; font-weight: 600; color: var(--primary-dark); }
    .modal__metric i { font-size: 0.85rem; }
    .modal__section-title { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; margin-top: 16px; }
    .modal__tags { display: flex; flex-wrap: wrap; gap: 8px; }
    .modal__list { padding-left: 0; }
    .modal__list li { position: relative; padding-left: 20px; margin-bottom: 6px; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
    .modal__list li::before { content: '▸'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

    /* Case Study Premium Layout */
    .modal--case-study { max-width: 900px; }
    .case-study { text-align: left; padding: 10px 0; }
    .case-section { margin-bottom: 56px; border-bottom: 1px solid var(--border-light); padding-bottom: 40px; }
    .case-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .case-title { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: 24px; }
    .case-text { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
    .case-caption { font-size: 0.9rem; color: var(--text-secondary); text-align: center; margin-top: 16px; font-style: italic; }
    .case-brief { background: linear-gradient(135deg, var(--primary-light), var(--bg)); padding: 32px; border-radius: 20px; border: 1px solid rgba(214, 151, 255, 0.3); }
    .brief-item { font-size: 1rem; color: var(--text-primary); margin-bottom: 12px; line-height: 1.6; }
    .brief-item strong { color: var(--primary-dark); }
    .case-workflow { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
    .workflow-img img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--border-light); }
    .case-list { list-style: none; padding: 0; }
    .case-list li { font-size: 1rem; color: var(--text-secondary); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
    .case-list li i { color: var(--primary); }
    .video-wrapper { width: 100%; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
    .video-wrapper video { width: 100%; height: 100%; display: block; object-fit: contain; }
    .hero-video { max-width: 420px; aspect-ratio: 9/16; margin: 0 auto; }
    .case-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .kpi-card { background: var(--bg); border: 1px solid var(--border-light); padding: 32px 20px; border-radius: 20px; text-align: center; transition: transform var(--transition); }
    .kpi-card:hover { transform: translateY(-4px); border-color: var(--primary); }
    .kpi-num { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; line-height: 1; }
    .kpi-label { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
    .case-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .gallery-item { display: flex; flex-direction: column; gap: 16px; }
    .gallery-metric { text-align: center; font-size: 0.95rem; color: var(--text-secondary); font-weight: 600; letter-spacing: 0.5px; }
    .gallery-metric i { color: var(--primary); margin-right: 6px; font-size: 1rem; }
    .case-contrib-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; }
    .contrib-card { background: var(--white); border: 1px solid var(--border-light); padding: 24px 16px; border-radius: 16px; text-align: center; box-shadow: var(--shadow); }
    .contrib-icon { font-size: 2.5rem; margin-bottom: 16px; }
    .contrib-label { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); line-height: 1.4; }
    @media (max-width: 767px) {
      .case-workflow { grid-template-columns: 1fr; }
      .case-kpi-grid { grid-template-columns: repeat(2, 1fr); }
      .case-gallery-grid { grid-template-columns: 1fr; }
    }

    /* Case 05: Badges & Features */
    .case-header-with-badge { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
    .case-badge { font-size: 0.8rem; font-weight: 700; padding: 6px 14px; border-radius: 30px; letter-spacing: 0.5px; text-transform: uppercase; }
    .case-badge.ms-ai { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
    .case-badge.chatgpt { background: rgba(16, 163, 127, 0.1); color: #10a37f; border: 1px solid rgba(16, 163, 127, 0.2); }
    .case-badge.gemini { background: rgba(138, 43, 226, 0.1); color: #8a2be2; border: 1px solid rgba(138, 43, 226, 0.2); }
    .case-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
    .feature-card { display: flex; flex-direction: column; gap: 16px; }
    .feature-card img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border-light); box-shadow: var(--shadow); object-fit: contain; transition: transform var(--transition); }
    .feature-card img:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
    .feature-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
    .feature-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
    /* Case 05: Comparison & Flow */
    .case-compare-list { display: flex; flex-direction: column; gap: 48px; }
    .compare-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
    .compare-img { position: relative; }
    .compare-img img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border-light); box-shadow: var(--shadow); }
    .compare-label { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; z-index: 2; backdrop-filter: blur(4px); }
    .workflow-flow { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 400px; margin: 0 auto; }
    .flow-step { width: 100%; background: var(--bg); border: 1px solid var(--border-light); padding: 16px; border-radius: 12px; text-align: center; font-weight: 700; color: var(--text-primary); box-shadow: var(--shadow); }
    .flow-step small { display: block; font-weight: 500; color: var(--text-secondary); font-size: 0.85rem; margin-top: 4px; }
    .flow-arrow { font-size: 1.5rem; color: var(--primary); font-weight: 700; }
    @media (max-width: 767px) {
      .case-feature-grid { grid-template-columns: 1fr !important; }
      .compare-images { grid-template-columns: 1fr; gap: 24px; }
    }

    /* Landscape Video Override for CASE 06 */
    .video-wrapper--landscape { aspect-ratio: 16/9 !important; max-width: 100% !important; height: auto; max-height: none !important; }
    .video-wrapper--landscape video { width: 100%; height: 100%; object-fit: contain; }

    /* ===== 6. LAYOUT ===== */

    /* --- Hero --- */
    .hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding-top: var(--nav-h); background: linear-gradient(-45deg, #D697FF, #E8C8FF, #FFD6E7, #F8F5FF); background-size: 400% 400%; animation: heroGradient 18s ease infinite; }
    .hero__shapes { position: absolute; inset: 0; pointer-events: none; }
    .hero__shape { position: absolute; border-radius: 50%; opacity: 0.08; }
    .hero__shape--1 { width: 300px; height: 300px; background: var(--accent); top: -60px; right: -60px; animation: floatShape 8s ease-in-out infinite; }
    .hero__shape--2 { width: 200px; height: 200px; background: var(--primary-dark); bottom: 10%; left: -40px; animation: floatShape 10s ease-in-out infinite reverse; }
    .hero__shape--3 { width: 100px; height: 100px; background: var(--primary); top: 40%; right: 15%; animation: floatShape 6s ease-in-out infinite 1s; }
    .hero__shape--4 { width: 60px; height: 60px; background: var(--accent); top: 20%; left: 20%; animation: floatShape 7s ease-in-out infinite 2s; }
    .hero__shape--5 { width: 140px; height: 140px; background: var(--primary-light); bottom: 20%; right: 30%; animation: floatShape 9s ease-in-out infinite 0.5s; }

    .hero__container { position: relative; z-index: 1; text-align: center; padding-block: 40px; }
    .hero__quote { font-family: var(--font-accent); font-style: italic; font-size: clamp(1rem, 2.5vw, 1.3rem); color: var(--text-secondary); max-width: 600px; margin-inline: auto; margin-bottom: 36px; opacity: 0.85; line-height: 1.8; }
    .hero__quote::before, .hero__quote::after { content: '"'; color: var(--primary); font-size: 1.4em; }

    .hero__avatar-wrapper { position: relative; width: 150px; height: 150px; margin-inline: auto; margin-bottom: 28px; animation: floatAvatar 4s ease-in-out infinite; }
    .hero__avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(135deg, var(--primary), var(--accent)) border-box; }
    .hero__avatar-glow { position: absolute; inset: -8px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); opacity: 0.25; filter: blur(20px); z-index: -1; animation: glowPulse 3s ease-in-out infinite alternate; }

    .hero__name { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: var(--text-primary); margin-bottom: 8px; letter-spacing: -0.5px; }
    .hero__title-wrapper { display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 20px; min-height: 32px; }
    .hero__title-text { font-size: clamp(1rem, 2.5vw, 1.2rem); color: #5D4B8A; font-weight: 500; font-style: italic; letter-spacing: 0.5px; }
    .hero__cursor { display: inline-block; width: 2px; height: 1.2em; background: var(--primary); animation: cursorBlink 0.8s step-end infinite; vertical-align: text-bottom; margin-left: 2px; }
    .hero__cursor--done { animation: none; opacity: 0; }
    @keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

    .hero__socials { justify-content: center; margin-bottom: 48px; }

    /* --- Hero Terminal --- */
    .hero-terminal { background: #111111; border-radius: 16px; padding: 16px 20px 20px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); max-width: 540px; width: 100%; margin: 12px auto 24px; font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace; font-size: 0.85rem; color: #E0E0E0; line-height: 1.8; position: relative; overflow: hidden; text-align: left; }
    .terminal-dots { display: flex; gap: 6px; margin-bottom: 12px; }
    .terminal-dots span { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
    .terminal-dots .dot--red { background: #FF5F57; }
    .terminal-dots .dot--yellow { background: #FFBD2E; }
    .terminal-dots .dot--green { background: #28C840; }
    .terminal-content { min-height: 40px; }
    .terminal-line { opacity: 0; transform: translateY(4px); transition: opacity 0.3s ease, transform 0.3s ease; }
    .terminal-line--visible { opacity: 1; transform: translateY(0); }
    .terminal-line .t-prompt { color: #4ADE80; }
    .terminal-line .t-check { color: #4ADE80; }
    .terminal-line .t-loading { color: #AAAAAA; }
    .terminal-line .t-ready { color: #D697FF; font-weight: 600; }
    body.dark .hero-terminal { background: #0A0A12; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); }
    /* --- Capability Cards --- */
    .capabilities { padding-top: 40px; margin-bottom: 20px; }
    .capabilities__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
    .capability-card { background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 20px; padding: 40px 24px; text-align: center; box-shadow: 0 8px 32px rgba(214, 151, 255, 0.15); transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; height: 100%; overflow: visible; }
    .capability-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 16px 40px rgba(214, 151, 255, 0.3); background: rgba(255, 255, 255, 0.85); }
    .capability-card__icon { font-size: 48px; margin-bottom: 24px; display: inline-block; line-height: 1; transition: transform 0.3s ease, filter 0.3s ease; }
    .capability-card:hover .capability-card__icon { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(214, 151, 255, 0.55)); }
    .capability-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--text-primary); margin-bottom: 20px; line-height: 1.2; padding-top: 2px; }
    .capability-card__desc { font-size: 15px; line-height: 1.65; color: var(--text-secondary); display: block; white-space: normal; margin: 0; padding-bottom: 2px; }
    @media (max-width: 1023px) { .capabilities__grid { grid-template-columns: repeat(2, 1fr); } .capability-card { max-width: 100%; min-height: 320px; } }
    @media (max-width: 767px) { .capabilities__grid { grid-template-columns: 1fr; max-width: 400px; } .capability-card { height: auto; max-width: 100%; } }
    body.dark .capability-card { background: rgba(26, 23, 38, 0.6); border-color: rgba(214, 151, 255, 0.1); }
    body.dark .capability-card:hover { background: rgba(26, 23, 38, 0.9); box-shadow: 0 16px 40px rgba(214, 151, 255, 0.2); }

    /* --- About --- */
    .about { background: var(--white); }
    .about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
    .about__content { order: 1; }
    .about__visual { order: 2; position: relative; position: sticky; top: 120px; }
    /* --- About Gallery --- */
    .about-gallery { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px var(--shadow-color); background: linear-gradient(135deg, var(--primary-light), var(--bg)); position: relative; }
    .about-gallery img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: opacity 0.6s ease, transform 0.4s ease; }
    .about-gallery img.active { opacity: 1; }
    .about-gallery img.inactive { opacity: 0; }
    .about-gallery:hover img.active { transform: scale(1.03); }
    .about-gallery:hover { box-shadow: 0 24px 72px var(--shadow-color); }
    .about-gallery-dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
    .about-gallery-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-light); border: none; cursor: pointer; transition: all var(--transition); padding: 0; }
    .about-gallery-dots .dot.active { background: var(--primary); transform: scale(1.2); }
    .about-gallery-dots .dot:hover { background: var(--primary-light); transform: scale(1.1); }

    /* --- Scrollytelling --- */
    .scrollytelling { display: flex; flex-direction: column; gap: 80px; padding-bottom: 50vh; }
    .chapter { min-height: clamp(260px, 50vh, 520px); display: flex; flex-direction: column; justify-content: center; opacity: 0.2; transform: translateY(30px); filter: blur(2px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.32, 0.72, 0, 1), filter 0.7s ease; }
    .chapter.active { opacity: 1; transform: translateY(0); filter: blur(0); }
    .chapter__label { font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
    .chapter__title { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; line-height: 1.2; }
    .chapter__subtitle { font-size: 1.15rem; color: var(--accent); font-weight: 500; margin-bottom: 16px; }
    .chapter__text { max-width: 620px; margin-inline: auto; font-size: 18px; line-height: 1.85; letter-spacing: 0.15px; color: #4E3F7D; font-weight: 400; text-align: left; text-wrap: pretty; margin-bottom: 24px; }
    .chapter__text:last-child { margin-bottom: 0; }

    /* --- Experience --- */
    .experience { background: var(--bg); }
    .experience__wrapper { position: relative; }
    .experience__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--primary-light) transparent; }
    .experience__track::-webkit-scrollbar { height: 6px; }
    .experience__track::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }
    .experience__track::-webkit-scrollbar-track { background: transparent; }

    .experience__scroll-hint { text-align: center; margin-top: 16px; color: var(--text-secondary); font-size: 0.82rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .experience__scroll-hint i { animation: scrollHint 1.5s ease-in-out infinite; }
    @keyframes scrollHint { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

    .exp-card { flex: 0 0 370px; scroll-snap-align: start; background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border-light); transition: all var(--transition); position: relative; overflow: hidden; }
    .exp-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
    .exp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

    .exp-card__header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
    .exp-card__logo { width: 80px; height: 80px; border-radius: 20px; background: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 16px rgba(0,0,0,0.06); padding: 12px; border: 1px solid var(--border-light); }
    .exp-card__logo img { width: 100%; height: 100%; object-fit: contain; }
    .exp-card__logo--img { background: #FFFFFF !important; box-shadow: 0 4px 12px rgba(0,0,0,0.06); border: 1px solid var(--border-light); padding: 4px; }
    .exp-card__logo--img img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
    .modal__logo-container { width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-heading); font-weight: 800; font-size: 2rem; color: var(--white); }
    .modal__logo-container--img { background: #FFFFFF; padding: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); border: 1px solid var(--border-light); }
    .modal__logo-container--img img { width: 100%; height: 100%; object-fit: contain; }
    .exp-card__info { flex: 1; }
    .exp-card__company { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
    .exp-card__role { font-size: 0.85rem; color: var(--primary-dark); font-weight: 500; margin-top: 2px; }
    .exp-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
    .exp-card__period { font-size: 0.78rem; }
    .exp-card__employment { font-size: 0.72rem; background: var(--bg); padding: 2px 10px; border-radius: 12px; color: var(--text-secondary); }

    .exp-card__tasks { margin-bottom: 14px; }
    .exp-card__tasks li { position: relative; padding-left: 18px; margin-bottom: 5px; font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; }
    .exp-card__tasks li::before { content: '✦'; position: absolute; left: 0; color: var(--primary); font-size: 0.65rem; top: 3px; }

    .exp-card__skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
    .exp-card__view-btn { font-size: 0.82rem; color: var(--primary-dark); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: all var(--transition); }
    .exp-card__view-btn:hover { color: var(--accent); gap: 10px; }
    .exp-card__view-btn i { font-size: 0.75rem; transition: transform var(--transition); }
    .exp-card__view-btn:hover i { transform: translateX(3px); }

    /* --- Projects --- */
    .projects { background: var(--white); }
    .projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .project-card { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--shadow); transition: all var(--transition); }
    .project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
    .project-card__image { width: 100%; display: block; transition: transform 0.5s ease; background: linear-gradient(135deg, var(--primary-light), var(--bg-alt)); aspect-ratio: 4/5; object-fit: cover; object-position: center; }
    .project-card:hover .project-card__image { transform: scale(1.05); }
    .project-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 10, 46, 0.8) 0%, rgba(214, 151, 255, 0.05) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; transition: all var(--transition); }
    .project-card:hover .project-card__overlay { background: linear-gradient(to top, rgba(26, 10, 46, 0.9) 0%, rgba(214, 151, 255, 0.2) 70%, rgba(214, 151, 255, 0.1) 100%); }
    .project-card__icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); width: 52px; height: 52px; background: rgba(255, 255, 255, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-dark); font-size: 1.2rem; transition: transform var(--transition); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
    .project-card:hover .project-card__icon { transform: translate(-50%, -50%) scale(1); }
    .project-card__title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .project-card__desc { font-size: 0.8rem; color: rgba(255,255,255,0.75); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /* Featured hero card — spans 2 columns on desktop, normalised on smaller screens */
   /* Featured card keeps normal project size */
    .project-card--featured {
        grid-column: span 1;
    }

    .project-card--featured .project-card__overlay {
        background: linear-gradient(
            to top,
            rgba(26,10,46,.82) 0%,
            rgba(26,10,46,.28) 58%,
            transparent 100%
        );
    }

    .project-card--featured:hover .project-card__overlay {
        background: linear-gradient(
            to top,
            rgba(26,10,46,.90) 0%,
            rgba(214,151,255,.18) 70%,
            rgba(214,151,255,.08) 100%
        );
    }

    /* --- TikTok --- */
    .tiktok { background: var(--bg); }
    .tiktok__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .tiktok-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); border: 1px solid var(--border-light); }
    .tiktok-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
    .tiktok-card__video-wrapper { display: block; position: relative; aspect-ratio: 9/16; overflow: hidden; background: var(--text-primary); }
    .tiktok-card__thumbnail { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
    .tiktok-card__play-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(26, 10, 46, 0.25); opacity: 0; transition: opacity var(--transition); }
    .tiktok-card:hover .tiktok-card__play-overlay { opacity: 1; }
    .tiktok-card__play-btn { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary-dark); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
    .tiktok-card__hover-metrics { display: flex; gap: 16px; }
    .tiktok-card__hover-metrics span { display: flex; align-items: center; gap: 5px; color: #fff; font-size: 0.85rem; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
    .tiktok-card__info { padding: 16px 18px; }
    .tiktok-card__title { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; line-height: 1.4; }
    .tiktok-card__description { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.5; }
    .tiktok-card__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
    .tiktok-card__meta span { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--text-secondary); }
    .tiktok-card__meta i { color: var(--primary); font-size: 0.85rem; }

    /* --- Toolkit --- */
    .toolkit { background: var(--white); }
    .toolkit__groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .toolkit__group { background: var(--bg); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border-light); transition: all var(--transition); }
    .toolkit__group:hover { box-shadow: var(--shadow); border-color: var(--primary-light); }
    .toolkit__group-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
    .toolkit__group-title i { color: var(--primary); font-size: 1.1rem; }
    .toolkit__tags { display: flex; flex-wrap: wrap; gap: 8px; }

    /* --- Skills --- */
    .skills-section { background: var(--bg); }
    .skills__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .skills__group { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border-light); }
    .skills__group-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
    .skills__group-title i { color: var(--primary); }
    .skill__item { margin-bottom: 16px; }
    .skill__item:last-child { margin-bottom: 0; }
    .skill__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
    .skill__name { font-size: 0.88rem; font-weight: 500; color: var(--text-primary); }
    .skill__level { font-size: 0.8rem; font-weight: 600; color: var(--primary-dark); }
    .skill__bar { height: 8px; background: var(--bg); border-radius: 10px; overflow: hidden; }
    .skill__bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 10px; width: 0; transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1); }
    .skill__bar-fill--animated { width: var(--level); }

    /* --- Education --- */
    .education { background: var(--white); }
    .education__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
    .education__left, .education__right { display: flex; flex-direction: column; gap: 20px; }

    .edu-card { background: var(--bg); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border-light); }
    .edu-card__icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.2rem; margin-bottom: 16px; }
    .edu-card__degree { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; line-height: 1.4; }
    .edu-card__school { font-size: 0.9rem; color: var(--primary-dark); font-weight: 500; margin-bottom: 4px; }
    .edu-card__period { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 12px; }
    .edu-card__desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

    .cert-card { background: var(--bg); border-radius: var(--radius-sm); padding: 18px 20px; border: 1px solid var(--border-light); display: flex; align-items: flex-start; gap: 14px; transition: all var(--transition); }
    .cert-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
    .cert-card__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary-dark); font-size: 1rem; flex-shrink: 0; }
    .cert-card__name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; line-height: 1.4; }
    .cert-card__issuer { font-size: 0.78rem; color: var(--text-secondary); }

    .lang-card { background: var(--bg); border-radius: var(--radius-sm); padding: 16px 20px; border: 1px solid var(--border-light); display: flex; align-items: center; gap: 12px; }
    .lang-card__icon { font-size: 1.2rem; }
    .lang-card__name { font-weight: 600; font-size: 0.88rem; color: var(--text-primary); }
    .lang-card__level { font-size: 0.8rem; color: var(--text-secondary); }

    /* --- Footer --- */
    .footer { background: #1A0A2E; padding: 56px 0 32px; text-align: center; }
    .footer__cta { font-family: var(--font-accent); font-style: italic; font-size: 1.35rem; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
    .footer__socials { justify-content: center; margin-bottom: 32px; }
    .footer__divider { width: 60px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); margin-inline: auto; margin-bottom: 24px; border-radius: 2px; }
    .footer__copy { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
    .footer__copy .heart { color: var(--accent); }
    .footer__contact-info { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
    .footer__contact-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.85rem; }
    .footer__contact-item i { color: var(--primary); }

    /* --- Scroll to Top --- */
    .scroll-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 4px 16px rgba(214, 151, 255, 0.4); opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 900; }
    .scroll-top--visible { opacity: 1; visibility: visible; }
    .scroll-top:hover { transform: translateY(-3px); background: var(--primary-dark); }

    /* ===== 7. ANIMATIONS ===== */
    @keyframes heroGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
    @keyframes floatShape { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(15px, -15px) scale(1.03); } 66% { transform: translate(-10px, 10px) scale(0.97); } }
    @keyframes floatAvatar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    @keyframes glowPulse { 0% { opacity: 0.2; transform: scale(1); } 100% { opacity: 0.35; transform: scale(1.05); } }

    /* ===== 8. RESPONSIVE ===== */
    @media (max-width: 1023px) {
      .hero__stats { grid-template-columns: repeat(2, 1fr); max-width: 400px; }
      .about__grid { grid-template-columns: 1fr; gap: 36px; }
      .about__visual { order: 1; max-width: 400px; margin-inline: auto; width: 100%; }
      .about__content { order: 2; }
      .projects__grid { grid-template-columns: repeat(2, 1fr); }
      .project-card--featured { grid-column: auto; }
      .tiktok__grid { grid-template-columns: repeat(2, 1fr); }
      .toolkit__groups { grid-template-columns: 1fr; }
      .skills__grid { grid-template-columns: 1fr; }
      .education__grid { grid-template-columns: 1fr; }
      .exp-card { flex: 0 0 320px; }
    }

    @media (max-width: 767px) {
      .navbar__hamburger { display: flex; }
      .navbar__menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); flex-direction: column; justify-content: center; gap: 20px; padding: 40px; box-shadow: -4px 0 30px rgba(0,0,0,0.08); transition: right 0.4s ease; z-index: 999; }
      .navbar__menu--active { right: 0; }
      .navbar__link { font-size: 1.05rem; }

      .hero { padding-top: 80px; }
      .hero__avatar-wrapper { width: 120px; height: 120px; }
      .hero__stats { grid-template-columns: repeat(2, 1fr); max-width: 320px; gap: 10px; }
      .hero__stat { padding: 14px 8px; }
      .hero__stat-icon { font-size: 1.2rem; }

      .about__milestones { flex-wrap: wrap; gap: 8px; }
      .about__milestones::before { display: none; }
      .milestone { flex: 0 0 calc(50% - 4px); background: var(--bg); border-radius: var(--radius-xs); padding: 12px 8px; }
      .milestone__dot { display: none; }

      .experience__track { flex-direction: column; overflow-x: visible; scroll-snap-type: none; }
      .exp-card { flex: 0 0 auto; width: 100%; }
      .experience__scroll-hint { display: none; }

      .projects__grid { grid-template-columns: 1fr; }
      .tiktok__grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }

      .section { padding-block: 64px; }
      .section__header { margin-bottom: 36px; }

      .modal__body { padding: 20px; }
      .footer__contact-info { flex-direction: column; align-items: center; gap: 12px; }

      /* --- Story: horizontal swipe carousel --- */
      .scrollytelling {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        gap: 12px;
        padding-bottom: 12px;
        padding-inline: 4px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        min-width: 0;
      }
      .scrollytelling::-webkit-scrollbar { display: none; }
      .chapter {
        flex: 0 0 87vw;
        min-height: 0;
        height: auto;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        padding: 24px 20px;
        justify-content: flex-start;
      }
      .chapter__text { max-width: none; margin-inline: 0; }

      /* --- Story: compact horizontal gallery --- */
      .about__content { min-width: 0; }
      .about__visual { max-width: none; min-width: 0; }
      .about-gallery {
        aspect-ratio: auto;
        height: 220px;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        gap: 10px;
        padding-inline: 4px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        min-width: 0;
      }
      .about-gallery::-webkit-scrollbar { display: none; }
      .about-gallery img {
        position: static;
        flex: 0 0 87vw;
        width: 87vw;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
        opacity: 1 !important;
        transform: none !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
      }
      .about-gallery-dots { display: none; }
    }

    @media (max-width: 374px) {
      .hero__stats { grid-template-columns: 1fr 1fr; gap: 8px; }
      .container { padding-inline: 16px; }
    }

    /* ===== 9. DARK MODE ===== */
    body.dark {
      --primary: #D697FF;
      --primary-light: #2A1D40;
      --primary-dark: #C77DFF;
      --accent: #FF6B9D;
      --bg: #0D0B15;
      --bg-alt: #13111D;
      --white: #1A1726;
      --text-primary: #EDE4FF;
      --text-secondary: #B09DD0;
      --border-light: #2D2640;
      --shadow-color: rgba(214, 151, 255, 0.06);
    }
    body.dark .navbar { background: rgba(13, 11, 21, 0.8); border-bottom-color: rgba(214, 151, 255, 0.08); }
    body.dark .hero { background: linear-gradient(-45deg, #1A0A2E, #2D1B4E, #13111D, #1A0030); background-size: 400% 400%; animation: heroGradient 18s ease infinite; }
    body.dark .hero__stat { background: rgba(26, 23, 38, 0.7); }
    body.dark .preloader { background: #0D0B15; }
    body.dark .navbar__hamburger span { background: var(--text-primary); }
    body.dark .modal__close { background: rgba(26, 23, 38, 0.9); color: var(--text-primary); }
    body.dark .footer { background: #07060B; }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
      .hero { animation: none; }
      .hero__shape { animation: none; }
      .hero__avatar-wrapper { animation: none; }
      .hero__avatar-glow { animation: none; }
      .navbar__logo-dot { animation: none; }
      .reveal { transition: none; opacity: 1; transform: none; }
      .skill__bar-fill { transition: none; }
      .hero__cursor { animation: none; opacity: 1; }
      .experience__scroll-hint i { animation: none; }
    }
