/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --primary-light: #e6f3ff;
    --secondary-color: #00a3e0;
    --accent-color: #00d4aa;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a68;
    --text-light: #6b6b8a;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* ===========================
   Layout & Container
   =========================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Header & Navigation
   =========================== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-icon {
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.logo .tagline {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav-list {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.nav-list a {
    color: var(--text-medium);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a.active {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: linear-gradient(rgba(0, 102, 204, 0.85), rgba(0, 163, 224, 0.85)), url('imgs/hero-bg.jpg') center/cover no-repeat;
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

/* ===========================
   Main Content
   =========================== */
.main-content {
    padding: 3rem 0;
    min-height: calc(100vh - 400px);
}

/* ===========================
   Section Styles
   =========================== */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ===========================
   Product Cards
   =========================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e8eef5;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-content {
    padding: 1.5rem;
}

.product-type {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

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

.product-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.feature-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-product {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--bg-gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===========================
   Features Section
   =========================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.feature-text {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ===========================
   Product Detail Page
   =========================== */
.product-detail {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.product-header {
    background: var(--bg-gradient);
    color: white;
    padding: 3rem;
    text-align: center;
}

.product-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.product-body {
    padding: 2.5rem;
}

.product-section {
    margin-bottom: 2.5rem;
}

.product-section:last-child {
    margin-bottom: 0;
}

.product-section h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.product-section p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.specs-table th,
.specs-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e8eef5;
}

.specs-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    width: 40%;
}

.specs-table tr:last-child td,
.specs-table tr:last-child th {
    border-bottom: none;
}

.specs-table tr:hover {
    background: var(--primary-light);
}

.config-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.config-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.config-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.config-card p {
    font-size: 0.95rem;
    margin: 0;
}

.testimonials {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.testimonial {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.cta-section {
    background: var(--bg-gradient);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 2rem 0;
}

.cta-section h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* ===========================
   Legal Pages
   =========================== */
.legal-page {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.legal-page .last-updated {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.legal-section h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: var(--text-dark);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--text-dark);
    color: var(--bg-light);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #a0a0b0;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #a0a0b0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #707080;
    font-size: 0.9rem;
}

/* ===========================
   GDPR Cookie Banner
   =========================== */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    animation: slideUp 0.3s ease;
}

.gdpr-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.gdpr-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.gdpr-text {
    flex: 1;
    min-width: 300px;
}

.gdpr-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.gdpr-text a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.gdpr-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-accept {
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-accept:hover {
    background: #00b894;
}

.btn-decline {
    background: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===========================
   Breadcrumb
   =========================== */
.breadcrumb {
    background: var(--bg-white);
    padding: 1rem 0;
    border-bottom: 1px solid #e8eef5;
}

.breadcrumb-list {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list span {
    color: var(--text-light);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-list {
        justify-content: center;
    }

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

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

    .section-title {
        font-size: 2rem;
    }

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

    .product-header {
        padding: 2rem 1.5rem;
    }

    .product-header h1 {
        font-size: 1.75rem;
    }

    .product-body {
        padding: 1.5rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 0.75rem;
        display: block;
        width: 100%;
    }

    .specs-table th {
        background: transparent;
        color: var(--primary-color);
        padding-bottom: 0.25rem;
    }

    .specs-table td {
        padding-top: 0.25rem;
        padding-bottom: 0.75rem;
    }

    .gdpr-content {
        flex-direction: column;
        text-align: center;
    }

    .gdpr-buttons {
        width: 100%;
        justify-content: center;
    }

    .legal-page {
        padding: 1.5rem;
    }

    .legal-page h1 {
        font-size: 1.75rem;
    }
}

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

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

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

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

    .nav-list {
        flex-direction: column;
        gap: 0.25rem;
    }

    .nav-list a {
        padding: 0.5rem;
        text-align: center;
    }

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

/* ===========================
   Video Container
   =========================== */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    background: var(--text-dark);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container:hover {
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.3);
}

/* ===========================
   Utilities
   =========================== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 2rem;
}

/* ===========================
   Back to Top Button
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
