:root {
    --cyan-100: #f4fbfc;  /* main bg */
    --cyan-200: #c9eff1;  /* light cyan cells */
    --cyan-300: #a9e0e3;  /* medium cyan header */
    --cyan-500: #6ec7cc;  /* prominent cyan */
    --cyan-600: #4ba6ab;  /* dark cyan */
    --cyan-700: #368087;  /* text dark cyan */
    --text-muted: #888;
    --border-color: #8ccacc;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--cyan-100);
    color: #333;
    line-height: 1.6;
}

.hero {
    background: linear-gradient(135deg, var(--cyan-500) 0%, var(--cyan-600) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Company Introduction */
.company-intro {
    background-color: white;
    padding: 5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 2.2rem;
    color: var(--cyan-700);
    margin-bottom: 0.5rem;
}

.intro-text .divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan-500), var(--cyan-300));
    margin-bottom: 2rem;
    border-radius: 2px;
}

.intro-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.intro-text strong {
    color: var(--cyan-700);
}

.certifications {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-badge {
    background-color: var(--cyan-100);
    color: var(--cyan-700);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid var(--cyan-300);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(110, 199, 204, 0.1);
    transition: transform 0.2s, background-color 0.2s;
}

.cert-badge:hover {
    transform: translateY(-2px);
    background-color: var(--cyan-500);
    color: white;
    border-color: var(--cyan-500);
}

.intro-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.intro-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--cyan-200);
    border-radius: 12px;
    z-index: 0;
}

.intro-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--cyan-300) 0%, var(--cyan-500) 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(110, 199, 204, 0.2);
}

/* Catalog Title */
.section-title {
    text-align: center;
    margin: 4rem 0 1rem 0;
    padding: 0 2rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--cyan-700);
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: var(--cyan-700);
}

.catalog-container {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.product-card {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(110, 199, 204, 0.15);
    border: 3px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(110, 199, 204, 0.3);
}

.product-left {
    flex: 0 0 280px;
    padding: 1.5rem;
    border-right: 3px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
}

/* CTA Section and Buttons */
.cta-section {
    text-align: center;
    padding: 6rem 2rem;
    background-color: var(--cyan-100);
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--cyan-700);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--cyan-500);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(110, 199, 204, 0.4);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(110, 199, 204, 0.6);
    background-color: var(--cyan-600);
    color: white;
}

.btn-back {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: background-color 0.3s;
}

.btn-back:hover {
    background-color: rgba(255, 255, 255, 0.4);
}
.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cyan-500);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.img-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-image {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-right {
    flex: 1;
    overflow-x: auto;
    background: white;
}

.table-scroll-container {
    width: 100%;
    overflow-x: auto;
    height: 100%;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    height: 100%;
}

.product-table th, .product-table td {
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.4rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Row 1 & 2 Headers */
.product-table thead tr:nth-child(1) th:not(.title-cell),
.product-table thead tr:nth-child(2) th {
    background-color: var(--cyan-200);
    color: var(--cyan-700);
    font-weight: 600;
}

/* Row 3 Headers */
.header-row th {
    background-color: var(--cyan-300);
    color: var(--cyan-700);
    font-weight: 800;
}

/* Labels on the left edge inside the table */
.prop-label {
    text-align: left !important;
    padding-left: 1rem !important;
}

/* Large C2 Cell */
.title-cell {
    background-color: var(--cyan-500);
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    width: 140px;
    position: relative;
    overflow: hidden;
    border-color: var(--cyan-600) !important;
}

.title-cell span {
    position: relative;
    z-index: 2;
    letter-spacing: 2px;
}

/* Watermark */
.title-cell::after {
    content: 'DENTAL';
    position: absolute;
    font-size: 4rem;
    color: rgba(255,255,255,0.15);
    transform: rotate(-25deg);
    top: -5px;
    left: -20px;
    z-index: 1;
    font-weight: 900;
    letter-spacing: 2px;
    pointer-events: none;
}

/* Diagonal Split Cell */
.split-cell {
    position: relative;
    padding: 0 !important;
    min-width: 140px;
}

.split-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.split-line line {
    stroke: var(--border-color);
    stroke-width: 1.5;
}

.split-us {
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 0.8rem;
}

.split-iso {
    position: absolute;
    bottom: 4px;
    left: 8px;
    font-size: 0.8rem;
}

.col-shank {
    text-align: left !important;
    padding-left: 1rem !important;
}

/* Data Rows */
.product-table tbody tr {
    background-color: white;
    transition: background-color 0.2s;
}

.product-table tbody tr:hover {
    background-color: #fafdfd;
}

.product-table tbody td {
    color: var(--text-muted);
}

.shank-name {
    text-align: left !important;
    padding-left: 1rem !important;
    color: var(--cyan-700) !important;
    font-weight: 600;
}

.iso-no {
    color: var(--cyan-700) !important;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    word-spacing: 1px;
    letter-spacing: -0.5px;
}

@media (max-width: 1024px) {
    .product-card {
        flex-direction: column;
    }
    .product-left {
        flex: none;
        width: 100%;
        flex-direction: row;
        align-items: center;
        border-right: none;
        border-bottom: 3px solid var(--border-color);
    }
    .product-image {
        max-height: 120px;
        margin-left: auto;
    }
}
