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

/* Hero Section */
.au-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;
}
.au-search-hero-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}
.au-search-hero-decoration::before {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}
.au-search-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.au-search-hero-badge i {
    font-size: 11px;
}
.au-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);
}
.au-search-hero-desc {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 0;
}
.au-search-hero-desc a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.au-search-hero-desc a:hover {
    color: #fff;
    text-decoration-thickness: 2px;
}
.au-search-hero + .au-converter-card {
    border-radius: 0 0 20px 20px;
    margin-top: -1px;
}

/* Converter Card */
.au-converter-card {
    padding: 25px 30px 20px;
}

/* Result Display */
.au-result-box {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dd 100%);
    border: 1px solid #ffd4c2;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    margin-top: 10px;
}
.au-result-label {
    font-size: 13px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 8px;
}
.au-result-value {
    font-size: 32px;
    font-weight: 800;
    color: #FF6725;
    line-height: 1.2;
    word-break: break-word;
}
.au-result-unit {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
    margin-top: 6px;
}
.au-result-formula {
    font-size: 13px;
    color: #b45a3a;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ffd4c2;
}

/* Swap Button */
.au-swap-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FF6725;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.2s;
    margin: 0 auto;
}
.au-swap-btn:hover {
    transform: rotate(180deg);
    box-shadow: 0 4px 15px rgba(255,103,37,0.35);
}

/* Quick Reference Table */
.au-ref-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}
.au-ref-table thead th {
    background: #fff5f0;
    color: #495057;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 15px;
    border-bottom: 2px solid #ffd4c2;
}
.au-ref-table thead th:first-child {
    border-radius: 10px 0 0 0;
}
.au-ref-table thead th:last-child {
    border-radius: 0 10px 0 0;
}
.au-ref-table tbody td {
    padding: 11px 15px;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}
.au-ref-table tbody tr:last-child td {
    border-bottom: none;
}
.au-ref-table tbody tr:hover td {
    background: #fffaf7;
}
.au-ref-table .au-unit-label {
    font-weight: 600;
    color: #FF6725;
}

/* All-Units Grid */
.au-units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.au-unit-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.au-unit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,103,37,0.10);
}
.au-unit-card .au-uc-name {
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    margin-bottom: 4px;
}
.au-unit-card .au-uc-factor {
    font-size: 12px;
    color: #FF6725;
    font-weight: 600;
}
.au-unit-card .au-uc-desc {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

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

/* SEO Article */
#tool-article {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
}
#tool-article h2 {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
}
#tool-article h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-top: 22px;
    margin-bottom: 10px;
}
#tool-article p, #tool-article li {
    font-size: 15px;
    color: #495057;
    line-height: 1.7;
}
#tool-article ul {
    padding-left: 20px;
}
#tool-article ul li {
    margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 767px) {
    .au-search-hero {
        padding: 22px 20px 18px;
        border-radius: 16px 16px 0 0;
    }
    .au-search-hero-title {
        font-size: 1.2rem;
    }
    .au-converter-card {
        padding: 20px 15px 15px;
    }
    .au-result-value {
        font-size: 24px;
    }
    .au-ref-table {
        font-size: 12px;
    }
    .au-ref-table thead th,
    .au-ref-table tbody td {
        padding: 9px 10px;
    }
    .au-units-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    #tool-article {
        padding: 20px 15px;
    }
    #tool-article h2 {
        font-size: 18px;
    }
}
@media (max-width: 480px) {
    .au-units-grid {
        grid-template-columns: 1fr;
    }
}
