/* ============================================================
   LOFENT HOMEPAGE CSS
   ============================================================ */

/* ---- HERO ---- */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F7FA 60%, #CCFBF1 100%);
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 120px 0 80px;
}

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

/* Hero Text */
.hero-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(20,184,166,0.12); color: var(--primary);
    padding: 6px 16px; border-radius: 99px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 900; color: var(--text-dark);
    line-height: 1.1; margin-bottom: 8px;
    letter-spacing: -1.5px;
}
.hero-title-brand {
    background: linear-gradient(135deg, var(--primary), var(--gradient-blue));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(22px, 3vw, 32px); font-weight: 700;
    color: var(--primary); margin-bottom: 20px;
}
.hero-desc {
    font-size: 17px; color: var(--text-gray);
    line-height: 1.8; max-width: 520px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

/* Hero Stats */
.hero-stats {
    display: flex; align-items: center; gap: 0;
    background: rgba(255,255,255,0.7);
    border-radius: var(--radius-lg); padding: 20px 28px;
    border: 1px solid rgba(20,184,166,0.15);
    backdrop-filter: blur(8px);
    max-width: fit-content;
}
.hero-stat { text-align: center; padding: 0 20px; }
.hero-stat-num { display: block; font-size: 26px; font-weight: 800; color: var(--primary); }
.hero-stat-label { font-size: 12px; color: var(--text-gray); font-weight: 500; }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Visual */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.bottle-wrapper {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: 400px;
}
.bottle-glow {
    position: absolute; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(20,184,166,0.25) 0%, transparent 70%);
    border-radius: 50%; z-index: 0;
    animation: pulse 3s ease-in-out infinite;
}
.bottle-img, .bottle-placeholder {
    position: relative; z-index: 1;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(20,184,166,0.3));
    max-height: 480px;
}
.bottle-label-badge {
    position: absolute; bottom: 24px; right: -16px;
    background: var(--white); color: var(--primary);
    padding: 10px 20px; border-radius: 99px;
    font-size: 13px; font-weight: 700;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 6px;
    z-index: 2;
    animation: bounceIn 0.8s 0.5s both;
}

/* Hero Bubbles */
.hero-bubbles {
    position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.bubble {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(20,184,166,0.3), rgba(20,184,166,0.05));
    animation: riseBubble linear infinite;
}
@keyframes riseBubble {
    0%   { transform: translateY(100%) scale(0.8); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.5; }
    100% { transform: translateY(-120vh) scale(1.2); opacity: 0; }
}
.bubble-1  { width:14px;height:14px;left:5%;  animation-duration:8s; animation-delay:0s; }
.bubble-2  { width:20px;height:20px;left:15%; animation-duration:10s;animation-delay:1s; }
.bubble-3  { width:10px;height:10px;left:25%; animation-duration:7s; animation-delay:0.5s; }
.bubble-4  { width:18px;height:18px;left:35%; animation-duration:9s; animation-delay:2s; }
.bubble-5  { width:24px;height:24px;left:45%; animation-duration:11s;animation-delay:1.5s; }
.bubble-6  { width:12px;height:12px;left:55%; animation-duration:8s; animation-delay:0.3s; }
.bubble-7  { width:16px;height:16px;left:65%; animation-duration:9.5s;animation-delay:0.8s; }
.bubble-8  { width:22px;height:22px;left:75%; animation-duration:10.5s;animation-delay:1.2s; }
.bubble-9  { width:8px; height:8px; left:82%; animation-duration:7.5s;animation-delay:0.6s; }
.bubble-10 { width:26px;height:26px;left:88%; animation-duration:12s; animation-delay:2.5s; }
.bubble-11 { width:14px;height:14px;left:10%; animation-duration:8.5s;animation-delay:3s; }
.bubble-12 { width:18px;height:18px;left:92%; animation-duration:9s; animation-delay:1.8s; }

/* ---- FEATURE CARDS (Why Choose) ---- */
.feature-card { text-align: center; border: 1px solid transparent; }
.feature-card:hover { border-color: rgba(20,184,166,0.2); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.feature-card p  { font-size: 14px; color: var(--text-gray); line-height: 1.7; }
.feature-card:hover .feature-icon { animation: pulse 0.8s ease; transform: rotate(5deg); }
.feature-icon { transition: transform 0.3s; }

/* ---- PRODUCT CARDS ---- */
.product-cards-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.product-card {
    border-radius: var(--radius-lg); padding: 48px 40px;
    background: var(--white); border: 2px solid var(--primary);
    cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
    text-align: center;
}
.product-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.product-card.card-active {
    background: linear-gradient(135deg, var(--primary), var(--dark-teal));
    border-color: transparent;
}
.product-card.card-active .product-card-title,
.product-card.card-active .product-card-tag,
.product-card.card-active .product-card-extra { color: white; }
.product-card.card-active .product-card-btn {
    background: white; color: var(--primary);
}
.product-card.card-active .product-icon { color: white; }

.product-icon-wrap { display: flex; justify-content: center; margin-bottom: 24px; }
.product-icon { color: var(--primary); transition: transform 0.4s; }
.product-card.card-active .product-icon { animation: pulse 0.8s ease; }

.product-card-title { font-size: 24px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.product-card-tag   { font-size: 15px; color: var(--text-gray); margin-bottom: 20px; }
.product-card-extra {
    background: rgba(20,184,166,0.08); border-radius: var(--radius-sm);
    padding: 12px; margin-bottom: 24px; font-size: 14px; color: var(--text-gray);
    display: none;
}
.product-card.card-active .product-card-extra { display: block; }
.product-card.card-active .product-card-extra { background: rgba(255,255,255,0.15); color: white; }

/* ---- STATISTICS ---- */
.stats-section {
    background: linear-gradient(135deg, var(--gradient-blue) 0%, var(--primary) 100%);
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
.stat-item {
    text-align: center; padding: 40px 24px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-icon { color: rgba(255,255,255,0.7); margin-bottom: 12px; display: flex; justify-content: center; }
.stat-number { display: block; font-size: 48px; font-weight: 900; color: white; line-height: 1; margin-bottom: 8px; }
.stat-label  { font-size: 15px; color: rgba(255,255,255,0.8); font-weight: 500; }

/* ---- BENEFIT CARDS ---- */
.benefit-card { text-align: center; }
.benefit-card:hover .icon-circle-teal { animation: spin 0.6s linear; }
.benefit-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.benefit-card p  { font-size: 14px; color: var(--text-gray); line-height: 1.7; }

/* ---- TESTIMONIALS ---- */
.testimonial-card { position: relative; }
.quote-icon { margin-bottom: 12px; }
.stars { margin-bottom: 16px; font-size: 18px; color: #F59E0B; }
.testimonial-text { font-style: italic; font-size: 15px; color: var(--text-gray); line-height: 1.8; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--border); }
.author-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--gradient-blue));
    color: white; font-size: 20px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.author-name { display: block; font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.author-location { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-gray); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-desc, .hero-stats { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .hero-stats { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
    .hero-section { padding: 100px 0 60px; }
    .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .product-cards-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .stat-item { border-right: 1px solid rgba(255,255,255,0.15); padding: 32px 16px; }
    .stat-item:nth-child(even) { border-right: none; }
    .stat-number { font-size: 36px; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .product-card { padding: 32px 24px; }
}
