/* ==========================================================================
   ASTM A194 Grade Nuts – Complete Responsive & Typography Stylesheet
   Pages: 2H · 8M · 8T
   Typography: Plus Jakarta Sans & JetBrains Mono
   Fixes: Laptop full-width responsiveness, container gutter crush, mobile scaling,
          and high-contrast modern typography.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   1. GLOBAL CONTAINER & LAYOUT RESETS (Fixes 18rem gutter crush across laptop & mobile)
   -------------------------------------------------------------------------- */
:root {
    --rs-ff-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --rs-ff-title: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --rs-ff-p: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #1e293b;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Force standard responsive gutters for ALL containers on the page */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    --bs-gutter-x: 1.5rem !important; /* 24px standard */
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 576px) {
    .container { max-width: 540px !important; }
}

@media (min-width: 768px) {
    .container { max-width: 720px !important; }
}

@media (min-width: 992px) {
    .container { max-width: 960px !important; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px !important; }
}

@media (min-width: 1400px) {
    .container { max-width: 1320px !important; }
}

/* Row gutters reset */
.row {
    --bs-gutter-x: 1.5rem !important;
}

main {
    overflow-x: clip;
    width: 100%;
}

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

/* --------------------------------------------------------------------------
   2. ENHANCED TYPOGRAPHY & BRAND COLORS
   -------------------------------------------------------------------------- */
main h1, main h2, main h3, main h4, main h5, main h6 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #0f172a; /* Slate 900 */
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

/* Ensure headings & paragraphs on dark surfaces are always pure/bright white */
.grade-hero h1,
.grade-hero h2,
.grade-hero h3,
.grade-hero p,
.cta-box h1,
.cta-box h2,
.cta-box h3,
.cta-box p,
:is(#g2h, #g8m, #g8t) .g2h-head h3,
:is(#g2h, #g8m, #g8t) .g8m-head h3,
:is(#g2h, #g8m, #g8t) .g8t-head h3,
.g2h-head h3,
.g8m-head h3,
.g8t-head h3 {
    color: #ffffff !important;
}

:is(#g2h, #g8m, #g8t) .g2h-head p,
:is(#g2h, #g8m, #g8t) .g8m-head p,
:is(#g2h, #g8m, #g8t) .g8t-head p,
.g2h-head p,
.g8m-head p,
.g8t-head p {
    color: rgba(255, 255, 255, 0.95) !important;
}

main p {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #334155; /* Slate 700 */
    line-height: 1.7;
}

/* Remove all blue lines / decorative underlines / pseudo-elements under headings */
.section-title-bar::after,
.section-title-bar::before,
.section-title-bar h2::after,
.section-title-bar h2::before,
.spec-table-wrap::after,
.spec-table-wrap::before,
.spec-block::after,
.spec-block::before,
main h1::after, main h2::after, main h3::after, main h4::after,
main h1::before, main h2::before, main h3::before, main h4::before,
.section-title-bar span,
.section-title-bar .line {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
    height: 0 !important;
    width: 0 !important;
}

.section-title-bar {
    border-left: 4.5px solid #164264;
    border-bottom: none !important;
    padding-left: 16px;
    margin-bottom: 24px;
}

.section-title-bar h2 {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

/* Centered title style for tables */
.section-title-bar.center-title {
    border-left: none !important;
    border-bottom: none !important;
    text-align: center !important;
    padding-left: 0 !important;
    margin-bottom: 24px !important;
}

.section-title-bar.center-title h2 {
    text-align: center !important;
    display: inline-block;
    border: none !important;
    padding-top:11px;
}

/* Constrained width & centered alignment for tables */
.spec-table-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.spec-block {
    margin-bottom: 45px;
}

.spec-block:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. HERO BANNER
   -------------------------------------------------------------------------- */
.grade-hero {
    background: url('../img/banner/banner.png') no-repeat center center / cover;
    padding: 110px 0 90px;
    position: relative;
    color: #ffffff;
}

.grade-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(14, 42, 64, 0.88) 0%, rgba(10, 25, 40, 0.94) 100%);
}

.grade-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}

.grade-hero nav a {
    color: #cbd5e1 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.grade-hero nav a:hover {
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   4. INTRO SECTION & CALL TO ACTIONS
   -------------------------------------------------------------------------- */
.main-product-img {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    background: #ffffff;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-img img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.main-product-img:hover img {
    transform: scale(1.02);
}

.intro-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.intro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    background: linear-gradient(135deg, #164264 0%, #1e5c8a 100%);
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border-radius: 9px;
    text-decoration: none;
    border: 1.5px solid #164264;
    transition: all 0.22s ease;
    box-shadow: 0 3px 10px rgba(22, 66, 100, 0.25);
}

.intro-btn:hover {
    background: linear-gradient(135deg, #0e2a40 0%, #164264 100%);
    border-color: #0e2a40;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 66, 100, 0.32);
}

.intro-btn.alt {
    background: #ffffff;
    color: #164264 !important;
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.intro-btn.alt:hover {
    background: #f0f7ff;
    border-color: #164264;
    color: #164264 !important;
    box-shadow: 0 4px 12px rgba(22, 66, 100, 0.14);
}

/* --------------------------------------------------------------------------
   5. SPEC TABLES & DATA TABLES
   -------------------------------------------------------------------------- */
.table-responsive {
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
}

#specs .row.g-4 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

#specs .row.g-4 > [class*="col-"] {
    display: flex;
    align-items: stretch;
}

#specs .spec-table-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
}

#specs .spec-table-wrap .section-title-bar {
    display: flex;
    align-items: center;
    min-height: 86px;
    margin-bottom: 14px;
}

#specs .spec-table-wrap .section-title-bar h2 {
    margin: 0;
    width: 100%;
    line-height: 1.2;
}

#specs .spec-table-wrap .table-responsive {
    flex: 1;
    width: 100%;
}

.spec-table {
    width: min(100%, 960px) !important;
    margin: 0 auto !important;
    margin-bottom: 0 !important;
    border: none !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    table-layout: fixed;
}

.spec-table thead {
    background: linear-gradient(135deg, #164264 0%, #1c527c 100%);
    color: #ffffff !important;
}

.spec-table th {
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    padding: 10px 12px !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    vertical-align: middle;
    text-align: center !important;
}

.spec-table td {
    padding: 10px 12px !important;
    font-size: 14.5px !important;
    color: #1e293b !important;
    border-color: #f1f5f9 !important;
    vertical-align: middle;
    text-align: center !important;
}

.spec-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.spec-table tbody tr:hover {
    background-color: #f0f7ff;
}

/* Metric Dimensions Table */
.dim-table {
    font-size: 13.5px !important;
}

.dim-table th, .dim-table td {
    padding: 11px 14px !important;
    white-space: nowrap;
}

.dim-table td:first-child {
    font-weight: 700;
    color: #164264 !important;
}

/* Sticky thead styling */
.table-responsive[style*="max-height"] {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.table-responsive[style*="max-height"]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-responsive[style*="max-height"]::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.table-responsive[style*="max-height"]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

/* --------------------------------------------------------------------------
   6. NUT TYPES CARDS (Laptop & Mobile Grid)
   -------------------------------------------------------------------------- */
.type-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 18px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.type-card:hover {
    border-color: #164264;
    box-shadow: 0 10px 24px rgba(22, 66, 100, 0.12);
    transform: translateY(-3px);
}

.type-card img {
    width: auto;
    max-width: 100%;
    height: 105px;
    object-fit: contain;
    margin-bottom: 14px;
    transition: transform 0.25s ease;
}

.type-card:hover img {
    transform: scale(1.05);
}

.type-card h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.3;
}

.type-card p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   7. PROCESS, TESTING & INFO CARDS
   -------------------------------------------------------------------------- */
/* Modern Process Cards (3-column layout) */
.process-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px 22px 22px;
    height: 100%;
    position: relative;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
    border-top: 3.5px solid #164264;
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(22, 66, 100, 0.1);
    border-color: #cbd5e1;
    border-top-color: #0284c7;
}

.process-card-step {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #0284c7;
    background: #f0f7ff;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 14px;
    width: fit-content;
}

.process-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.process-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Testing Table Badges */
.test-badges-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.test-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #164264;
    background: #f0f7ff;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.test-badge i {
    color: #0284c7;
    font-size: 15px;
}

.test-badge:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
}

.process-step {
    position: relative;
    padding-left: 56px;
    margin-bottom: 24px;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #164264 0%, #1e5c8a 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(22, 66, 100, 0.25);
}

.process-step h5 {
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 5px;
}

.highlight-list {
    margin: 0;
    padding: 0;
}

.highlight-list li {
    list-style: none;
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.55;
}

.highlight-list li::before {
    content: "\eb7b";
    font-family: remixicon;
    position: absolute;
    left: 0;
    top: 8px;
    color: #0284c7;
    font-size: 18px;
}

.info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px 22px;
    height: 100%;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.info-card:hover {
    border-color: #0284c7;
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.1);
}

.info-card h5 {
    font-size: 17.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.quality-testing-section {
    padding: 70px 0;
    background: #f4f7fa;
}

.quality-testing-section .quality-testing-intro {
    max-width: 820px;
    margin-bottom: 28px;
    color: #555;
    line-height: 1.75;
}

.quality-testing-cards .info-card {
    padding: 22px 20px;
    background: #fff !important;
    border-color: #e5ebf1 !important;
    box-shadow: none !important;
}

.quality-testing-cards .info-card h5,
.quality-testing-cards .info-card p {
    color: inherit;
}

.quality-testing-cards .info-card h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.quality-testing-cards .info-card p {
    margin: 0;
    font-size: 14px;
}

.quality-testing-section .quality-testing-note {
    margin: 24px 0 0;
    color: #777;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   8. CTA SECTION
   -------------------------------------------------------------------------- */
.cta-box {
    background: linear-gradient(135deg, #0e2a40 0%, #164264 60%, #1c527c 100%);
    border-radius: 18px;
    padding: 56px 40px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 45px rgba(14, 42, 64, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-box h3 {
    color: #ffffff !important;
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.cta-box > p {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 16px;
    line-height: 1.6;
}

.cta-box .rs-btn {
    background: #ffffff !important;
    color: #164264 !important;
    padding: 15px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-box .rs-btn:hover {
    background: #f0f7ff !important;
    color: #0e2a40 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE BREAKPOINTS (Laptop, Tablet, Mobile)
   -------------------------------------------------------------------------- */

/* Laptop Screens (992px to 1400px) */
@media (min-width: 992px) and (max-width: 1400px) {
    .grade-hero { padding: 95px 0 80px; }
    .grade-hero .col-lg-10 p:nth-of-type(1) { font-size: 40px !important; }
    .section-title-bar h2 { font-size: 26px !important; }
    .type-card { padding: 20px 14px 18px; }
    .type-card img { height: 95px; }
    .cta-box { padding: 46px 32px; }
    .cta-box h3 { font-size: 28px; }
}

/* Tablet Screens (768px to 991px) */
@media (max-width: 991px) {
    .grade-hero { padding: 80px 0 70px; }
    .grade-hero .col-lg-10 p:nth-of-type(1) { font-size: 34px !important; }
    .grade-hero .col-lg-10 p:nth-of-type(2) { font-size: 16px !important; }
    
    .section-title-bar h2 { font-size: 24px !important; }
    .main-product-img img { max-height: 290px; }
    
    .type-card { padding: 20px 14px 18px; }
    .type-card img { height: 90px; }
    
    .cta-box { padding: 40px 28px; }
    .cta-box h3 { font-size: 25px; }
}

/* Mobile Screens (576px to 767px) */
@media (max-width: 767px) {
    main section {
        padding-top: 45px !important;
        padding-bottom: 45px !important;
    }
    
    .grade-hero { padding: 65px 0 55px; }
    .grade-hero .col-lg-10 p:nth-of-type(1) { font-size: 28px !important; }
    .grade-hero .col-lg-10 p:nth-of-type(2) { font-size: 15px !important; margin-bottom: 18px !important; }
    
    .section-title-bar {
        border-left-width: 4px !important;
        padding-left: 12px !important;
        margin-bottom: 20px !important;
    }
    .section-title-bar h2 { font-size: 22px !important; }
    
    .spec-table th, .spec-table td {
        padding: 10px 12px !important;
        font-size: 13.5px !important;
    }
    
    .main-product-img img { max-height: 250px; }
    
    .intro-btns {
        flex-direction: column;
    }
    .intro-btn {
        width: 100%;
        text-align: center;
    }
    
    .cta-box { padding: 34px 20px; }
    .cta-box h3 { font-size: 22px; }
    .cta-box .rs-btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   10. MANUFACTURING + TESTING & APPLICATIONS SECTIONS – STACKED LAYOUT FIXES
   -------------------------------------------------------------------------- */

/* Reduce vertical gap between stacked columns in Manufacturing+Testing (col-12) */
@media (max-width: 991px) {
    /* Manufacturing & Testing stacked – reduce row gutter vertically */
    .process-step h5 {
        font-size: 15px;
    }

    /* Applications section: keep good vertical gap when Typical Apps stacks above Why Source */
    .info-card {
        padding: 18px 16px !important;
    }

    .info-card h5 {
        font-size: 15px !important;
        margin-bottom: 8px;
    }

    .info-card p {
        font-size: 13px !important;
        line-height: 1.5;
    }
}

/* Small Phones (< 576px) */
@media (max-width: 575px) {
    main section {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }

    .grade-hero { padding: 50px 0 45px; }
    .grade-hero .col-lg-10 p:nth-of-type(1) { font-size: 24px !important; line-height: 1.25 !important; }
    .grade-hero .col-lg-10 p:nth-of-type(2) { font-size: 14px !important; }
    .grade-badge { font-size: 11.5px; padding: 6px 14px; }
    
    .grade-hero nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        font-size: 13.5px;
    }

    .section-title-bar h2 { font-size: 20px !important; }
    
    /* 2 columns on mobile for type cards so they don't take up 12 massive rows */
    main .row.g-4 > .col-lg-3.col-md-4.col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
    
    .type-card {
        padding: 16px 10px 14px;
        border-radius: 10px;
    }
    
    .type-card img {
        height: 70px;
        margin-bottom: 8px;
    }
    
    .type-card h6 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .type-card p {
        font-size: 11.5px;
        line-height: 1.35;
    }
    
    .main-product-img {
        padding: 10px;
    }
    .main-product-img img {
        max-height: 200px;
    }
    
    .spec-table th, .spec-table td {
        padding: 9px 10px !important;
        font-size: 13px !important;
    }
    
    .process-step {
        padding-left: 48px;
        margin-bottom: 20px;
    }
    .process-step::before {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .cta-box {
        padding: 28px 16px;
        border-radius: 14px;
    }
    .cta-box h3 {
        font-size: 20px;
    }
    .cta-box div[style*="max-width: 520px"] {
        padding: 16px 18px !important;
    }
    .cta-box .rs-btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    /* Info cards in 2-col layout on small phones (Why Source section) */
    .info-card {
        padding: 14px 12px !important;
        border-radius: 10px;
    }

    .info-card h5 {
        font-size: 13px !important;
        margin-bottom: 6px;
        line-height: 1.35;
    }

    .info-card p {
        font-size: 12px !important;
        line-height: 1.4;
    }

    /* Manufacturing col-12 sections: reduce spacing between them */
    .spec-table-container {
        margin-bottom: 10px;
    }
}



/* ---------- Common ---------- */
.section-sub {
  font-size: 15px;
  color: #555;
  max-width: 640px;
  margin: 12px auto 0;
  line-height: 1.6;
}

/* ---------- KEY CHARACTERISTICS ---------- */
.key-char-section {
  padding: 33px 0 60px;
  background: #fff;
}

.char-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 22px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e8eef5;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.char-item:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: #c5d4e8;
  box-shadow: 0 18px 40px rgba(36, 89, 131, 0.12);
}

.char-icon-wrap {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #245983, #1a4668);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  transition: transform 0.4s ease, background 0.35s ease;
}

.char-item:hover .char-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.char-content h5 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 7px;
  color: #1f1f1f;
  line-height: 1.3;
}

.char-content p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.55;
}

.char-accent {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #245983, #63b3ed);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.char-item:hover .char-accent {
  transform: scaleY(1);
}

/* ---------- APPLICATIONS (different structure) ---------- */
.app-section {
  padding: 70px 0 60px;
  background: #f4f7fa;
}

.app-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px 30px;
  height: 100%;
  border: 1px solid transparent;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(36, 89, 131, 0.13);
  border-color: #d0dceb;
}

.app-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.app-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ebf4ff;
  color: #245983;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  transition: all 0.4s ease;
}

.app-card:hover .app-icon {
  background: #245983;
  color: #fff;
  transform: scale(1.1);
}

.app-top h5 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0;
  color: #1f1f1f;
  line-height: 1.3;
}

.app-card p {
  font-size: 14.5px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.app-hover-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #245983, #63b3ed);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.app-card:hover .app-hover-line {
  transform: scaleX(1);
}