/* ========================================
   花漾智选 - Fresh Feminine E-commerce
   Color Palette:
   - Main BG: #FBF8F4
   - Primary: #E8A0BF (soft rose)
   - Secondary: #B8A9C9 (lavender)
   - Text: #4A4A4A (warm gray)
   - Cards: #FFF0F5 (blush)
   - Eco: #A8C5A0 (sage green)
   - White: #FFFFFF
   - Cream: #FDF6F0
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: #4A4A4A;
    background-color: #FBF8F4;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-family: Georgia, "Noto Serif SC", "Source Han Serif SC", serif;
    color: #3A3A3A;
    line-height: 1.4;
}

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

/* ---- Section Titles ---- */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.title-flower {
    color: #E8A0BF;
    font-style: normal;
}

.section-subtitle {
    text-align: center;
    color: #888;
    font-size: 1rem;
    margin-bottom: 48px;
}

/* ========================================
   Navigation
   ======================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(251, 248, 244, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(232, 160, 191, 0.15);
    padding: 0 24px;
}

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

.logo {
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #E8A0BF;
}

.logo-dot {
    font-style: normal;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    color: #5A5A5A;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E8A0BF, #B8A9C9);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #E8A0BF;
}

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

.nav-actions {
    display: flex;
    gap: 8px;
}

.nav-icon-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
    position: relative;
    color: #5A5A5A;
}

.nav-icon-btn:hover {
    background: rgba(232, 160, 191, 0.12);
    color: #E8A0BF;
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #E8A0BF;
    color: #fff;
    font-size: 0.65rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, sans-serif;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    margin-top: 64px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: linear-gradient(135deg, #FBF8F4 0%, #FFF0F5 30%, #F5EEF8 60%, #FBF8F4 100%);
    position: relative;
    overflow: hidden;
    gap: 60px;
    max-width: 100vw;
}

.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #E8A0BF, transparent);
    top: -100px;
    right: -80px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #B8A9C9, transparent);
    bottom: -60px;
    left: -60px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #A8C5A0, transparent);
    top: 40%;
    left: 10%;
}

.hero-petal {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50% 0 50% 0;
    opacity: 0.08;
    animation: floatPetal 8s ease-in-out infinite;
}

.petal-1 {
    background: #E8A0BF;
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.petal-2 {
    background: #B8A9C9;
    top: 60%;
    right: 25%;
    width: 40px;
    height: 40px;
    animation-delay: 2s;
}

.petal-3 {
    background: #E8A0BF;
    bottom: 20%;
    left: 20%;
    width: 50px;
    height: 50px;
    animation-delay: 4s;
}

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

.hero-content {
    max-width: 540px;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(232,160,191,0.15), rgba(184,169,201,0.15));
    color: #B8A9C9;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.2rem;
    background: linear-gradient(135deg, #D48BAE, #9B8EC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.hero-desc {
    font-size: 1.15rem;
    color: #6A6A6A;
    margin-bottom: 32px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #E8A0BF, #D48BAE);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 20px rgba(232, 160, 191, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 160, 191, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #B8A9C9;
    border: 2px solid #B8A9C9;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-secondary:hover {
    background: rgba(184, 169, 201, 0.08);
    transform: translateY(-2px);
}

.hero-trust-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-trust-item {
    font-size: 0.85rem;
    color: #999;
}

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

.hero-image-placeholder {
    width: 380px;
    height: 460px;
    border-radius: 200px 200px 40px 40px;
    background: linear-gradient(160deg, #FFF0F5, #FADADD, #E8A0BF, #DCC5E2, #B8A9C9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(232, 160, 191, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 196px 196px 36px 36px;
    background: linear-gradient(160deg, rgba(255,255,255,0.6), rgba(255,240,245,0.3));
}

.hero-img-inner {
    position: relative;
    text-align: center;
    color: #fff;
}

.hero-emoji {
    font-size: 5rem;
    display: block;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.hero-img-inner p {
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ========================================
   Quick Commands
   ======================================== */
.quick-commands {
    padding: 80px 0;
    background: #FFFFFF;
}

.commands-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.command-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #FFF0F5, #FDF6F0);
    border: 1.5px solid rgba(232, 160, 191, 0.2);
    border-radius: 50px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #5A5A5A;
}

.command-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(232, 160, 191, 0.2);
    border-color: #E8A0BF;
    background: linear-gradient(135deg, #FFF0F5, #FADADD);
}

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

/* ========================================
   Product Cards
   ======================================== */
.recommendations {
    padding: 80px 0;
    background: #FDF6F0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
}

.product-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(232, 160, 191, 0.15);
}

.product-image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-emoji {
    transform: scale(1.1);
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E8A0BF;
    backdrop-filter: blur(4px);
}

.wishlist-btn:hover,
.wishlist-btn.active {
    background: #E8A0BF;
    color: #fff;
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #E8A0BF, #D48BAE);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-new {
    background: linear-gradient(135deg, #B8A9C9, #9B8EC4);
}

.badge-hot {
    background: linear-gradient(135deg, #FFB6C1, #FF8FAB);
}

.badge-eco {
    background: linear-gradient(135deg, #A8C5A0, #8BB580);
}

.product-info {
    padding: 20px;
}

.product-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 500;
}

.tag-slim {
    background: #FFF0F5;
    color: #D48BAE;
}

.tag-quality {
    background: #F5F0FF;
    color: #9B8EC4;
}

.tag-versatile {
    background: #FFF8F0;
    color: #D4A574;
}

.tag-eco {
    background: #F0F8F0;
    color: #6B9B6B;
}

.product-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #3A3A3A;
}

.product-ai-reason {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.6;
    margin-bottom: 14px;
    font-style: italic;
    border-left: 2px solid #E8A0BF;
    padding-left: 10px;
}

.product-bottom {
    margin-bottom: 14px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: #D48BAE;
    font-family: Georgia, serif;
}

.price-original {
    font-size: 0.85rem;
    color: #bbb;
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hearts {
    color: #E8A0BF;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.rating-count {
    font-size: 0.75rem;
    color: #aaa;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.btn-cart {
    flex: 1;
    padding: 10px 0;
    border: 1.5px solid #E8A0BF;
    background: transparent;
    color: #E8A0BF;
    border-radius: 25px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-cart:hover {
    background: #E8A0BF;
    color: #fff;
}

.btn-buy {
    flex: 1;
    padding: 10px 0;
    border: none;
    background: linear-gradient(135deg, #E8A0BF, #D48BAE);
    color: #fff;
    border-radius: 25px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 160, 191, 0.3);
}

/* ========================================
   Scene Cards
   ======================================== */
.scenes {
    padding: 80px 0;
    background: #FFFFFF;
}

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

.scene-card {
    border-radius: 24px;
    overflow: hidden;
    background: #FFF;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    cursor: pointer;
    display: block;
}

.scene-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(232, 160, 191, 0.18);
}

.scene-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.scene-emoji {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
}

.scene-card:hover .scene-emoji {
    transform: scale(1.15) rotate(5deg);
}

.scene-info {
    padding: 20px;
    text-align: center;
}

.scene-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.scene-info p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.scene-count {
    font-size: 0.75rem;
    color: #B8A9C9;
    font-weight: 500;
}

/* ========================================
   Community
   ======================================== */
.community {
    padding: 80px 0;
    background: linear-gradient(180deg, #FDF6F0, #FBF8F4);
}

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

.community-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    transition: all 0.3s ease;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(232, 160, 191, 0.12);
}

.community-image {
    width: 160px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.community-emoji {
    font-size: 2.5rem;
}

.community-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.community-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.username {
    font-size: 0.9rem;
    font-weight: 600;
    color: #3A3A3A;
}

.user-tag {
    font-size: 0.72rem;
    color: #B8A9C9;
}

.community-text {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 12px;
}

.community-stats {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: #aaa;
}

/* ========================================
   Sustainability
   ======================================== */
.sustainability {
    padding: 80px 0;
    background: linear-gradient(135deg, #F5FAF5, #EFF8EF, #F5FAF5);
}

.sustainability-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.sustain-text {
    flex: 1;
}

.sustain-label {
    display: inline-block;
    background: rgba(168, 197, 160, 0.15);
    color: #6B9B6B;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.sustain-text h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #3A5A3A;
}

.sustain-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.8;
}

.sustain-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sustain-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sustain-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.sustain-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #3A5A3A;
    font-family: -apple-system, "PingFang SC", sans-serif;
}

.sustain-feature p {
    font-size: 0.82rem;
    color: #888;
}

.sustain-visual {
    flex-shrink: 0;
}

.sustain-image {
    width: 300px;
    height: 360px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 48px rgba(168, 197, 160, 0.2);
}

.sustain-big-emoji {
    font-size: 4rem;
    margin-bottom: 16px;
}

.sustain-stat-text {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.sustain-stat-number {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    font-family: Georgia, serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ========================================
   Trust Section
   ======================================== */
.trust-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    flex: 0 0 auto;
}

.trust-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.trust-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-family: -apple-system, "PingFang SC", sans-serif;
}

.trust-item p {
    font-size: 0.8rem;
    color: #999;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #3A3A3A;
    color: #ccc;
    padding: 60px 0 30px;
}

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

.footer-brand h3 {
    color: #E8A0BF;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #aaa;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(232, 160, 191, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #ccc;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: #E8A0BF;
    color: #E8A0BF;
}

.footer-links h4 {
    color: #eee;
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-family: -apple-system, "PingFang SC", sans-serif;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #E8A0BF;
}

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

.footer-bottom p {
    font-size: 0.82rem;
    color: #777;
}

.footer-icp {
    margin-top: 6px;
}

.footer-icp a {
    color: #999;
}

.footer-icp a:hover {
    color: #E8A0BF;
}

/* ========================================
   AI Chat Widget
   ======================================== */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 999;
}

.chat-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #E8A0BF, #B8A9C9);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(232, 160, 191, 0.35);
    transition: all 0.3s ease;
    font-family: inherit;
}

.chat-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(232, 160, 191, 0.45);
}

.chat-toggle.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.chat-toggle-icon {
    font-size: 1.2rem;
}

.chat-window {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 380px;
    height: 520px;
    background: #FFF;
    border-radius: 24px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.35s ease;
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #E8A0BF, #D48BAE, #B8A9C9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.chat-header h4 {
    font-size: 0.95rem;
    color: #fff;
    font-family: -apple-system, "PingFang SC", sans-serif;
}

.chat-status {
    font-size: 0.72rem;
    opacity: 0.85;
}

.chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #FDF6F0;
}

.chat-message {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8A0BF, #B8A9C9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.chat-message.bot .message-bubble {
    background: #FFFFFF;
    border-radius: 4px 18px 18px 18px;
    color: #4A4A4A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, #E8A0BF, #D48BAE);
    color: #fff;
    border-radius: 18px 4px 18px 18px;
}

.message-bubble p {
    margin-bottom: 6px;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
}

.chat-quick-replies button {
    padding: 8px 16px;
    border: 1.5px solid rgba(232, 160, 191, 0.3);
    background: #fff;
    border-radius: 20px;
    font-size: 0.78rem;
    color: #E8A0BF;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.chat-quick-replies button:hover {
    background: #FFF0F5;
    border-color: #E8A0BF;
}

.chat-input-area {
    padding: 16px;
    border-top: 1px solid #f0e8e2;
    display: flex;
    gap: 10px;
    background: #fff;
}

.chat-input {
    flex: 1;
    padding: 10px 16px;
    border: 1.5px solid #eee;
    border-radius: 25px;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.chat-input:focus {
    border-color: #E8A0BF;
}

.chat-send {
    padding: 10px 20px;
    background: linear-gradient(135deg, #E8A0BF, #D48BAE);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.chat-send:hover {
    box-shadow: 0 4px 16px rgba(232, 160, 191, 0.3);
}

/* ========================================
   Cookie Banner
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(232, 160, 191, 0.15);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
    padding: 20px 24px;
    transition: all 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 4px;
}

.cookie-text p:last-child {
    margin-bottom: 0;
}

.cookie-text strong {
    color: #4A4A4A;
}

.cookie-text a {
    color: #E8A0BF;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-accept {
    padding: 10px 24px;
    background: linear-gradient(135deg, #E8A0BF, #D48BAE);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cookie-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 160, 191, 0.3);
}

.cookie-settings {
    padding: 10px 24px;
    background: transparent;
    color: #B8A9C9;
    border: 1.5px solid #B8A9C9;
    border-radius: 25px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cookie-settings:hover {
    background: rgba(184, 169, 201, 0.08);
}

.cookie-reject {
    padding: 10px 24px;
    background: transparent;
    color: #999;
    border: 1.5px solid #ddd;
    border-radius: 25px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cookie-reject:hover {
    border-color: #bbb;
    color: #666;
}

/* ========================================
   Cookie Modal
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1002;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal {
    background: #FFF;
    border-radius: 24px;
    width: 90%;
    max-width: 520px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.open .cookie-modal {
    transform: translateY(0);
}

.modal-header {
    padding: 24px 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0e8e2;
}

.modal-header h3 {
    font-size: 1.2rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #999;
    padding: 4px;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #4A4A4A;
}

.modal-body {
    padding: 24px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f5f0ec;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-info h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    font-family: -apple-system, "PingFang SC", sans-serif;
}

.cookie-option-info p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 4px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ddd;
    border-radius: 26px;
    transition: background 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #E8A0BF, #D48BAE);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.toggle-switch.disabled .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-footer .btn-secondary {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.modal-footer .btn-primary {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 24px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-trust-row {
        justify-content: center;
    }

    .hero-image-placeholder {
        width: 280px;
        height: 340px;
    }

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

    .sustainability-content {
        flex-direction: column;
    }

    .sustain-image {
        width: 100%;
        height: 240px;
    }

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

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

    .hero h1 {
        font-size: 2.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .community-card {
        flex-direction: column;
    }

    .community-image {
        width: 100%;
        min-height: 120px;
    }

    .sustain-features {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        gap: 24px;
    }

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

    .chat-window {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 56px;
        height: 70vh;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-image-placeholder {
        width: 220px;
        height: 280px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .scenes-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .commands-grid {
        gap: 10px;
    }

    .command-chip {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* ========================================
   Scrollbar Styling
   ======================================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(232, 160, 191, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 160, 191, 0.5);
}

/* ========================================
   Selection Styling
   ======================================== */
::selection {
    background: rgba(232, 160, 191, 0.25);
    color: #3A3A3A;
}
