/* ============================================
   DESTOLOLABS - IMAGE TO PDF TOOL
   Matching Landing Page Design System
   with Premium Brown Footer
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #F7F6F3;
    color: #222222;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, .logo, .footer-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: max(20px, 5%);
    padding-right: max(20px, 5%);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #071F32;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #041826;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(7, 31, 50, 0.12);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    border: 1px solid #071F32;
    color: #071F32;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: #F7F6F3;
    border-color: #D6B18A;
    color: #041826;
}

.header {
    background: #FFFFFF;
    border-bottom: 1px solid #E7E4DF;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: max(20px, 5%);
    padding-right: max(20px, 5%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 600;
    color: #071F32;
    text-decoration: none;
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
}

.logo span {
    color: #D6B18A;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav a {
    text-decoration: none;
    color: #222222;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
    color: #D6B18A;
}

.auth {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.btn-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.btn-signin {
    background: white;
    border: 1px solid #071F32;
    color: #071F32;
}

.btn-signin:hover {
    background: #F7F6F3;
    border-color: #D6B18A;
    color: #041826;
}

.btn-signup {
    background: #071F32;
    color: white;
    border: none;
}

.btn-signup:hover {
    background: #041826;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(7, 31, 50, 0.12);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #071F32;
    padding: 8px;
}

.main-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px max(20px, 5%);
}

.layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 32px;
}

.sidebar-card {
    background: #FFFFFF;
    border: 1px solid #E7E4DF;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
}

.category-group {
    margin-bottom: 20px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-weight: 600;
    color: #071F32;
    cursor: pointer;
    font-size: 0.95rem;
}

.category-header i:first-child {
    margin-right: 10px;
    color: #D6B18A;
    width: 20px;
}

.chevron {
    transition: transform 0.2s;
    color: #A8A49C;
    font-size: 0.8rem;
}

.category-header.active .chevron {
    transform: rotate(180deg);
}

.category-content {
    display: none;
    padding-left: 30px;
}

.category-content.open {
    display: block;
}

.category-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    color: #6A6A6A;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.category-content a i {
    width: 20px;
    font-size: 0.85rem;
}

.category-content a:hover,
.category-content a.active {
    color: #D6B18A;
}

.info-box {
    text-align: center;
    padding: 16px;
    background: #F7F6F3;
    border-radius: 16px;
}

.info-box i {
    font-size: 2rem;
    color: #D6B18A;
    margin-bottom: 12px;
    display: block;
}

.info-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #071F32;
}

.info-box p {
    font-size: 0.75rem;
    color: #6A6A6A;
    line-height: 1.4;
}

.tool-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E7E4DF;
    overflow: hidden;
}

.tool-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid #E7E4DF;
}

.tool-badge {
    display: inline-block;
    background: #F7F6F3;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #D6B18A;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.tool-badge i {
    margin-right: 6px;
}

.tool-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: #071F32;
}

.tool-description {
    color: #6A6A6A;
    font-size: 0.9rem;
    line-height: 1.6;
}

.input-card {
    padding: 32px;
}

.upload-area {
    border: 2px dashed #E7E4DF;
    border-radius: 20px;
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #F7F6F3;
}

.upload-area:hover {
    border-color: #D6B18A;
    background: #FFFFFF;
}

.upload-icon i {
    font-size: 3rem;
    color: #D6B18A;
    margin-bottom: 16px;
}

.upload-text {
    font-size: 0.9rem;
    color: #222222;
    margin-bottom: 8px;
}

.browse-link {
    color: #D6B18A;
    font-weight: 600;
    cursor: pointer;
}

.upload-hint {
    font-size: 0.7rem;
    color: #6A6A6A;
}

.selected-files {
    margin-top: 24px;
}

.files-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E7E4DF;
    font-weight: 600;
    color: #071F32;
    font-size: 0.9rem;
}

.clear-all-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #B85C4A;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    transition: background 0.2s;
}

.clear-all-btn:hover {
    background: #FFF0ED;
}

.sort-controls {
    display: flex;
    gap: 12px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.sort-btn {
    background: #F7F6F3;
    border: 1px solid #E7E4DF;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: #6A6A6A;
    font-family: 'Inter', sans-serif;
}

.sort-btn:hover {
    background: #FFFFFF;
    border-color: #D6B18A;
    color: #D6B18A;
}

.file-list {
    max-height: 400px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F7F6F3;
    margin-bottom: 8px;
    border-radius: 12px;
    cursor: grab;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.file-item:hover {
    border-color: #E7E4DF;
    background: #FFFFFF;
}

.drag-handle {
    cursor: grab;
    color: #A8A49C;
}

.file-info {
    flex: 1;
}

.file-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #222222;
}

.file-meta {
    font-size: 0.65rem;
    color: #6A6A6A;
}

.remove-file {
    background: none;
    border: none;
    color: #B85C4A;
    cursor: pointer;
    padding: 6px;
    border-radius: 20px;
}

.conversion-options {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E7E4DF;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.option-group label {
    display: block;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 12px;
    color: #6A6A6A;
    letter-spacing: 0.5px;
}

.layout-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.layout-btn {
    padding: 8px 16px;
    border: 1px solid #E7E4DF;
    background: white;
    border-radius: 30px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.layout-btn.active {
    background: #071F32;
    border-color: #071F32;
    color: white;
}

.layout-btn:hover:not(.active) {
    border-color: #D6B18A;
    color: #D6B18A;
}

.page-size-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #E7E4DF;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    background: white;
    cursor: pointer;
    font-size: 0.8rem;
}

.quality-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quality-control input {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: #E7E4DF;
    -webkit-appearance: none;
}

.quality-control input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #D6B18A;
    cursor: pointer;
}

.quality-hint {
    font-size: 0.65rem;
    color: #6A6A6A;
    margin-top: 8px;
}

.btn-generate {
    width: 100%;
    margin-top: 32px;
    padding: 14px;
    background: #071F32;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
    font-family: 'Inter', sans-serif;
}

.btn-generate:hover {
    background: #041826;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(7, 31, 50, 0.12);
}

.output-card {
    padding: 32px;
    border-top: 1px solid #E7E4DF;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-badge {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.pdf-preview {
    background: #F7F6F3;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    min-height: 200px;
}

.output-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn-download,
.btn-print,
.btn-reset {
    flex: 1;
    padding: 12px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-download {
    background: #071F32;
    color: white;
}

.btn-download:hover {
    background: #041826;
    transform: translateY(-1px);
}

.btn-print {
    background: transparent;
    border: 1px solid #071F32;
    color: #071F32;
}

.btn-print:hover {
    background: #F7F6F3;
    border-color: #D6B18A;
    color: #041826;
}

.btn-reset {
    background: transparent;
    border: 1px solid #E7E4DF;
    color: #6A6A6A;
}

.btn-reset:hover {
    border-color: #D6B18A;
    color: #D6B18A;
}

.sidebar-right h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: #071F32;
}

.related-list,
.tips-list {
    list-style: none;
}

.related-list li,
.tips-list li {
    margin-bottom: 12px;
}

.related-list a {
    text-decoration: none;
    color: #6A6A6A;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.related-list a i {
    color: #D6B18A;
    font-size: 0.7rem;
}

.related-list a:hover {
    color: #D6B18A;
}

.tips-list li {
    font-size: 0.8rem;
    color: #6A6A6A;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tips-list li i {
    color: #D6B18A;
    width: 18px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-number {
    width: 28px;
    height: 28px;
    background: #F7F6F3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: #D6B18A;
}

.step-text {
    font-size: 0.8rem;
    color: #6A6A6A;
}

.faq-section {
    margin-top: 64px;
    background: #F7F6F3;
    border-radius: 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 500;
    margin-bottom: 12px;
    color: #071F32;
}

.faq-header p {
    color: #6A6A6A;
    font-size: 0.9rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-card {
    background: white;
    border: 1px solid #E7E4DF;
    border-radius: 20px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
    color: #071F32;
}

.faq-question:hover {
    background: #F7F6F3;
}

.faq-question span i {
    color: #D6B18A;
    margin-right: 12px;
}

.faq-chevron {
    transition: transform 0.25s;
    color: #D6B18A;
}

.faq-card.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    color: #6A6A6A;
    font-size: 0.85rem;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-card.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.footer {
    background: #1A1A1A;
    color: #A8A49C;
    padding: 48px 32px 32px;
    margin-top: 64px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    display: inline-block;
    font-family: 'Playfair Display', serif;
}

.footer-brand .logo span {
    color: #C7A85B;
}

.footer-brand p {
    font-size: 0.85rem;
    color: #A8A49C;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.footer-links a {
    color: #A8A49C;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #C7A85B;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #A8A49C;
}

.carousel-section {
    padding: 60px 0;
    background: #FFFFFF;
    width: 100%;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    width: 100%;
}

.carousel-prev,
.carousel-next {
    background: white;
    border: 1px solid #E7E4DF;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    border-color: #071F32;
    background: #F7F6F3;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 12px 4px 28px;
    scrollbar-width: thin;
    scrollbar-color: #D6B18A #E7E4DF;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.carousel-container::-webkit-scrollbar {
    height: 6px;
}

.carousel-container::-webkit-scrollbar-track {
    background: #E7E4DF;
    border-radius: 10px;
}

.carousel-container::-webkit-scrollbar-thumb {
    background: #D6B18A;
    border-radius: 10px;
}

.carousel-card {
    min-width: 280px;
    flex-shrink: 0;
    background: #F7F6F3;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #E7E4DF;
    transition: all 0.2s;
}

.carousel-card:hover {
    border-color: #D6B18A;
    transform: translateY(-2px);
}

.carousel-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: #D6B18A;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-card h4 {
    font-family: 'Playfair Display', serif;
    margin: 12px 0 8px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #071F32;
}

.carousel-card p {
    font-size: 0.8rem;
    color: #6A6A6A;
    margin-bottom: 16px;
    line-height: 1.5;
}

.carousel-link {
    text-decoration: none;
    font-weight: 500;
    color: #071F32;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.carousel-link:hover {
    color: #D6B18A;
}

.mobile-pro-tips {
    display: none;
    margin-top: 24px;
    padding: 20px;
    background: #F7F6F3;
    border-radius: 16px;
}

.tips-grid-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.tip-item-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #6A6A6A;
    padding: 8px;
    background: white;
    border-radius: 12px;
}

.tip-item-mobile i {
    color: #D6B18A;
    width: 20px;
}

.mobile-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-weight: 600;
    color: #071F32;
    cursor: pointer;
    font-size: 0.95rem;
}

.mobile-category-header i:first-child {
    margin-right: 12px;
    color: #D6B18A;
    width: 24px;
}

.mobile-chevron {
    transition: transform 0.2s;
    color: #A8A49C;
    font-size: 0.8rem;
}

.mobile-category-header.active .mobile-chevron {
    transform: rotate(180deg);
}

.mobile-category-content {
    display: none;
    padding-left: 36px;
    margin-bottom: 8px;
}

.mobile-category-content.open {
    display: block;
}

.mobile-category-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    color: #6A6A6A;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.mobile-category-content a i {
    width: 20px;
    font-size: 0.8rem;
    color: #A8A49C;
}

.mobile-category-content a:hover,
.mobile-category-content a.active {
    color: #D6B18A;
}

.mobile-category-content a:hover i {
    color: #D6B18A;
}

.mobile-divider {
    height: 1px;
    background: #E7E4DF;
    margin: 16px 0;
    list-style: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background: #FFFFFF;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
    z-index: 2000;
    transition: right 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid #E7E4DF;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px 24px;
}

.mobile-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #071F32;
}

.mobile-logo span {
    color: #D6B18A;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #6A6A6A;
    padding: 8px;
}

.mobile-menu-divider {
    height: 1px;
    background: #E7E4DF;
    margin: 0 24px;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-list > li > a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: #222222;
    transition: color 0.2s;
    display: block;
    padding: 8px 0;
}

.mobile-nav-list > li > a:hover {
    color: #D6B18A;
}

.mobile-menu-actions {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-signin,
.mobile-getstarted {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
}

.mobile-signin {
    color: #071F32;
    border: 1px solid #071F32;
}

.mobile-getstarted {
    background: #071F32;
    color: white;
}

.mobile-menu-footer {
    padding: 20px 24px;
    text-align: center;
    margin-top: auto;
}

.mobile-menu-footer p {
    font-size: 0.75rem;
    color: #6A6A6A;
    margin-bottom: 16px;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #6A6A6A;
    font-size: 1.2rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    z-index: 1500;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .sidebar-left,
    .sidebar-right {
        display: none;
    }
    
    .nav {
        display: none;
    }
    
    .auth {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .main-container {
        padding: 32px max(20px, 5%);
    }
    
    .mobile-pro-tips {
        display: block;
    }
}

@media (max-width: 768px) {
    .tool-header h1 {
        font-size: 1.6rem;
    }
    
    .tool-header {
        padding: 24px 20px;
    }
    
    .input-card {
        padding: 20px;
    }
    
    .output-actions {
        flex-direction: column;
    }
    
    .upload-area {
        padding: 32px 16px;
    }
    
    .tips-grid-mobile {
        grid-template-columns: 1fr;
    }
    
    .carousel-prev,
    .carousel-next {
        display: none;
    }
    
    .carousel-container {
        padding: 8px 4px 20px;
    }
    
    .carousel-card {
        min-width: 260px;
        padding: 18px;
    }
}

@media (max-width: 640px) {
    .tool-header h1 {
        font-size: 1.4rem;
    }
    
    .faq-header h2 {
        font-size: 1.4rem;
    }
    
    .faq-question {
        padding: 14px 18px;
        font-size: 0.85rem;
    }
}