/* ============================================
   Home Page Styles
   ============================================ */

/* ── Hero ── */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
    background: var(--gradient-hero);
    padding: 120px 20px 60px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(13,148,136,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(232,132,95,0.08) 0%, transparent 50%);
}

/* Particles */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particles span {
    position: absolute; display: block; width: 6px; height: 6px;
    background: rgba(13,148,136,0.3); border-radius: 50%;
    animation: floatParticle 15s linear infinite;
}
.hero-particles span:nth-child(1) { left: 10%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 25%; width: 8px; height: 8px; animation-duration: 18s; animation-delay: 2s; background: rgba(232,132,95,0.2); }
.hero-particles span:nth-child(3) { left: 40%; width: 5px; height: 5px; animation-duration: 22s; animation-delay: 4s; }
.hero-particles span:nth-child(4) { left: 55%; width: 7px; height: 7px; animation-duration: 16s; animation-delay: 1s; background: rgba(232,132,95,0.25); }
.hero-particles span:nth-child(5) { left: 70%; width: 4px; height: 4px; animation-duration: 25s; animation-delay: 3s; }
.hero-particles span:nth-child(6) { left: 85%; width: 6px; height: 6px; animation-duration: 19s; animation-delay: 5s; background: rgba(13,148,136,0.2); }
.hero-particles span:nth-child(7) { left: 15%; width: 3px; height: 3px; animation-duration: 21s; animation-delay: 7s; }
.hero-particles span:nth-child(8) { left: 50%; width: 5px; height: 5px; animation-duration: 17s; animation-delay: 2s; background: rgba(232,132,95,0.15); }
.hero-particles span:nth-child(9) { left: 65%; width: 8px; height: 8px; animation-duration: 23s; animation-delay: 6s; }
.hero-particles span:nth-child(10) { left: 90%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: 4s; }

@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}


/* ── Hero Logo ── */
.hero-logo-wrapper {
      margin: 0 auto 20px;
      display: block;
      animation: heroLogoFloat 3s ease-in-out infinite;
  }
.hero-logo-img {
    width: 120px; height: 120px;
    border-radius: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(13,148,136,0.4));
    transition: transform 0.3s ease;
}
.hero-logo-img:hover { transform: scale(1.08) rotate(2deg); }
@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; display: flex; flex-direction: column; align-items: center; }
.hero-badge {
    display: inline-block; padding: 8px 20px; border-radius: 30px;
    background: rgba(13,148,136,0.1); border: 1px solid rgba(13,148,136,0.3);
    color: var(--primary-light); font-size: 0.85rem; font-weight: 500;
    margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; margin-bottom: 16px; line-height: 1.1; }
.hero-subtitle {
    font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 20px;
    min-height: 30px; font-weight: 400;
}
.hero-desc { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 0.9rem; }
.trust-item span { font-size: 1.1rem; }

.hero-scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    text-align: center; color: var(--text-muted); font-size: 0.8rem;
}
.scroll-arrow { animation: scrollBounce 2s infinite; margin-top: 4px; font-size: 1.2rem; }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ── Brands Marquee ── */
.brands-section {
    padding: 30px 0; background: var(--bg-surface);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}
.brands-marquee { overflow: hidden; position: relative; }
.brands-marquee::before, .brands-marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.brands-marquee::before { left: 0; background: linear-gradient(to right, var(--bg-surface), transparent); }
.brands-marquee::after { right: 0; background: linear-gradient(to left, var(--bg-surface), transparent); }
.brands-track {
    display: flex; gap: 60px; animation: marquee 30s linear infinite;
    width: max-content;
}
.brand-item {
    font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
    color: var(--text-muted); white-space: nowrap; letter-spacing: 3px;
    transition: color var(--transition); cursor: default;
}
.brand-item:hover { color: var(--primary); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Featured Products Grid ── */
.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    background: var(--gradient-card); border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(13,148,136,0.15);
    border-color: rgba(13,148,136,0.3);
}
.product-card-img {
    height: 180px; position: relative; overflow: hidden;
}
.product-card-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.product-card-img .product-img-placeholder { height: 100%; }
.product-card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 10; }
.product-card-badges .badge { padding: 4px 10px; font-size: 0.68rem; border-radius: 4px; font-weight: 700; letter-spacing: 0.5px; border: none; }
.product-card-badges .badge-success { background: #10b981 !important; color: #ffffff !important; box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4); }
.product-card-badges .badge-accent { background: #f97316 !important; color: #ffffff !important; box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4); }
.product-card-body { padding: 14px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-card-brand { font-size: 0.72rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.product-card-body h3 { font-size: 0.95rem; margin-bottom: 6px; font-weight: 600; }
.product-card-body .star-rating { margin-bottom: 8px; font-size: 0.75rem; }
.product-card-price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.product-card-features { margin-bottom: 16px; }
.product-card-features li { font-size: 0.85rem; color: var(--text-secondary); padding: 2px 0; }
.product-card-features li::before { content: '✓ '; color: var(--success); font-weight: 700; }
.product-card-actions { display: flex; gap: 6px; margin-top: auto; }
.product-card-actions .btn { flex: 1; font-size: 0.75rem; padding: 8px; }

/* ── Service Highlight Cards ── */
.service-highlight-card { text-align: center; padding: 40px 30px; }
.service-icon { font-size: 3rem; margin-bottom: 20px; }
.service-highlight-card h3 { margin-bottom: 14px; font-size: 1.3rem; }
.service-highlight-card p { font-size: 0.95rem; margin-bottom: 20px; }
.service-link {
    color: var(--primary); font-weight: 600; font-size: 0.9rem;
    display: inline-flex; align-items: center; gap: 4px;
    transition: gap var(--transition);
}
.service-link:hover { gap: 8px; }

/* ── Why Choose Us ── */
.why-choose-section { background: var(--bg-surface); }
.why-card {
    text-align: center; padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-glass); border: 1px solid var(--border-glass);
    transition: all var(--transition);
}
.why-card:hover { border-color: rgba(13,148,136,0.3); transform: translateY(-5px); }
.why-icon { font-size: 2.5rem; margin-bottom: 16px; }
.why-card h4 { margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; }

/* ── Stats Counter ── */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(13,148,136,0.08), rgba(232,132,95,0.08));
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-number {
    font-family: var(--font-heading); font-size: 3rem; font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-number::after { content: '+'; }
.stat-label { color: var(--text-secondary); font-size: 1rem; margin-top: 8px; font-weight: 500; }

/* ── Testimonials ── */
.testimonial-slider { position: relative; overflow: hidden; max-width: 700px; margin: 0 auto; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
    min-width: 100%; padding: 40px; text-align: center;
    background: var(--bg-glass); border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
}
.testimonial-card .star-rating { justify-content: center; margin-bottom: 20px; font-size: 1.1rem; }
.testimonial-card .testimonial-text { font-size: 1.1rem; font-style: italic; color: var(--text-primary); margin-bottom: 20px; line-height: 1.8; }
.testimonial-card .testimonial-author { color: var(--primary); font-weight: 600; font-size: 1rem; }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testimonial-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--text-muted); cursor: pointer;
    transition: all var(--transition); border: none;
}
.testimonial-dot.active { background: var(--primary); transform: scale(1.3); }

/* ── CTA Banner ── */
.cta-banner {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: #fff; margin-bottom: 12px; font-size: 2rem; }
.cta-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .home-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero-title { font-size: 2.2rem; }
    .home-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card-img { height: 140px; }
    .product-card-body { padding: 10px; }
    .product-card-body h3 { font-size: 0.85rem; }
    .product-card-brand { font-size: 0.65rem; }
    .product-card-price { font-size: 0.85rem; }
    .product-card-actions { flex-direction: column; gap: 4px; }
    .product-card-actions .btn { width: 100%; font-size: 0.7rem; padding: 6px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 2.2rem; }
    .hero-trust { flex-direction: column; align-items: center; gap: 10px; }
    .hero-scroll-indicator { display: none; }
}
@media (max-width: 480px) {
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; max-width: 280px; }
    .stats-grid { grid-template-columns: 1fr; }
}