:root {
    --tier1: #059669;
    --tier1-dark: #047857;
    --tier1-light: rgba(5,150,105,0.06);
    --tier1-glow: rgba(5,150,105,0.12);
    --tier2: #2563EB;
    --tier2-dark: #1D4ED8;
    --tier2-light: rgba(37,99,235,0.06);
    --tier2-glow: rgba(37,99,235,0.12);
    --tier3: #7C3AED;
    --tier3-dark: #6D28D9;
    --tier3-light: rgba(124,58,237,0.06);
    --tier3-glow: rgba(124,58,237,0.12);
    --text-dark: #0E384C;
    --text-mid: #527282;
    --bg-light: #f8fafc;
    --card-shadow: 0 4px 24px rgba(14,56,76,0.06);
}

.solutions-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #0E384C 0%, #1A5F7A 100%);
    position: relative;
    overflow: hidden;
}
.solutions-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}
.solutions-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
}
.solutions-hero-content {
    position: relative;
    z-index: 1;
}
.solutions-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}
.solutions-hero .hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    max-width: 680px;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}
.hero-stat-item {
    text-align: center;
    min-width: 100px;
}
.hero-stat-item .stat-num {
    font-size: 44px;
    font-weight: 700;
    color: #10B981;
    line-height: 1;
}
.hero-stat-item .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
}
.hero-badge {
    display: inline-block;
    background: rgba(16,185,129,0.2);
    color: #10B981;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* Package Cards Section */
.packages-section {
    padding: 80px 0;
    background: #f0f4f8;
}
.packages-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}
.packages-section .section-sub {
    font-size: 16px;
    color: var(--text-mid);
    margin-top: 12px;
}

.package-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(14,56,76,0.12);
}

/* Tier accent top border */
.tier-1 { border-top: 4px solid var(--tier1); }
.tier-2 { border-top: 4px solid var(--tier2); }
.tier-3 { border-top: 4px solid var(--tier3); }

.package-header {
    padding: 28px 28px 20px;
    text-align: center;
    position: relative;
}
.tier-1 .package-header { background: linear-gradient(180deg, var(--tier1-glow) 0%, transparent 100%); }
.tier-2 .package-header { background: linear-gradient(180deg, var(--tier2-glow) 0%, transparent 100%); }
.tier-3 .package-header { background: linear-gradient(180deg, var(--tier3-glow) 0%, transparent 100%); }

.tier-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.tier-1 .tier-badge { background: rgba(5,150,105,0.12); color: var(--tier1); }
.tier-2 .tier-badge { background: rgba(37,99,235,0.12); color: var(--tier2); }
.tier-3 .tier-badge { background: rgba(124,58,237,0.12); color: var(--tier3); }

.package-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.package-subtitle {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 4px;
}
.package-position {
    font-size: 12px;
    color: #94A3B8;
    font-style: italic;
}

.package-body {
    padding: 0 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Category section */
.cat-section {
    margin-bottom: 18px;
}
.cat-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}
.cat-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.tier-1 .cat-icon { background: rgba(5,150,105,0.12); color: var(--tier1); }
.tier-2 .cat-icon { background: rgba(37,99,235,0.12); color: var(--tier2); }
.tier-3 .cat-icon { background: rgba(124,58,237,0.12); color: var(--tier3); }
.cat-count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    background: #f8fafc;
    padding: 2px 10px;
    border-radius: 10px;
}

/* Scenario list */
.scenario-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.scenario-list li {
    font-size: 12px;
    color: var(--text-mid);
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 6px;
    line-height: 1.5;
}

/* Product grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 10px;
}
.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 10px 6px 8px;
    transition: all 0.25s;
    position: relative;
}
.product-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(14,56,76,0.08);
    transform: translateY(-2px);
}
.tier-1 .product-item:hover { border-color: var(--tier1); }
.tier-2 .product-item:hover { border-color: var(--tier2); }
.tier-3 .product-item:hover { border-color: var(--tier3); }
.product-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 6px;
    border-radius: 6px;
    background: #fafbfc;
    padding: 4px;
}
.product-item .prod-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
    max-width: 80px;
    word-break: break-word;
}
.badge-flagship {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--tier3), var(--tier3-dark));
    color: #fff;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

/* Consumption note */
.consumption-note {
    font-size: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border-left: 3px solid;
    margin: 16px 0;
    color: var(--text-mid);
    line-height: 1.6;
}
.consumption-note strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}
.note-tier1 { background: rgba(5,150,105,0.04); border-left-color: var(--tier1); }
.note-tier2 { background: rgba(37,99,235,0.04); border-left-color: var(--tier2); }
.note-tier3 { background: rgba(124,58,237,0.04); border-left-color: var(--tier3); }
.highlight { font-weight: 600; color: var(--text-dark); }

/* CTA button */
.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s;
    letter-spacing: 0.02em;
}
.tier-1 .cta-btn { background: linear-gradient(135deg, var(--tier1), var(--tier1-dark)); }
.tier-2 .cta-btn { background: linear-gradient(135deg, var(--tier2), var(--tier2-dark)); }
.tier-3 .cta-btn { background: linear-gradient(135deg, var(--tier3), var(--tier3-dark)); }
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    color: #fff;
    text-decoration: none;
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background: #fff;
}
.comp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    font-size: 14px;
}
.comp-table thead th {
    padding: 16px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}
.comp-table thead th:first-child {
    background: #334155;
    border-radius: 16px 0 0 0;
}
.comp-table thead th:nth-child(2) { background: var(--tier1); }
.comp-table thead th:nth-child(3) { background: var(--tier2); }
.comp-table thead th:last-child {
    background: var(--tier3);
    border-radius: 0 16px 0 0;
}
.comp-table td {
    padding: 13px 16px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-mid);
}
.comp-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    background: #fafbfc;
}
.comp-table tr:last-child td:first-child { border-radius: 0 0 0 16px; }
.comp-table tr:last-child td:last-child { border-radius: 0 0 16px 0; }
.cell-1 { background: rgba(5,150,105,0.03); }
.cell-2 { background: rgba(37,99,235,0.03); }
.cell-3 { background: rgba(124,58,237,0.03); }
.icon-check { color: #10B981; font-size: 18px; }
.icon-cross { color: #EF4444; font-size: 16px; }

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0E384C 0%, #1A5F7A 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
    bottom: -200px;
    right: -150px;
}
.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.cta-section .cta-text {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 24px;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}
.feature-list li {
    padding: 10px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 10px;
}
.feature-list li i { color: #10B981; font-size: 16px; }
.contact-info-box {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 22px;
    margin-top: 10px;
}
.contact-info-box h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
}
.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}
.contact-row i { color: #10B981; width: 18px; text-align: center; }

.form-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.form-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.form-input, .form-select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    transition: border-color 0.2s;
    background: #fff;
}
.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--tier1);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}
.form-input::placeholder { color: #cbd5e1; }
.form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    resize: none;
    font-family: inherit;
}
.form-textarea:focus {
    outline: none;
    border-color: var(--tier1);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}
.form-submit {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.02em;
}
.form-submit:hover {
    box-shadow: 0 4px 16px rgba(5,150,105,0.3);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 991px) {
    .solutions-hero h1 { font-size: 30px; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
}
@media (max-width: 767px) {
    .package-card { margin-bottom: 24px; }
    .comp-table { font-size: 12px; }
    .comp-table td, .comp-table th { padding: 10px 8px; }
}

/* Gap helpers */
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 48px; }
.mb-10 { margin-bottom: 64px; }
