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

img, iframe, svg, video {
    max-width: 100%;
}

html {
    overflow-x: hidden;
}

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.02em;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.logo:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.logo-img {
    height: 42px;
    width: auto;
}

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

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-cta {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle svg {
    pointer-events: none;
}

.nav-close-wrapper {
    display: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideUp 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

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

.badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.15);
    border: 0.5px solid rgba(249, 115, 22, 0.3);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
    max-width: 580px;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stats {
    display: flex;
    gap: 56px;
    margin-bottom: 48px;
}

.stat {
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--primary) 20%, var(--primary) 80%, transparent 100%);
    opacity: 0.5;
}

.stat .number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat span:last-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.cta-group {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    padding: 16px 34px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.1);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

section h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
}

.lead {
    font-size: 20px;
    color: var(--gray);
    max-width: 700px;
    margin-bottom: 32px;
}

.about-text {
    font-size: 18px;
    color: var(--gray);
    max-width: 900px;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #131c2e 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    padding: 36px 28px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition: width 0.3s ease;
}

.benefit:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 16px 40px rgba(249, 115, 22, 0.2);
}

.benefit:hover::before {
    width: 6px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.benefit:hover .benefit-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.benefit-content p {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* About */
.about {
    background: var(--dark-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

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

.feature {
    background: var(--dark);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.feature h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature p {
    color: var(--gray);
    font-size: 14px;
}

/* Services */
.services {
    background: var(--dark);
}

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

.service-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px 32px;
    border-radius: 16px;
    border: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--white);
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
}

/* Products Section */
.products {
    background: var(--dark-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--dark);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.product-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
    background: var(--dark-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--white);
}

.product-content p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.product-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    margin-top: auto;
}

.product-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Works Carousel */
.works-carousel-section {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--dark-light);
    padding: 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 0;
}

.carousel-slide {
    flex: 0 0 33.333%;
    min-width: 0;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 100%);
    padding: 32px 24px 24px;
    transform: translateY(calc(100% + 20px));
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide:hover .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--white);
}

.slide-overlay p {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Contact Section */
.contact {
    background: var(--dark);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-item {
    background: var(--dark-light);
    padding: 24px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    min-height: 100px;
}

.contact-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-item strong {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-item span {
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Footer */
.footer {
    background: #090d16;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--gray);
    font-size: 14px;
}

.footer p {
    margin-bottom: 8px;
}

.footer-credit a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-credit a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

/* ==========================================
   Responsive Media Queries (Unified & Clean)
   ========================================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 56px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .features, .services-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-slide {
        flex: 0 0 50%;
    }
    
    .carousel-slide img {
        height: 280px;
    }
}

@media (max-width: 991px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 12px 0;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(15, 23, 42, 0.98) !important;
        z-index: 10000 !important;
    }

    .menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .nav-close-wrapper {
        display: flex !important;
        justify-content: flex-end !important;
        width: 100% !important;
        margin-bottom: 12px !important;
    }

    .nav-close {
        background: none !important;
        border: none !important;
        color: var(--white) !important;
        font-size: 32px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        padding: 4px 8px !important;
    }

    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        width: 280px !important;
        max-width: 85vw !important;
        background: #1e293b !important;
        flex-direction: column !important;
        padding: 32px 24px !important;
        gap: 24px !important;
        transform: translateX(100%) !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.3s ease !important;
        z-index: 10001 !important;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.open {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-links a {
        font-size: 18px;
        font-weight: 500;
        color: var(--white);
    }

    .btn-cta {
        display: none !important;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.7);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 9999 !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .logo-img {
        height: 36px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
        text-align: center;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero .cta-group {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 300px;
    }

    .hero .btn-primary, .hero .btn-outline {
        width: 100%;
        text-align: center;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 32px;
        justify-content: center;
    }

    .stat {
        padding-left: 16px;
    }

    .stat .number {
        font-size: 32px;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 28px 24px;
        width: 100%;
    }

    .contact-item {
        min-height: 100px;
        padding: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .carousel-slide {
        flex: 0 0 100%;
    }

    .carousel-slide img {
        height: 240px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }

    .slide-overlay {
        transform: translateY(0);
        background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 60%);
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 600px) {
    .features, .products-grid, .contact-info {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-card h3 {
        font-size: 22px;
    }
}

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

    .badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    section h2 {
        font-size: 28px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}
