/* Lumiaprint Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Lato:wght@400;700&display=swap');

:root {
    /* Lumia360.com inspired color scheme */
    --primary-dark: #020617;
    --primary-dark-alt: #0f172a;
    --primary-dark-light: #1e293b;
    --primary-light: #f8fafc;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #60a5fa;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --success: #10b981;
    --site-header-height: 70px;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(15, 23, 42, 0.1);
    --glass-shadow: rgba(15, 23, 42, 0.08);
    --dark-gradient: radial-gradient(circle at top left, #1e293b 0, #020617 45%, #020617 100%);
}

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

html,
body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #f8fafc;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile touch improvements */
@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    a,
    button,
    input,
    select,
    textarea {
        -webkit-tap-highlight-color: transparent;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(1.5rem, 1.2rem + 2.5vw, 3rem);
}

h2 {
    font-size: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
}

h3 {
    font-size: clamp(1rem, 0.9rem + 1vw, 1.875rem);
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* Navigation */
.site-header {
    /* background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)); */
    /* position: fixed; */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.site-header.scrolled {
    background-color: transparent;
    padding: 0.5rem 2rem;
}

.site-header.scrolled .nav-shell {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.logo {
    width: 150px;
    height: 2rem;
    /* display: block; */
    margin: 0;
    transition: transform 0.3s ease;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0.75rem auto;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.nav-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.site-header.scrolled .logo {
    transform: none;
}

.site-header.scrolled .sign-in-btn {
    transform: none;
}

.sign-in-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 0.35rem 0.9rem;
    height: 36px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 999px;
    border: 1px solid var(--accent);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.25s ease, background-color 0.2s ease, box-shadow 0.25s ease;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;

}

.sign-in-btn:hover,
.sign-in-btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.3);
    background-color: var(--accent-hover);
}


.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    font-family: "Poppins", Sans-serif;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--accent);
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.625rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent);
}

.dropdown-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.5rem 0;
}

.dropdown-loading {
    padding: 0.625rem 1.25rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.nav-cta {
    /* background: var(--accent); */
    color: white;
    /* padding: 0.75rem 1.5rem; */
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    /* border: 2px solid var(--accent); */
}

.nav-cta:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: #1a202c;
    display: block;
    border-radius: 2px;
    transition: 0.3s;
}

/* ── News Headline Ticker ── */
.news-ticker {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 38px;
    border-top: 1px solid rgba(59, 130, 246, 0.3);
}

.ticker-label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    padding: 0 1rem;
    height: 100%;
    z-index: 2;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.3);
}

.ticker-label span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ticker-wrap {
    display: flex;
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.ticker-content {
    display: flex;
    align-items: center;
    animation: ticker-scroll 20s linear infinite;
    will-change: transform;
}

.news-ticker:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-item {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    color: #cbd5e1;
    padding: 0 1.5rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.ticker-item a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.ticker-item a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.ticker-separator {
    color: var(--accent);
    font-size: 0.65rem;
    opacity: 0.6;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

@media (max-width: 768px) {
    .ticker-label {
        padding: 0 0.6rem;
    }

    .ticker-label span {
        font-size: 0.65rem;
    }

    .ticker-item {
        font-size: 0.78rem;
    }
}

/* Main Content Offset */
main {
    margin-top: var(--site-header-height);
}

@media (max-width: 768px) {
    main {
        margin-top: 60px;
    }
}

/* Glassmorphism Base Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Hero Section */
.hero {
    padding: 4rem 2rem 5rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.hero.glass-hero {
    background: transparent;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 4rem;
    text-align: center;
}

/* Modern Print Hero Section */
.hero-modern-print {
    padding: 4rem 2rem 4rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-modern-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-modern-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    width: fit-content;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    animation: pulse-modern 2s infinite;
}

@keyframes pulse-modern {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.hero-modern-title {
    font-size: clamp(2.5rem, 3vw + 2rem, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
}

.title-line-1 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.title-line-2 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.title-highlight {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 2px;
    opacity: 0.3;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-modern-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-modern-description strong {
    color: var(--text-dark);
    font-weight: 700;
}

.hero-modern-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    border: none;
    cursor: pointer;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-modern-primary svg {
    transition: transform 0.3s ease;
}

.btn-modern-primary:hover svg {
    transform: translateX(4px);
}

.btn-modern-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.btn-modern-secondary:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.hero-modern-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-badge svg {
    color: var(--accent);
    flex-shrink: 0;
}

.hero-modern-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.print-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.print-card {
    position: absolute;
    width: 280px;
    height: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.print-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.print-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.print-card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.print-card:hover .card-glow {
    opacity: 1;
}

.print-card-1 {
    transform: rotate(-8deg) translateY(-20px);
    z-index: 3;
    animation: float-1 6s ease-in-out infinite;
}

.print-card-2 {
    transform: rotate(5deg) translateX(30px);
    z-index: 2;
    animation: float-2 6s ease-in-out infinite 0.5s;
}

.print-card-3 {
    transform: rotate(-3deg) translateY(30px) translateX(-20px);
    z-index: 1;
    animation: float-3 6s ease-in-out infinite 1s;
}

@keyframes float-1 {

    0%,
    100% {
        transform: rotate(-8deg) translateY(-20px);
    }

    50% {
        transform: rotate(-6deg) translateY(-30px);
    }
}

@keyframes float-2 {

    0%,
    100% {
        transform: rotate(5deg) translateX(30px);
    }

    50% {
        transform: rotate(7deg) translateX(40px);
    }
}

@keyframes float-3 {

    0%,
    100% {
        transform: rotate(-3deg) translateY(30px) translateX(-20px);
    }

    50% {
        transform: rotate(-1deg) translateY(40px) translateX(-15px);
    }
}

.print-pattern {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: pulse-pattern 4s ease-in-out infinite;
}

@keyframes pulse-pattern {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero-modern-stats {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-modern {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-modern-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-modern-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-modern-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

@media (max-width: 1024px) {
    .hero-modern-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-modern-visual {
        height: 400px;
    }

    .print-card {
        width: 220px;
        height: 140px;
    }
}

/* Mobile Hero Visual Styles */
.hero-mobile-visual {
    display: none;
    /* Hidden by default on desktop */
    width: 100%;
    margin-top: 2rem;
    position: relative;
    justify-content: center;
    align-items: center;
}

.mobile-card-container {
    position: relative;
    width: 280px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.mobile-print-card {
    position: relative;
    width: 260px;
    height: 160px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotate(-3deg);
    z-index: 2;
    transition: transform 0.3s ease;
}

.mobile-print-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-print-card:active {
    transform: rotate(-3deg) scale(0.98);
}

.mobile-pattern-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    z-index: 0;
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.5rem 1rem;
    }

    .nav-shell {
        padding: 0.75rem 1rem;
        border-radius: 20px;
    }

    .hero-modern-print {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }

    .hero-modern-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-modern-content {
        gap: 1.5rem;
        text-align: left;
    }

    .hero-modern-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
        gap: 0.5rem;
    }

    .title-line-1,
    .title-line-2 {
        font-size: inherit;
    }

    .hero-modern-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    .hero-modern-cta {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .btn-modern-primary,
    .btn-modern-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1.05rem;
    }

    .hero-modern-visual {
        display: none !important;
        /* Hide desktop visual on mobile */
    }

    .hero-mobile-visual {
        display: flex;
        /* Show mobile visual */
    }

    .print-card {
        width: 160px;
        height: 100px;
    }

    .print-card-1 {
        left: 50%;
        top: 20%;
        transform: translate(-50%, -50%) rotate(-5deg);
    }

    .print-card-2 {
        left: 55%;
        top: 45%;
        transform: translate(-50%, -50%) rotate(5deg);
    }

    .print-card-3 {
        left: 45%;
        top: 70%;
        transform: translate(-50%, -50%) rotate(-3deg);
    }

    .hero-modern-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: flex-start;
    }

    .hero-modern-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 1.5rem;
        margin-top: 2rem;
        justify-content: space-around;
    }

    .stat-modern {
        text-align: center;
        flex: 1 1 40%;
        min-width: 120px;
    }

    .stat-modern-number {
        font-size: 1.75rem;
    }

    .stat-modern-label {
        font-size: 0.85rem;
    }

    .stat-modern-divider {
        display: none;
    }

    /* Services section mobile */
    .services-showcase-section {
        padding: 3rem 1rem;
        overflow-x: hidden;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0 0;
    }

    .service-card {
        padding: 1.5rem;
        width: 100%;
    }

    /* Stats section mobile */
    .stats-section {
        padding: 3rem 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Section title mobile */
    .section-title {
        margin-bottom: 2rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    /* Cards grid mobile */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        /* Force single column */
        gap: 2rem;
    }

    #cards-container {
        padding: 0 0.5rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    background: radial-gradient(circle at top left, #1e293b 0, #020617 45%, #020617 100%);
    border-radius: 32px;
    padding: 3.25rem 3rem;
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
}

.hero-inner::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(56, 189, 248, 0.1), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.4rem, 2.1rem + 1.4vw, 3.1rem);
    color: #f9fafb;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.9;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.7), transparent 55%), rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
}

.hero-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

.hero-meta div {
    padding-top: 0.4rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.hero-meta-value {
    display: block;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.hero-showcase {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-end;
}

.hero-card {
    border-radius: 18px;
    background: radial-gradient(circle at top, rgba(248, 250, 252, 0.2), rgba(15, 23, 42, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.75);
    transform-origin: center;
}

.hero-card-main {
    padding: 1.4rem 1.6rem;
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: rotate(-4deg) translateY(6px);
}

.hero-card-logo {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 0, #f9fafb, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-card-logo img {
    max-width: 110%;
    height: auto;
}

.hero-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-card-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f9fafb;
}

.hero-card-role {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.hero-card-secondary {
    max-width: 260px;
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    color: #e5e7eb;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.4), rgba(15, 23, 42, 0.98));
    transform: rotate(3deg);
}

.hero-card-secondary p {
    margin: 0.25rem 0 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-badge-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
    margin-top: 0.3rem;
}

.hero-badge-strip span {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
}

/* Page heroes (used on inner pages, distinct from home hero) */
.page-hero {
    padding: 4.5rem 2rem 3.5rem;
    margin-top: 1.25rem;
}

.page-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: #0f172a;
    background: radial-gradient(circle at top left, #1e293b 0, #020617 55%, #020617 100%);
    border-radius: 24px;
    padding: 2.5rem 2.75rem;
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.4);
}

.page-hero-inner::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(56, 189, 248, 0.16), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.page-hero h1 {
    font-size: clamp(2rem, 1.7rem + 1.2vw, 2.6rem);
    color: #f9fafb;
    margin-bottom: 0.9rem;
}

.page-hero p {
    font-size: 1.02rem;
    color: #cbd5e1;
    margin-bottom: 0;
    line-height: 1.85;
}

.page-hero--cards .page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2.5rem;
}

.page-hero-aside {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: center;
}

.page-hero-stat {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.page-hero-stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}

.page-hero-stat-value {
    display: block;
    font-size: 0.92rem;
    color: #e5e7eb;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    display: inline-block;
    border-radius: 30px 30px 30px 30px;
}

/* Section base + reveal animation */
section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    background: transparent;
}

section.bg-light {
    background: transparent;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s ease-out forwards;
}

.reveal:nth-of-type(2) {
    animation-delay: 0.08s;
}

.reveal:nth-of-type(3) {
    animation-delay: 0.14s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--accent);
    border: 2px solid var(--accent);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 800;
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.section-title p {
    font-size: 1.15rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
    width: 100%;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Improved Card Component */
.card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #f1f5f9;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
    z-index: 2;
}

.card-badge-container {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.card-badge {
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
}

.card-badge-sale {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

.card-badge-featured {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent);
}

.card-category {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: var(--accent);
}

.card-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-sale-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fee2e2;
}

.sale-discount-badge {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.9rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 1rem;
}

.card-footer .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
}

/* Enhanced card styling for featured and sale products with glassy effects */
.card-on-sale {
    background: linear-gradient(135deg,
            rgba(255, 240, 240, 0.9),
            rgba(255, 230, 230, 0.8));
    border: 2px solid rgba(220, 38, 38, 0.25);
    box-shadow:
        0 8px 32px 0 rgba(220, 38, 38, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 2px 8px rgba(220, 38, 38, 0.1);
    position: relative;
}

.card-on-sale::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(220, 38, 38, 0.05),
            transparent 50%);
    pointer-events: none;
    border-radius: 24px;
    z-index: 1;
}

.card-on-sale:hover {
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow:
        0 20px 60px 0 rgba(220, 38, 38, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 4px 16px rgba(220, 38, 38, 0.15);
    background: linear-gradient(135deg,
            rgba(255, 245, 245, 0.95),
            rgba(255, 235, 235, 0.9));
}

.card-featured {
    background: linear-gradient(135deg,
            rgba(255, 250, 230, 0.9),
            rgba(255, 245, 220, 0.8));
    border: 2px solid rgba(255, 193, 7, 0.25);
    box-shadow:
        0 8px 32px 0 rgba(255, 193, 7, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 2px 8px rgba(255, 193, 7, 0.1);
    position: relative;
}

.card-featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 193, 7, 0.05),
            transparent 50%);
    pointer-events: none;
    border-radius: 24px;
    z-index: 1;
}

.card-featured:hover {
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow:
        0 20px 60px 0 rgba(255, 193, 7, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 4px 16px rgba(255, 193, 7, 0.15);
    background: linear-gradient(135deg,
            rgba(255, 252, 240, 0.95),
            rgba(255, 248, 230, 0.9));
}

.card-featured-sale {
    background: linear-gradient(135deg,
            rgba(255, 240, 220, 0.9),
            rgba(255, 230, 210, 0.8));
    border: 2px solid rgba(220, 38, 38, 0.3);
    box-shadow:
        0 8px 32px 0 rgba(220, 38, 38, 0.25),
        0 0 0 2px rgba(255, 193, 7, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 2px 8px rgba(220, 38, 38, 0.15);
    position: relative;
}

.card-featured-sale::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(220, 38, 38, 0.05), transparent 30%),
        linear-gradient(225deg, rgba(255, 193, 7, 0.05), transparent 30%);
    pointer-events: none;
    border-radius: 24px;
    z-index: 1;
}

.card-featured-sale:hover {
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow:
        0 20px 60px 0 rgba(220, 38, 38, 0.35),
        0 0 0 3px rgba(255, 193, 7, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 4px 16px rgba(220, 38, 38, 0.2);
    background: linear-gradient(135deg,
            rgba(255, 245, 230, 0.95),
            rgba(255, 235, 220, 0.9));
}

/* Card badge container */
.card-badge-container {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

/* Card badges */
.card-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.card-badge-sale {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95), rgba(239, 68, 68, 0.95));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-badge-featured {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.95), rgba(255, 213, 79, 0.95));
    color: #1a202c;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Sale info display */
.card-sale-info {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.sale-discount-badge {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: #dc2626;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 2px solid rgba(220, 38, 38, 0.3);
}

/* Animated cards grid */
.cards-grid-animated .card {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
    animation: cardIn 0.7s ease-out forwards;
}

.cards-grid-animated .card:nth-child(2) {
    animation-delay: 0.05s;
}

.cards-grid-animated .card:nth-child(3) {
    animation-delay: 0.1s;
}

.cards-grid-animated .card:nth-child(4) {
    animation-delay: 0.15s;
}

.cards-grid-animated .card:nth-child(5) {
    animation-delay: 0.2s;
}

.cards-grid-animated .card:nth-child(6) {
    animation-delay: 0.25s;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.99);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Features */
.features-section {
    background: transparent;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 0;
}

.feature {
    text-align: center;
    padding: 2.5rem 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature h3 {
    color: var(--text-dark);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

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

/* Price Calculator */
.calculator {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.calculator-item {
    display: flex;
    flex-direction: column;
}

.calculator-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.calculator-select {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.calculator-select:focus {
    outline: none;
    border-color: var(--primary-dark);
}

.calculator-select:disabled {
    background: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.6;
}

.price-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.price-item {
    text-align: center;
}

.price-item h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    border-left: 4px solid #c33;
}

.success-message {
    background: #efe;
    color: #2d5016;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    border-left: 4px solid var(--success);
}

/* Detail Page Layout */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.detail-left-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.detail-images {
    position: relative;
    margin-bottom: 0;
}

.detail-images h1 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-size: 2rem;
    line-height: 1.25;
}

.detail-images .detail-main-image {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.detail-aside {
    position: sticky;
    top: 100px;
    align-self: start;
}

.calculator.boxed {
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.detail-main-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.detail-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
}

.thumbnail {
    width: 100%;
    height: 85px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.detail-info>p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.detail-features {
    margin: 2rem 0;
    padding: 1.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f6 100%);
    border-radius: 12px;
    border: 1px solid #e8ecf1;
}

.detail-features h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.detail-features ul {
    list-style: none;
    padding: 0;
}

.detail-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.detail-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-weight: bold;
}

/* Product details under image */
.product-tabs ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid var(--border);
}

.product-tabs ul li {
    padding: 0.875rem 0.5rem;
    cursor: pointer;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.product-tabs ul li:hover {
    color: var(--text-dark);
}

.product-tabs ul li.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.product-details {
    background: #fafbfc;
    border: 1px solid #e8ecf1;
    padding: 1.25rem;
    border-radius: 10px;
}

.product-details .detail-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.25rem;
    padding: 0.75rem 0;
    align-items: start;
    border-bottom: 1px solid #f0f2f5;
}

.product-details .detail-row:last-child {
    border-bottom: none;
}

.product-details .label {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-details .value {
    color: var(--text-dark);
    font-size: 0.925rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .product-details .detail-row {
        grid-template-columns: 1fr;
    }

    .product-details .label {
        margin-bottom: 0.25rem;
    }
}

.detail-features h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.detail-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.detail-features li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.detail-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Quality & CTA specific styling */
.quality-section {
    background: #f8f9fa;
    border-radius: 28px;
}

.cta-section {
    background: var(--dark-gradient);
    color: white;
    text-align: center;
    border-radius: 24px;
    padding: 3.5rem 2rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.45);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(96, 165, 250, 0.1), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cta-section p {
    color: #cbd5e1;
    font-size: 1.05rem;
    margin: 0.75rem auto 2rem;
    max-width: 520px;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: #f9fafb;
    position: relative;
    z-index: 1;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 2px;
}

.footer-logo {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact li {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-contact strong {
    color: #fff;
    display: inline-block;
    min-width: 60px;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-version {
    background: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-shell {
        padding: 1rem 1.5rem;
    }

    .site-header.scrolled {
        padding: 0.5rem 1rem;
    }

    .site-header.scrolled .nav-shell {
        max-width: 850px;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        padding: 0;
    }

    .nav-shell {
        padding: 0.6rem 0.75rem;
        margin: 0;
        border-radius: 0;
        background: white;
        box-shadow: none;
        border: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 100%;
        width: 100%;
        gap: 0.5rem;
    }

    .logo {
        width: 90px;
        height: 1.6rem;
        flex-shrink: 0;
    }



    /* Scrolled state on mobile */
    .site-header.scrolled {
        padding: 0;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .site-header.scrolled nav {
        max-width: 100%;
        border-radius: 0;
        background: white;
        border: none;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        backdrop-filter: none;
    }

    /* Content adjustments */
    .hero {
        padding: 4rem 1rem 3rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.75rem;
        border-radius: 24px;
    }

    .hero-showcase {
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .page-hero {
        padding: 3.5rem 1rem 2.75rem;
    }

    .page-hero-inner {
        padding: 2.1rem 1.75rem;
    }

    .page-hero--cards .page-hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .card-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .card-footer .btn {
        width: 100%;
    }

    section {
        padding: 2rem 1rem;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .detail-left-section {
        order: 1;
    }

    .detail-aside {
        position: static;
        order: 2;
        background: #f8f9fa;
        padding: 1.5rem;
        border-radius: 12px;
    }

    .calculator.boxed {
        border: none;
        box-shadow: none;
    }

    .detail-features ul {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .price-display {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --site-header-height: 55px;
    }

    .site-header {
        height: 55px;
        padding: 0;
    }

    .nav-shell {
        padding: 0.5rem 0.75rem;
        margin: 0;
        border-radius: 0;
        background: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        gap: 0.5rem;
    }

    .logo {
        width: 78px;
        height: 1.35rem;
    }

    .nav-center {
        top: 55px;
    }

    .nav-menu a {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .hamburger {
        padding: 0.3rem 0.25rem;
        gap: 3px;
        margin-left: auto;
        flex-shrink: 0;
    }

    .hamburger span {
        width: 20px;
        height: 1.8px;
    }

    /* Hero section for small screens */
    .hero-modern-print {
        padding: 4rem 0.75rem 1.5rem;
        min-height: auto;
    }

    .hero-modern-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        gap: 0.25rem;
    }

    .hero-modern-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-modern-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.9rem;
        gap: 0.5rem;
    }

    .badge-pulse {
        width: 6px;
        height: 6px;
    }

    .hero-modern-cta {
        gap: 0.5rem;
    }

    .btn-modern-primary,
    .btn-modern-secondary {
        padding: 0.8rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .btn-modern-primary svg {
        width: 16px;
        height: 16px;
    }

    .feature-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    .hero-modern-visual {
        height: 200px;
        margin-bottom: 1.5rem;
    }

    .print-card {
        width: 110px;
        height: 70px;
    }

    .print-card-1 {
        left: 10%;
        top: 15%;
    }

    .print-card-2 {
        left: 35%;
        top: 35%;
    }

    .print-card-3 {
        left: 55%;
        top: 15%;
    }

    .hero-modern-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 1rem 0.75rem;
        margin-top: 1rem;
        justify-content: space-between;
    }

    .stat-modern {
        flex: 1 1 45%;
        min-width: 0;
    }

    .stat-modern-number {
        font-size: 1.35rem;
    }

    .stat-modern-label {
        font-size: 0.75rem;
    }

    /* Services and stats mobile */
    .services-showcase-section {
        padding: 1.5rem 0.75rem;
        overflow-x: hidden;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0 0;
        width: 100%;
    }

    .service-card {
        padding: 1.25rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .stats-section {
        padding: 1.5rem 0.75rem;
        overflow-x: hidden;
    }

    .section-title h2 {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        margin: 0;
    }

    .stat-card {
        padding: 1.25rem 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-title {
        font-size: 0.9rem;
    }

    /* General section and grid mobile */
    section {
        padding: 1.5rem 0.75rem;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Cards for featured products */
    #cards-container.grid-3,
    #cards-container.single-card,
    #cards-container.two-cards {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0;
    }

    .card {
        max-width: 100%;
    }

    .card-image {
        height: 180px;
    }

    .card-content {
        padding: 1.25rem 1rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    /* Detail page mobile */
    .detail-layout {
        gap: 1.5rem;
        padding: 1rem 0.75rem;
    }

    .detail-main-image {
        margin-bottom: 1rem;
    }

    .detail-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .thumbnail {
        height: 70px;
    }

    .calculator.boxed {
        padding: 1.25rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        font-size: 16px;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        width: 100%;
    }

    /* Footer mobile */
    footer {
        padding: 2rem 0.75rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section a {
        font-size: 0.9rem;
        margin-bottom: 0.35rem;
    }

    /* Price display mobile */
    .price-display {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .price-value {
        font-size: 2rem;
    }

    /* CTA section mobile */
    .cta-section {
        padding: 2.5rem 1rem;
        border-radius: 16px;
    }

    .cta-section h2 {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }

    .cta-section p {
        font-size: 0.95rem;
        margin: 0.5rem auto 1.5rem;
    }

    /* Page hero mobile */
    .page-hero {
        padding: 2.5rem 0.75rem;
    }

    .page-hero-inner {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .page-hero h1 {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
        margin-bottom: 0.75rem;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    .page-hero--cards .page-hero-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Hero meta mobile */
    .hero-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .hero-meta div {
        padding-top: 0.3rem;
    }

    .hero-meta-label {
        font-size: 0.7rem;
    }

    .hero-meta-value {
        font-size: 0.85rem;
    }

    /* Quality section mobile */
    .quality-section {
        border-radius: 16px;
    }

    /* Product details mobile */
    .product-tabs ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .product-tabs ul li {
        padding: 0.75rem 0.25rem;
    }

    .product-details {
        padding: 1rem;
    }

    .product-details .detail-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }

    .product-details .label {
        font-size: 0.8rem;
    }

    .product-details .value {
        font-size: 0.9rem;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 2rem;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #718096;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    color: #1a1a1a;
}

.modal-.site-header {
    padding: 2rem 2rem 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.modal-.site-header h2 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-dark);
}

.modal-subtitle {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.modal-body {
    padding: 2rem;
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Order Summary */
.order-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    position: sticky;
    top: 2rem;
}

.order-summary-right {
    margin-bottom: 0;
}

.order-form-left {
    grid-column: 1;
}

.order-summary h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.summary-label {
    color: var(--text-light);
    font-weight: 500;
}

.summary-value {
    color: var(--accent);
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 1rem 0;
}

/* Form Styles */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--primary-dark);
    background: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #cbd5e0;
}

.form-input[type="textarea"],
textarea.form-input {
    resize: vertical;
}

/* Form Actions */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-weight: 500;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-.site-header,
    .modal-body {
        padding: 1.5rem;
    }

    .modal-body-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .order-summary {
        position: static;
        top: auto;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
    }

    .order-summary {
        padding: 1rem;
    }

    .summary-item {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
}

/* New Hero Section Styles */
.hero {
    padding: 6rem 2rem;
    background: #f8f9fa;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.services-showcase-section {
    background: transparent;
    padding: 5rem 1.5rem;
    overflow-x: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.service-card {
    padding: 2.5rem;
    text-align: left;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-description {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--accent-hover);
    gap: 0.75rem;
}

/* How It Works Section */
.how-it-works-section {
    background: transparent;
    padding: 5rem 2rem;
}

/* Capabilities Section */
.capabilities-section {
    background: #f8fafc;
    padding: 5rem 2rem;
    border-radius: 24px;
    margin: 2rem auto;
    max-width: 1400px;
}

/* Featured Products Section */
.featured-products-section {
    background: transparent;
    padding: 5rem 2rem;
}

/* Enhanced grid for featured products with max-width constraint */
#cards-container.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* When only one product, constrain its width */
#cards-container.single-card {
    grid-template-columns: minmax(320px, 450px);
    justify-content: center;
    max-width: 500px;
}

/* When 2 products, use 2 columns with max-width */
#cards-container.two-cards {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
}

/* Fallback using :has() for modern browsers */
#cards-container.grid-3:has(> :only-child) {
    grid-template-columns: minmax(320px, 450px);
    justify-content: center;
    max-width: 500px;
}

#cards-container.grid-3:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--text-light);
    font-size: 1rem;
}

/* Statistics Section */
.stats-section {
    background: transparent;
    padding: 5rem 1.5rem;
    overflow-x: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    padding: 2.5rem 2rem;
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Process Steps Section */
.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.process-step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.process-step .step-number {
    width: 70px;
    height: 70px;
    background: var(--accent);
    color: white;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.process-step h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.process-step p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
}

.process-arrow {
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 300;
    opacity: 0.4;
}

/* Testimonials Section */
.testimonials-section {
    background: transparent;
    padding: 5rem 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.testimonial {
    padding: 2.5rem;
    text-align: left;
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Trust Badges Section */
.trust-section {
    background: transparent;
    padding: 5rem 2rem;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.trust-badge {
    padding: 2rem 1.5rem;
    text-align: center;
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.trust-badge h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.trust-badge p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    background: transparent;
    padding: 5rem 2rem;
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 700;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 300;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.75rem;
}

.faq-answer p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: transparent;
    padding: 5rem 2rem;
}

.newsletter-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.newsletter-input::placeholder {
    color: var(--text-light);
}

/* Updated CTA Section */
.cta-section {
    background: transparent;
    padding: 5rem 2rem;
}

.glass-cta {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 3rem;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quality Section Update */
.quality-section {
    background: transparent;
    padding: 5rem 2rem;
}

/* Loading Indicator */
.loading-indicator {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Responsive Updates for New Sections */
@media (max-width: 768px) {
    .hero-content {
        padding: 2.5rem 2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-content {
        padding: 3rem 2rem;
    }

    .faq-question {
        padding: 1.5rem 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .stat-card,
    .process-step,
    .testimonial {
        padding: 2rem 1.5rem;
    }
}

/* Mobile Responsiveness Improvements */

@media (max-width: 768px) {

    /* General Layout */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Navigation */


    /* Hero Section */
    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero-modern-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-modern-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-modern-badge {
        margin: 0 auto 1.5rem;
    }

    .hero-modern-title {
        font-size: 2.5rem;
    }

    .hero-modern-description {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }

    .hero-modern-cta {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-modern-primary,
    .btn-modern-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-modern-features {
        justify-content: center;
    }

    .hero-modern-visual {
        height: 350px;
        order: -1;
        /* Move visual to top on mobile for better flow? Or keep bottom? Keeping bottom for now or checking flow. Let's keep it below content for 'content first' approach. */
        order: 1;
        margin-top: 2rem;
    }

    .print-showcase {
        transform: scale(0.9);
    }

    /* Stats Section */
    .hero-modern-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1.25rem;
        justify-content: space-between;
    }

    .stat-modern {
        flex: 1 1 45%;
        min-width: 0;
        border: none;
        padding: 0.5rem 0;
    }

    .stat-modern-divider {
        display: none;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-modern-title {
        font-size: 2rem;
    }

    .print-card {
        width: 260px;
        height: 160px;
    }
}

/* Contact Page */
.contact-hero {
    min-height: 50vh;
    justify-content: center;
}

.contact-hero .hero-modern-container {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 2.5rem;
}

.contact-hero-copy {
    max-width: 720px;
    margin: 0 auto;
}

.contact-hero-text {
    margin: 0 auto;
    max-width: 520px;
}

.contact-section {
    padding: 5rem 2rem;
    background: #f8fafc;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
    align-items: start;
}

.contact-card {
    padding: 2.5rem;
    background: #ffffff;
}

.contact-card-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.contact-card-block {
    margin-bottom: 2rem;
}

.contact-card-block:last-of-type {
    margin-bottom: 0;
}

.contact-card-heading {
    font-size: 1.25rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card-text {
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-card-text a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.contact-card-text a:hover,
.contact-card-text a:focus {
    color: var(--accent);
}

.contact-hours {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-dark);
    display: grid;
    gap: 0.35rem;
}

.contact-hours li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form-group input,
.contact-form-group textarea,
.contact-form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
    font-family: inherit;
}

.contact-form-group textarea {
    resize: vertical;
}

.contact-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    justify-content: center;
}

.contact-success {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #059669;
    text-align: center;
    font-weight: 600;
}

.contact-map {
    height: 400px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.contact-map-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/images/map-placeholder.png') center/cover no-repeat, #cbd5e1;
}

.contact-map-placeholder {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-align: center;
    color: #64748b;
}

.contact-map-placeholder p:nth-child(2) {
    font-size: 0.875rem;
    color: #94a3b8;
}

@media (max-width: 1024px) {
    .contact-grid {
        gap: 2.5rem;
    }

    .contact-card {
        padding: 2rem;
    }
}

@media (max-width: 900px) {
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-card {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 3.5rem 1.25rem;
    }

    .contact-card {
        padding: 1.75rem;
    }

    .contact-card-title {
        font-size: 1.75rem;
    }

    .contact-hours li {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-map {
        height: 300px;
    }

    .contact-map-placeholder {
        padding: 0.75rem 1.5rem;
    }
}

/* Mobile Menu Updates */
@media (max-width: 768px) {
    .site-header {
        background: white;
        height: 60px;
        padding: 0;
    }

    .nav-center {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding-bottom: 2rem;
        display: block !important;
        border-top: 1px solid #eee;
    }

    .nav-center.active {
        transform: translateX(0);
        display: block !important;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding: 0;
    }

    .nav-menu>li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-menu>li>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 1.5rem;
        width: 100%;
        font-size: 1rem;
        font-weight: 500;
    }

    /* Dropdown Styles */
    .dropdown-icon {
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin: 0;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 1rem 2rem;
        padding-left: 2.5rem;
        font-size: 0.95rem;
        border-bottom: 1px solid #edf2f7;
    }

    /* Hamburger styling */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1001;
        order: -1;
        /* Move to left */
        margin-left: 1rem;
        transition: all 0.3s ease;
    }

    .hamburger span {
        width: 100%;
        height: 2px;
        background-color: var(--text-dark);
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-shell {
        position: relative;
        justify-content: flex-start;
        /* Align items to left */
        padding: 0.5rem 1rem;
        background: white !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        max-width: 100%;
        margin: 0;
        min-height: 60px;
    }

    .logo {
        position: absolute;
        left: 45%;
        top: 40%;
        transform: translate(-50%, -50%);
        margin: 0;
    }

    .cart-icon {
        position: relative;
        left: 18rem;
        top: 50%;
        margin: 0 !important;
        background: transparent !important;
        display: flex !important;
    }

    .sign-in-btn {
        display: none;
    }
}

/* ===== Language Switcher ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 2px;
    gap: 2px;
    margin-right: 0.5rem;
    border: 1px solid #e2e8f0;
}

.lang-btn {
    padding: 0.25rem 0.6rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}

.lang-btn:hover {
    color: var(--accent);
}

.lang-btn.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

/* Mobile Language Switcher - hidden by default (only shown in mobile menu) */
.lang-switcher-mobile {
    display: none;
}

@media (max-width: 768px) {

    /* Hide the desktop lang switcher on mobile */
    .lang-switcher-desktop {
        display: none !important;
    }

    /* Show the lang switcher inside mobile menu */
    .lang-switcher-mobile {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
        border-top: 2px solid #e5e7eb;
        margin-top: 0.5rem;
    }

    .lang-switcher-mobile .lang-switcher-label {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-dark);
    }

    .lang-switcher-mobile .lang-switcher {
        margin-right: 0;
    }

    .lang-switcher-mobile .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}