/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.main-container {
    flex: 1;
}


:root {
    /* Colors */
    --primary: #6366F1;
    --primary-hover: #4F46E5;
    --primary-light: #E0E7FF;
    --secondary: #64748B;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-dark: #1E293B;
    
    --border: #E2E8F0;
    --border-dashed: #CBD5E1;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
}

/* Navigation Bar */
.navbar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: var(--spacing-md) var(--spacing-xl);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: inherit;
    text-decoration: none;
}

.logo-container:hover {
    opacity: 0.9;
  }

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.beta-badge {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border);
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

/* Title Section */
.title-section {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.main-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.main-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Upload State */
.upload-state {
    max-width: 1000px;
    margin: 0 auto;
}

.upload-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.upload-area {
    border: 2px dashed var(--border-dashed);
    border-radius: var(--radius-lg);
    padding: 80px var(--spacing-xl);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--primary);
    background: var(--bg-secondary);
}

.upload-area.drag-over {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-icon {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.upload-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.upload-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.feature-tags {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--secondary);
}

.btn-full {
    width: 100%;
}

.btn-start-over {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.2s ease;
}

.btn-start-over:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Editor State */
.editor-state {
    max-width: 1400px;
    margin: 0 auto;
}

.editor-header {
    margin-bottom: var(--spacing-lg);
}

/* Tool Tabs */
.tool-tabs {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: flex-start;    
    align-items: center;
    gap: var(--spacing-lg);
}

.crop-presets {
    display: flex;
    gap: var(--spacing-sm);
    margin-left: auto;
    order: 2;
}

.preset-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.preset-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.preset-btn.active {
    background: var(--bg-secondary);
    border-color: var(--primary);
    color: var(--primary);
}

/* Tooltip for preset buttons */
.preset-btn::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.preset-btn::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent var(--bg-dark) transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.preset-btn:hover::after,
.preset-btn:hover::before {
    opacity: 1;
    transition-delay: 0.1s;
}

.tool-icons {
    display: flex;
    gap: var(--spacing-sm);
    order: 1;
}

.tool-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    position: relative;
}

.tool-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--secondary);
}

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

/* Custom Tooltip */
.tool-btn::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.tool-btn::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent var(--bg-dark) transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.tool-btn:hover::after,
.tool-btn:hover::before {
    opacity: 1;
    transition-delay: 0.1s;
}

/* Editor Content */
.editor-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--spacing-lg);
    align-items: start;
}

/* Preview Area */
.preview-area {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-container {
    width: 800px;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#editor-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Tool Panel */
.tool-panel {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.panel-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.panel-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.panel-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* Input Groups */
.input-group {
    margin-bottom: var(--spacing-md);
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.input-field {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: all 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-group label {
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
}

/* Slider */
.slider-group {
    margin-bottom: var(--spacing-lg);
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.slider-hint {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 6px;
    text-align: center;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

/* Warning Box */
.warning-box {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: #FFFBEB;
    border: 1px solid #FEF3C7;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    color: #92400E;
    font-size: 13px;
}

.warning-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Info Box */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    color: #1E40AF;
    font-size: 13px;
}

.info-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Quality Guide */
.quality-guide {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: #F9FAFB;
    border-radius: var(--radius-md);
}

.quality-tier {
    display: grid;
    grid-template-columns: 40px 1fr 160px;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px 0;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.quality-tier.active {
    opacity: 1;
}

.quality-marker {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
}

.quality-bar {
    height: 8px;
    border-radius: 4px;
}

.quality-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Quality Guide Popup */
.quality-guide-popup {
    position: relative;
    margin: var(--spacing-md) 0;
    padding: var(--spacing-lg);
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    animation: slideDown 0.3s ease-out;
}

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

.quality-guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid #E5E7EB;
}

.quality-guide-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.close-guide-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
    border-radius: 4px;
}

.close-guide-btn:hover {
    color: var(--text-primary);
    background: #F3F4F6;
    transform: scale(1.1);
}

.quality-guide-popup .quality-guide {
    margin: 0;
    background: transparent;
    padding: 0;
}

/* Quality Help Icon */
.quality-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    margin: var(--spacing-sm) 0;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    width: fit-content;
    overflow: visible;
}

.quality-help-icon:hover {
    background: #E5E7EB;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.quality-help-icon svg {
    flex-shrink: 0;
    min-width: 18px;
    min-height: 18px;
    display: block;
}

/* PNG Compression Guide */
.png-guide-content {
    margin-top: var(--spacing-sm);
}

.png-guide-tiers {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: #F9FAFB;
    border-radius: var(--radius-md);
}

.png-tier {
    display: grid;
    grid-template-columns: 40px 1fr 200px;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px 0;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.png-tier.active {
    opacity: 1;
}

.png-marker {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
}

.png-bar {
    height: 8px;
    border-radius: 4px;
}

.png-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.png-note {
    display: flex;
    gap: 10px;
    padding: var(--spacing-md);
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: var(--radius-md);
    font-size: 13px;
    color: #92400E;
    line-height: 1.5;
}

.png-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #F59E0B;
}

.png-note strong {
    color: #92400E;
}

/* Size Display */
.size-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.size-item {
    text-align: center;
}

.size-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.size-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.size-value.target {
    color: var(--success);
}

/* Background Preview */
.bg-preview {
    text-align: center;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.bg-preview p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: var(--spacing-md);
}

/* Info Card */
.info-card {
    background: var(--bg-dark);
    color: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    font-size: 14px;
}

.info-label {
    font-size: 13px;
    color: #94A3B8;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
}

.btn-download {
    width: 100%;
    background: white;
    color: var(--text-primary);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.btn-download:hover {
    background: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Crop Info */
.crop-info {
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}



/* Status Message */
.status-message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-top: var(--spacing-md);
}

.status-message.success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.status-message.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay p {
    color: white;
    margin-top: var(--spacing-lg);
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .editor-content {
        grid-template-columns: 1fr;
    }
    
    .tool-panel {
        order: -1;
    }
    
    .preview-area {
        height: 500px;
    }
    
    .image-container {
        width: 100%;
        max-width: 700px;
        height: 450px;
    }
    .footer-love {
        text-align: center;
      }
}

@media (max-width: 768px) {
    .main-container {
        padding: var(--spacing-md);
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .tool-tabs {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .crop-presets,
    .tool-icons {
        width: 100%;
        justify-content: center;
    }
    
    .preview-area {
        height: 450px;
    }
    
    .image-container {
        width: 100%;
        max-width: 100%;
        height: 380px;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
      }
    
      .footer-links {
        justify-content: center;
      }
    
      .footer-note {
        white-space: normal;
      }

      .footer-links:first-child a:last-child::after {
        content: "";
    }
    .footer-love {
        text-align: center;
      }
}

/* Cropper.js Customization */
.cropper-view-box {
    outline: 3px solid #6366F1;
    outline-offset: -3px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
}

.cropper-face {
    border-radius: var(--radius-sm);
    background-color: transparent !important;
}

/* Crop box border */
.cropper-crop-box {
    border: 3px solid #6366F1 !important;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Corner and edge handles (drag points) */
.cropper-point {
    background-color: #ffffff !important;
    border: 3px solid #6366F1 !important;
    width: 12px !important;
    height: 12px !important;
    opacity: 1 !important;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cropper-point.point-se {
    /* Bottom-right corner - make it extra visible */
    width: 14px !important;
    height: 14px !important;
}

/* Edge lines */
.cropper-line {
    background-color: #6366F1 !important;
    opacity: 0.8 !important;
}

/* Darkened area outside crop box */
.cropper-modal {
    background-color: rgba(0, 0, 0, 0.6) !important;
    opacity: 1 !important;
}

/* Center indicator */
.cropper-center {
    opacity: 1 !important;
}

.cropper-center:before,
.cropper-center:after {
    background-color: #6366F1 !important;
}

/* Hide cropper overlays when not in crop mode */
.hide-cropper .cropper-crop-box,
.hide-cropper .cropper-drag-box,
.hide-cropper .cropper-modal,
.hide-cropper .cropper-point,
.hide-cropper .cropper-line,
.hide-cropper .cropper-view-box {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* =========================
   Footer
   ========================= */

.site-footer {
    border-top: 1px solid #e5e7eb;
    background-color: #ffffff;
    padding: 20px 16px;
    font-size: 14px;
    color: #6b7280; /* muted gray */
    margin-top: 40px;
    background-color: var(--bg-secondary);
  }

  .footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    
  }

  .footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    
  }

  .footer-links a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

  
  .footer-links a:hover {
    color: #2563eb; /* matches your primary blue */
    text-decoration: underline;
  }
  .footer-note {
    font-size: 13px;
    color: #9ca3af;
    white-space: nowrap;
  }
    
  /* Footer separator after Terms */
.footer-links:first-child a:last-child::after {
    content: "|";
    margin-left: 16px;
    color: #d1d5db; /* subtle divider */
}

.footer-love {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 6px;
    text-align: right;
  }
