/* ===== CSS Variables - Clean Professional Colors ===== */
:root {
    /* Primary Colors - From Logo */
    --primary: #1e3a5f;
    --primary-light: #2d5a87;
    --primary-dark: #152a45;

    /* Accent - Subtle Teal */
    --accent: #3d8b9c;
    --accent-light: #5ba3b3;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-50: #f5f7f9;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-300: #ced4da;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --black: #0d1117;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

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

/* ===== Page Loader ===== */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.loader-bar {
    width: 150px;
    height: 2px;
    background: var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.loader-progress {
    width: 0;
    height: 100%;
    background: var(--primary);
    animation: loadProgress 1.5s ease forwards;
}

.loader-text {
    font-size: 0.8rem;
    color: var(--gray-500);
    letter-spacing: 1px;
}

@keyframes loadProgress {
    to {
        width: 100%;
    }
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s var(--ease);
}

.header.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

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

.logo-main {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 2px;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    background: var(--gray-100);
    border-radius: 6px;
    padding: 3px;
    margin-left: auto;
    margin-right: 12px;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.lang-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--primary);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
}

.nav-cta svg {
    width: 16px;
    height: 16px;
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-blobs {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(61, 139, 156, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    border-radius: 50%;
}

.blob:nth-child(1) {
    top: -100px;
    right: -100px;
    animation: blobFloat 20s infinite alternate;
}

.blob:nth-child(2) {
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.08) 0%, transparent 70%);
    animation: blobFloat 25s infinite alternate-reverse;
}

@keyframes blobFloat {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(50px, 50px) scale(1.1);
    }
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(30, 58, 95, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s var(--ease);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.25);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
}

.btn-outline {
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(30, 58, 95, 0.02);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.stat {
    text-align: left;
}

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

.stat span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(61, 139, 156, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(20px);
}

.hero-image img {
    width: 100%;
    max-width: 540px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: floating 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===== Marquee Section ===== */
.marquee-section {
    padding: 20px 0;
    background: var(--primary);
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
}

.marquee-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

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

/* ===== Section Styles ===== */
.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 550px;
    line-height: 1.7;
}

.section-header.center .section-desc {
    margin: 0 auto;
}

/* ===== Products Section ===== */
.products {
    padding: 80px 24px;
    background: var(--white);
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn .tab-icon {
    width: 20px;
    height: 20px;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

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

.products-grid.active {
    display: grid;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

.card-visual {
    position: relative;
    height: 240px;
    background: #f8fbfc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s var(--ease);
}

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

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 95, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.card-overlay span {
    padding: 10px 20px;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    border-radius: 100px;
    font-size: 0.85rem;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.product-card:hover .card-overlay span {
    transform: translateY(0);
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.5;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: gap 0.3s ease;
}

.card-link svg {
    width: 16px;
    height: 16px;
}

.card-link:hover {
    gap: 10px;
}

/* ===== Technology Section ===== */
.technology {
    padding: 80px 24px;
    background: var(--off-white);
}

.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.tech-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.tech-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-inner {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.tech-info h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.tech-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.tech-visual {
    position: relative;
    height: 400px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
}

.tech-3d {
    width: 100%;
    height: 100%;
}

/* ===== Features Section ===== */
.features {
    padding: 80px 24px;
    background: var(--white);
}

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

.feature-card {
    padding: 40px 28px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact {
    padding: 80px 24px;
    background: var(--off-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary);
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.contact-detail h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: var(--primary);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: #25D366;
    border-radius: 8px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.whatsapp-btn svg {
    width: 20px;
    height: 20px;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--gray-700);
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: var(--white);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 0.95rem;
    color: var(--gray-500);
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

.form-group input:focus+label,
.form-group input:valid+label,
.form-group textarea:focus+label,
.form-group textarea:valid+label,
.form-group select:focus+label,
.form-group select:valid+label {
    top: -8px;
    left: 12px;
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--white);
    padding: 0 4px;
}

.btn-submit {
    margin-top: 8px;
}

.btn-submit svg {
    width: 18px;
    height: 18px;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.footer-logo .logo-main,
.footer-logo .logo-sub {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4,
.footer-products h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a,
.footer-products a,
.footer-contact a,
.footer-contact p {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-products a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-desc {
        margin: 0 auto 24px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        margin-top: 32px;
    }

    .tech-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-visual {
        order: -1;
        height: 350px;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
        padding-top: 80px;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        z-index: 99;
    }

    .nav-menu .nav-link {
        font-size: 1.2rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 100;
    }

    .nav-logo,
    .lang-switcher {
        position: relative;
        z-index: 100;
    }

    .lang-switcher {
        margin-right: 8px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat {
        text-align: center;
    }

    .products-tabs {
        flex-direction: column;
    }

    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-brand p {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-image img {
        max-width: 100%;
    }

    .tech-item,
    .contact-card {
        flex-direction: column;
        text-align: center;
    }

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

/* ===== Animation Utilities ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Desktop Navigation Spacing ===== */
@media (min-width: 1025px) {
    .nav-logo {
        margin-right: auto;
    }
}

/* ===== Product Modal ===== */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.product-modal.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--gray-600);
}

.modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.modal-close:hover svg {
    color: var(--white);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 90vh;
    overflow: hidden;
}

/* Gallery Section */
.modal-gallery {
    background: var(--gray-50);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.gallery-main {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    margin-bottom: 16px;
}

.gallery-images {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-images img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s var(--ease);
    position: absolute;
}

.gallery-images img.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-nav svg {
    width: 20px;
    height: 20px;
    color: var(--gray-600);
}

.gallery-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.gallery-nav:hover svg {
    color: var(--white);
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.gallery-thumb:hover {
    opacity: 0.9;
}

.gallery-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-counter {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Modal Details Section */
.modal-details {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
    line-height: 1.3;
}

.modal-desc {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.modal-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.modal-feature svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.modal-specs {
    margin-bottom: 28px;
}

.modal-specs h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 14px;
}

.modal-specs ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-specs li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.modal-specs li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
}

.modal-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.modal-wa-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-wa-btn svg {
    width: 20px;
    height: 20px;
}

.modal-close-btn {
    padding: 14px 24px;
}

/* Modal Responsive */
@media (max-width: 900px) {
    .modal-content {
        grid-template-columns: 1fr;
        max-height: 90vh;
    }

    .modal-gallery {
        padding: 24px;
        max-height: 45vh;
    }

    .gallery-main {
        min-height: 200px;
    }

    .gallery-images img {
        max-height: 200px;
    }

    .gallery-counter {
        bottom: 70px;
    }

    .modal-details {
        padding: 24px;
        max-height: 45vh;
    }

    .modal-title {
        font-size: 1.4rem;
    }

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

@media (max-width: 480px) {
    .modal-container {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-gallery {
        padding: 16px;
    }

    .gallery-thumb {
        width: 50px;
        height: 50px;
    }

    .modal-details {
        padding: 20px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-close-btn {
        width: 100%;
    }
}

/* Make product cards clickable */
.product-card {
    cursor: pointer;
}