/* --- CORE VARIABLES --- */
:root {
    --primary-color: #0b1a30;    /* Deep Navy */
    --secondary-color: #356a97;  /* Muted Blue */
    --accent-color: #0d8c91;     /* Teal */
    --copper-accent: #b86a4f;    /* Copper DNA strand */
    --bg-light: #f4f7f9;         /* Very soft cool grey background */
    --text-main: #1e293b;
    --text-muted: #475569;
    --white: #ffffff;
}

/* --- BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- NAVIGATION HEADER --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- THE LOGO MAGIC --- */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    mix-blend-mode: multiply; /* Strips the background */
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- HOME PAGE HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, #071120 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 8rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background-color: rgba(13, 140, 145, 0.2);
    color: #4fd1c5;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #0a6f73;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.2);
}

/* --- FEATURES / HIGHLIGHTS --- */
.features {
    max-width: 1400px;
    margin: -4rem auto 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-bottom: 4px solid var(--copper-accent);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- INTERNAL PAGE HEADER (For Products Page) --- */
.page-header {
    background: linear-gradient(135deg, #071120 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* --- PRODUCT GRID --- */
.store-container {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: block;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.specs {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* --- PRODUCT DROPDOWNS --- */
.strength-selector {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: #f8fafc;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.strength-selector:focus {
    border-color: var(--accent-color);
}

.btn-cart {
    display: block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-cart:hover {
    background-color: var(--primary-color);
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    text-align: center;
    padding: 3rem 2rem;
    font-size: 0.9rem;
}
/* --- DISCLAIMER MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 17, 32, 0.95); /* Deep navy blur */
    display: flex; 
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Keeps it strictly on top */
}

.modal-content {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-top: 5px solid var(--copper-accent); /* DNA color from your logo */
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.disclaimer-text-box {
    max-height: 250px;
    overflow-y: auto;
    text-align: left;
    background: #f8fafc;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.disclaimer-text-box p {
    margin-bottom: 0.75rem;
}

.disclaimer-text-box ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.disclaimer-text-box li {
    margin-bottom: 0.25rem;
}

.modal-content input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Grays out the button until they type */
#agree-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--text-muted);
}

/* Utility class to hide the modal via JavaScript */
.hidden {
    display: none !important;
}