:root {
    --primary-color: #0d1b2a;
    /* Deep Navy */
    --accent-color: #415a77;
    /* Lighter Navy */
    --highlight-color: #3a86ff;
    /* Bright Blue for buttons/accents */
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --bg-color-light: #f8f9fa;
    --bg-color-white: #ffffff;
    --spacing-section: 80px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--bg-color-white);
    overflow-x: hidden;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-white {
    color: var(--text-color-light);
}

.fw-bold {
    font-weight: 700;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--highlight-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid white;
}

.btn-white:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.section-padding {
    padding: var(--spacing-section) 0;
}

/* Header */
#header {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo-imready {
    height: 30px;
    object-fit: contain;
}

.logo-divider {
    width: 1px;
    height: 20px;
    background-color: #ddd;
}

.logo-premium {
    height: 25px;
    object-fit: contain;
}

/* Sections */
/* Hero */
#hero {
    background-color: #1e2a38;
    /* Slate Blue/Navy tone from image */
    color: white;
    padding: 80px 0 100px;
    /* Reduced top padding */
    text-align: center;
    background-image: linear-gradient(rgba(30, 42, 56, 0.95), rgba(30, 42, 56, 0.9)), url('hero_bg.png');
    /* Dark overlay */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    border: 1px solid #4a6fa5;
    background-color: rgba(74, 111, 165, 0.2);
    color: #8ab6ff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-weight: 500;
}

#hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-highlight {
    color: #66a3ff;
    /* Light blue highlight */
}

#hero p {
    font-size: 1.1rem;
    color: #cfd8e3;
    margin-bottom: 60px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-benefits-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    /* Friendly for smaller screens */
}

.hero-benefit-box {
    flex: 1;
    min-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-benefit-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

/* Special Box styling */
.hero-benefit-box.special {
    background: rgba(58, 134, 255, 0.15);
    /* Blue tinted bg */
    border-color: #3a86ff;
}

.hb-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.hb-icon.blue {
    background-color: #2b5cff;
    color: white;
}

.hb-icon.yellow {
    background-color: #fca311;
    color: white;
}

.hb-icon.white {
    background-color: white;
    color: #2b5cff;
}

.hb-text h4 {
    font-size: 0.8rem;
    color: #8ab6ff;
    /* Subtitle color */
    margin-bottom: 3px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-benefit-box.special .hb-text h4 {
    color: white;
    opacity: 0.8;
}

.hb-text p {
    margin: 0 !important;
    /* Override hero p margin */
    font-size: 1rem;
    color: white;
    font-weight: 700;
    line-height: 1.2;
    /* Tighten line height */
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.2rem;
    }

    .hero-benefits-row {
        flex-direction: column;
    }
}

/* Benefits Grid */
#benefits {
    background-color: white;
}

#benefits h2 {
    font-size: 2.0rem;
    /* Larger Title */
    margin-bottom: 50px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-card {
    position: relative;
    overflow: hidden;
    padding: 50px 40px;
    border-radius: 20px;
    /* Larger radius */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card-white {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('appliance_bg_blur.png');
    background-size: cover;
    background-position: center;
    border: 1px solid #eee;
}

.benefit-card-blue {
    background-image: linear-gradient(rgba(240, 247, 255, 0.85), rgba(240, 247, 255, 0.85)), url('point_bg_blur.png');
    background-size: cover;
    background-position: center;
    border: 1px solid #ddecfa;
}

.benefit-icon-box {
    width: 60px;
    /* Slightly larger */
    height: 60px;
    background-color: #0d1620;
    /* Dark Navy Background */
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    font-style: italic;
    font-family: serif;
    line-height: 1;
    pointer-events: none;
}

.desc-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Smart Care Reason Section (Redesigned Steps) */
#steps {
    background-color: white;
    text-align: center;
    padding: 80px 0;
}

#steps .steps-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #111;
}

#steps .steps-header p {
    color: #666;
    margin-bottom: 60px;
    font-size: 1.0rem;
}

.steps-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto 60px;
}

/* Timeline Line */
.steps-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    /* Aligns with circle center */
    left: 15%;
    right: 15%;
    height: 1px;
    background-color: #e1e1e1;
    z-index: 0;
}

.step-item {
    flex: 1;
    position: relative;
    z-index: 1;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-circle {
    width: 60px;
    height: 60px;
    background-color: #0d1620;
    /* Dark Navy */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.step-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}

/* Bottom Rational Box */
.rational-box {
    background-color: #0d1620;
    color: white;
    padding: 30px 40px;
    border-radius: 15px;
    display: inline-block;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.rational-box h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.rational-highlight {
    color: var(--highlight-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .steps-timeline {
        flex-direction: column;
        align-items: center;
    }

    .steps-timeline::before {
        width: 1px;
        height: 80%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .step-item {
        margin-bottom: 40px;
    }
}

/* Pricing */
#pricing {
    background-color: #050b11;
    /* Dark background as requested */
    color: white;
    text-align: center;
}

#pricing h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.pricing-card {
    background: white;
    color: #333;
    border-radius: 20px;
    padding: 40px 20px;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
    /* Prevent layout shift on hover if border added */
}

/* Hover Effect: Move up */
.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    /* Stronger shadow on dark bg */
}

/* Featured (Best) Card */
.pricing-card.featured {
    border: 2px solid var(--highlight-color);
    box-shadow: 0 0 20px rgba(58, 134, 255, 0.4);
    transform: scale(1.05);
    /* Slight default scale for emphasis */
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.badge-best {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--highlight-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 5px 10px rgba(58, 134, 255, 0.3);
}

.plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 5px;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    margin: 15px 0;
    letter-spacing: -1px;
}

.plan-unit {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.plan-details {
    margin-top: 25px;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
}

.detail-row {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 5px;
}

.detail-value {
    display: block;
    font-weight: 600;
    color: #333;
}

.detail-value.highlight {
    color: var(--highlight-color);
}

/* Products Section */
#products {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-title h4 {
    color: var(--highlight-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.gallery-title h2 {
    font-size: 2rem;
    color: #111;
}

.gallery-filters {
    display: flex;
    background: white;
    padding: 5px;
    border-radius: 50px;
    border: 1px solid #eee;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 40px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #888;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.filter-btn.active {
    background-color: #0d1b2a;
    color: white;
}

.filter-btn:hover:not(.active) {
    color: #333;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4x3 desktop */
    gap: 20px;
}

.product-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.product-img-box {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background-color: #f4f4f4;
}

.product-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(33, 33, 33, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.product-info {
    padding: 20px;
    text-align: left;
}

.prod-model {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 5px;
    display: block;
}

.prod-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 42px;
    /* Fixed height for 2 lines */
    overflow: hidden;
}

.prod-benefit {
    font-size: 0.8rem;
    color: var(--highlight-color);
    font-weight: 700;
}

/* Full Page Overlay for 'View All' */
#product-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    z-index: 9999;
    overflow-y: auto;
    display: none;
    /* Hidden by default */
    padding-bottom: 50px;
}

.overlay-header {
    background: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Hybrid Solution Section (Replacing Lifestyle) */
#hybrid {
    background-color: #f0f4f8;
    /* Distinguishable background */
}

.hybrid-header {
    text-align: center;
    margin-bottom: 50px;
}

.hybrid-subtitle {
    color: var(--highlight-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.hybrid-header h2 {
    font-size: 2rem;
    line-height: 1.3;
    color: #111;
    margin-bottom: 20px;
}

.hybrid-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.hybrid-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hybrid-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.hybrid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #e1e1e1;
}

.hybrid-icon-box {
    width: 80px;
    height: 80px;
    background-color: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    color: var(--highlight-color);
    font-size: 2rem;
}

/* Hover Effect: Icon box changes color and moves */
.hybrid-card:hover .hybrid-icon-box {
    background-color: var(--highlight-color);
    color: white;
    transform: scale(1.1) rotate(360deg);
    /* Move and rotate */
}

.hybrid-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.hybrid-card p {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.6;
    word-break: keep-all;
}

/* Responsive adjustment for hybrid grid */
@media (max-width: 992px) {
    .hybrid-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hybrid-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on Mobile */
        gap: 15px;
        /* Reduced gap for smaller screens */
    }

    .hybrid-card {
        padding: 20px 15px;
        /* Reduced padding for mobile cards */
    }

    .hybrid-icon-box {
        width: 60px;
        /* Smaller icon box */
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .hybrid-card h4 {
        font-size: 1.1rem;
    }

    .hybrid-card p {
        font-size: 0.8rem;
    }
}

/* Important Notice Section */
#notice {
    background-color: #f8f9fa;
    color: #555;
    font-size: 0.85rem;
    border-top: 1px solid #ddd;
}

.notice-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.notice-item h4 {
    font-size: 0.95rem;
    color: #111;
    margin-bottom: 10px;
    font-weight: 700;
    border-left: 3px solid var(--highlight-color);
    padding-left: 10px;
}

.notice-item p,
.notice-item li {
    line-height: 1.6;
    margin-bottom: 5px;
}

.assets-table {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    border-collapse: collapse;
    background: white;
}

.assets-table th,
.assets-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    font-size: 0.85rem;
}

.assets-table th {
    background-color: #eee;
    font-weight: 700;
    color: #333;
}

.notice-list {
    list-style: none;
    padding: 0;
}

.notice-list li {
    padding-left: 15px;
    position: relative;
}

.notice-list li::before {
    content: "-";
    position: absolute;
    left: 0;
}

.precautions-list {
    list-style: decimal;
    padding-left: 20px;
}

.precautions-list li {
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .notice-grid {
        grid-template-columns: 1fr;
    }
}

/* Membership Benefit Section */
#membership {
    background-color: white;
    /* Distinct background */
}

.membership-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.membership-img-box {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(13, 27, 42, 0.15);
    /* Deep shadow */
}

.membership-img-box img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.membership-img-box:hover img {
    transform: scale(1.05);
}

.membership-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.membership-overlay-text h4 {
    color: var(--highlight-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.membership-overlay-text h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.membership-overlay-text p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.membership-content {
    flex: 1;
    min-width: 300px;
}

.membership-content h2 {
    font-size: 2rem;
    color: #111;
    margin-bottom: 30px;
    line-height: 1.3;
}

.membership-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight-color);
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.feature-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Contact Process Section */
#contact-process {
    background-color: #050b11;
    color: white;
    text-align: center;
}

#contact-process h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

#contact-process p {
    color: #aaa;
    margin-bottom: 50px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.process-card {
    background-color: #0d1620;
    /* Slightly lighter dark */
    border: 1px solid #1a2634;
    border-radius: 15px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: var(--highlight-color);
}

.process-step-label {
    color: var(--highlight-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.process-icon {
    font-size: 2.5rem;
    color: var(--highlight-color);
    /* Initial color */
    margin-bottom: 20px;
    background: transparent;
    border: 2px solid var(--highlight-color);
    /* Outline icon style as per image */
    width: 70px;
    height: 70px;
    border-radius: 50%;
    /* Or rounded rectangle depending on pref, image shows simply icons */
    /* Let's match the image: simple icons, no background, just color */
    border: none;
    width: auto;
    height: auto;
}

.process-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* border: 1px solid rgba(52, 152, 219, 0.3); */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.process-icon-box i {
    font-size: 1.8rem;
    color: #5dade2;
    /* Lighter blue like image */
}

.process-card h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Protocol Service Section */
#protocol {
    background-color: white;
    overflow: hidden;
}

.protocol-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.protocol-text {
    flex: 1;
    min-width: 300px;
}

.protocol-subtitle {
    color: var(--highlight-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.protocol-text h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111;
}

.protocol-desc {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.protocol-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: #444;
}

.protocol-list i {
    color: var(--highlight-color);
    margin-right: 15px;
    margin-top: 5px;
}

.protocol-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.protocol-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Protocol Overlay (Table) */
#protocol-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.protocol-modal {
    background: white;
    width: 100%;
    max-width: 1000px;
    height: 90vh;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.protocol-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

.protocol-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Table Styles */
.protocol-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.protocol-table th,
.protocol-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.protocol-table th {
    background-color: #f1f3f5;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.protocol-table td {
    vertical-align: middle;
}

.group-header {
    background-color: #e9ecef;
    font-weight: bold;
}

.check-mark {
    color: var(--highlight-color);
    font-weight: bold;
    text-align: center;
}

/* Lifestyle/Experience */
#lifestyle {
    text-align: center;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.lifestyle-item {
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 10px;
}

/* Form Section */
#contact {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.contact-form-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-input {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #415a77;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-footer {
    grid-column: span 2;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #050b11;
    color: #888;
    padding: 40px 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x5 Mobile Layout as requested */
    }

    .benefit-grid,
    .steps-container,
    .lifestyle-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    /* Process Grid: Keep 3 columns on mobile */
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .process-card {
        padding: 15px 5px;
        /* Compact padding */
    }

    .process-icon {
        font-size: 1.5rem;
        /* Smaller icons */
    }

    .process-step-label {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }

    .process-card h4 {
        font-size: 0.9rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns for Pricing on Mobile */
        gap: 10px;
    }

    .pricing-card {
        padding: 15px 8px;
    }

    .pricing-card.featured {
        padding-top: 45px;
        /* Prevent badge overlap */
        transform: none;
    }

    .badge-best {
        top: -10px;
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    .plan-price {
        font-size: 1.4rem;
        margin: 5px 0;
        /* Reduced margin */
    }

    .plan-details {
        margin-top: 10px;
        /* Condensed details */
    }

    .contact-form-container {
        grid-template-columns: 1fr;
    }
}

/* Product Grid Layout Logic (PC 4x3 / Mobile 2x5) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns on PC */
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns Mobile */
        gap: 10px;
    }

    /* Hide 11th item onwards on mobile ONLY for the main grid */
    /* This ensures exactly 10 items (2x5) are shown */
    #main-product-grid .product-item:nth-child(n+11) {
        display: none;
    }
}

/* Overlay Styling */
#product-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    overflow-y: auto;
}

.overlay-header {
    position: sticky;
    top: 0;
    background-color: #f1f3f5;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.protocol-table td {
    vertical-align: middle;
}

.group-header {
    background-color: #e9ecef;
    font-weight: bold;
}

.check-mark {
    color: var(--highlight-color);
    font-weight: bold;
    text-align: center;
}

/* Lifestyle/Experience */
#lifestyle {
    text-align: center;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.lifestyle-item {
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 10px;
}

/* Form Section */
#contact {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.contact-form-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-input {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #415a77;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-footer {
    grid-column: span 2;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #050b11;
    color: #888;
    padding: 40px 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x5 Mobile Layout as requested */
    }

    .benefit-grid,
    .steps-container,
    .lifestyle-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns for Pricing on Mobile */
        gap: 10px;
    }

    .pricing-card {
        padding: 15px 8px;
    }

    .pricing-card.featured {
        padding-top: 45px;
        /* Prevent badge overlap */
        transform: none;
    }

    .badge-best {
        top: -10px;
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    .plan-price {
        font-size: 1.4rem;
        margin: 5px 0;
        /* Reduced margin */
    }

    .plan-details {
        margin-top: 10px;
        /* Condensed details */
    }

    .contact-form-container {
        grid-template-columns: 1fr;
    }
}

/* Product Grid Layout Logic (PC 4x3 / Mobile 2x5) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns on PC */
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns Mobile */
        gap: 10px;
    }

    /* Hide 11th item onwards on mobile ONLY for the main grid */
    /* This ensures exactly 10 items (2x5) are shown */
    #main-product-grid .product-item:nth-child(n+11) {
        display: none;
    }
}

/* Overlay Styling */
#product-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    overflow-y: auto;
}

.overlay-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Utility to force line break only on mobile */
.mobile-br {
    display: none;
}

@media (max-width: 768px) {
    .mobile-br {
        display: block;
    }
}

/* Protocol Modal - New Grid Layout */
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 10px;
    text-align: left;
}

.protocol-card {
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s;
}

.protocol-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.p-card-header {
    background-color: #0d1620;
    /* Brand Navy */
    color: white;
    padding: 12px 15px;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 2px solid var(--highlight-color);
}

.p-card-body {
    padding: 15px;
}

.p-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f3f5;
}

.p-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.p-label {
    flex: 0 0 35%;
    font-weight: 700;
    color: #495057;
    font-size: 0.95rem;
}

.p-value {
    flex: 0 0 65%;
    text-align: right;
    color: #333;
    font-size: 0.9rem;
    word-break: keep-all;
    line-height: 1.4;
}

.p-highlight {
    color: var(--highlight-color);
    font-weight: 700;
}

.p-note {
    font-size: 0.8rem;
    color: #868e96;
    display: block;
    margin-top: 3px;
}

.p-note.text-danger {
    color: #e03131;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .protocol-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .protocol-modal {
        width: 95%;
        margin: 20px auto;
        max-height: 90vh;
    }

    .p-label {
        flex: 0 0 30%;
        font-size: 0.9rem;
    }

    .p-value {
        flex: 0 0 70%;
        font-size: 0.9rem;
    }
}