/* =========================================================
   SMART NANO BIOTECH
   Global Website Design System
   ========================================================= */

:root {
    --navy: #071a2d;
    --navy-light: #102b46;
    --blue: #1769d2;
    --blue-light: #3d8bfd;
    --cyan: #35b8ff;
    --silver: #d9e1ea;
    --light: #f4f7fa;
    --white: #ffffff;
    --text: #17202a;
    --muted: #657383;
    --border: #dce3ea;
    --success: #16855b;
    --danger: #c43c3c;
    --shadow: 0 10px 30px rgba(7, 26, 45, .10);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.65;
}

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

a:hover {
    color: var(--blue-light);
}

/* HEADER */

.site-header {
    background: var(--navy);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 14px rgba(0,0,0,.18);
}

.nav-container {
    max-width: 1250px;
    margin: auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 700;
    letter-spacing: .4px;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-text small {
    display: block;
    color: #9db5ca;
    font-size: 11px;
    letter-spacing: 1.4px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 17px;
}

.main-nav a {
    color: #eaf2fa;
    font-size: 14px;
}

.main-nav a:hover {
    color: var(--cyan);
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 11px 19px;
    border-radius: 7px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--blue-light);
    color: white;
}

.btn-secondary {
    border-color: var(--blue);
    color: var(--blue);
    background: white;
}

.btn-dark {
    background: var(--navy);
    color: white;
}

/* HERO */

.hero {
    background:
        linear-gradient(120deg, rgba(7,26,45,.97), rgba(13,57,94,.93));
    color: white;
    padding: 90px 22px;
}

.hero-inner {
    max-width: 1150px;
    margin: auto;
}

.eyebrow {
    color: var(--cyan);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

.hero h1 {
    max-width: 850px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    margin: 15px 0 20px;
}

.hero p {
    max-width: 760px;
    font-size: 18px;
    color: #d7e4ef;
}

/* PAGE STRUCTURE */

.container {
    width: min(1150px, 92%);
    margin: auto;
}

.section {
    padding: 65px 0;
}

.section-white {
    background: white;
}

.section-title {
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 12px;
}

.section-intro {
    max-width: 780px;
    color: var(--muted);
    margin-bottom: 30px;
}

/* CARDS */

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

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.card h3 {
    color: var(--navy);
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
}

.card-tag {
    display: inline-block;
    margin-bottom: 12px;
    background: #eaf4ff;
    color: var(--blue);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
}

/* RESEARCH */

.research-card {
    border-top: 4px solid var(--blue);
}

.research-meta {
    color: var(--muted);
    font-size: 13px;
    margin-top: 14px;
}

.project-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 15px;
    background: #e7f7f0;
    color: var(--success);
    font-size: 12px;
    font-weight: bold;
}

/* SEARCH */

.search-box {
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

.search-box input {
    flex: 1;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 16px;
}

/* FORMS */

.form-card {
    max-width: 620px;
    margin: 50px auto;
    background: white;
    padding: 35px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 15px;
}

/* MEMBERSHIP */

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

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--navy);
}

.price span {
    font-size: 15px;
    color: var(--muted);
}

.feature-list {
    list-style: none;
    margin: 22px 0;
    text-align: left;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

/* PROFILE */

.profile-header {
    display: flex;
    gap: 25px;
    align-items: center;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: grid;
    place-items: center;
    font-size: 36px;
    font-weight: bold;
}

/* AI ASSISTANT */

.ai-panel {
    border: 1px solid #b9d9fa;
    background: #f4faff;
    padding: 25px;
    border-radius: 12px;
}

.ai-badge {
    display: inline-block;
    background: var(--navy);
    color: var(--cyan);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

/* TABLE */

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.data-table th,
.data-table td {
    padding: 13px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.data-table th {
    background: var(--navy);
    color: white;
}

/* FOOTER */

.site-footer {
    background: #061522;
    color: #b8c6d3;
    padding: 45px 22px;
}

.footer-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.site-footer h4 {
    color: white;
    margin-bottom: 10px;
}

.site-footer a {
    color: #b8c6d3;
}

/* MOBILE */

@media (max-width: 850px) {

    .nav-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        gap: 11px;
    }

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

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

    .hero {
        padding: 60px 20px;
    }

    .search-box {
        flex-direction: column;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
