/* Tools Page: Engine Section */
.engine-section-header {
    text-align: center;
    margin-bottom: 30px;
}

.engine-title {
    font-size: 37px;
    font-weight: 800;
    color: #111827;
}

.engine-grid {
    display: grid;
    grid-template-columns: repeat(3, 352px);
    gap: 16px;
    justify-content: center;
    max-width: 1120px;
    margin: 0 auto;
}

.engine-card {
    width: 352px;
    height: 300px;
    min-height: 260px;
    background: #FFFFFF;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 14px 35px 0 #E5E7EBE5;
    display: flex;
    flex-direction: column;
}

.engine-card-image {
    width: 352px;
    height: 150px;
    position: relative;
    overflow: hidden;
}

.engine-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.engine-overlay-text {
    position: absolute;
    bottom: 12px;
    left: 12px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.engine-overlay-text .highlight {
    color: #FFD700; /* Yellowish color for CORE */
}

.engine-card-body {
    padding: 20px 16px;
    display: flex;
    flex-grow: 1;
    position: relative;
}

.engine-icon {
    width: 83px;
    height: 104px;
    flex-shrink: 0;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.engine-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.engine-name {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    text-align: right;
    width: 203px;
    height: 29px;
    padding-top: 3px;
    padding-bottom: 2px;
    box-sizing: border-box;
}

.engine-desc {
    font-size: 15px;
    font-weight: 400;
    color: #6B7280;
    margin-bottom: 8px;
    text-align: right;
    line-height: 1.3;
    word-break: keep-all;
    width: 203px;
    height: 39.599998474121094px;
    padding-top: 4px;
    padding-bottom: 2px;
    box-sizing: border-box;
}

.engine-brand {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin-top: auto;
}

.engine-more {
    position: absolute;
    bottom: 20px;
    right: 16px;
    font-size: 15px;
    color: #38BDF8;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
}

.engine-more:hover {
    text-decoration: underline;
}

/* Engine Tab Active Style */
.engine-card {
    transition: transform 0.2s, box-shadow 0.2s, border 0.2s;
}

.engine-card:hover {
    transform: translateY(-5px);
}

.engine-card.active {
    border: 2px solid #38BDF8;
    box-shadow: 0 14px 35px 0 #38BDF826;
}

/* Section 2: ForecastCore Details */
.detail-section-header {
    display: flex;
    align-items: center;
    gap: 30px;
    /*margin-bottom: 30px;*/
    margin-bottom: 52px;
    max-width: 1120px;
    width: 1088px;
    padding: 0 10px;
    margin-left: auto;
    margin-right: auto;
}

.detail-section-header .header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.detail-section-header .header-icon img {
    width: 83px;
    height: 104px;
    object-fit: contain;
}

.detail-section-header .brand-name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-top: 8px;
}

.detail-section-header .header-text h2 {
    margin-bottom: 15px;
    font-size: 37px;
    font-weight: 700;
    line-height: 33px;
    letter-spacing: 0;
}

.detail-section-header .header-text p {
    line-height: 100%;
}

.detail-section-header .header-text p.body-b5,
.synthe-section-header .header-text p.body-b5 {
    line-height: 25px;
    letter-spacing: -0.02em;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 350px);
    gap: 19px;
    justify-content: center;
    max-width: 1120px;
    margin: 0 auto;
}

.detail-card {
    width: 350px;
    height: 374px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 1px 3px 0 #0F172A0A;
}

.detail-card .card-icon {
    width: 100px;
    height: 100px;
    /*margin-bottom: 24px;*/
    /*margin-top: 20px;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-card .card-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.detail-card .card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    height: 48px; /* Fixed height for 2 lines */
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.card-features li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 12px;
    /* margin-top: 20px; */ /* Removed to fix alignment */
    /*line-height: 100%;*/
    word-break: keep-all;
    line-height: 20px;
}

.card-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6B7280;
}

.action-wrapper {
    display: flex;
    justify-content: flex-end;
    max-width: 1120px;
    margin: 15px auto 0;
}

.action-wrapper.synthe-actions {
    max-width: 1088px;
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 40px;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-custom:hover {
    background-color: #F8FAFC;
    border-color: #D1D5DB;
}

/* Section 3: Detailed Features */
.features-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-title {
    font-size: 37px;
    font-weight: 800;
    color: #111827;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.feature-detail-card {
    width: 896px;
    height: 151px;
    background: #FFFFFF;
    border-radius: 5px;
    padding: 20px 15px;
    display: flex;
    gap: 30px;
    align-items: center;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px 0 #02061714;
}

.feature-card-header {
    width: 320px;
    text-align: left;
    flex-shrink: 0;
}

.feature-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    line-height: 21px;
    letter-spacing: 0;
    text-align: center;
}

.feature-card-subtitle {
    font-size: 15px;
    color: #111827;
    font-weight: 400;
    margin: 0;
    line-height: 21px;
    letter-spacing: 0;
    text-align: center;
}

.feature-card-content {
    width: 536px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
}

.feature-description {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0;
    white-space: nowrap;
}

.feature-bullet-list {
    list-style: none;
    padding-left: 10px;
    margin: 0;
    width: 536px;
}

.feature-bullet-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 4px;
    line-height: 100%;
    word-break: keep-all;
}

.feature-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6B7280;
}

.feature-bullet-item {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    color: #6B7280;
}

.feature-bullet-list li.feature-bullet-item {
    line-height: 21px;
}

.dual-actions {
    display: flex;
    justify-content: center;
    gap: 5px;
    max-width: 896px;
    width: 100%;
    margin: 30px auto 0;
    flex-wrap: wrap;
}

.dual-actions .btn-primary-outline {
    /* Centered by parent flex */
}

.btn-primary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 40px;
    background-color: #2563EB1F;
    border: 1px solid #2563EB59;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    color: #2563EB;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary-outline:hover {
    background-color: #DEE9FF;
}

/* Section 4: SyntheCore Details */
.synthe-section-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.synthe-section-header .header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.synthe-section-header .header-icon img {
    width: 83px;
    height: 105px; /* Specified size */
    object-fit: contain;
}

.synthe-section-header .brand-name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-top: 8px;
}

.synthe-section-header .header-text h2 {
    margin-bottom: 15px;
    font-size: 37px;
    font-weight: 700;
}

.synthe-grid {
    display: grid;
    grid-template-columns: repeat(2, 539px);
    gap: 10px;
    justify-content: center;
    max-width: 1120px;
    margin: 0 auto;
}

.synthe-card {
    width: 539px;
    height: 197px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    padding: 20px 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start; /* 텍스트 요소가 수직 상단에 정렬되도록 변경 */
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04);
}

.synthe-card .card-icon {
    width: 80px; /* 50px icon + 15px padding * 2 = 80px */
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px; /* Changed from 30px to 15px */
    align-self: center; /* 아이콘을 텍스트 요소(card-content)의 수직 중앙에 정렬 */
}

.synthe-card .card-icon img {
    width: 50px; /* Changed from 80px to 50px */
    height: 50px;
    object-fit: contain;
}

.synthe-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.synthe-card .card-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
    height: 44px;
    padding-left: 15px; /* Alignment: matches .synthe-bullet-list li padding-left */
}

.synthe-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.synthe-bullet-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
    line-height: 20px;
    word-break: keep-all;
}
.synthe-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6B7280;
}

/* Section 5: Function and Role */
.role-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.role-title {
    font-size: 37px;
    font-weight: 800;
    color: #111827;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(4, 260px);
    gap: 10px;
    justify-content: center;
    max-width: 1120px;
    margin: 0 auto;
}

.role-card {
    width: 260px;
    height: 347px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04);
}

.role-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.role-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    width: 100%;
}

.role-title-group {
    height: 66px;
    margin-bottom: 24px;
}

.role-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.role-card-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0;
}

.role-desc-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 24px;
}

.role-description {
    font-size: 17px;
    font-weight: 400;
    color: #6B7280;
    text-align: left;
    line-height: 20px;
    margin-bottom: 0;
    word-break: keep-all;
    min-height: 60px;
}

.role-highlight-group {
    height: 50px;
    margin-top: 0;
}

.role-highlight {
    font-size: 17px;
    font-weight: 400;
    color: #6B7280;
    text-align: left;
    padding-left: 18px;
    text-indent: -18px;
    margin-bottom: 0;
    line-height: 25px;
    letter-spacing: -0.01em;
}

.role-highlight-emphasis {
    font-family: 'Pretendard', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 25px;
}

.role-actions {
    display: flex;
    justify-content: center;
    gap: 5px;
    max-width: 1070px;
    margin: 30px auto 0;
    flex-wrap: wrap;
}

.btn-role-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 40px;
    background-color: #2563EB1F;
    border: 1px solid #2563EB59;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    color: #2563EB;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-role-primary:hover {
    background-color: #2563EB2F;
}

.btn-role-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 40px;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-role-outline:hover {
    background-color: #F8FAFC;
}
