:root {
    --primary-color: #006064;
    /* Deep Cyan/Teal - Professional & Tech */
    --secondary-color: #00bcd4;
    /* Lighter Cyan for accents */
    --accent-color: #ff9800;
    /* Orange for Call to Actions */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --nav-bg: #ffffff;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Header & Nav */
header {
    background-color: var(--nav-bg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-links a:not(.btn-login)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:not(.btn-login):hover::after {
    width: 100%;
}

.btn-login {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    border: 1px solid var(--primary-color);
}

.btn-login:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #006064 0%, #004d40 100%);
    min-height: 30vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/pattern.png') repeat;
    /* Optional subtle pattern if available */
    opacity: 0.05;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Responsive font size */
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.hero .btn-login {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-size: 1.1rem;
    padding: 15px 40px;
}

.hero .btn-login:hover {
    background-color: #ffb74d;
    border-color: #ffb74d;
}

/* Section Common Styling */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

/* Products Section */
.products-section {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    padding: 40px 30px;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.product-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    background: #e0f7fa;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

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

.product-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-price {
    font-weight: 700;
    color: #00bcd4;
    /* var(--secondary-color) explicit for consistency */
    margin: 15px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.product-card .btn-login {
    margin-top: auto;
    width: 100%;
}

/* Highlights Section */
.highlights {
    background-color: #f8f9fa;
}

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

.highlight-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.highlight-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Models Comparison */
.models-section {
    background-color: #fff;
}

.models-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.model-box {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border: 1px solid #eee;
    transition: var(--transition);
}

.model-box:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

.model-box.partner {
    border: 2px solid var(--primary-color);
    background: #e0f2f1;
}

.model-box.reseller {
    border-top: 5px solid #ff9800;
}

.model-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #cfd8dc;
    color: #546e7a;
    display: flex;
    align-items: center;
}

/* Resources Section */
.resources {
    background-color: #f8f9fa;
}

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

.doc-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #e0e0e0;
}

.doc-icon {
    color: var(--primary-color);
}

.doc-title {
    color: var(--text-color);
}

/* Footer & Dashboard (Keep minimal changes or adapt if needed) */
footer {
    background-color: #1a2327;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* In a real scenario, implement a hamburger menu */
    }

    .hero {
        padding: 60px 20px;
    }

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

    .product-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 2rem;
    }

    /* Basic Mobile Nav Fallback */
    nav {
        flex-wrap: wrap;
    }

    .logo {
        text-align: center;
        margin-bottom: 10px;
    }

    .logo img {
        height: 50px;
        /* Slightly smaller logo on mobile */
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        /* Stack links vertically */
        width: 100%;
        align-items: center;
        gap: 15px;
        padding: 10px 0;
        background: #fafafa;
        /* Subtle background to distinguish nav */
    }

    .nav-links a {
        padding: 10px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .btn-login {
        width: 80%;
        /* Button not full width but prominent */
        margin-top: 5px;
    }

    header {
        height: auto;
        padding: 15px 0;
        position: relative;
    }

    .hero {
        padding: 40px 20px;
        min-height: auto;
        /* Allow auto height */
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Reduce hero title size */
    }

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

    .product-card,
    .highlight-card,
    .doc-card,
    .model-box {
        margin-bottom: 20px;
        /* spacing between stacked items */
    }
}

/* ... Dashboard specific styles can remain or be updated similarly ... */

/* --- Dashboard Styles (Preserved) --- */
.dashboard-body {
    background-color: #f0f2f5;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 260px;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.sidebar-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
}

.sidebar-menu {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.menu-item {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    color: #555;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.menu-item i {
    width: 25px;
    margin-right: 10px;
}

.menu-item:hover,
.menu-item.active {
    background: #e0f7fa;
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
}

.user-profile {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-info p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
}

.user-info span {
    font-size: 0.75rem;
    color: #888;
}

.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    color: var(--primary-color);
}

/* Modal Styles (Preserved) */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: var(--text-color);
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-group input:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

.doc-header {
    background-color: #f0f2f5;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
    margin-bottom: 10px;
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
}

.doc-content {
    padding: 60px 0;
    min-height: 60vh;
}

.doc-body {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
}

.doc-body h2 {
    margin-top: 30px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.doc-body h3 {
    margin-top: 20px;
    font-size: 1.2rem;
}

.doc-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.doc-body p {
    margin-bottom: 15px;
}

.highlight-box {
    background-color: #e0f7fa;
    padding: 20px;
    border-left: 5px solid var(--primary-color);
    margin: 25px 0;
    border-radius: 4px;
}