/* ================================
   Osfity — Premium Body Wash Website
   Spa-inspired Design
   ================================ */

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

:root {
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7c3aed;
    --purple-800: #6b21a8;
    --purple-900: #581c87;

    --bg: #f8f6fb;
    --bg-elevated: #ffffff;
    --surface: rgba(255,255,255,0.7);
    --surface-hover: rgba(255,255,255,0.95);
    --border: rgba(0,0,0,0.05);
    --border-hover: rgba(0,0,0,0.1);
    --text: #1a1a2e;
    --text-secondary: #6b6b80;
    --text-tertiary: #a0a0b0;
    --accent: #8b5cf6;
    --accent-glow: #7c3aed;
    --accent-light: #a78bfa;
    --neon-cyan: #22d3ee;
    --neon-purple: #a855f7;

    --font-display: 'Prompt', sans-serif;
    --font-thai: 'Prompt', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: var(--font-thai), var(--font-body), sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #f8f6fb 40%, #f0eef7 100%);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: default;
}

/* Custom scrollbar - clean light */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

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

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.35);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s var(--transition-smooth);
    border-radius: 1px;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--text);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.mobile-toggle.active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    color: #fff !important;
    text-align: center;
    border-radius: 100px;
    padding: 12px !important;
    margin-top: 8px;
    border: none !important;
}

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

.hero-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
}

.hero-content {
    max-width: 520px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    color: var(--accent-glow);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.3));
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 72px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 100px;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    color: #fff;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 50px rgba(124, 58, 237, 0.45);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.12);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-hover);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.product-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(167, 139, 250, 0.1) 40%, transparent 65%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
    filter: blur(50px);
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.product-bottle {
    position: relative;
    width: 140px;
    height: 300px;
    z-index: 2;
}

.bottle-cap {
    width: 50px;
    height: 15px;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    margin: 0 auto;
    border-radius: 4px 4px 0 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bottle-cap::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 20px;
    background: linear-gradient(180deg, #f0f0f0, #e0e0e0);
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(0,0,0,0.08);
}

.bottle-body {
    width: 130px;
    height: 260px;
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.15), rgba(139, 92, 246, 0.25));
    border-radius: 16px 16px 28px 28px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow:
        0 30px 60px rgba(139, 92, 246, 0.12),
        0 8px 24px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    margin: 0 auto;
}

.bottle-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.bottle-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.label-brand {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
}

.label-tagline {
    display: block;
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-el {
    position: absolute;
    opacity: 0.6;
}

.float-1 {
    top: 10%;
    left: 15%;
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    top: 60%;
    right: 10%;
    animation: float 8s ease-in-out infinite 1s;
}

.float-3 {
    bottom: 20%;
    left: 20%;
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    padding: 8px;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(4px);
    opacity: 0.8;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border-hover);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* ================================
   Section Headers
   ================================ */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.12);
    color: var(--accent-glow);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.7;
}

/* ================================
   Benefits Section
   ================================ */
.benefits {
    padding: 140px 0;
    position: relative;
}

.benefits-banner {
    margin-bottom: 60px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.1), 0 8px 24px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    position: relative;
}

.benefits-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(248, 246, 251, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.benefits-banner img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--transition-smooth);
}

.benefits-banner:hover img {
    transform: scale(1.03);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    transform: scaleX(0);
    transition: transform 0.4s var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: rgba(139, 92, 246, 0.15);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.08);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.08));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* ================================
   How It Works Section
   ================================ */
.how-it-works {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.06), transparent 60%);
    pointer-events: none;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 120px;
    gap: 32px;
    align-items: center;
    background: linear-gradient(180deg, #ffffff, #f8f6fb);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
    transition: all 0.5s var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.step:hover {
    background: #ffffff;
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateX(10px);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.08);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--border-hover);
    line-height: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

.step-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-icon-shower {
    width: 60px;
    height: 60px;
    position: relative;
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-icon-shower .bubbles {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.bubble {
    width: 6px;
    height: 6px;
    background: rgba(139, 92, 246, 0.4);
    border-radius: 50%;
    animation: bubble-float 2s ease-in-out infinite;
}

.bubble.b1 { animation-delay: 0s; }
.bubble.b2 { animation-delay: 0.4s; }
.bubble.b3 { animation-delay: 0.8s; }

@keyframes bubble-float {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-8px); opacity: 0.8; }
}

.step-icon-foam,
.step-icon-sparkle {
    width: 60px;
    height: 60px;
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================================
   Ingredients Section
   ================================ */
.ingredients {
    padding: 140px 0;
    position: relative;
}

.ingredients-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ingredients-content .section-header {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 48px;
}

.ingredient-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ingredient-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.ingredient-item:hover {
    background: linear-gradient(180deg, #ffffff, #f8f6fb);
    border-color: var(--border);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.06);
}

.ingredient-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.35);
}

.ingredient-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.ingredient-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

.ingredients-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 480px;
    gap: 24px;
}

.ingredients-photo {
    position: relative;
    width: 280px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.12), 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    transition: transform 0.5s var(--transition-smooth);
}

.ingredients-photo:hover {
    transform: translateY(-8px) scale(1.02);
}

.ingredients-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ingredients-photo-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 60%);
    z-index: -1;
    filter: blur(30px);
    pointer-events: none;
}

.ingredient-bowl {
    position: relative;
    width: 200px;
    height: 120px;
}

.bowl-rim {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 100px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(167, 139, 250, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 0 0 100px 100px;
    backdrop-filter: blur(5px);
}

.bowl-content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 80px;
    overflow: hidden;
    border-radius: 0 0 90px 90px;
}

.powder-pile {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 60px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.3), rgba(167, 139, 250, 0.2));
    border-radius: 50% 50% 0 0;
    filter: blur(4px);
    opacity: 0.6;
}

.ingredient-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: 50%;
    opacity: 0.5;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.35);
}

.p1 { top: 20%; left: 30%; animation: particle-float 4s ease-in-out infinite; }
.p2 { top: 40%; right: 25%; animation: particle-float 5s ease-in-out infinite 0.5s; }
.p3 { bottom: 30%; left: 20%; animation: particle-float 6s ease-in-out infinite 1s; }
.p4 { top: 60%; left: 70%; animation: particle-float 4.5s ease-in-out infinite 1.5s; }
.p5 { bottom: 40%; right: 30%; animation: particle-float 5.5s ease-in-out infinite 2s; }
.p6 { top: 30%; left: 60%; animation: particle-float 4s ease-in-out infinite 2.5s; }

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

/* ================================
   Testimonials
   ================================ */
.testimonials {
    padding: 140px 0;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.05), transparent 60%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: linear-gradient(180deg, #ffffff, #f8f6fb);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
    transition: all 0.5s var(--transition-smooth);
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.15);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-thai);
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.author-title {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ================================
   Image Marquee
   ================================ */
.image-marquee {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

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

.marquee-wrapper {
    overflow: hidden;
    cursor: grab;
    position: relative;
}

.marquee-wrapper:active {
    cursor: grabbing;
}

.marquee-track {
    display: flex;
    gap: 24px;
    will-change: transform;
    width: max-content;
}

.marquee-item {
    flex-shrink: 0;
    width: 340px;
    height: 260px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06), 0 4px 12px rgba(139, 92, 246, 0.06);
    border: 1px solid var(--border);
    transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s ease;
}

.marquee-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.12), 0 8px 24px rgba(0,0,0,0.08);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--transition-smooth);
}

.marquee-item:hover img {
    transform: scale(1.1);
}

.marquee-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(0deg, rgba(26, 26, 46, 0.7), transparent);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--transition-smooth);
    pointer-events: none;
}

.marquee-item:hover .marquee-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Order / CTA Section
   ================================ */
.order-section {
    padding: 140px 0;
    position: relative;
}

.order-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.order-product-img {
    position: relative;
    flex-shrink: 0;
    width: 220px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.12), 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    transition: transform 0.5s var(--transition-smooth);
    display: none;
}

.order-product-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.order-product-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 60%);
    z-index: -1;
    filter: blur(40px);
    pointer-events: none;
}

@media (min-width: 992px) {
    .order-product-img {
        display: block;
    }
}

.order-card {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff, #f8f6fb);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 64px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.08);
}

.order-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(167, 139, 250, 0.06) 40%, transparent 70%);
    pointer-events: none;
    filter: blur(50px);
}

.order-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.12);
    color: var(--accent-glow);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.order-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 16px;
}

.order-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-weight: 400;
}

.order-price {
    margin-bottom: 32px;
}

.price-old {
    font-size: 1.2rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
    margin-right: 12px;
}

.price-new {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
}

.price-unit {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-left: 8px;
}

.order-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.order-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    color: #fff;
    font-size: 1.05rem;
    padding: 20px 48px;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 50px rgba(124, 58, 237, 0.4);
}

.btn-cta svg {
    transition: transform 0.3s ease;
}

.btn-cta:hover svg {
    transform: translateX(4px);
}

.order-note {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ================================
   Footer
   ================================ */
.footer {
    background: linear-gradient(180deg, #ffffff, #f8f6fb);
    border-top: 1px solid var(--border);
    color: var(--text);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.4s ease;
    background: #ffffff;
}

.footer-socials a:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.25);
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--accent-light);
    transform: translateX(4px);
}

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

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

/* ========================================
   Cinematic Grid Background
   ======================================== */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,1) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,1) 0%, transparent 70%);
}

/* Glow text utility */
.glow-text {
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
}

/* ========================================
   Aurora Background
   ======================================== */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--bg);
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    will-change: transform;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: #a78bfa;
    top: -10%;
    left: -10%;
    animation: aurora-1 20s ease-in-out infinite;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #c4b5fd;
    top: 40%;
    right: -10%;
    animation: aurora-2 25s ease-in-out infinite;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #ddd6fe;
    bottom: -10%;
    left: 30%;
    animation: aurora-3 18s ease-in-out infinite;
}

@keyframes aurora-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, 50px) scale(1.1); }
    66% { transform: translate(-50px, 100px) scale(0.9); }
}

@keyframes aurora-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-80px, -60px) scale(1.15); }
    66% { transform: translate(40px, -100px) scale(0.85); }
}

@keyframes aurora-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.1); }
    66% { transform: translate(-80px, 20px) scale(0.9); }
}

/* ========================================
   Noise Overlay
   ======================================== */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========================================
   Magnetic Button
   ======================================== */
.magnetic {
    transition: transform 0.3s var(--transition-smooth);
}

/* ================================
   Animations
   ================================ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s var(--transition-smooth) forwards;
}

.animate-fade-up[data-delay="1"] { animation-delay: 0.2s; }
.animate-fade-up[data-delay="2"] { animation-delay: 0.4s; }
.animate-fade-up[data-delay="3"] { animation-delay: 0.6s; }
.animate-fade-up[data-delay="4"] { animation-delay: 0.8s; }

.animate-scale-in {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 1s var(--transition-smooth) forwards;
    animation-delay: 0.5s;
}

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

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll-triggered animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

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

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 24px;
    }

    .hero-content {
        max-width: 600px;
        order: 2;
    }

    .hero-visual {
        order: 1;
        height: 350px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ingredients-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .ingredients-content .section-header {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .ingredients-visual {
        order: -1;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step {
        grid-template-columns: 60px 1fr;
    }

    .step-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .order-card {
        padding: 40px 24px;
    }

    .order-features {
        flex-direction: column;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps {
        gap: 24px;
    }

    .step {
        padding: 24px;
    }

    .step-number {
        font-size: 2rem;
    }

    .marquee-item {
        width: 280px;
        height: 220px;
    }

    .benefits-banner img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .marquee-item {
        width: 260px;
        height: 200px;
    }
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }
}
