/* ===== CSS VARIABLES - GREEN THEME ===== */
:root {
    /* Primary Colors - Green Theme */
    --primary: #22C55E;
    --primary-dark: #16A34A;
    --primary-light: #4ADE80;
    --primary-lighter: #DCFCE7;
    
    /* Secondary Colors */
    --secondary: #34D399;
    --accent: #6EE7B7;
    
    /* Success/Reward Colors */
    --success: #10B981;
    --success-light: #D1FAE5;
    --gold: #F59E0B;
    --gold-light: #FEF3C7;
    
    /* Neutrals */
    --white: #FFFFFF;
    --black: #000000;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Text Colors */
    --text-primary: #1A1A2E;
    --text-secondary: #4A4A68;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    --gradient-secondary: linear-gradient(135deg, #34D399 0%, #22C55E 100%);
    --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 40px -10px rgba(34, 197, 94, 0.5);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F5 100%);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

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

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

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

/* ===== FLOATING BACKGROUND ===== */
.floating-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

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

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: floatShape 25s infinite ease-in-out;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    left: -150px;
    animation: floatShape 20s infinite ease-in-out reverse;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    top: 50%;
    left: 50%;
    animation: floatShape 15s infinite ease-in-out;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* ===== HEADER ===== */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.header.scrolled {
    background: var(--gradient-primary);
    box-shadow: 0 4px 30px rgba(34, 197, 94, 0.3);
}

.header.scrolled .logo-name,
.header.scrolled .nav-link {
    color: var(--white);
}

.header.scrolled .logo-tagline {
    color: rgba(255, 255, 255, 0.8);
}

.header.scrolled .logo-icon {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.header.scrolled .nav {
    background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    background: var(--white);
    color: var(--primary);
}

.header.scrolled .action-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.header.scrolled .action-btn:hover {
    background: var(--white);
    color: var(--primary);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-normal);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    padding: 8px;
    border-radius: var(--radius-full);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    position: relative;
}

.nav-link i {
    display: none;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--white);
}

.nav-link.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.nav-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gradient-gold);
    color: var(--white);
    font-size: 9px;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    font-weight: 700;
    animation: pulse 2s infinite;
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    margin-right: 4px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.action-btn {
    position: relative;
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.logout-btn {
    width: auto;
    padding: 0 16px;
    border-radius: var(--radius-md);
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

.logout-btn span {
    font-size: 14px;
    font-weight: 600;
}

.logout-btn:hover {
    background: #DC2626;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.action-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.action-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    gap: 6px;
    padding: 12px;
    transition: var(--transition-normal);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    display: flex;
    right: 0;
}

.mobile-menu-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
}

.mobile-menu-header .logo {
    flex-direction: row;
}

.mobile-menu-header .logo-icon {
    background: var(--primary-green);
    color: var(--white);
}

.mobile-menu-header .logo-name {
    color: var(--text-primary);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    color: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-normal);
}

.mobile-menu-close:hover {
    background: var(--gray-200);
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border-bottom: 1px solid var(--gray-200);
}

.mobile-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-green);
}

.mobile-user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mobile-user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.mobile-user-status {
    font-size: 12px;
    color: var(--text-secondary);
}

.mobile-menu-items {
    padding: 12px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.mobile-menu-item:hover {
    background: var(--gray-50);
    border-color: var(--primary-green);
    transform: translateX(-4px);
}

.mobile-menu-item:active {
    transform: scale(0.98);
}

.menu-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
}

.menu-item-icon.ai-icon {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    color: var(--white);
}

.menu-item-icon.cart-icon {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: var(--white);
}

.menu-item-icon.login-icon {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: var(--white);
}

.menu-item-icon.logout-icon {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: var(--white);
}

.ai-pulse-mobile {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.menu-item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 2px;
}

.menu-item-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.menu-item-arrow {
    color: var(--gray-400);
    font-size: 14px;
}

.mobile-menu-item.logout-item {
    border-color: #FEE2E2;
    background: linear-gradient(135deg, #FEF2F2, #FFFFFF);
}

.mobile-menu-item.logout-item:hover {
    border-color: #EF4444;
}

/* Hide on desktop */
.mobile-menu-overlay {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--gold-light);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-full);
    color: #B45309;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.title-highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 500px;
}

.reward-highlight {
    margin-bottom: 32px;
}

.reward-box {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--gradient-gold);
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.reward-icon {
    font-size: 32px;
}

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

.reward-title {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reward-desc {
    font-size: 16px;
    font-weight: 600;
}

/* Buttons */
.hero-cta {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(34, 197, 94, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: floatCard 4s ease-in-out infinite;
}

.card-1 { top: 10%; left: -30px; }
.card-2 { top: 45%; right: -40px; animation-delay: -1.5s; }
.card-3 { bottom: 15%; left: 10%; animation-delay: -3s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-icon {
    font-size: 28px;
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
}

.floating-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-lighter);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.step-card {
    background: var(--gray-50);
    padding: 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
    flex: 1;
    max-width: 280px;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-card.highlight {
    background: var(--gradient-primary);
    color: var(--white);
}

.step-card.highlight h3,
.step-card.highlight p {
    color: var(--white);
}

.step-card.highlight .step-number {
    background: var(--white);
    color: var(--primary);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-arrow {
    color: var(--gray-400);
    font-size: 24px;
}

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

.benefit-card {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.benefit-card:hover {
    background: var(--primary-lighter);
}

.benefit-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.benefit-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.benefit-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 80px 0;
    background: var(--gray-50);
    position: relative;
    z-index: 1;
}

/* Cart Progress */
.cart-progress-wrapper {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
    box-shadow: var(--shadow-card);
    border: 2px solid var(--gray-200);
    transition: var(--transition-normal);
}

.cart-progress-wrapper.unlocked {
    border-color: var(--success);
    background: var(--success-light);
}

.cart-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-label {
    font-size: 16px;
    color: var(--text-secondary);
}

.progress-label strong {
    color: var(--primary);
    font-size: 20px;
}

.progress-target {
    font-size: 14px;
    color: var(--text-muted);
}

.cart-progress-bar {
    height: 12px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

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

.progress-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.progress-status.unlocked {
    color: var(--success);
    font-weight: 600;
}

.progress-status.unlocked i {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.product-content {
    padding: 16px;
}

.product-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 4px 0;
}

.product-weight {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

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

.product-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.add-btn {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.add-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-primary);
}

.add-btn.added {
    background: var(--gradient-success);
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gradient-primary);
    color: var(--white);
}

.cart-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.close-cart {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.close-cart:hover {
    background: var(--white);
    color: var(--primary);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 64px;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.cart-empty p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.cart-item-qty {
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-normal);
}

.remove-item:hover {
    color: var(--primary);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.cart-summary {
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 12px;
}

.summary-row span:last-child {
    font-weight: 700;
    color: var(--primary);
    font-size: 20px;
}

.reward-unlock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--primary-lighter);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--primary-dark);
}

.reward-unlock-status.unlocked {
    background: var(--success-light);
    color: #065F46;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* ===== CHECKOUT MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    background: var(--white);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal-overlay.active .checkout-modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--gradient-primary);
    color: var(--white);
}

.modal-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

.close-modal {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.close-modal:hover {
    background: var(--white);
    color: var(--primary);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Reward Section */
.reward-section {
    background: var(--gold-light);
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.reward-header {
    margin-bottom: 20px;
}

.reward-badge-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    margin: 0 auto 16px;
    position: relative;
    animation: pulse 2s infinite;
}

.reward-glow {
    position: absolute;
    inset: -10px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.reward-header h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.reward-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.reward-instruction {
    font-size: 14px;
    color: #92400E;
    font-weight: 500;
    margin-bottom: 16px;
}

.reward-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.reward-item {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
}

.reward-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.reward-item.selected {
    border-color: var(--success);
    background: var(--success-light);
}

.reward-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.reward-item-price {
    font-size: 12px;
    color: var(--text-muted);
}

.reward-item-discount {
    font-size: 14px;
    font-weight: 700;
    color: var(--success);
    margin-top: 4px;
}

/* Bill Section */
.bill-section {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.bill-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.bill-items {
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
}

.bill-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
}

.bill-item:last-child {
    border-bottom: none;
}

.bill-item-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bill-item-qty {
    color: var(--text-muted);
    font-size: 12px;
}

.bill-item.discounted .bill-item-name {
    color: var(--success);
}

.bill-item.discounted .bill-item-name::before {
    content: '🎁';
    margin-right: 4px;
}

.bill-item-price {
    font-weight: 600;
}

.bill-item.discounted .bill-item-price {
    color: var(--success);
}

.bill-item .original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 12px;
    margin-right: 8px;
}

.bill-summary {
    border-top: 2px solid var(--gray-300);
    padding-top: 16px;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
}

.discount-row {
    color: var(--success);
    font-weight: 500;
}

.discount-amount {
    font-weight: 700;
}

.free-delivery {
    color: var(--success);
    font-weight: 600;
}

.total-row {
    font-size: 18px;
    font-weight: 700;
    padding-top: 12px;
    border-top: 2px dashed var(--gray-300);
    margin-top: 8px;
}

.total-row span:last-child {
    color: var(--primary);
    font-size: 24px;
}

.savings-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: var(--success-light);
    border-radius: var(--radius-lg);
    margin-top: 16px;
    color: #065F46;
    font-size: 15px;
}

.savings-banner i {
    font-size: 24px;
    color: var(--success);
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.modal-footer .btn {
    flex: 1;
    justify-content: center;
}

/* Success Modal */
.success-modal {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 48px;
    text-align: center;
    max-width: 450px;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal-overlay.active .success-modal {
    transform: scale(1);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon i {
    font-size: 50px;
    color: var(--success);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-modal h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.success-modal > p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.success-details {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.success-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.reward-reminder {
    color: var(--gold) !important;
    font-weight: 600;
}

/* ===== NEWSLETTER ===== */
.newsletter {
    padding: 80px 0;
    background: var(--gradient-dark);
    position: relative;
    z-index: 1;
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.newsletter-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 450px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 15px;
    color: var(--white);
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    border-color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo .logo-name {
    color: var(--white);
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .steps-grid {
        flex-wrap: wrap;
    }
    
    .step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    /* ===== MOBILE HEADER REDESIGN ===== */
    /* Complete redesign for mobile - modern, compact, gradient style */
    
    .header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #16A34A 0%, #22C55E 50%, #10B981 100%) !important;
        backdrop-filter: none !important;
        box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4), 0 0 40px rgba(34, 197, 94, 0.1);
        height: 65px;
        padding: 0;
        z-index: 1000;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
        pointer-events: none;
    }

    /* Header wrapper redesign */
    .header-wrapper {
        padding: 8px 16px !important;
        height: 65px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    /* Modern logo design for mobile */
    .header .logo {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 5px 10px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
        max-width: calc(100% - 60px);
        flex-shrink: 1;
    }

    .header .logo:active {
        transform: scale(0.95);
    }

    .header .logo-icon {
        width: 34px !important;
        height: 34px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        color: var(--primary) !important;
        border-radius: 10px !important;
        font-size: 16px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        flex-shrink: 0;
    }

    .header .logo-text {
        display: flex;
        flex-direction: column;
        gap: 0;
        min-width: 0;
        flex-shrink: 1;
    }

    .header .logo-name {
        color: var(--white) !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        letter-spacing: 0.3px !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.1;
    }

    .header .logo-tagline {
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: 8px !important;
        font-weight: 600 !important;
        letter-spacing: 0.2px;
        text-transform: uppercase;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1;
    }

    /* Hamburger menu button redesign */
    .mobile-menu-btn {
        width: 45px !important;
        height: 45px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(10px);
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn:active {
        transform: scale(0.9);
        background: rgba(255, 255, 255, 0.3) !important;
    }

    .hamburger-line {
        width: 22px;
        height: 2.5px;
        background: var(--white);
        border-radius: 3px;
        transition: all 0.3s ease;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    /* Keep same styling on scroll - even more elevated */
    .header.scrolled {
        background: linear-gradient(135deg, #16A34A 0%, #22C55E 50%, #10B981 100%) !important;
        box-shadow: 0 6px 25px rgba(34, 197, 94, 0.5), 0 0 50px rgba(34, 197, 94, 0.15);
        border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    }

    .header.scrolled .logo {
        background: rgba(255, 255, 255, 0.2);
    }

    /* Adjust body padding for fixed header */
    body {
        padding-top: 65px !important;
    }

    /* Hide desktop navigation */
    .header .nav {
        display: none !important;
    }

    /* Hide desktop action buttons in mobile */
    .header-actions .user-info,
    .header-actions .logout-btn,
    .header-actions .ai-btn,
    .header-actions .cart-btn {
        display: none !important;
    }

    /* Show mobile menu overlay */
    .mobile-menu-overlay {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        box-shadow: var(--shadow-xl);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition-normal);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefit-cards {
        grid-template-columns: 1fr;
    }
    
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cart-sidebar {
        width: 100%;
    }
    
    .reward-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    /* Adjust mobile header for smaller screens */
    .header {
        height: 58px !important;
    }

    .header-wrapper {
        padding: 6px 12px !important;
        height: 58px !important;
    }

    .header .logo {
        padding: 5px 10px;
    }

    .header .logo-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
    }

    .header .logo-name {
        font-size: 16px !important;
    }

    .header .logo-tagline {
        font-size: 8px !important;
    }

    .mobile-menu-btn {
        width: 42px !important;
        height: 42px !important;
    }

    .hamburger-line {
        width: 20px;
    }

    body {
        padding-top: 58px !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .filter-tabs {
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 4px 4px;
        margin-bottom: 12px;
    }
    
    .filter-btn {
        padding: 5px 10px;
        font-size: 10px;
        white-space: nowrap;
        min-height: 32px;
    }
    
    .hero-section {
        padding: 12px 0 20px;
    }
    
    .hero-title {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    
    .hero-subtitle {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .hero-description {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .hero-image {
        max-width: 180px;
        max-height: 150px;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .section-header {
        margin-bottom: 16px;
    }
    
    .section-tag {
        font-size: 9px;
        padding: 3px 8px;
        margin-bottom: 6px;
    }
    
    section {
        padding: 16px 0;
    }
    
    .step-card {
        padding: 10px 8px;
    }
    
    .step-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .step-title {
        font-size: 12px;
    }
    
    .step-desc {
        font-size: 10px;
    }
    
    .modal-body {
        padding: 8px;
    }
    
    .reward-section {
        padding: 8px;
    }
    
    .reward-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .reward-item {
        padding: 8px;
    }
    
    .reward-item-image {
        height: 50px;
    }
    
    .reward-item-name {
        font-size: 10px;
    }
    
    .reward-item-price {
        font-size: 11px;
    }
    
    .header {
        padding: 0 8px !important;
        height: 50px !important;
        background: var(--gradient-primary) !important;
        position: fixed !important;
    }

    body {
        padding-top: 50px !important;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .cart-btn,
    .action-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
    
    .cart-btn i,
    .action-btn i {
        font-size: 14px;
    }
    
    .cart-count,
    .action-badge {
        font-size: 8px;
        min-width: 14px;
        height: 14px;
        top: -2px;
        right: -2px;
    }
    
    .product-card {
        padding: 6px;
        border-radius: 10px;
    }
    
    .product-image {
        aspect-ratio: 1;
        border-radius: 8px;
    }
    
    .product-image img {
        border-radius: 8px;
    }
    
    .product-content {
        padding: 6px 2px 2px;
    }
    
    .product-category {
        font-size: 8px;
        margin-bottom: 2px;
    }
    
    .product-title,
    .product-name {
        font-size: 11px;
        line-height: 1.2;
        margin-bottom: 2px;
    }
    
    .product-weight {
        font-size: 9px;
        margin-bottom: 4px;
    }
    
    .product-price {
        font-size: 13px;
    }
    
    .product-footer {
        margin-top: 4px;
    }
    
    .add-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .checkout-modal {
        width: 100%;
        max-height: 92vh;
        margin: 0;
        border-radius: 14px 14px 0 0;
    }
    
    .modal-header {
        padding: 10px 12px;
    }
    
    .modal-header h2 {
        font-size: 14px;
    }
    
    .close-modal {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .bill-section {
        padding: 8px;
    }
    
    .bill-item {
        font-size: 11px;
        padding: 4px 0;
    }
    
    .btn {
        padding: 8px 14px;
        font-size: 11px;
        min-height: 36px;
    }
    
    .cart-sidebar {
        width: 100%;
    }
    
    .cart-header {
        padding: 10px 12px;
    }
    
    .cart-header h2 {
        font-size: 14px;
    }
    
    .cart-item {
        padding: 8px;
        gap: 8px;
    }
    
    .cart-item-image {
        width: 45px;
        height: 45px;
        border-radius: 6px;
    }
    
    .cart-item-name {
        font-size: 11px;
    }
    
    .cart-item-price {
        font-size: 12px;
    }
    
    .cart-item-quantity {
        gap: 4px;
    }
    
    .qty-btn {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .qty-value {
        font-size: 11px;
        min-width: 20px;
    }
    
    .cart-footer {
        padding: 10px;
    }
    
    .cart-total {
        font-size: 14px;
    }
    
    .modal-footer {
        padding: 10px;
        flex-direction: column;
        gap: 8px;
    }
    
    .modal-footer .btn {
        width: 100%;
        padding: 10px;
    }
    
    /* Progress bar compact */
    .progress-bar-container {
        padding: 8px;
        margin-bottom: 12px;
    }
    
    .progress-text {
        font-size: 10px;
    }
    
    .progress-bar {
        height: 6px;
    }
    
    /* Reward box compact */
    .reward-box {
        padding: 10px 14px;
        gap: 10px;
    }
    
    .reward-icon {
        font-size: 20px;
    }
    
    .reward-title {
        font-size: 9px;
    }
    
    .reward-desc {
        font-size: 12px;
    }
    
    /* Benefits compact */
    .benefit-cards {
        gap: 8px;
    }
    
    .benefit-card {
        padding: 12px 10px;
    }
    
    .benefit-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .benefit-title {
        font-size: 12px;
    }
    
    .benefit-desc {
        font-size: 10px;
    }
    
    /* Footer compact */
    .footer {
        padding: 20px 0 12px;
    }
    
    .footer-grid {
        gap: 16px;
    }
    
    .footer-title {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .footer-link {
        font-size: 11px;
        padding: 3px 0;
    }
    
    /* Newsletter compact */
    .newsletter-section {
        padding: 16px 0;
    }
    
    .newsletter-title {
        font-size: 14px;
    }
    
    .newsletter-input {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    /* Hero CTA buttons */
    .hero-cta {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .hero-cta .btn {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    /* User info compact */
    .user-info {
        gap: 6px;
    }
    
    .user-avatar {
        width: 26px;
        height: 26px;
    }
    
    .user-name {
        font-size: 10px;
    }
}

/* ===== TOUCH-FRIENDLY MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    /* Minimum touch target - smaller for luxury compact feel */
    button, 
    .btn,
    .add-btn,
    .cart-btn,
    .filter-btn,
    .nav-link,
    a[role="button"] {
        min-height: 36px;
        min-width: 36px;
    }
    
    /* Better tap spacing */
    .nav-link {
        padding: 8px 10px;
        margin: 2px 0;
        font-size: 12px;
    }
    
    /* Prevent zoom on input focus */
    input,
    select,
    textarea {
        font-size: 16px !important;
        padding: 8px 10px;
    }
    
    /* Compact all text */
    body {
        font-size: 13px;
        line-height: 1.4;
    }
    
    h1 { font-size: 18px; }
    h2 { font-size: 16px; }
    h3 { font-size: 14px; }
    h4 { font-size: 13px; }
    h5 { font-size: 12px; }
    h6 { font-size: 11px; }
    
    /* Smooth scroll */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Better modal experience */
    .modal-overlay {
        padding: 0;
    }
    
    .checkout-modal,
    .success-modal .modal-content {
        border-radius: 15px 15px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 90vh;
        width: 100%;
        margin: 0;
        animation: slideUp 0.3s ease-out;
    }
    
    .modal-header {
        padding: 12px;
    }
    
    .modal-body {
        max-height: calc(90vh - 120px);
        overflow-y: auto;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    /* Better cart sidebar for mobile */
    .cart-sidebar {
        border-radius: 0;
    }
    
    /* Bigger close buttons */
    .close-modal,
    .close-cart,
    .close-success {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    /* Better product card touch */
    .product-card {
        -webkit-tap-highlight-color: rgba(34, 197, 94, 0.1);
        tap-highlight-color: rgba(34, 197, 94, 0.1);
    }
    
    /* Compact all cards */
    .card,
    .stat-card,
    .product-card,
    .benefit-card {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    /* Compact sections */
    section {
        padding: 30px 0;
    }
    
    /* Compact images */
    .product-image,
    .hero-image {
        max-height: 200px;
    }
    
    /* Prevent text selection on buttons */
    button,
    .btn {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Better spacing for mobile forms */
    .form-group {
        margin-bottom: 20px;
    }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-image {
        max-height: 250px;
    }
    
    .checkout-modal {
        max-height: 95vh;
        overflow-y: auto;
    }
}

/* ===== VERY SMALL SCREENS (360px) ===== */
@media (max-width: 360px) {
    .container {
        padding: 0 6px;
    }
    
    /* Extra small mobile header adjustments */
    .header {
        height: 52px !important;
    }

    .header-wrapper {
        padding: 5px 10px !important;
        height: 52px !important;
    }

    .header .logo {
        padding: 4px 8px;
        gap: 8px;
    }

    .header .logo-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }

    .header .logo-name {
        font-size: 14px !important;
    }

    .header .logo-tagline {
        font-size: 7px !important;
    }

    .mobile-menu-btn {
        width: 38px !important;
        height: 38px !important;
        gap: 4px;
    }

    .hamburger-line {
        width: 18px;
        height: 2px;
    }

    body {
        padding-top: 52px !important;
    }
    
    .cart-btn,
    .action-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
    }
    
    .cart-btn i,
    .action-btn i {
        font-size: 12px;
    }
    
    .hero-section {
        padding: 8px 0 14px;
    }
    
    .hero-title {
        font-size: 16px;
    }
    
    .hero-subtitle {
        font-size: 10px;
    }
    
    .hero-description {
        font-size: 10px;
    }
    
    .hero-image {
        max-width: 150px;
        max-height: 120px;
    }
    
    .section-title {
        font-size: 14px;
    }
    
    section {
        padding: 12px 0;
    }
    
    .products-grid {
        gap: 5px;
    }
    
    .product-card {
        padding: 5px;
        border-radius: 8px;
    }
    
    .product-content {
        padding: 4px 2px 2px;
    }
    
    .product-title,
    .product-name {
        font-size: 10px;
    }
    
    .product-weight {
        font-size: 8px;
    }
    
    .product-price {
        font-size: 12px;
    }
    
    .product-category {
        font-size: 7px;
    }
    
    .add-btn {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .filter-btn {
        padding: 4px 8px;
        font-size: 9px;
        min-height: 28px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 10px;
        min-height: 32px;
    }
    
    .cart-count,
    .action-badge {
        font-size: 7px;
        min-width: 12px;
        height: 12px;
    }
    
    .modal-header h2 {
        font-size: 13px;
    }
    
    .bill-item {
        font-size: 10px;
    }
    
    .cart-item-image {
        width: 40px;
        height: 40px;
    }
    
    .cart-item-name {
        font-size: 10px;
    }
    
    .cart-item-price {
        font-size: 11px;
    }
    
    .qty-btn {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    
    .reward-item {
        padding: 6px;
    }
    
    .reward-item-image {
        height: 40px;
    }
    
    .reward-item-name {
        font-size: 9px;
    }
    
    .reward-item-price {
        font-size: 10px;
    }
    
    .step-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .step-title {
        font-size: 11px;
    }
    
    .step-desc {
        font-size: 9px;
    }
    
    .benefit-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .benefit-title {
        font-size: 11px;
    }
    
    .benefit-desc {
        font-size: 9px;
    }
}

/* ===== AI ASSISTANT STYLES ===== */

/* AI Button in Header */
.ai-btn {
    position: relative;
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.ai-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.5);
}

.ai-btn i {
    font-size: 18px;
}

.ai-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* AI Modal Overlay */
.ai-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* AI Chat Container - Premium Dark Green Theme */
.ai-chat-container {
    width: 100%;
    max-width: 500px;
    height: 85vh;
    max-height: 700px;
    background: linear-gradient(160deg, #0D3320 0%, #0A2618 50%, #061510 100%);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(34, 197, 94, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-modal-overlay.active .ai-chat-container {
    transform: scale(1) translateY(0);
}

/* AI Header */
.ai-header {
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 163, 74, 0.1) 100%);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    position: relative;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.ai-avatar i {
    font-size: 22px;
    color: white;
}

.ai-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #10B981;
    border: 3px solid #0D3320;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

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

.ai-header-info h3 {
    color: white;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.ai-status {
    color: #4ADE80;
    font-size: 12px;
    font-weight: 500;
}

.ai-close-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ai-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #EF4444;
    transform: rotate(90deg);
}

/* AI Chat Messages Area */
.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(34, 197, 94, 0.3) transparent;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(34, 197, 94, 0.3);
    border-radius: 10px;
}

/* AI Message Styles */
.ai-message {
    display: flex;
    gap: 12px;
    animation: messageSlide 0.4s ease;
}

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

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

.ai-message-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(34, 197, 94, 0.3);
}

.ai-message-avatar i {
    font-size: 16px;
    color: white;
}

.ai-message.ai-user .ai-message-avatar {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    box-shadow: 0 3px 15px rgba(59, 130, 246, 0.3);
}

.ai-message-content {
    max-width: 80%;
    padding: 14px 18px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    border-top-left-radius: 4px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.6;
}

.ai-message.ai-user .ai-message-content {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border: none;
    border-radius: 16px;
    border-top-right-radius: 4px;
    color: white;
}

.ai-message-content p {
    margin-bottom: 10px;
}

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

.ai-message-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.ai-message-content li {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.85);
}

/* WhatsApp Button in AI */
.ai-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.ai-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.ai-whatsapp-btn i {
    font-size: 16px;
}

/* AI Quick Actions */
.ai-quick-actions {
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(34, 197, 94, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.ai-quick-btn {
    padding: 8px 14px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 20px;
    color: #4ADE80;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-quick-btn:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: #22C55E;
    transform: translateY(-2px);
}

.ai-quick-btn i {
    font-size: 11px;
}

/* AI Input Area */
.ai-input-area {
    padding: 16px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-top: 1px solid rgba(34, 197, 94, 0.15);
}

.ai-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 14px;
    padding: 6px 6px 6px 16px;
    transition: all 0.3s ease;
}

.ai-input-wrapper:focus-within {
    border-color: #22C55E;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

#aiInput {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    outline: none;
}

#aiInput::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.ai-send-btn {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ai-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.ai-send-btn:active {
    transform: scale(0.95);
}

.ai-send-btn i {
    font-size: 16px;
}

.ai-powered {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    margin-top: 10px;
}

/* Typing Indicator */
.ai-typing {
    display: flex;
    gap: 5px;
    padding: 14px 18px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    border-top-left-radius: 4px;
    max-width: 80px;
}

.ai-typing span {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.ai-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* AI Mobile Responsive */
@media (max-width: 768px) {
    .ai-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .ai-chat-container {
        max-width: 100%;
        height: 95vh;
        max-height: none;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
    }
    
    .ai-modal-overlay.active .ai-chat-container {
        transform: translateY(0);
    }
    
    .ai-header {
        padding: 14px 16px;
    }
    
    .ai-avatar {
        width: 40px;
        height: 40px;
    }
    
    .ai-avatar i {
        font-size: 18px;
    }
    
    .ai-header-info h3 {
        font-size: 15px;
    }
    
    .ai-chat-messages {
        padding: 16px;
    }
    
    .ai-message-content {
        max-width: 85%;
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .ai-quick-actions {
        padding: 10px 16px;
    }
    
    .ai-quick-btn {
        padding: 7px 12px;
        font-size: 11px;
    }
    
    .ai-input-area {
        padding: 14px 16px;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
    }
    
    .ai-btn {
        width: 38px;
        height: 38px;
    }
    
    .ai-btn i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ai-chat-container {
        height: 100vh;
        border-radius: 0;
    }
    
    .ai-header {
        padding: 12px 14px;
    }
    
    .ai-avatar {
        width: 36px;
        height: 36px;
    }
    
    .ai-header-info h3 {
        font-size: 14px;
    }
    
    .ai-status {
        font-size: 11px;
    }
    
    .ai-message-avatar {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
    
    .ai-message-avatar i {
        font-size: 14px;
    }
    
    .ai-message-content {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .ai-quick-btn {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .ai-btn {
        width: 34px;
        height: 34px;
    }
    
    .ai-btn i {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .ai-header {
        padding: 10px 12px;
    }
    
    .ai-avatar {
        width: 32px;
        height: 32px;
    }
    
    .ai-avatar i {
        font-size: 16px;
    }
    
    .ai-header-info h3 {
        font-size: 13px;
    }
    
    .ai-close-btn {
        width: 32px;
        height: 32px;
    }
    
    .ai-message-content {
        max-width: 90%;
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .ai-quick-actions {
        padding: 8px 12px;
        gap: 6px;
    }
    
    .ai-quick-btn {
        padding: 5px 8px;
        font-size: 9px;
        gap: 4px;
    }
    
    .ai-input-area {
        padding: 10px 12px;
    }
    
    #aiInput {
        font-size: 12px;
    }
    
    .ai-send-btn {
        width: 36px;
        height: 36px;
    }
}
