/* =========================================
   VARIABLES & RESETS
   ========================================= */
:root {
    /* Colors */
    --color-primary: #3B82F6;
    --color-primary-dark: #2563EB;
    --color-hero-bg-top: #01185B;
    --color-hero-bg-bot: #0055FA;
    
    --color-text-main: #111827;
    --color-text-muted: #4B5563;
    --color-white: #FFFFFF;
    
    --color-bg-gray: #F4F6F9;
    --color-bg-table: #EAECEF;
    --color-accent-light: #BFDBFE;
    --color-border: #E5E7EB;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--color-text-main);
    line-height: 1.5;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
/*.text-left { text-align: left; }*/
.bg-white { background-color: var(--color-white); }
.section-bg-gray { background-color: #ebf3fe; }

.section {
    padding: 80px 0;
}

/* =========================================
   COMPONENTS
   ========================================= */

/* Typography */
.section-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-text-main);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.title-subtext {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text-muted);
    text-transform: none;
    margin-left: 8px;
}

.accent-heading {
    display: inline-block;
}

/* The light blue dot behind the heading */
.accent-heading::before {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    background-color: var(--color-accent-light);
    border-radius: 50%;
    top: -12px;
    left: -16px;
    z-index: -1;
}

.section-description {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 900px;
    margin-bottom: 32px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline {
    border: 2px solid var(--color-text-main);
    color: var(--color-text-main);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--color-text-main);
    color: var(--color-white);
}

.btn-wrapper {
    margin-bottom: 60px;
}

/* =========================================
   SPECIFIC SECTIONS
   ========================================= */

/* --- Hero Section --- */
.hero {
    /*background: linear-gradient(180deg, var(--color-hero-bg-top) 0%, var(--color-hero-bg-bot) 100%);*/
    /* Placeholder for the world map background image */
    background-image: url('/wp-content/themes/global/static/oem/img/EXCLUSIVE BUCKET.webp');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    padding: 24px 0 0 0;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    height: 39vw;
}

.logo-area {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-title {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-content {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-bottom: 24px;
}

.hero-pill {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    transform: translateY(20px); /* Slight overlap */
}

/* --- Features Section --- */
.features-layout {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    gap: 32px;
    align-items: center;
    margin-top: 40px;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-card {
    background-color: var(--color-white);
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.feature-icon {
    background-color: var(--color-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid var(--color-bg-gray); /* Match bg to look separated */
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.feature-icon img {
    width: 20px;
    height: 20px;
}

/* Specific Overlaps for Icons */
.card-left { text-align: right; padding-right: 48px;}
.card-left .feature-icon { right: -24px; }
.card-left .feature-text { width: 100%; }

.card-right { text-align: left; padding-left: 48px;}
.card-right .feature-icon { left: -24px; }
.card-right .feature-text { width: 100%; }


/* Center Graphic with Dashed Lines */
.features-center {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.dashed-circle {
    position: absolute;
    border: 2px dashed var(--color-accent-light);
    border-radius: 50%;
    bottom: 0;
    transform: translateY(50%); /* Cut off bottom half */
}

.outer-circle {
    width: 380px;
    height: 380px;
    z-index: 1;
}

.inner-circle {
    width: 260px;
    height: 260px;
    z-index: 1;
    background-color: rgba(191, 219, 254, 0.2); /* very light blue fill */
}

.hand-graphic {
    position: relative;
    z-index: 5;
    height: 80%;
}

.hand-graphic img {
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

/* --- Custom Color Section --- */
.section-header.align-left {
    text-align: left;
    margin-bottom: 40px;
}

.color-gallery {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.main-color-box {
    flex: 1;
    background: linear-gradient(180deg, #F9FAFB 0%, #E5E7EB 100%);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--color-border);
}

.pill-badge {
    position: absolute;
    bottom: -18px; /* Offset to break container */
    background-color: #6B7280;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.color-grid {
    flex: 1.2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
}

.grid-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* --- Custom Size Section --- */
.size-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.size-item {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    height: 280px;
}

.size-item img {
    max-height: 100%;
    object-fit: contain;
}

.gradient-bg {
    background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
}

/* --- Data Table Section --- */
.table-section {
    background-color: #ebf3fe;
    padding: 60px 0 80px 0;
}

.table-container {
    max-width: 1200px;
}

.table-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--color-text-main);
}

.table-wrapper {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow-x: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 14px;
}

th, td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

th:last-child, td:last-child {
    border-right: none;
}

thead th {
    background-color: var(--color-accent-light);
    color: var(--color-text-main);
    font-weight: 700;
    text-transform: uppercase;
}

tbody tr:nth-child(even) {
    background-color: #F8F9FA;
}

tbody tr:hover {
    background-color: #F3F4F6;
}

.col-sm { width: 15%; }
.col-lg { width: 60%; }
.col-md { width: 25%; }

/*td.text-left { text-align: left; }*/
td.indent { padding-left: 40px; }

/* --- Footer --- */
.footer {
    background-color: #111827;
    color: #9CA3AF;
    text-align: center;
    padding: 24px 0;
    font-size: 14px;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================= */

@media (max-width: 1024px) {
    .hero h1 { font-size: 42px; }
    
    .features-layout {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .features-center { display: none; } /* Hide complex graphic on tablets/mobile */
    
    .card-left { text-align: left; padding-right: 32px; padding-left: 48px;}
    .card-left .feature-icon { left: -24px; right: auto; }
    
    .color-gallery { flex-direction: column; }
    .main-color-box, .color-grid { width: 100%; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    
    .logo-area { position: relative; top: 0; left: 0; justify-content: center; margin-bottom: 24px; }
    .hero-content { padding-top: 20px; }
    .hero h1 { font-size: 32px; }
    .hero-pill { font-size: 14px; padding: 10px 20px; }
    
    .section-title { font-size: 24px; }
    .title-subtext { display: block; margin-left: 0; margin-top: 8px; font-size: 16px; }
    
    .features-layout { grid-template-columns: 1fr; gap: 24px; }
    .features-column { gap: 24px; }
    
    .feature-card { padding: 20px; padding-left: 40px; }
    .feature-icon { width: 40px; height: 40px; left: -20px; }
    
    .color-grid { grid-template-columns: 1fr; }
    
    .size-gallery { grid-template-columns: 1fr; }
    
    td.indent { padding-left: 20px; }
}