/* ==========================================================================
   Base & Variables
   ========================================================================== */
   :root {
    --primary: #10b981;       /* Emerald Green */
    --primary-dark: #059669;
    --primary-light: #d1fae5;
    --text-main: #1f2937;     /* Slate 800 */
    --text-muted: #6b7280;    /* Slate 500 */
    --bg-body: #ffffff;
    --bg-light: #f3f4f6;      /* Gray 100 */
    --white: #ffffff;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --whatsapp: #25D366;
    --instagram: #E1306C;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

.highlight { color: var(--primary); }
.subtitle { color: var(--text-muted); font-size: 1.1rem; margin-top: 10px; margin-bottom: 30px; }

/* ==========================================================================
   Typography & Headers
   ========================================================================== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h2 { font-size: 2.5rem; }
.section-header { margin-bottom: 50px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 28px; border-radius: 50px;
    font-weight: 600; font-size: 1rem; cursor: pointer;
    transition: var(--transition); border: none;
}
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6); }

.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline.white { border-color: var(--white); color: var(--white); }
.btn-outline:hover, .btn-outline.white:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); }

.btn-whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: var(--white); }
.btn-instagram:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(225, 48, 108, 0.3); }

/* ==========================================================================
   Navigation (Glassmorphism)
   ========================================================================== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { height: 70px; transition: var(--transition); }
.logo img:hover { transform: scale(1.05); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { font-weight: 500; color: var(--text-main); position: relative; padding: 5px 0; }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }
.nav-login { color: #cbd5e1; transition: var(--transition); }
.nav-login:hover { color: var(--primary); }

/* Hamburger Menu */
.hamburger { display: none; cursor: pointer; z-index: 1001; }
.hamburger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: var(--text-main); border-radius: 3px; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--white); text-align: center; }
.video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.video-background video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(17,24,39,0.7), rgba(17,24,39,0.9)); z-index: -1; }

.hero-content { z-index: 1; max-width: 800px; padding-top: 80px; }
.hero-badge { display: inline-block; padding: 6px 16px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; backdrop-filter: blur(4px); }
.hero h1 { font-size: 4rem; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; margin-bottom: 40px; color: #e5e7eb; font-weight: 300; }
.hero-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

/* ==========================================================================
   Services Banner
   ========================================================================== */
.services-banner { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--bg-light); transform: translateY(-40px); margin-bottom: -40px; position: relative; z-index: 10; width: 90%; max-width: 1000px; margin-left: auto; margin-right: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-item { display: flex; align-items: center; gap: 15px; justify-content: center; }
.service-icon { width: 50px; height: 50px; background: var(--primary-light); color: var(--primary-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.service-item h4 { font-size: 1rem; margin-bottom: 2px; }
.service-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ==========================================================================
   Shop / Products
   ========================================================================== */
.filter-wrapper { display: flex; justify-content: center; margin-bottom: 40px; }
.filter-buttons { display: inline-flex; background: var(--white); padding: 5px; border-radius: 50px; box-shadow: var(--shadow-sm); }
.filter-btn { background: transparent; border: none; padding: 10px 24px; border-radius: 50px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.filter-btn:hover { color: var(--text-main); }
.filter-btn.active { background: var(--primary); color: var(--white); box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }

/* Product Card */
.product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); display: flex; flex-direction: column; position: relative; border: 1px solid rgba(0,0,0,0.02); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.product-badge { position: absolute; top: 15px; right: 15px; background: var(--white); color: var(--primary-dark); padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; z-index: 10; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 4px; }
.product-badge::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; display: inline-block; }

.product-img-wrapper { position: relative; height: 250px; background: #f8fafc; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 20px; }
.product-img-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; z-index: 2; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrapper img { transform: scale(1.08); }

/* Skeleton Loader */
.skeleton-card { height: 420px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.skeleton-img { height: 200px; background: #e2e8f0; border-radius: var(--radius-md); animation: pulse 1.5s infinite; }
.skeleton-line { height: 20px; background: #e2e8f0; border-radius: 4px; animation: pulse 1.5s infinite; }
.skeleton-line.w-50 { width: 50%; }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }

.product-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.product-title { font-size: 1.25rem; margin-bottom: 15px; color: var(--text-main); }
.specs-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.spec-item { font-size: 0.8rem; background: var(--bg-light); color: var(--text-muted); padding: 4px 10px; border-radius: 6px; display: flex; align-items: center; gap: 5px; font-weight: 500; }

.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--bg-light); }
.product-price { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); }
.product-actions { display: flex; gap: 10px; }
.btn-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--transition); }

/* ==========================================================================
   Split Layouts (Repair & Sell)
   ========================================================================== */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.align-center { align-items: center; }

.steps-list { margin-top: 30px; }
.steps-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.step-icon { width: 35px; height: 35px; background: var(--primary-light); color: var(--primary-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.step-text { font-size: 0.95rem; color: var(--text-muted); }
.step-text strong { color: var(--text-main); display: block; font-size: 1.05rem; margin-bottom: 2px; }

.image-box { position: relative; display: flex; justify-content: center; align-items: center; padding: 20px; }
.blob-bg { position: absolute; width: 100%; height: 100%; background: var(--primary-light); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; animation: blob 8s ease-in-out infinite; z-index: 0; opacity: 0.5; }
.blob-bg.secondary { background: #e0e7ff; }
@keyframes blob { 0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } 50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; } 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } }

.floating-img { max-width: 80%; position: relative; z-index: 1; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); animation: float 6s ease-in-out infinite; }
.floating-img-reverse { max-width: 80%; position: relative; z-index: 1; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); animation: float-reverse 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
@keyframes float-reverse { 0% { transform: translateY(-15px); } 50% { transform: translateY(0px); } 100% { transform: translateY(-15px); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #0f172a; color: #cbd5e1; padding: 80px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { height: 45px; background: white; padding: 8px; border-radius: 12px; margin-bottom: 8px; }
.footer p { font-size: 0.9rem; margin-bottom: 20px; }

.social-links { display: flex; gap: 15px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); color: white; }
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }

.footer h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { transition: var(--transition); }
.footer ul a:hover { color: var(--primary); padding-left: 5px; }
.contact-info li { display: flex; gap: 10px; align-items: flex-start; }
.contact-info i { color: var(--primary); margin-top: 4px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; }
.powered-by a { color: var(--primary); font-weight: 600; }

/* ==========================================================================
   Responsive (Mobile First & Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
    .services-banner { width: 95%; transform: translateY(-20px); margin-bottom: -20px; }
    .split-layout { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .reverse-mobile .image-box { order: -1; }
    .steps-list li { flex-direction: column; align-items: center; text-align: center; }
    .action-buttons { justify-content: center; display: flex; flex-direction: column; gap: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-menu {
        position: fixed; left: -100%; top: 80px; gap: 0; flex-direction: column;
        background: rgba(255, 255, 255, 0.98); width: 100%; text-align: center;
        transition: 0.3s; box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); padding: 20px 0;
    }
    .nav-menu.active { left: 0; }
    .nav-links { flex-direction: column; gap: 20px; width: 100%; }
    
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .contact-info li { justify-content: center; }
    .filter-buttons { flex-direction: column; width: 100%; padding: 10px; border-radius: 15px; }
    .filter-btn { width: 100%; }
}