/* ===== JOKINGS EDUCARE - MOBILE-FIRST SOP GENERATOR CSS ===== */
/* Built mobile-first (320px+) then scales up to desktop */

:root {
    /* Jokings Brand Colors (Softer Palette) */
    --primary: #E07856;
    --primary-dark: #C86744;
    --secondary: #2C5F7C;
    --accent: #E6A855;
    --success: #47A992;
    --warning: #E8A547;
    --danger: #D96C6C;
    --dark: #2D3748;
    --light: #F7FAFC;
    --gray: #718096;
    --border: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    
    /* Mobile-first spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Touch-friendly sizes */
    --touch-target: 44px;
}

/* ===== BASE RESET & MOBILE-FIRST DEFAULTS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #F5F7FA;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== MOBILE-FIRST HEADER ===== */
.header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    padding: var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Mobile Logo - Compact */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: white;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.product-name {
    font-size: 0.7rem;
    opacity: 0.9;
    line-height: 1.2;
}

/* Mobile Navigation - Hamburger Menu */
.main-nav {
    width: 100%;
    order: 3;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.main-nav.open {
    max-height: 500px;
    margin-top: var(--spacing-sm);
}

.nav-tab {
    width: 100%;
    padding: var(--spacing-sm);
    border: none;
    background: rgba(255,255,255,0.15);
    color: white;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s;
}

.nav-tab:hover,
.nav-tab:active {
    background: rgba(255,255,255,0.25);
}

.nav-tab.active {
    background: white;
    color: var(--primary);
}

.nav-tab i {
    font-size: 1.1rem;
}

/* Mobile Auth Section */
.auth-section {
    order: 2;
}

.btn-staff-login,
.btn-logout {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 2px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    min-height: var(--touch-target);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    white-space: nowrap;
}

.btn-staff-login:hover,
.btn-staff-login:active,
.btn-logout:hover,
.btn-logout:active {
    background: white;
    color: var(--primary);
}

/* Hamburger Menu Button (Mobile Only) */
.mobile-menu-toggle {
    display: block;
    order: 2;
    margin-right: var(--spacing-sm);
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-xs);
    min-width: var(--touch-target);
    min-height: var(--touch-target);
}

/* ===== BREADCRUMB - MOBILE OPTIMIZED ===== */
.breadcrumb {
    background: white;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.breadcrumb .container {
    padding: 0 var(--spacing-sm);
}

.breadcrumb-item {
    color: var(--gray);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}

.breadcrumb-separator {
    margin: 0 var(--spacing-xs);
    color: var(--gray);
}

/* ===== MAIN CONTENT - MOBILE FIRST ===== */
.main-content {
    min-height: calc(100vh - 300px);
    padding: var(--spacing-sm) 0;
}

.container {
    width: 100%;
    padding: 0 var(--spacing-sm);
    margin: 0 auto;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

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

/* ===== HERO BANNER - MOBILE OPTIMIZED ===== */
.hero-banner {
    background: linear-gradient(135deg, #3d5a80 0%, #98c1d9 100%);
    color: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-lg);
}

.hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xs);
}

.hero-feature {
    background: rgba(255,255,255,0.15);
    padding: var(--spacing-xs);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    font-size: 0.85rem;
}

.hero-feature i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===== PROGRESS INDICATOR - MOBILE ===== */
.progress-container {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    z-index: 1;
    min-width: 60px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray);
    transition: all 0.3s;
    flex-shrink: 0;
}

.progress-step.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    animation: pulse 2s infinite;
}

.progress-step.completed .step-circle {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.step-label {
    font-size: 0.7rem;
    color: var(--gray);
    text-align: center;
    line-height: 1.2;
}

.progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    transition: width 0.5s ease;
}

/* ===== FORM CARD - MOBILE FIRST ===== */
.form-card,
.result-card,
.content-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow);
    margin-bottom: var(--spacing-md);
}

.form-section {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.section-header h2 {
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.3;
}

.section-header i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Mobile-first: Single column by default */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    min-height: var(--touch-target);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(224, 120, 86, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    color: var(--gray);
    font-size: 0.75rem;
    line-height: 1.4;
}

/* ===== GDPR BOX - MOBILE ===== */
.gdpr-box {
    background: var(--light);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.gdpr-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.gdpr-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.gdpr-label a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* ===== BUTTONS - TOUCH OPTIMIZED ===== */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    transition: all 0.3s;
    min-height: var(--touch-target);
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:active {
    transform: scale(0.98);
    box-shadow: none;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:active {
    background: var(--primary);
    color: white;
}

.btn-icon {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--border);
    min-height: var(--touch-target);
    font-size: 0.9rem;
}

.btn-icon:active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== RESULT SECTION - MOBILE ===== */
.result-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border);
}

.result-header h2 {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.25rem;
}

.result-actions-top {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.result-actions-top .btn-icon {
    flex: 1;
    min-width: 100px;
}

.statement-display {
    background: var(--light);
    border-radius: 8px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    min-height: 300px;
}

.statement-text {
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-wrap;
    color: var(--dark);
    word-wrap: break-word;
}

.statement-text[contenteditable="true"] {
    outline: 2px dashed var(--primary);
    outline-offset: 4px;
}

.result-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: var(--light);
    border-radius: 8px;
    text-align: center;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-item span {
    font-size: 0.85rem;
    font-weight: 600;
}

.result-actions-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.result-actions-bottom .btn {
    width: 100%;
}

/* ===== DASHBOARD - MOBILE ===== */
.dashboard-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.dashboard-header h1 {
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    font-size: 1.5rem;
}

.subtitle {
    color: var(--gray);
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--gray);
    font-size: 0.85rem;
}

.content-card h2 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.25rem;
}

.review-list {
    /* Add styles for review list items if needed */
}

.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--gray);
}

.empty-state i {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
}

.loading-state {
    text-align: center;
    padding: var(--spacing-xl);
}

.loading-state i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.analytics-container {
    /* Add styles for analytics if needed */
}

/* ===== FOOTER - MOBILE ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-section a:active {
    color: var(--primary);
}

.footer-section p {
    color: #ccc;
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 0.85rem;
}

/* ===== MODAL - MOBILE ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    padding: var(--spacing-sm);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-lg);
    max-width: 400px;
    width: 100%;
    position: relative;
    animation: slideDown 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

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

.close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    width: var(--touch-target);
    height: var(--touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:active {
    color: var(--danger);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.25rem;
}

/* ===== TOAST NOTIFICATIONS - MOBILE ===== */
.toast-container {
    position: fixed;
    top: 80px;
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.toast {
    background: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: slideInDown 0.3s;
    font-size: 0.9rem;
}

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

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.info {
    border-left: 4px solid var(--primary);
}

.toast i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.toast.success i {
    color: var(--success);
}

.toast.error i {
    color: var(--danger);
}

.toast.info i {
    color: var(--primary);
}

/* ===== PROGRESS MODAL - MOBILE OPTIMIZED ===== */
#progressModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

#progressModal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.progress-modal-content {
    background: white;
    border-radius: 20px;
    padding: var(--spacing-lg);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.progress-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.progress-header h2 {
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.progress-header h2 i {
    margin-right: var(--spacing-xs);
    animation: pulse 2s infinite;
}

#progressStatus {
    color: #666;
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
}

/* Progress Bar */
.progress-bar-container {
    margin-bottom: var(--spacing-md);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-percentage {
    text-align: center;
    margin-top: var(--spacing-xs);
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary);
}

/* Progress Stages */
.progress-stages {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    padding: 0 var(--spacing-xs);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.progress-stages .stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    opacity: 0.3;
    transition: all 0.3s ease;
    min-width: 60px;
}

.progress-stages .stage i {
    font-size: 1.3rem;
    color: #9ca3af;
}

.progress-stages .stage span {
    font-size: 0.7rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.2;
}

.progress-stages .stage.active {
    opacity: 1;
}

.progress-stages .stage.active i {
    color: var(--primary);
    animation: bounce 1s infinite;
}

.progress-stages .stage.completed {
    opacity: 1;
}

.progress-stages .stage.completed i {
    color: #10b981;
}

/* Progress Tip */
.progress-tip {
    background: linear-gradient(135deg, #fff5f0, #fffbf5);
    border-left: 4px solid var(--primary);
    padding: var(--spacing-md);
    border-radius: 10px;
    margin-bottom: var(--spacing-sm);
}

.progress-tip i {
    color: var(--primary);
    margin-right: var(--spacing-xs);
    font-size: 1.1rem;
}

.progress-tip p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.progress-time {
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* ===== STAFF-ONLY ELEMENTS ===== */
.staff-only {
    display: none !important;
}

.staff-logged-in .staff-only {
    display: flex !important;
}

/* ===== TABLET RESPONSIVE (768px+) ===== */
@media (min-width: 768px) {
    :root {
        --spacing-sm: 1.25rem;
        --spacing-md: 2rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 4rem;
    }
    
    .container {
        max-width: 720px;
        padding: 0 var(--spacing-md);
    }
    
    /* Tablet Header */
    .header .container {
        flex-wrap: nowrap;
        padding: 1rem 2rem;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .company-name {
        font-size: 1.25rem;
    }
    
    .product-name {
        font-size: 0.875rem;
    }
    
    /* Tablet Navigation - Horizontal */
    .main-nav {
        width: auto;
        order: 2;
        max-height: none;
        overflow: visible;
        display: flex;
        gap: var(--spacing-sm);
    }
    
    .nav-tab {
        width: auto;
        margin-bottom: 0;
        padding: 0.75rem 1.25rem;
    }
    
    .auth-section {
        order: 3;
        margin-left: var(--spacing-sm);
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    /* Hero */
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Form Grid - 2 columns */
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Buttons - Horizontal */
    .form-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
    
    .btn {
        width: auto;
    }
    
    .result-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .result-actions-top .btn-icon {
        flex: 0;
    }
    
    .result-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stat-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .result-actions-bottom {
        flex-direction: row;
        justify-content: center;
    }
    
    .result-actions-bottom .btn {
        width: auto;
    }
    
    /* Stats Grid - 2 columns */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer - 2 columns */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Toast - Right aligned */
    .toast-container {
        left: auto;
        right: var(--spacing-md);
        min-width: 350px;
    }
    
    .progress-modal-content {
        padding: 2rem;
    }
}

/* ===== DESKTOP RESPONSIVE (1024px+) ===== */
@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-banner {
        padding: 3rem;
    }
    
    .form-card,
    .result-card,
    .content-card {
        padding: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .statement-text {
        font-size: 1.05rem;
        line-height: 1.8;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Desktop Hover Effects */
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .nav-tab:hover {
        background: rgba(255,255,255,0.3);
    }
    
    .stat-card:hover {
        transform: translateY(-5px);
    }
    
    .footer-section a:hover {
        color: var(--primary);
    }
    
    .progress-modal-content {
        padding: 3rem;
        max-width: 600px;
    }
}

/* ===== LARGE DESKTOP (1200px+) ===== */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* ===== ULTRA WIDE (1440px+) ===== */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .breadcrumb,
    .footer,
    .nav-tab,
    .auth-section,
    .form-actions,
    .result-actions-top,
    .result-actions-bottom {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .statement-display {
        background: white;
        border: 1px solid #000;
    }
}