﻿.logo-nun {
    color: #2c3e50;
}

.logo-buget {
    color: #3498db;
}

.tagline {
    font-size: 1em;
    color: #7f8c8d;
    font-weight: 400;
}


.hero {
    background: white;
    border-radius: 16px;
    padding: 50px 40px;
    margin: 0 0 50px;
    border: 1px solid #e1e8ed;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

    .hero h1 {
        font-size: 2em;
        color: #2c3e50;
        margin-bottom: 18px;
        font-weight: 700;
    }

    .hero p {
        font-size: 1.05em;
        color: #5a6c7d;
        line-height: 1.8;
        max-width: 700px;
        margin: 0 auto;
    }

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 0 0 60px;
}

.tool-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid #e1e8ed;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

    .tool-card:hover {
        border-color: #3498db;
        box-shadow: 0 4px 16px rgba(52, 152, 219, 0.15);
    }

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
}

.tool-card h3 {
    font-size: 1.3em;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 700;
}

.tool-card p {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95em;
}

.feature-list {
    margin: 20px 0 30px;
    text-align: right;
}

.feature-item {
    padding: 10px 0;
    color: #7f8c8d;
    font-size: 0.9em;
    border-bottom: 1px solid #ecf0f1;
}

    .feature-item:last-child {
        border-bottom: none;
    }

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 13px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
}

    .cta-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(52, 152, 219, 0.35);
    }

    .cta-button.disabled {
        background: #bdc3c7;
        color: white;
        cursor: not-allowed;
        box-shadow: none;
    }

        .cta-button.disabled:hover {
            transform: none;
            box-shadow: none;
        }


@media (max-width: 768px) {
    .hero {
        padding: 35px 25px;
    }

        .hero h1 {
            font-size: 1.6em;
        }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 1.6em;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb),var(--bs-bg-opacity)) !important;
}

.upload-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.upload-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

    .upload-section h2 {
        font-size: 1.5em;
        color: #2c3e50;
        margin-bottom: 30px;
        font-weight: 700;
    }

.file-input-wrapper {
    margin-bottom: 30px;
}

.file-input-label {
    display: block;
    margin-bottom: 10px;
    color: #5a6c7d;
    font-weight: 500;
}

.file-input-box {
    border: 2px dashed #bdc3c7;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s;
    cursor: pointer;
}

    .file-input-box:hover {
        border-color: #3498db;
        background: #ecf6fd;
    }

    .file-input-box input {
        display: none;
    }

.browse-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 1em;
    font-family: 'Vazirmatn', sans-serif;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
    transition: all 0.2s;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.upload-box {
    background: white;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
}

    .upload-box h4 {
        font-size: 1.5em;
        color: #2c3e50;
        margin-bottom: 30px;
        font-weight: 700;
    }

.form-group-custom {
    margin-bottom: 25px;
}

.form-label-custom {
    display: block;
    margin-bottom: 10px;
    color: #5a6c7d;
    font-weight: 500;
    font-size: 0.95em;
}

.file-input-wrapper {
    border: 2px dashed #bdc3c7;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s;
    cursor: pointer;
}

    .file-input-wrapper:hover {
        border-color: #3498db;
        background: #ecf6fd;
    }

    .file-input-wrapper input[type="file"] {
        width: 100%;
        padding: 10px;
        cursor: pointer;
        font-family: 'Vazirmatn', sans-serif;
    }

.radio-group-custom {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin: 15px 0;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .radio-group-custom {
        flex-direction: column;
    }
}

.radio-option-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

    .radio-option-custom:hover {
        background: #f8f9fa;
    }

    .radio-option-custom input[type="radio"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #3498db;
    }

    .radio-option-custom label {
        cursor: pointer;
        color: #2c3e50;
        font-size: 0.95em;
        margin: 0;
    }

.input-custom {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Vazirmatn', sans-serif;
    transition: border-color 0.2s;
}

    .input-custom:focus {
        outline: none;
        border-color: #3498db;
    }

.btn-upload {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 14px 0;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.05em;
    width: 100%;
    font-family: 'Vazirmatn', sans-serif;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
    transition: all 0.2s;
}

    .btn-upload:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(52, 152, 219, 0.35);
    }

.info-box {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 16px;
    padding: 40px;
    color: white;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

    .info-box h4 {
        font-size: 1.8em;
        margin-bottom: 25px;
        font-weight: 700;
        color: white;
    }

.info-text {
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1em;
    opacity: 0.95;
}

.warning-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    border-right: 4px solid rgba(255, 255, 255, 0.5);
}

    .warning-box p {
        line-height: 1.8;
        font-size: 0.95em;
        margin: 0;
    }

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.loader {
    display: inline-flex;
    gap: 10px;
}

    .loader span {
        display: inline-block;
        width: 20px;
        height: 20px;
        border-radius: 100%;
        background-color: #3498db;
        animation: bounce 1s ease-in-out infinite;
    }

        .loader span:nth-child(2) {
            animation-delay: 0.33s;
        }

        .loader span:nth-child(3) {
            animation-delay: 0.66s;
        }

@keyframes bounce {
    0%, 75%, 100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-20px);
    }
}

.loading-message {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    border-right: 4px solid #3498db;
    display: none;
}

    .loading-message h5 {
        color: #2c3e50;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .loading-message p {
        color: #5a6c7d;
        margin: 0;
        line-height: 1.7;
    }

.text-danger {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 5px;
}

.overlay-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    z-index: 10;
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .info-box {
        order: -1;
    }

    .upload-box {
        padding: 25px;
    }

    .info-box {
        padding: 30px;
    }
}

.browse-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.35);
}

.file-status {
    color: #7f8c8d;
    margin-top: 10px;
    font-size: 0.9em;
}

.image-preview-section {
    margin-top: 25px;
    display: none;
}

.preview-box {
    background: #f8f9fa;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.preview-label {
    color: #5a6c7d;
    font-size: 0.9em;
    margin-bottom: 15px;
    font-weight: 500;
}

.preview-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .preview-image:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
    }

/* Modal/Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

    .modal-overlay.active {
        display: flex;
    }

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    left: -40px;
    background: white;
    color: #2c3e50;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

    .modal-close:hover {
        background: #3498db;
        color: white;
        transform: rotate(90deg);
    }

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-close {
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
    }

        .modal-close:hover {
            transform: translateX(-50%) rotate(90deg);
        }
}

.image-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e1e8ed;
    text-align: right;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .info-row:last-child {
        border-bottom: none;
    }

.info-label {
    color: #5a6c7d;
    font-size: 0.9em;
    font-weight: 500;
}

.info-value {
    color: #2c3e50;
    font-size: 0.9em;
    font-weight: 600;
}

/* Simple inline styles for navbar */
.simple-dropdown {
    position: relative;
}

.simple-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 1000;
    margin-top: 2px;
}

.simple-dropdown:hover .simple-dropdown-menu {
    display: block;
}

.simple-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9em;
}

    .simple-dropdown-menu a:hover {
        background: #f8f9fa;
        color: #3498db;
    }

.dropdown-arrow::after {
    content: ' ▼';
    font-size: 0.6em;
    margin-right: 4px;
}

@media (max-width: 575.98px) {
    .simple-dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: #f8f9fa;
    }

    .simple-dropdown.mobile-open .simple-dropdown-menu {
        display: block;
    }
}

.file-status {
    color: #7f8c8d;
    margin-top: 15px;
    font-size: 0.9em;
    transition: all 0.3s;
}

.browse-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 1em;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
    transition: all 0.2s;
    pointer-events: none;
}

    .browse-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(52, 152, 219, 0.35);
    }


.download-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    left: 20px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    min-width: 320px;
    border-right: 4px solid #27ae60;
    animation: slideInLeft 0.4s ease, slideOutLeft 0.4s ease 9.6s forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-400px);
        opacity: 0;
    }
}

.toast-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    border-radius: 50%;
    color: white;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.toast-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

    .toast-text strong {
        color: #2c3e50;
        font-size: 0.95em;
        font-weight: 700;
    }

    .toast-text span {
        color: #7f8c8d;
        font-size: 0.85em;
    }

.toast-close {
    background: none;
    border: none;
    color: #7f8c8d;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

    .toast-close:hover {
        color: #2c3e50;
    }

.toast-notification.hide {
    animation: slideOutLeft 0.4s ease forwards;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.download-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

    /* Portrait/Vertical Image - Two Columns */
    .download-content.portrait {
        grid-template-columns: 25% 1fr;
    }

    /* Landscape/Horizontal Image - Two Rows */
    .download-content.landscape {
        grid-template-columns: 1fr;
    }

.preview-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.preview-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.result-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s;
}

.preview-image-wrapper:hover .result-image {
    transform: scale(1.05);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s;
}

.preview-image-wrapper:hover .preview-overlay {
    opacity: 1;
}

.preview-hint {
    color: white;
    font-size: 0.9em;
    font-weight: 600;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

    .info-card h3 {
        font-size: 1.4em;
        color: #2c3e50;
        margin-bottom: 25px;
        font-weight: 700;
    }

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-right: 3px solid #e1e8ed;
}

    .info-item.highlight {
        border-right-color: #27ae60;
        background: #e8f8f0;
    }

    .info-item.savings {
        border-right-color: #3498db;
        background: #ecf6fd;
    }

.info-label {
    color: #7f8c8d;
    font-size: 0.85em;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-value {
    color: #2c3e50;
    font-size: 1em;
    font-weight: 600;
    word-break: break-all;
}

    .info-value.success {
        color: #27ae60;
        font-size: 1.1em;
    }

.action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

    .btn-download.primary {
        background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    }

        .btn-download.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(39, 174, 96, 0.4);
        }

    .btn-download.secondary {
        background: #3498db;
        color: white;
    }

        .btn-download.secondary:hover {
            background: #2980b9;
        }

    .btn-download.tertiary {
        background: #f8f9fa;
        color: #2c3e50;
        border: 1px solid #e1e8ed;
    }

        .btn-download.tertiary:hover {
            background: #e9ecef;
        }

.btn-icon {
    font-size: 1.2em;
}

.warning-note {
    display: flex;
    gap: 12px;
    background: #fff3cd;
    padding: 15px;
    border-radius: 10px;
    border-right: 3px solid #ffc107;
}

.warning-icon {
    font-size: 1.3em;
}

.warning-note p {
    margin: 0;
    color: #856404;
    font-size: 0.9em;
    line-height: 1.6;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

    .modal-overlay.active {
        display: flex;
    }

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    left: -40px;
    background: white;
    color: #2c3e50;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

    .modal-close:hover {
        background: #e74c3c;
        color: white;
        transform: rotate(90deg);
    }

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .toast-notification {
        left: 10px;
        right: 10px;
        min-width: auto;
    }

    .download-content.portrait {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .modal-close {
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
    }

        .modal-close:hover {
            transform: translateX(-50%) rotate(90deg);
        }
}
.howto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page-header {
    background: linear-gradient(135deg, #f6f8fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.header-content {
    flex: 1;
}

    .header-content h1 {
        font-size: 2.5rem;
        color: #2c3e50;
        margin-bottom: 1rem;
    }

    .header-content .lead {
        font-size: 1.25rem;
        color: #6c757d;
    }

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 2rem;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

    .feature-card:hover {
        transform: translateY(-2px);
    }

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.header-text h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.step-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-number {
    background: #3498db;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.format-support {
    margin-top: 1rem;
    background: #e9ecef;
    padding: 1rem;
    border-radius: 6px;
}

.format-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.format-tag {
    background: #3498db;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.method-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.method-card {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.example {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

.process-steps {
    display: flex;
    gap: 1.5rem;
}

.process-step {
    text-align: center;
    flex: 1;
}

.process-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin: 15px;
}

.tip-icon-wrapper {
    width: 3rem;
    height: 3rem;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.tip-icon {
    font-size: 1.5rem;
}

.security-features {
    margin-top: 1rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.check-icon {
    color: #27ae60;
    font-weight: bold;
}

.warning-note {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-list {
    margin-top: 1rem;
}

.faq-item {
    margin-bottom: 1rem;
}

    .faq-item h5 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .faq-item p {
        color: #6c757d;
    }

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .process-steps {
        flex-direction: column;
        gap: 1rem;
    }

    .method-cards {
        grid-template-columns: 1fr;
    }
}