@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-color: #f7f7f7;
    --text-primary: #111111;
    --text-secondary: #555555;
    --accent-ligerone: #ff3366; /* Using a vibrant accent for Ligerone */
    --accent-blue: #33ccff;
    --accent-green: #ccff00;
    --accent-purple: #9966ff;
    
    --card-bg: #ffffff;
    --page-width: 210mm;
    --page-height: 297mm;
    --page-margin: 18mm;
}

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

body {
    background-color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    padding: 20px 0;
}

.page {
    width: var(--page-width);
    height: var(--page-height);
    background: var(--bg-color);
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    page-break-after: always;
    display: flex;
    flex-direction: column;
}

.page.dark-mode {
    background: #0a0a0a;
    color: #ffffff;
}

.page-inner {
    padding: var(--page-margin);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue), var(--accent-purple), var(--accent-ligerone));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Page 1: Cover */
.cover-page {
    justify-content: space-between;
}
.cover-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
.cover-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    mix-blend-mode: overlay;
}
.cover-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.logo-container {
    width: 250px;
}
.logo-container img {
    width: 100%;
    height: auto;
}
.cover-title {
    margin-top: auto;
    margin-bottom: 40px;
}
.cover-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}
.cover-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #333;
    padding-top: 20px;
}
.contact-info p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #cccccc;
}
.qr-code {
    width: 80px;
    height: 80px;
    background: #fff;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Page 2: About Us */
.about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}
.service-list {
    list-style: none;
}
.service-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}
.service-list li::before {
    content: "■";
    color: var(--accent-ligerone);
    margin-right: 15px;
    font-size: 0.8rem;
}

/* Page 3: Categories */
.category-block {
    margin-bottom: 30px;
}
.category-title {
    font-size: 1.2rem;
    border-bottom: 2px solid var(--text-primary);
    padding-bottom: 5px;
    margin-bottom: 15px;
}
.category-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.category-tag {
    background: #e0e0e0;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Product Pages */
.product-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-image-container {
    height: 45%;
    background: #ebebeb;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}
.product-sku {
    background: var(--text-primary);
    color: white;
    padding: 4px 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.product-specs {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: #ffffff;
    padding: 20px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}
.spec-item {
    font-size: 0.9rem;
}
.spec-label {
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 2px;
}
.spec-value {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
}
.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}
.cta-button {
    background: var(--text-primary);
    color: white;
    padding: 12px 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.cta-button::after {
    content: "→";
    margin-left: 10px;
}

/* Solutions Page */
.kit-card {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.kit-icon {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
}

/* Icons Grid */
.icon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.icon-box {
    text-align: center;
}
.icon-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Brand Split Page */
.brand-split {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.brand-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}
.brand-half.inkwell {
    background: #111;
    color: white;
}
.brand-half.ligerone {
    background: var(--accent-ligerone);
    color: white;
}

/* Print Settings */
@media print {
    body {
        background: none;
        padding: 0;
    }
    .page {
        margin: 0;
        box-shadow: none;
        border: none;
    }
    .no-print {
        display: none !important;
    }
}

/* Responsive adjustments for mobile/tablets */
@media screen and (max-width: 850px) {
    body {
        padding: 0;
    }
    .page {
        width: 100%;
        height: auto;
        min-height: 100vh;
        margin-bottom: 0;
        border-bottom: 4px dashed #333;
        box-shadow: none;
    }
    .page-inner {
        padding: 20px !important;
    }
    h1 { font-size: 3rem !important; }
    h2 { font-size: 2.2rem !important; }
    .cover-title h1 {
        font-size: 3.5rem !important;
    }
    .cover-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px;
    }
    .about-grid, 
    .grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .product-layout {
        height: auto !important;
        margin-bottom: 40px !important;
    }
    .product-layout .flex,
    .product-layout .flex.flex-row-reverse {
        flex-direction: column-reverse !important;
        gap: 20px !important;
    }
    .product-image-container {
        height: 350px !important;
        width: 100% !important;
    }
    .brand-half {
        padding: 20px;
        min-height: 50vh;
    }
    .category-title {
        font-size: 1.2rem;
    }
}
