@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --color-background: #0f172a;
    --color-surface: #1e293b;
    --color-surface-alt: #111827;
    --color-primary: #6366f1;
    --color-accent: #22d3ee;
    --color-text: #f8fafc;
    --color-text-muted: #cbd5f5;
    --color-border: rgba(99, 102, 241, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Utility classes */
.text-wrap {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.overflow-hidden {
    overflow: hidden;
}

.w-full {
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-text);
    box-shadow: 0 20px 30px -15px rgba(99, 102, 241, 0.7);
}

.btn-outline {
    border: 1px solid var(--color-border);
    color: var(--color-text);
    background: transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 45px -20px rgba(34, 211, 238, 0.8);
}

header.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

/* Hamburger Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a {
    color: var(--color-text-muted);
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    position: relative;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--color-text);
    background: rgba(99, 102, 241, 0.1);
}

.nav-links a.active {
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.15);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

main {
    flex: 1;
}

footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--color-surface-alt);
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsive container widths */
@media (min-width: 640px) {
    .container {
        max-width: 90%;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1100px;
        padding: 0 2rem;
    }
}

.card {
    background: var(--color-surface);
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 30px 60px -35px rgba(15, 23, 42, 0.8);
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 640px) {
    .card {
        padding: 1.5rem 1rem;
        border-radius: 1rem;
    }
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--color-primary);
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th,
.table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
}

.table th {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.table tbody tr:hover {
    background: rgba(148, 163, 184, 0.08);
}

.hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.75rem, 8vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

@media (max-width: 480px) {
    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
        max-width: 100%;
    }
}

.feature {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.feature h3 {
    margin-top: 0.75rem;
    font-size: 1.25rem;
}

.feature p {
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 600;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.upload-area {
    border: 2px dashed rgba(99, 102, 241, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 640px) {
    .upload-area {
        padding: 1.5rem 1rem;
    }
}

.upload-area input[type="file"] {
    display: none;
}

.upload-area label {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--color-primary);
    cursor: pointer;
    font-weight: 500;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(34, 211, 238, 0.15);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: var(--color-accent);
}

.alert-error {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #f87171;
}

form label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

form input, form select {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(15, 23, 42, 0.8);
    color: var(--color-text);
    box-sizing: border-box;
}

form input:focus, form select:focus {
    outline: none;
    border-color: var(--color-primary);
}

@media (max-width: 480px) {
    form input, form select {
        padding: 0.65rem 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

.text-muted {
    color: var(--color-text-muted);
}

.hidden {
    display: none !important;
}

.preview-frame {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.preview-frame img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.75rem;
}

.preview-frame > .text-muted {
    text-align: center;
    padding: 1rem;
}

.preview-frame > #processing-state {
    text-align: center;
    font-size: 1.1rem;
}

/* User Profile in Header */
.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    overflow: hidden;
}

.user-profile:hover {
    background: rgba(30, 41, 59, 1);
    transform: translateY(-1px);
}

.user-avatar-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(34, 211, 238, 0.3));
}

/* Premium users get animated gradient border */
.user-profile.premium .user-avatar-wrapper {
    background: linear-gradient(135deg, #a855f7, #ec4899, #f59e0b, #a855f7);
    background-size: 300% 300%;
    animation: gradientRotate 3s ease infinite;
}

@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-background);
    display: block;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    width: fit-content;
    letter-spacing: 0.5px;
}

.premium-badge {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
    animation: premiumPulse 2s ease-in-out infinite;
}

@keyframes premiumPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(168, 85, 247, 0.5); }
}

.free-badge {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Format Table Styles */
.format-table-container {
    overflow-x: auto;
    overflow-y: hidden;
    margin: 1rem 0;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.4);
    padding: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

/* Ensure table has minimum width for readability on larger screens */
@media (min-width: 768px) {
    .format-table {
        min-width: 600px;
    }
}

@media (min-width: 1024px) {
    .format-table {
        min-width: 800px;
    }
}

.format-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 0;
}

.format-table thead {
    background: rgba(99, 102, 241, 0.1);
}

.format-table th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.85rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    white-space: nowrap;
}

.format-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--color-text-muted);
    line-height: 1.5;
    vertical-align: top;
    word-break: break-word;
    overflow-wrap: break-word;
}

.format-table tbody tr {
    transition: background-color 0.2s ease;
}

.format-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.08);
}

.format-table td strong {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.9rem;
}

.check-mark {
    color: #22d3ee;
    font-weight: 500;
}

.cross-mark {
    color: #94a3b8;
    font-weight: 500;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--color-surface);
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 30px 60px -35px rgba(15, 23, 42, 0.9);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    animation: slideUp 0.3s ease;
    margin: 1rem;
}

@media (max-width: 640px) {
    .modal-content {
        max-width: calc(100% - 1rem);
        max-height: 95vh;
        margin: 0.5rem;
        border-radius: 1rem;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(148, 163, 184, 0.1);
    color: var(--color-text);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
    overflow-x: hidden;
}

@media (max-width: 640px) {
    .modal-body {
        padding: 1rem;
    }
}

.modal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

@media (min-width: 640px) {
    .modal-table {
        display: table;
    }
}

.modal-table thead {
    background: rgba(99, 102, 241, 0.1);
}

.modal-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
}

.modal-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--color-text-muted);
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
}

.modal-table tbody tr {
    transition: background-color 0.2s ease;
}

.modal-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.08);
}

.modal-table td strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Small phones (up to 480px) */
@media (max-width: 480px) {
    header.navbar {
        padding: 0.75rem 1rem;
    }

    .logo a {
        font-size: 0.95rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.65rem;
    }

    .hero {
        padding: 2.5rem 0 2rem;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .card {
        padding: 1.25rem 1rem;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-group .btn {
        width: 100%;
    }

    .user-profile {
        padding: 0.4rem 0.75rem;
    }

    .user-name {
        font-size: 0.85rem;
    }

    .plan-badge {
        font-size: 0.65rem;
    }

    .modal-content {
        max-width: 100%;
        margin: 0.5rem;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .upload-area {
        padding: 1.5rem 1rem;
    }

    .preview-frame {
        height: 250px;
    }
}

/* Large phones (481px to 640px) */
@media (min-width: 481px) and (max-width: 640px) {
    header.navbar {
        padding: 1rem 1.25rem;
    }

    .hero {
        padding: 3rem 0 2.5rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .card {
        padding: 1.5rem 1.25rem;
    }

    .cta-group {
        gap: 0.875rem;
    }

    .modal-content {
        max-width: 98%;
    }
}

/* Tablets and Mobile Navigation (up to 768px) */
@media (max-width: 768px) {
    header.navbar {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        padding: 1rem;
        position: relative;
    }

    /* Show hamburger button on mobile */
    .menu-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    /* Logo stays visible */
    .logo {
        order: 1;
        flex-shrink: 0;
    }

    /* Hide main navigation links by default on mobile */
    #main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        pointer-events: none;
        margin-top: 0;
    }

    /* Show main navigation when menu is open */
    body.menu-open #main-navigation {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
        padding: 1rem 0;
        pointer-events: auto !important;
        /* Calculate top position based on header height */
        top: var(--header-height, 70px);
        z-index: 999;
    }

    /* Main navigation links styling on mobile */
    #main-navigation a {
        width: 100%;
        text-align: left;
        padding: 0.875rem 1.5rem;
        border-radius: 0;
        transition: all 0.2s ease;
        position: relative;
        display: block;
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 1000;
        -webkit-tap-highlight-color: rgba(99, 102, 241, 0.3);
    }

    #main-navigation a:hover,
    #main-navigation a:focus,
    #main-navigation a:active {
        background: rgba(99, 102, 241, 0.15);
        padding-left: 2rem;
        pointer-events: auto !important;
    }

    #main-navigation a.active {
        background: rgba(99, 102, 241, 0.2);
        border-left: 3px solid var(--color-primary);
        pointer-events: auto !important;
    }

    #main-navigation a.active::after {
        display: none;
    }

    /* User navigation stays visible and positioned properly */
    nav[aria-label="User navigation"] {
        order: 3;
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
        align-items: center;
        width: auto;
        margin-left: auto;
    }

    /* User profile adjustments for mobile */
    nav[aria-label="User navigation"] .user-profile {
        width: auto;
        margin-top: 0;
    }

    /* User navigation links stay inline on mobile */
    nav[aria-label="User navigation"] a {
        width: auto;
        padding: 0.5rem 1rem;
        text-align: center;
    }

    .user-info {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    /* Menu backdrop overlay */
    .menu-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    /* Show backdrop when menu is open */
    body.menu-open .menu-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
    
    /* Ensure menu links are clickable */
    body.menu-open #main-navigation a {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative;
        z-index: 1000;
        display: block;
        -webkit-tap-highlight-color: rgba(99, 102, 241, 0.3);
    }
    
    /* Ensure hamburger button stays clickable */
    .menu-toggle {
        z-index: 1001;
        pointer-events: auto;
        position: relative;
    }
    
}

/* Format table container mobile styles */
@media (max-width: 768px) {
    .format-table-container {
        padding: 0.25rem;
    }

    .format-table {
        font-size: 0.75rem;
        min-width: 0;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .format-table th,
    .format-table td {
        padding: 0.75rem 0.5rem;
    }

    .modal-content {
        max-width: 95%;
        margin: 1rem;
    }

    .modal-header {
        padding: 1rem 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-table {
        font-size: 0.8rem;
    }

    .modal-table th,
    .modal-table td {
        padding: 0.75rem;
    }
}

/* Loading cursor state
 * When the 'loading' class is applied to the body element, this changes
 * the cursor to a wait/hourglass cursor across the entire page to indicate
 * that an image processing operation is in progress.
 * Used during: image transformation, background removal, and format conversion.
 */
body.loading {
    cursor: wait !important;
}

body.loading * {
    cursor: wait !important;
}

/* Large tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    header.navbar {
        padding: 1.25rem 1.5rem;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .hero {
        padding: 5rem 0 3.5rem;
    }

    .card {
        padding: 1.75rem 1.5rem;
    }
}

/* Desktop (1025px and above) - base styles already handle this */
@media (min-width: 1025px) {
    header.navbar {
        padding: 1.5rem 2rem;
    }
}

