/* Icon Resizer - Modern CSS Styles */
/* Inspired by Picflow.com with green theme */

/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --color-primary: #11998e;
    --color-primary-dark: #0e8074;
    --color-primary-light: #38ef7d;
    --color-secondary: #6c757d;
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-warning: #ffc107;
    --color-info: #17a2b8;
    
    --color-bg: #f5f7fa;
    --color-bg-dark: #e8ecf1;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #6c757d;
    --color-text-muted: #9ca3af;
    
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    
    --gradient-primary: linear-gradient(135deg, #dc283a 0%, #d14e5b 100%);
    --gradient-hero: linear-gradient(135deg, #0f766e 0%, #0f766e 100%);
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: var(--gradient-hero);
    padding: 30px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.format-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.format-tag {
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.format-tag.ico {
    background: #fff;
    color: var(--color-primary);
}

.format-tag.png {
    background: rgba(255, 255, 255, 0.9);
    color: #e74c3c;
}

.format-arrow {
    color: rgba(255, 255, 255, 0.8);
    width: 20px;
    height: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.feature-pills {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pill i {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

/* ============================================
   Tool Section
   ============================================ */
.tool-section {
    margin-top: -40px;
    padding-bottom: 60px;
    position: relative;
    z-index: 10;
}

.tool-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
}

.upload-zone:hover {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    transform: translateY(-2px);
}

.upload-zone.active {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-style: solid;
}

.upload-icon {
    margin-bottom: 20px;
}

.upload-icon i {
    width: 72px;
    height: 72px;
    color: var(--color-primary);
    stroke-width: 1.5;
}

.upload-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.upload-subtitle {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.text-highlight {
    color: var(--color-primary);
    font-weight: 600;
}

.btn-upload {
    margin-bottom: 16px;
}

.upload-hint {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* File Info Panel */
.file-info-panel {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.file-info-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.file-icon {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
}

.file-details {
    flex: 1;
}

.file-name {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.file-size {
    font-size: 13px;
    color: var(--color-text-light);
}

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

.btn-remove:hover {
    color: var(--color-danger);
    background: rgba(220, 53, 69, 0.1);
}

/* Error Panel */
.error-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fef2f2;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    color: var(--color-danger);
}

.error-panel i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Icon Info Container */
.icon-info-container {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.icon-info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.size-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.size-item:hover {
    background: #ecfdf5;
}

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

.size-item label {
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

/* Options Panel */
.options-panel {
    margin-top: 32px;
}

.option-group {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.option-header i {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

.option-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    flex: 1;
}

/* Size Grid */
.size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.size-option {
    position: relative;
    cursor: pointer;
}

.size-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.size-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.size-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

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

.size-option:hover .size-box {
    border-color: var(--color-primary);
    background: #f0fdf4;
}

.size-option input:checked + .size-box {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.size-option input:checked + .size-box .size-value {
    color: var(--color-primary);
}

/* Upscale Warning */
.size-option.upscale-warning .size-box {
    background: #fffbeb;
    border-color: var(--color-warning);
}

.size-option.upscale-warning .size-value {
    color: #b45309;
}

.upscale-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fffbeb;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: #b45309;
}

.upscale-notice i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Checkbox Inline */
.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

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

.zip-option {
    margin-top: 16px;
    margin-bottom: 0;
}

/* Custom Sizes */
.custom-sizes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-size-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--color-white);
    border-radius: var(--radius-md);
}

.custom-size-row input[type="number"] {
    width: 100px;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition-fast);
}

.custom-size-row input[type="number"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.1);
}

.custom-size-row span {
    color: var(--color-text-muted);
    font-size: 14px;
}

.size-close-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fee2e2;
    color: var(--color-danger);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    margin-left: auto;
}

.size-close-button:hover {
    background: var(--color-danger);
    color: #fff;
}

.size-close-button i {
    width: 18px;
    height: 18px;
}

/* Format Options */
.format-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .format-options {
        grid-template-columns: 1fr;
    }
}

.format-option {
    position: relative;
    cursor: pointer;
}

.format-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.format-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.format-card i {
    width: 32px;
    height: 32px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.format-name {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.format-desc {
    font-size: 12px;
    color: var(--color-text-muted);
}

.format-option:hover .format-card {
    border-color: var(--color-primary);
}

.format-option input:checked + .format-card {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.format-option input:checked + .format-card i {
    color: var(--color-primary);
}

/* Progress */
.progress-container {
    margin: 32px 0;
}

.progress-bar {
    height: 12px;
    background: var(--color-bg);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: var(--radius-full);
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-light);
    margin-top: 12px;
}

/* Success Panel */
.success-panel {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 32px 0;
    text-align: center;
}

.success-icon {
    margin-bottom: 16px;
}

.success-icon i {
    width: 64px;
    height: 64px;
    color: var(--color-success);
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
}

.btn-download {
    font-size: 1.1rem;
    padding: 16px 40px;
    margin-bottom: 24px;
}

.success-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

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

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Action Bar */
.action-bar {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.btn-convert {
    flex: 1;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
}

.btn i {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(17, 153, 142, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 153, 142, 0.4);
}

.btn-primary:disabled {
    background: #d1d5db;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--color-secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: var(--color-success);
    color: #fff;
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 16px;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-sm i {
    width: 16px;
    height: 16px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-icon i {
    width: 20px;
    height: 20px;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: 80px 0;
    background: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    text-align: center;
    padding: 30px 24px;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.feature-card:hover {
    background: var(--color-bg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   How-To Section
   ============================================ */
.howto-section {
    padding: 80px 0;
    background: var(--color-bg);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 48px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.step-card {
    position: relative;
    text-align: center;
    padding: 40px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    width: 36px;
    height: 36px;
    color: #fff;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

.step-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   Info Section
   ============================================ */
.info-section {
    padding: 80px 0;
    background: var(--color-white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.info-card h3 i {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.info-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 30px 0;
    background: var(--color-text);
    text-align: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .tool-card {
        padding: 24px;
    }
    
    .upload-zone {
        padding: 30px 20px;
    }
    
    .upload-icon i {
        width: 56px;
        height: 56px;
    }
    
    .option-group {
        padding: 20px;
    }
    
    .size-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .action-bar {
        flex-direction: column;
    }
    
    .success-stats {
        gap: 24px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .feature-pills {
        flex-direction: column;
        align-items: center;
    }
    
    .size-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .size-box {
        padding: 12px 8px;
    }
    
    .size-value {
        font-size: 1.1rem;
    }
    
    .custom-size-row {
        flex-wrap: wrap;
    }
    
    .custom-size-row input[type="number"] {
        width: 80px;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* ============================================
   Size Guide Section
   ============================================ */
.size-guide-section {
    padding: 80px 0;
    background: var(--color-white);
}

.section-intro {
    text-align: center;
    color: var(--color-text-light);
    max-width: 600px;
    margin: -30px auto 40px;
}

.section-title i {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-right: 10px;
    color: var(--color-primary);
}

.size-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
}

.size-table th,
.size-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.size-table th {
    background: var(--color-bg);
    font-weight: 600;
    color: var(--color-text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-table td {
    font-size: 14px;
    color: var(--color-text-light);
}

.size-table tbody tr:hover {
    background: #f8fffe;
}

.size-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
}

/* ============================================
   Use Cases Section
   ============================================ */
.usecases-section {
    padding: 80px 0;
    background: var(--color-bg);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .usecases-grid {
        grid-template-columns: 1fr;
    }
}

.usecase-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.usecase-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.usecase-icon i {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.usecase-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.usecase-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   Comparison Section
   ============================================ */
.comparison-section {
    padding: 80px 0;
    background: var(--color-white);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

.comparison-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition-normal);
}

.comparison-card:hover {
    box-shadow: var(--shadow-md);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-border);
}

.comparison-header i {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.comparison-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.comparison-list {
    list-style: none;
    margin-bottom: 20px;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--color-text);
}

.comparison-list li i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.comparison-list li.pro i {
    color: var(--color-success);
}

.comparison-list li.con i {
    color: var(--color-danger);
}

.comparison-best {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    padding: 12px 16px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: var(--radius-sm);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: var(--color-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question i {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    list-style: none;
    margin: 12px 0;
    padding-left: 0;
}

.faq-answer ul li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 14px;
    color: var(--color-text-light);
}

.faq-answer ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

.faq-answer pre {
    background: var(--color-bg);
    padding: 16px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin: 12px 0;
}

.faq-answer code {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    color: var(--color-text);
}

.faq-answer a {
    color: var(--color-primary);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ============================================
   Related Tools Section
   ============================================ */
.related-section {
    padding: 60px 0;
    background: var(--color-white);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.related-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-normal);
}

.related-card:hover {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    transform: translateY(-2px);
}

.related-card i {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.related-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
}

/* ============================================
   Enhanced Footer
   ============================================ */
.footer {
    padding: 60px 0 30px;
    background: var(--color-text);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-brand h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h5 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Additional Responsive Styles
   ============================================ */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-intro {
        font-size: 14px;
        margin: -20px auto 30px;
    }
    
    .size-table th,
    .size-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .comparison-card {
        padding: 24px;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .faq-item.open .faq-answer {
        padding: 0 20px 20px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .faq-answer {
        transition: none;
    }
}
