:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #3b82f6;
    /* Blue */
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --card-hover-border: #8b5cf6;
    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

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

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

.btn-primary {
    background: var(--accent-gradient);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
}

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

/* Hero */
.hero {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, #1a1b2e 0%, #0d0d0d 70%);
}

.hero h2 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-secondary {
    background: white;
    color: #000;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #333;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.3s;
}

.btn-outline:hover {
    border-color: #666;
}

/* Products */
.products {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-5px);
}

.card-image {
    height: 250px;
    width: 100%;
}

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

.placeholder-gradient-1 {
    background: linear-gradient(45deg, #1e293b, #334155);
}

.placeholder-gradient-2 {
    background: linear-gradient(45deg, #334155, #475569);
}

.card-content {
    padding: 25px;
}

.card-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

.specs {
    list-style: none;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

.specs li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.specs li::before {
    content: "•";
    color: var(--accent-color);
    margin-right: 10px;
}

.btn-text {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Services */
.services {
    padding: 80px 0;
    background: #111;
}

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

.service-info h4 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.service-list li {
    margin-bottom: 10px;
    color: #ddd;
}

.service-visual {
    height: 400px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    position: relative;
    overflow: hidden;
}

.placeholder-gradient-3::after {
    content: "";
    /* Placeholder for scanner visual */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px dashed #444;
    border-radius: 50%;
}

/* Footer */
footer {
    padding: 60px 0 20px;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col h5 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .service-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* Modal & Slider Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

.modal-content {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #151515;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #fff;
}

/* Slider */
.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Make images clickable */
.product-card .card-image {
    cursor: pointer;
    position: relative;
}

.product-card .card-image::after {
    content: "🔍";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s;
    z-index: 2;
}

.product-card .card-image:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.product-card .card-image:hover img {
    filter: brightness(0.7);
    transform: scale(1.05);
    transition: all 0.3s;
}