/* Length Unit Converter — Theme: #FF6725 (orange) */

/* =========================================================
   Hero Section
   ========================================================= */
.lu-search-hero {
    background: linear-gradient(135deg, #ff6725 0%, #ff8f5c 50%, #ffb88c 100%);
    border-radius: 20px 20px 0 0;
    padding: 30px 30px 25px;
    position: relative;
    overflow: hidden;
}
.lu-search-hero-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    pointer-events: none;
}
.lu-search-hero-decoration::before {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}
.lu-search-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.lu-search-hero-badge i {
    font-size: 11px;
}
.lu-search-hero-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.lu-search-hero-desc {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 0;
}
.lu-search-hero-desc a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lu-search-hero-desc a:hover {
    color: #fff;
    text-decoration-thickness: 2px;
}
.lu-search-hero + .lu-search-card {
    border-radius: 0 0 20px 20px;
    margin-top: -1px;
}
.lu-search-card {
    position: relative;
    padding: 24px;
}

/* =========================================================
   Converter Form
   ========================================================= */
.lu-converter-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}
.lu-converter-row .lu-field {
    flex: 1;
}
.lu-swap-btn-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 18px;
}
.lu-swap-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #FF6725;
    background: #fff;
    color: #FF6725;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s;
}
.lu-swap-btn:hover {
    background: #FF6725;
    color: #fff;
    transform: rotate(180deg);
    box-shadow: 0 4px 12px rgba(255,103,37,0.3);
}

/* =========================================================
   Result Display
   ========================================================= */
.lu-result-box {
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    border: 1px solid #ffd4c2;
    border-radius: 12px;
    padding: 20px 24px;
    text-align: center;
    margin-top: 10px;
}
.lu-result-label {
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 600;
}
.lu-result-value {
    font-size: 28px;
    font-weight: 800;
    color: #FF6725;
    line-height: 1.3;
}
.lu-result-formula {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 6px;
}

/* =========================================================
   Quick Reference Table
   ========================================================= */
.lu-ref-section {
    margin-top: 0;
}
.lu-ref-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}
.lu-ref-table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}
.lu-ref-table thead th {
    background: #FF6725;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 10px 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.lu-ref-table thead th:first-child {
    border-radius: 8px 0 0 0;
}
.lu-ref-table thead th:last-child {
    border-radius: 0 8px 0 0;
}
.lu-ref-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}
.lu-ref-table tbody tr:hover {
    background: #fff5f0;
}
.lu-ref-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 8px;
}
.lu-ref-table tbody tr:last-child td:last-child {
    border-radius: 0 0 8px 0;
}

/* =========================================================
   SEO Article
   ========================================================= */
#tool-article h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-top: 30px;
    margin-bottom: 12px;
}
#tool-article h3 {
    font-size: 17px;
    font-weight: 600;
    color: #374151;
    margin-top: 22px;
    margin-bottom: 10px;
}
#tool-article p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 12px;
}
#tool-article ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
#tool-article li {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 6px;
}

/* =========================================================
   FAQ Section
   ========================================================= */
.lu-faq-section {
    margin-top: 30px;
}
.lu-faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.lu-faq-question {
    padding: 15px 20px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: background 0.2s;
}
.lu-faq-question:hover {
    background: #fff5f0;
}
.lu-faq-question .faq-icon {
    transition: transform 0.3s;
    font-size: 12px;
    color: #FF6725;
}
.lu-faq-question.open .faq-icon {
    transform: rotate(180deg);
}
.lu-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
}
.lu-faq-answer.open {
    padding: 15px 20px;
    max-height: 500px;
}
.lu-faq-answer a {
    color: #0d6efd;
    text-decoration: underline;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 767px) {
    .lu-search-hero {
        padding: 22px 20px 18px;
        border-radius: 16px 16px 0 0;
    }
    .lu-search-hero-title {
        font-size: 1.2rem;
    }
    .lu-converter-row {
        flex-direction: column;
        gap: 0;
    }
    .lu-converter-row .lu-field {
        width: 100%;
    }
    .lu-swap-btn-wrap {
        padding-bottom: 10px;
        padding-top: 0;
    }
    .lu-swap-btn {
        transform: rotate(90deg);
    }
    .lu-swap-btn:hover {
        transform: rotate(270deg);
    }
    .lu-result-value {
        font-size: 22px;
    }
    .lu-ref-table {
        font-size: 13px;
    }
    .lu-ref-table thead th,
    .lu-ref-table tbody td {
        padding: 8px 10px;
    }
    .lu-faq-question {
        font-size: 14px;
        padding: 12px 15px;
    }
}
