* { margin: 0; padding: 0; box-sizing: border-box; }

/* Custom Branded Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Smooth Page Load Transition */
@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
body {
    animation: pageFadeIn 0.4s ease-out forwards;
}

/* Navigation Bar Styles */
.top-nav {
    background: transparent;
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0; left: 0; z-index: 1000;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease;
}
.top-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.top-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin: 0; padding: 15px 20px; }
.top-nav a { color: #334155; text-decoration: none; font-weight: bold; font-size: 1.1rem; transition: color 0.3s; }
.top-nav a:hover, .top-nav a.active-link { color: #2563eb; }
.top-nav .auth-buttons { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); display: flex; gap: 15px; }
.top-nav .auth-btn { padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease; }
.top-nav .btn-signup { color: white; background: #2563eb; border: 2px solid #2563eb; }
.top-nav .btn-signup:hover, .top-nav .btn-signup.active-link { background: #1d4ed8; border-color: #1d4ed8; color: white; }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.hamburger div { width: 25px; height: 3px; background-color: #334155; transition: all 0.3s ease; }

@media (max-width: 850px) { 
    .top-nav .auth-buttons { right: 15px; gap: 10px; } 
    .top-nav .auth-btn { padding: 6px 12px; font-size: 0.85rem; }
    .hamburger { display: flex; }
    .top-nav { height: 60px; }
    .top-nav ul { 
        position: absolute; top: 60px; left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.98); flex-direction: column;
        padding: 0; display: none; box-shadow: 0 10px 20px rgba(0,0,0,0.05); gap: 0;
    }
    .top-nav ul.active { display: flex; }
    .top-nav ul li { width: 100%; }
    .top-nav a { 
        display: block; padding: 18px 25px; width: 100%; 
        border-bottom: 1px solid #e2e8f0; 
    }
    .top-nav a:hover, .top-nav a.active-link { background-color: #f1f5f9; }
}

/* Mega Footer Styles */
.mega-footer {
    background: #ffffff; padding: 60px 20px 20px; margin-top: auto;
    border-top: 1px solid #e2e8f0; text-align: left;
}
.footer-container {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px;
}
.footer-column h3 { font-size: 1.2rem; color: #0f172a; margin-bottom: 20px; font-weight: 600; }
.footer-column p { color: #475569; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { color: #475569; text-decoration: none; transition: color 0.3s; font-size: 0.95rem; }
.footer-column ul li a:hover { color: #2563eb; }
.social-icons { display: flex; gap: 15px; }
.social-icons a {
    display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
    background: #f1f5f9; color: #475569; border-radius: 50%; text-decoration: none;
    transition: all 0.3s; font-size: 0.9rem; font-weight: bold;
}
.social-icons a:hover { background: #2563eb; color: #ffffff; }
.newsletter-form { display: flex; gap: 10px; width: 100%; }
.newsletter-form input {
    flex: 1; width: auto; padding: 10px 15px; border: 1px solid #cbd5e1; border-radius: 8px;
    font-size: 0.9rem; background: #f8fafc; color: #0f172a; outline: none; transition: border-color 0.3s; margin: 0; box-shadow: none; min-width: 0;
}
.newsletter-form input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.newsletter-form button {
    width: auto; padding: 10px 20px; background: #2563eb; color: white; border: none; border-radius: 8px;
    cursor: pointer; font-weight: 600; transition: background 0.3s; margin: 0; flex-shrink: 0; white-space: nowrap;
}
.newsletter-form button:hover { background: #1d4ed8; transform: translateY(-2px); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.footer-bottom p { color: #64748b; font-size: 0.9rem; margin: 0; }
@media (max-width: 600px) { .newsletter-form { flex-direction: column; } .newsletter-form button { width: 100%; } }

/* Product Showcase Styles */
.product-showcase {
    padding: 20px 20px 80px;
    display: flex;
    justify-content: center;
}
.showcase-wrapper {
    display: flex;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    gap: 20px;
}
.showcase-container {
    max-width: 1000px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    overflow: hidden;
    height: 400px;
    transition: opacity 0.5s ease-in-out;
}
.showcase-container.fade-out {
    opacity: 0;
}
.showcase-image {
    flex: 1;
    min-height: 350px;
    height: 100%;
    background: #e2e8f0;
}
.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.showcase-details {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.showcase-details h2 { font-size: 2.2rem; color: #0f172a; margin-bottom: 15px; }
.showcase-details p { font-size: 1.1rem; color: #475569; line-height: 1.6; }

.showcase-nav {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.showcase-nav:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

@media (max-width: 768px) {
    .showcase-wrapper { position: relative; }
    .showcase-container { flex-direction: column; width: 100%; height: auto; }
    .showcase-image { height: 250px; flex: none; }
    .showcase-details { padding: 30px; min-height: 250px; }
    .showcase-nav { position: absolute; top: 125px; transform: translateY(-50%); }
    #showcase-prev { left: 10px; }
    #showcase-next { right: 10px; }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px) scale(1.05);
}