html {
    scroll-behavior: smooth;
}

/* ==========================================
   Solutions & Packages Page Styles
   ========================================== */



.snap-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 100px; 
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.solutions-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: none;
}

.solutions-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.solutions-hero p {
    max-width: 800px;
    margin-inline: auto;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Hardware Kits Section */
.hardware-section {
    position: relative;
    box-sizing: border-box;
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-height: 80vh; 
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.hardware-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Edge */
}

.kit-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.kit-image img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: screen;
    opacity: 0.8;
}

.hardware-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%; 
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.hardware-card .btn {
    margin-top: auto !important; 
    padding: 12px 32px;
    font-size: 14px;
    align-self: center;
    width: fit-content;
    margin-bottom: 20px;
}

.hardware-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(61, 194, 105, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hardware-card .card-icon {
    width: 60px;
    height: 60px;
    background: rgba(61, 194, 105, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.hardware-card .card-icon .material-symbols-rounded {
    font-size: 32px;
}

.hardware-card h3 {
    font-size: clamp(1.2rem, 2.5vh, 1.8rem);
    margin: 0;
    line-height: 1.3;
}

.hardware-card .description {
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 1.5vh, 1.1rem);
    opacity: 0.8;
    margin-bottom: max(12px, 2vh);
    line-height: 1.5;
}

/* Master Feature List */
.feature-list { 
    list-style: none; 
    padding: 0; 
    margin-bottom: 24px; 
}
.feature-list > li { 
    position: relative; 
    padding-left: 28px; 
    margin-bottom: 14px; 
    font-size: clamp(0.85rem, 1.2vh, 1rem); 
    color: #dfdfdf; 
    line-height: 1.5;
}
.feature-list .icon { 
    position: absolute; 
    left: 0; 
    top: 0; 
    color: var(--accent-color); 
    font-weight: bold; 
    font-size: 16px;
}

.tier-inclusion-header {
    font-weight: 600;
    color: var(--accent-color) !important;
    margin-bottom: 8px !important;
    padding-left: 0 !important;
}

/* Premium Sub-list Styling */
.sub-features { 
    list-style-type: none; 
    margin-top: 10px; 
    padding-left: 16px; 
    border-left: 1px solid #333; /* Sleek structural line */
    margin-bottom: 4px;
}
.sub-features li { 
    position: relative; 
    margin-bottom: 10px; 
    color: #999; 
    font-size: 14px; 
    line-height: 1.5;
}
.sub-features li::before {
    content: "•";
    position: absolute;
    left: -16px;
    color: #555; /* Muted dot bullet */
}
.sub-features li:last-child {
    margin-bottom: 0;
}

/* Software App Packages Table */
.software-section {
    position: relative;
    box-sizing: border-box;
    padding-top: 120px; 
}

.bridge-text {
    text-align: center;
    color: #dfdfdf;
    margin-top: 24px;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-inline: auto;
    font-size: clamp(0.9rem, 1.6vh, 1.1rem);
    line-height: 1.4;
    font-style: italic;
}

.section-title {
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.table-wrapper {
    max-height: 75vh;
    overflow-y: auto;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-right: 10px;
}

.table-wrapper::-webkit-scrollbar {
    width: 6px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(61, 194, 105, 0.3);
    border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.table-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: clamp(0.8rem, 1.5vh, 1.5rem) clamp(1rem, 2vw, 2rem);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: clamp(0.85rem, 1.4vh, 1rem);
    line-height: 1.3;
}

.comparison-table th {
    background: #151515;
    font-weight: 700;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.comparison-table th:first-child {
    text-align: left;
    width: 40%;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-secondary);
}

.comparison-table tbody tr:not(.category-header) td:first-child {
    padding-left: 4rem;
}

/* Table Row Hover Effects */
.comparison-table tbody tr:not(.category-header):hover td {
    background-color: rgba(255, 255, 255, 0.03);
}

.comparison-table tbody tr:not(.category-header):hover td.pro-column {
    background-color: #242424;
}

/* Category Headers */
.comparison-table .category-header {
    text-align: left;
}

.comparison-table .category-header td {
    background: #151515;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
    color: #A0A0A0;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-block: 1rem;
}

/* Pro Column Highlight */
.comparison-table .pro-column {
    background-color: #1a1a1a;
}

.comparison-table th.pro-column {
    border-top: none;
}

.comparison-table .feature-check {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.comparison-table .feature-cross {
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.25rem;
}

/* CTA Section */
.solutions-cta {
    padding-block: 100px;
    text-align: center;
    background: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.solutions-cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.solutions-cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 3rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hardware-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .snap-section {
        padding-top: 40px;
    }

    .solutions-hero {
        height: auto !important;
        min-height: auto !important;
        padding: 120px 20px 60px 20px !important;
        justify-content: flex-start;
    }

    .solutions-hero h1 {
        margin-bottom: 16px;
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .solutions-hero p {
        margin-bottom: 24px;
        font-size: 1rem;
    }

    .hardware-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-height: none;
    }

    .hardware-card {
        padding: 24px 20px;
        border: 1px solid #222;
    }

    .hardware-card h3 {
        font-size: 1.4rem;
    }

    .hardware-card .btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .feature-list > li {
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-top: 48px;
        margin-bottom: 24px;
    }

    .table-wrapper {
        width: 100%;
        padding-right: 0;
        overflow-x: hidden;
    }

    .comparison-table {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
        min-width: 0;
    }

    .comparison-table thead {
        display: table-header-group;
    }

    .comparison-table tbody {
        display: table-row-group;
    }

    .comparison-table tr {
        display: table-row;
    }

    .comparison-table th,
    .comparison-table td {
        display: table-cell;
        padding: 8px 4px;
        font-size: 11px;
        word-wrap: break-word;
        box-sizing: border-box;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Fixed Column Widths */
    .comparison-table th:nth-child(1),
    .comparison-table td:nth-child(1) {
        width: 50%;
        text-align: left;
        padding-left: 8px;
    }

    .comparison-table th:nth-child(2),
    .comparison-table td:nth-child(2),
    .comparison-table th:nth-child(3),
    .comparison-table td:nth-child(3) {
        width: 25%;
    }

    /* Column Headers Scaling */
    .comparison-table th {
        font-size: 11px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    /* Category Headers Scaling */
    .comparison-table .category-header td {
        padding: 12px 8px !important;
        font-size: 11px;
        text-align: left !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: #151515 !important;
    }

    /* Nested Rows - adjust padding for mobile */
    .comparison-table tbody tr:not(.category-header) td:first-child {
        padding-left: 20px;
    }

    .solutions-cta {
        height: auto !important;
        min-height: auto !important;
        padding: 60px 20px 80px 20px !important;
        justify-content: center;
    }

    .solutions-cta h2 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .solutions-cta p {
        margin-bottom: 32px;
        font-size: 1rem;
    }
}
