@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
    /* Color Palette — Simpronics Brand: Orange + Lime Green */
    --bg-base: 210 20% 97%;
    --bg-surface: 0 0% 100%;
    --bg-glass: 210 20% 100% / 0.75;
    --border-glass: 200 215 230 / 0.5;

    /* Primary: Simpronics Orange #FF6600 → HSL(24, 100%, 50%) */
    --primary: 24 100% 50%;
    --primary-glow: 24 100% 50% / 0.15;

    /* Secondary: Simpronics Lime Green #76C442 → HSL(96, 50%, 51%) */
    --secondary: 96 50% 51%;
    --secondary-glow: 96 50% 51% / 0.15;

    --text-main: 210 30% 12%;
    --text-muted: 210 16% 42%;
    --text-dark: 210 30% 12%;

    --accent-orange: 24 100% 50%;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

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

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, hsl(24 100% 50% / 0.06) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 750px;
    right: 4%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, hsl(96 50% 51% / 0.05) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, hsl(24 100% 55%) 0%, hsl(96 50% 51%) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: hsl(var(--bg-glass));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(var(--border-glass));
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(75, 143, 198, 0.08);
}

.glass-card:hover {
    box-shadow: 0 15px 35px rgba(75, 143, 198, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.8) 100%);
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.25);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.4);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(var(--border-glass));
    color: hsl(var(--text-main));
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    color: hsl(var(--text-main));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 143, 198, 0.12);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-live {
    background: hsl(96 50% 51% / 0.15);
    color: #89d94e;
    border: 1px solid hsl(96 50% 51% / 0.35);
}

.badge-live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #89d94e;
    box-shadow: 0 0 8px #89d94e;
    animation: pulse 1.5s infinite;
}

.badge-coming {
    background: rgba(0, 0, 0, 0.05);
    color: hsl(var(--text-muted));
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* --- Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 100;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: hsl(var(--bg-glass));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--border-glass));
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    height: 42px;
    width: 42px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px hsl(24 100% 50% / 0.3));
    transition: var(--transition-smooth);
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 0 12px hsl(24 100% 50% / 0.5)) drop-shadow(0 0 8px hsl(96 50% 51% / 0.3));
    transform: scale(1.06);
}

/* SVG link paths brand styling */
.logo-link-orange {
    stroke: hsl(var(--primary));
    fill: none;
    transform-origin: center;
    transition: var(--transition-smooth);
}

.logo-link-green {
    stroke: hsl(var(--secondary));
    fill: none;
    transform-origin: center;
    transition: var(--transition-smooth);
}

.logo-rect-green {
    fill: hsl(var(--secondary));
    transform-origin: center;
    transition: var(--transition-smooth);
}

/* Subtle micro-animations on logo hover */
.logo:hover .logo-link-orange {
    transform: translate(-1px, 1px);
}

.logo:hover .logo-link-green {
    transform: translate(1px, -1px);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: hsl(var(--text-main));
    line-height: 1.1;
    transition: var(--transition-smooth);
}

.logo:hover .logo-title {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.logo-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #4b8fc6; /* Slate-blue brand subtitle matching the reference logo */
    margin-top: 2px;
    line-height: 1;
    text-transform: uppercase;
}

/* Legacy — hidden */
.logo-dot, .logo-img {
    display: none;
}

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

.nav-item {
    font-weight: 500;
    font-size: 0.95rem;
    color: hsl(var(--text-muted));
    position: relative;
    padding: 8px 0;
    transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
    color: hsl(var(--text-main));
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: hsl(var(--primary));
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 110;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: hsl(var(--text-main));
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: hsl(var(--text-muted));
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(75, 143, 198, 0.12), 0 0 40px rgba(75, 143, 198, 0.08);
    border: 1px solid rgba(var(--border-glass));
    animation: float 6s ease-in-out infinite;
}

/* --- Services Section --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: hsl(var(--text-muted));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: hsl(var(--primary) / 0.4);
    box-shadow: 0 15px 35px rgba(75, 143, 198, 0.16);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.service-card p {
    color: hsl(var(--text-muted));
    font-size: 0.95rem;
}

/* --- Products Section --- */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(var(--border-glass));
    color: hsl(var(--text-main));
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.25);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.product-status {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
}

.product-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-details h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.product-details p {
    color: hsl(var(--text-muted));
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: hsl(24 100% 45%);
    transition: var(--transition-smooth);
}

.product-link:hover {
    gap: 12px;
    color: hsl(96 50% 42%);
}

/* --- About & Tech Stack --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-content p {
    color: hsl(var(--text-muted));
    margin-bottom: 20px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tech-item {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.tech-icon {
    font-size: 1.6rem;
    color: hsl(var(--secondary));
}

.tech-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.tech-item span {
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
}

/* --- Product Detail Pages Layout --- */
.detail-hero {
    padding: 140px 0 60px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: flex-start;
}

.detail-gallery img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(var(--border-glass));
    box-shadow: 0 15px 35px rgba(75, 143, 198, 0.12);
    margin-bottom: 30px;
}

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

.spec-card {
    padding: 20px;
}

.spec-card h4 {
    color: hsl(var(--primary));
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-card p {
    color: hsl(var(--text-main));
    font-size: 1.1rem;
    font-weight: 500;
}

.detail-info h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.detail-info .badge {
    margin-bottom: 24px;
}

.detail-desc {
    font-size: 1.1rem;
    color: hsl(var(--text-muted));
    margin-bottom: 40px;
}

.detail-features {
    margin-bottom: 40px;
}

.detail-features h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: hsl(var(--text-muted));
}

.feature-list li svg {
    color: hsl(var(--secondary));
    flex-shrink: 0;
    margin-top: 4px;
}

.inquiry-card {
    padding: 30px;
    margin-top: 40px;
}

.inquiry-card h3 {
    margin-bottom: 10px;
}

.inquiry-card p {
    color: hsl(var(--text-muted));
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: hsl(var(--text-muted));
}

.form-control {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(var(--border-glass));
    border-radius: var(--radius-sm);
    padding: 14px;
    color: hsl(var(--text-main));
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: hsl(var(--primary));
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 10px rgba(75, 143, 198, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.alert-success {
    background: hsl(var(--secondary) / 0.15);
    border: 1px solid hsl(var(--secondary) / 0.3);
    color: #34d399;
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

/* --- Contact Page Layout --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.contact-method p, .contact-method a {
    color: hsl(var(--text-muted));
}

.contact-form-wrapper {
    padding: 40px;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(var(--border-glass));
    overflow: hidden;
    margin-top: 40px;
}

/* --- Footer --- */
.footer {
    background-color: hsl(var(--bg-surface));
    border-top: 1px solid rgba(var(--border-glass));
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: hsl(var(--text-muted));
    margin-top: 20px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: hsl(var(--text-main));
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: hsl(var(--text-muted));
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: hsl(var(--primary));
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(var(--border-glass));
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
}

/* --- Keyframe Animations --- */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 hsl(var(--secondary) / 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px hsl(var(--secondary) / 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 hsl(var(--secondary) / 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: hsl(var(--bg-base));
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 105;
        border-top: 1px solid rgba(var(--border-glass));
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* --- Products Slider / Carousel --- */
.products-slider-container {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.products-slider-viewport {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.products-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.products-slider-track .product-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    margin: 0;
}

@media (max-width: 992px) {
    .products-slider-track .product-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .products-slider-track .product-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: hsl(var(--bg-glass));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--border-glass));
    color: hsl(var(--text-main));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(75, 143, 198, 0.12);
}

.slider-arrow:hover:not(:disabled) {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
    box-shadow: 0 0 15px rgba(75, 143, 198, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-arrow-prev {
    left: -24px;
}

.slider-arrow-next {
    right: -24px;
}

@media (max-width: 1200px) {
    .slider-arrow-prev {
        left: -10px;
    }
    .slider-arrow-next {
        right: -10px;
    }
}

@media (max-width: 576px) {
    .slider-arrow {
        display: none; /* Hide arrows on small screens, rely on swipe */
    }
}

/* Slider Dots Indicators */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    width: 24px;
    border-radius: 10px;
    background: hsl(var(--primary));
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.25);
}

/* --- Shopping Cart Header Indicator --- */
.cart-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(var(--border-glass));
    background: rgba(255, 255, 255, 0.5);
    color: hsl(var(--text-main));
    transition: var(--transition-smooth);
    margin-right: 16px;
    cursor: pointer;
}

.cart-icon-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 143, 198, 0.12);
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: hsl(var(--primary));
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1.5px solid hsl(var(--bg-base));
    box-shadow: 0 2px 6px rgba(255, 102, 0, 0.3);
}

.cart-count-badge.active {
    display: flex;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/11;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(75, 143, 198, 0.12);
    border: 1px solid rgba(var(--border-glass));
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--bg-surface));
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-in-out;
}

.hero-slide.active img {
    transform: scale(1.03);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 24px 20px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
    z-index: 3;
    pointer-events: none;
    text-align: left;
}

.slide-caption h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
    color: #ffffff;
}

.slide-caption p {
    font-size: 0.9rem;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
}

.slider-dots-hero {
    position: absolute;
    bottom: 16px;
    right: 24px;
    margin-top: 0 !important;
    z-index: 5;
}

.slider-dots-hero .slider-dot {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dots-hero .slider-dot.active {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- Product Price Styles --- */
.price-container {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.product-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: hsl(var(--primary));
    font-family: 'Outfit', sans-serif;
}

.product-mrp {
    font-size: 1.15rem;
    text-decoration: line-through;
    color: hsl(var(--text-muted));
    font-weight: 500;
}

.discount-badge {
    background: hsl(96 50% 51% / 0.15);
    color: #5ea32b;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid hsl(96 50% 51% / 0.35);
}

/* --- Spec Table Styles --- */
.spec-table-container {
    margin-top: 30px;
    padding: 24px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.spec-table th {
    padding: 12px 16px;
    font-weight: 600;
    color: hsl(var(--text-main));
    border-bottom: 2px solid rgba(var(--border-glass));
    font-family: 'Outfit', sans-serif;
}

.spec-table td {
    padding: 12px 16px;
    color: hsl(var(--text-muted));
    border-bottom: 1px solid rgba(var(--border-glass));
}

.spec-table tr:last-child td {
    border-bottom: none;
}

/* --- Product Action Button Group --- */
.action-buttons-group {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.action-buttons-group .btn {
    flex: 1;
    padding: 14px 24px;
}

/* --- Toast Notification --- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: hsl(var(--bg-glass));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--border-glass));
    border-radius: var(--radius-sm);
    padding: 16px 24px;
    color: hsl(var(--text-main));
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(75, 143, 198, 0.16);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success-icon {
    color: hsl(var(--secondary));
}

/* --- Cart Page Layout --- */
.cart-grid-main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item-card {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.cart-item-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid rgba(var(--border-glass));
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-info h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.cart-item-info .item-unit-price {
    font-size: 0.9rem;
    color: hsl(var(--text-muted));
}

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(var(--border-glass));
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.3);
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.cart-qty-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: hsl(var(--primary));
}

.cart-qty-val {
    font-size: 0.95rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-price {
    font-size: 1.15rem;
    font-weight: 700;
    min-width: 90px;
    text-align: right;
    font-family: 'Outfit', sans-serif;
    color: hsl(var(--text-main));
}

.cart-item-remove {
    cursor: pointer;
    color: hsl(var(--text-muted));
    transition: var(--transition-smooth);
    padding: 4px;
}

.cart-item-remove:hover {
    color: #ef4444;
}

.cart-summary-card {
    padding: 30px;
}

.cart-summary-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(var(--border-glass));
    padding-bottom: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: hsl(var(--text-muted));
    margin-bottom: 14px;
}

.summary-row.total-row {
    font-size: 1.3rem;
    font-weight: 800;
    color: hsl(var(--text-main));
    border-top: 1px solid rgba(var(--border-glass));
    padding-top: 16px;
    margin-top: 16px;
    font-family: 'Outfit', sans-serif;
}

.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-icon {
    font-size: 3rem;
    color: hsl(var(--text-muted));
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.cart-empty-state p {
    color: hsl(var(--text-muted));
    margin-bottom: 30px;
}

.checkout-form-card {
    padding: 30px;
    margin-top: 30px;
}

.checkout-form-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .cart-grid-main {
        grid-template-columns: 1fr;
    }
}

/* --- Services Rates & Inquiry Form Styling --- */
.service-rate {
    font-size: 0.85rem;
    font-weight: 600;
    color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.08);
    border: 1px solid hsl(var(--primary) / 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
}

.service-link {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    color: hsl(var(--primary));
    transition: var(--transition-smooth);
}

.service-link:hover {
    color: hsl(var(--primary) / 0.8);
    transform: translateX(4px);
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    margin-top: 40px;
}

.inquiry-info-card {
    padding: 40px 30px;
}

.inquiry-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(var(--border-glass));
    padding-bottom: 12px;
}

.service-rate-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.service-rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed rgba(var(--border-glass));
    border-radius: var(--radius-sm);
}

.service-rate-item strong {
    font-family: 'Outfit', sans-serif;
    color: hsl(var(--text-main));
}

.service-rate-item span {
    font-weight: 700;
    color: hsl(var(--primary));
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step {
    display: flex;
    gap: 16px;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.step-text p {
    font-size: 0.9rem;
    color: hsl(var(--text-muted));
}

.estimator-box {
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05) 0%, hsl(var(--secondary) / 0.05) 100%);
    border: 1px solid hsl(var(--primary) / 0.15);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.estimator-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--text-muted));
    font-weight: 600;
}

.estimator-calc {
    font-size: 1rem;
    color: hsl(var(--text-main));
}

.estimator-total {
    font-size: 1.8rem;
    font-weight: 800;
    color: hsl(var(--primary));
    font-family: 'Outfit', sans-serif;
    margin-top: 4px;
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed rgba(var(--border-glass));
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.file-upload-wrapper:hover {
    border-color: hsl(var(--primary) / 0.4);
    background: hsl(var(--primary) / 0.02);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 1.8rem;
    color: hsl(var(--text-muted));
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}

.file-upload-text {
    font-size: 0.9rem;
    color: hsl(var(--text-muted));
}

.file-upload-name {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: hsl(var(--secondary));
}

@media (max-width: 992px) {
    .inquiry-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Supabase Authentication & Profile Dashboard Styling --- */
.auth-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 40px 30px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(var(--border-glass));
    padding-bottom: 12px;
}

.auth-tab-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: hsl(var(--text-muted));
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.auth-tab-btn.active, .auth-tab-btn:hover {
    color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.08);
}

.dashboard-container {
    margin-top: 40px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    padding: 30px;
}

.profile-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(var(--border-glass));
    padding-bottom: 10px;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dashboard-section {
    padding: 30px;
}

.dashboard-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(var(--border-glass));
    padding-bottom: 10px;
}

.dashboard-table-wrapper {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.dashboard-table th, .dashboard-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(var(--border-glass));
}

.dashboard-table th {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: hsl(var(--text-muted));
    background: rgba(0, 0, 0, 0.01);
}

.dashboard-table tr:hover td {
    background: rgba(var(--primary-glow) / 0.02);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-processing {
    background: rgba(255, 102, 0, 0.1);
    color: hsl(var(--primary));
    border: 1px solid rgba(255, 102, 0, 0.2);
}

.status-shipped {
    background: rgba(75, 143, 198, 0.1);
    color: #4b8fc6;
    border: 1px solid rgba(75, 143, 198, 0.2);
}

.status-delivered {
    background: hsl(96 50% 51% / 0.1);
    color: hsl(var(--secondary));
    border: 1px solid hsl(96 50% 51% / 0.2);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: hsl(var(--primary));
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-user-btn:hover {
    color: hsl(var(--primary) / 0.8);
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
}


