:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #eeeeee;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent-primary: #E5322D;
    --accent-secondary: #c42a26;
    --card-bg: #ffffff;
    --card-border: #e0e0e0;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 8px 25px rgba(0,0,0,0.12);
    --header-bg: #ffffff;
    --header-border: #e0e0e0;
    --footer-bg: #2d3748;
    --footer-text: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
}

[data-theme="dark"] {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --text-primary: #eaeaea;
    --text-secondary: #b0b0b0;
    --text-muted: #888888;
    --card-bg: #16213e;
    --card-border: #0f3460;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.3);
    --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.4);
    --header-bg: #16213e;
    --header-border: #0f3460;
    --footer-bg: #0f0f23;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color var(--transition-base), color var(--transition-base);
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    padding: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    gap: 2rem;
}

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

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

.logo-icon {
    width: 36px;
    height: 36px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-icon.small {
    width: 28px;
    height: 28px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    background: none;
    cursor: pointer;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.dropdown-icon {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    padding: 0.5rem 0;
    z-index: 200;
}

.dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--accent-primary);
}

.dropdown-divider {
    height: 1px;
    background: var(--card-border);
    margin: 0.5rem 0;
}

.mega-menu {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 700px;
    padding: 1.5rem;
}

.nav-dropdown:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.mega-menu-section h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--card-border);
}

.mega-menu-section a {
    display: block;
    padding: 0.375rem 0;
    font-size: 0.8125rem;
    color: var(--text-primary);
}

.mega-menu-section a:hover {
    color: var(--accent-primary);
    background: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    border-color: var(--accent-primary);
}

.lang-icon {
    width: 16px;
    height: 16px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 200;
    overflow: hidden;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.625rem 1rem;
    border: none;
    background: none;
    text-align: left;
    font-size: 0.875rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.lang-option:hover,
.lang-option.active {
    background: var(--bg-secondary);
    color: var(--accent-primary);
}

.theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.theme-btn svg {
    width: 18px;
    height: 18px;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

.main-content {
    min-height: calc(100vh - 200px);
}

.hero-section {
    background: var(--bg-secondary);
    padding: 3rem 1.5rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.tools-section {
    padding: 2.5rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.tool-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
    border-color: transparent;
}

.tool-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.tool-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tool-card:hover .tool-icon {
    transform: translateY(-4px) scale(1.05);
}

.tool-card:hover .tool-icon::before {
    opacity: 1;
}

.tool-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.tool-icon.red {
    background: linear-gradient(145deg, #ff6b6b 0%, #ee5a52 50%, #E5322D 100%);
    box-shadow: 0 4px 15px rgba(229, 50, 45, 0.3), 0 2px 4px rgba(229, 50, 45, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    color: white;
}

.tool-icon.red::before {
    box-shadow: 0 8px 25px rgba(229, 50, 45, 0.5), 0 4px 10px rgba(229, 50, 45, 0.3);
}

.tool-icon.blue {
    background: linear-gradient(145deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3), 0 2px 4px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    color: white;
}

.tool-icon.blue::before {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5), 0 4px 10px rgba(37, 99, 235, 0.3);
}

.tool-icon.green {
    background: linear-gradient(145deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3), 0 2px 4px rgba(22, 163, 74, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    color: white;
}

.tool-icon.green::before {
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.5), 0 4px 10px rgba(22, 163, 74, 0.3);
}

.tool-icon.orange {
    background: linear-gradient(145deg, #fb923c 0%, #f97316 50%, #ea580c 100%);
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3), 0 2px 4px rgba(234, 88, 12, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    color: white;
}

.tool-icon.orange::before {
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.5), 0 4px 10px rgba(234, 88, 12, 0.3);
}

.tool-icon.yellow {
    background: linear-gradient(145deg, #fcd34d 0%, #eab308 50%, #ca8a04 100%);
    box-shadow: 0 4px 15px rgba(202, 138, 4, 0.3), 0 2px 4px rgba(202, 138, 4, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    color: white;
}

.tool-icon.yellow::before {
    box-shadow: 0 8px 25px rgba(202, 138, 4, 0.5), 0 4px 10px rgba(202, 138, 4, 0.3);
}

.tool-icon.purple {
    background: linear-gradient(145deg, #c084fc 0%, #a855f7 50%, #9333ea 100%);
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3), 0 2px 4px rgba(147, 51, 234, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    color: white;
}

.tool-icon.purple::before {
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5), 0 4px 10px rgba(147, 51, 234, 0.3);
}

.tool-icon.teal {
    background: linear-gradient(145deg, #5eead4 0%, #14b8a6 50%, #0d9488 100%);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3), 0 2px 4px rgba(13, 148, 136, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    color: white;
}

.tool-icon.teal::before {
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.5), 0 4px 10px rgba(13, 148, 136, 0.3);
}

[data-theme="dark"] .tool-icon.red {
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4), 0 2px 6px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

[data-theme="dark"] .tool-icon.blue {
    background: linear-gradient(145deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4), 0 2px 6px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

[data-theme="dark"] .tool-icon.green {
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4), 0 2px 6px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

[data-theme="dark"] .tool-icon.orange {
    background: linear-gradient(145deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4), 0 2px 6px rgba(249, 115, 22, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

[data-theme="dark"] .tool-icon.yellow {
    background: linear-gradient(145deg, #eab308 0%, #ca8a04 50%, #a16207 100%);
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.4), 0 2px 6px rgba(234, 179, 8, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

[data-theme="dark"] .tool-icon.purple {
    background: linear-gradient(145deg, #a855f7 0%, #9333ea 50%, #7e22ce 100%);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4), 0 2px 6px rgba(168, 85, 247, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

[data-theme="dark"] .tool-icon.teal {
    background: linear-gradient(145deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.4), 0 2px 6px rgba(20, 184, 166, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.tool-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tool-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.features-section {
    padding: 3rem 1.5rem;
    background: var(--bg-secondary);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 1.5rem 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 280px;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-tagline {
    max-width: 320px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}


.footer-nav-groups {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-nav-group h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-nav-group a {
    display: block;
    color: #a0aec0;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.footer-nav-group a:hover {
    color: white;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #a0aec0;
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: #718096;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-nav-groups {
        gap: 2rem;
    }
}

.upload-section {
    padding: 3rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.upload-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.upload-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.upload-powered {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.upload-powered a {
    color: var(--accent-primary);
}

.upload-area {
    position: relative;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border: 2px dashed var(--card-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.upload-area.dragover {
    border-color: var(--accent-primary);
    background: rgba(229, 50, 45, 0.05);
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 3rem;
    background: var(--accent-primary);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: 1rem;
}

.upload-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.02);
}

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

.upload-options {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.upload-option-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--card-bg);
    color: var(--accent-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-fast);
}

.upload-option-btn:hover {
    transform: scale(1.1);
}

.upload-option-btn svg {
    width: 20px;
    height: 20px;
}

.file-input {
    display: none;
}

.file-list {
    margin-top: 2rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: #fef2f2;
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-info {
    flex: 1;
    text-align: left;
}

.file-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.file-size {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.file-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.file-remove:hover {
    background: #fef2f2;
    color: var(--accent-primary);
}

.process-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 3rem;
    background: var(--accent-primary);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 1.5rem;
}

.process-btn:hover:not(:disabled) {
    background: var(--accent-secondary);
    transform: scale(1.02);
}

.process-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.progress-container {
    margin-top: 2rem;
    display: none;
}

.progress-container.active {
    display: block;
}

.progress-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.download-section {
    margin-top: 2rem;
    padding: 2rem;
    background: #f0fdf4;
    border-radius: var(--radius-lg);
    display: none;
}

.download-section.active {
    display: block;
}

[data-theme="dark"] .download-section {
    background: rgba(22, 163, 74, 0.1);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #16a34a;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.download-btn:hover {
    background: #15803d;
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .mega-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .tool-card {
        padding: 1rem;
    }
    
    .tool-icon {
        width: 40px;
        height: 40px;
    }
    
    .upload-options {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
        transform: none;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tool-desc {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.icons-showcase-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
    overflow: hidden;
    position: relative;
}

.icons-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(229, 50, 45, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.icons-showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.icons-showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gradient-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .gradient-title {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.gradient-accent {
    background: linear-gradient(135deg, #E5322D 0%, #ea580c 50%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icons-showcase-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.icons-3d-stage {
    position: relative;
    height: 450px;
    perspective: 1200px;
    transform-style: preserve-3d;
    margin: 2rem 0;
}

.floating-icon-wrapper {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    animation: floatIn 0.8s ease-out var(--delay) both, floatLoop 6s ease-in-out var(--delay) infinite;
    z-index: 10;
}

.floating-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--card-bg), var(--bg-secondary));
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform-style: preserve-3d;
    cursor: pointer;
}

.floating-icon.featured {
    width: 100px;
    height: 100px;
    z-index: 20;
}

.floating-icon svg {
    width: 60%;
    height: 60%;
}

.floating-icon.featured svg {
    width: 65%;
    height: 65%;
}

.icon-pdf { color: #E5322D; }
.icon-word { color: #2563eb; }
.icon-excel { color: #16a34a; }
.icon-ppt { color: #ea580c; }
.icon-image { color: #ca8a04; }
.icon-lock { color: #9333ea; }
.icon-merge { color: #E5322D; }

.icon-glow {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: inherit;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.floating-icon:hover {
    transform: translateZ(30px) rotateX(-5deg) rotateY(5deg) scale(1.15);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.floating-icon:hover .icon-glow {
    opacity: 0.4;
}

.icon-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.icon-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0;
}

.floating-icon.featured:hover .icon-particles span {
    animation: particleBurst 1s ease-out forwards;
}

.icon-particles span:nth-child(1) { --angle: 45deg; }
.icon-particles span:nth-child(2) { --angle: 135deg; }
.icon-particles span:nth-child(3) { --angle: 225deg; }
.icon-particles span:nth-child(4) { --angle: 315deg; }

.floating-sticker {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 36px;
    height: 36px;
    animation: floatIn 0.6s ease-out var(--delay) both, stickerFloat 4s ease-in-out var(--delay) infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
    cursor: pointer;
}

.floating-sticker:hover {
    transform: scale(1.3) rotate(10deg);
}

.floating-sticker svg {
    width: 100%;
    height: 100%;
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translateY(0);
    }
}

@keyframes floatLoop {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0) rotateX(0) rotateY(0);
    }
    25% {
        transform: translate(-50%, -50%) translateY(-15px) rotateX(5deg) rotateY(-3deg);
    }
    50% {
        transform: translate(-50%, -50%) translateY(0) rotateX(0) rotateY(0);
    }
    75% {
        transform: translate(-50%, -50%) translateY(-10px) rotateX(-3deg) rotateY(5deg);
    }
}

@keyframes stickerFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

@keyframes particleBurst {
    0% {
        transform: translate(-50%, -50%) translateX(0) translateY(0) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) 
            translateX(calc(cos(var(--angle)) * 50px)) 
            translateY(calc(sin(var(--angle)) * 50px)) 
            scale(0);
        opacity: 0;
    }
}

.icons-showcase-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.showcase-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.showcase-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.showcase-btn.primary {
    background: linear-gradient(135deg, #E5322D 0%, #c42a26 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 50, 45, 0.4);
}

.showcase-btn.primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(229, 50, 45, 0.5);
}

.showcase-btn.primary:hover svg {
    transform: translateX(4px);
}

.showcase-btn.secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--card-border);
}

.showcase-btn.secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .gradient-title {
        font-size: 1.75rem;
    }
    
    .icons-3d-stage {
        height: 350px;
    }
    
    .floating-icon {
        width: 60px;
        height: 60px;
    }
    
    .floating-icon.featured {
        width: 75px;
        height: 75px;
    }
    
    .floating-sticker {
        width: 28px;
        height: 28px;
    }
    
    .icons-showcase-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .showcase-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .icons-3d-stage {
        height: 280px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    .floating-icon.featured {
        width: 65px;
        height: 65px;
    }
}

.quick-tools-section {
    padding: 3rem 1.5rem;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.quick-tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
}

.quick-tools-container {
    max-width: 1200px;
    margin: 0 auto;
}

.quick-tools-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quick-tools-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.quick-tools-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.quick-tools-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
}

.quick-tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.quick-tool-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-tool-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.quick-tool-btn:hover::before {
    opacity: 1;
}

.quick-tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.quick-tool-btn:hover .quick-tool-icon {
    transform: scale(1.1);
}

.quick-tool-icon svg {
    width: 28px;
    height: 28px;
}

.quick-tool-icon.tiktok {
    background: linear-gradient(135deg, #25F4EE 0%, #FE2C55 50%, #000000 100%);
    color: white;
}

.quick-tool-icon.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0d65d9 100%);
    color: white;
}

.quick-tool-icon.instagram {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
    color: white;
}

.quick-tool-icon.speedtest {
    background: linear-gradient(135deg, #1eb854 0%, #0f9e47 100%);
    color: white;
}

.quick-tool-icon.weather {
    background: linear-gradient(135deg, #4A90D9 0%, #67B8DE 100%);
    color: white;
}

.quick-tool-icon.ai-tools {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    color: white;
}

.quick-tool-icon.radar {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    color: white;
}

.quick-tool-icon.mp3 {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
    color: white;
}

.quick-tool-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.3;
}

[data-theme="dark"] .quick-tool-btn {
    background: linear-gradient(145deg, var(--card-bg), rgba(255,255,255,0.02));
}

[data-theme="dark"] .quick-tool-btn:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
    .quick-tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .quick-tools-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .quick-tool-btn {
        padding: 1rem 0.5rem;
    }
    
    .quick-tool-icon {
        width: 40px;
        height: 40px;
    }
    
    .quick-tool-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .quick-tool-label {
        font-size: 0.6875rem;
    }
}

@media (max-width: 480px) {
    .quick-tools-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .quick-tool-btn {
        padding: 0.75rem 0.25rem;
        gap: 0.5rem;
    }
    
    .quick-tool-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    .quick-tool-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .quick-tool-label {
        font-size: 0.625rem;
    }
    
    .quick-tools-title {
        font-size: 1.25rem;
    }
}

.stars-badge-3d {
    position: relative;
    cursor: pointer;
    perspective: 800px;
    z-index: 10;
}

.stars-badge-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 50px;
    box-shadow: 
        0 4px 15px rgba(251, 191, 36, 0.25),
        0 2px 4px rgba(251, 191, 36, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

[data-theme="dark"] .stars-badge-inner {
    background: linear-gradient(145deg, #451a03 0%, #78350f 50%, #92400e 100%);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 
        0 4px 20px rgba(251, 191, 36, 0.3),
        0 2px 6px rgba(251, 191, 36, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stars-badge-3d:hover .stars-badge-inner {
    transform: translateZ(10px) rotateX(-5deg) rotateY(5deg) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(251, 191, 36, 0.4),
        0 4px 10px rgba(251, 191, 36, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.stars-container {
    display: flex;
    gap: 1px;
}

.star-icon {
    width: 14px;
    height: 14px;
    color: #f59e0b;
    filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.5));
    animation: starPulse 2s ease-in-out infinite;
}

.star-icon:nth-child(1) { animation-delay: 0s; }
.star-icon:nth-child(2) { animation-delay: 0.1s; }
.star-icon:nth-child(3) { animation-delay: 0.2s; }
.star-icon:nth-child(4) { animation-delay: 0.3s; }
.star-icon:nth-child(5) { animation-delay: 0.4s; }

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

.stars-rating {
    display: flex;
    align-items: baseline;
    gap: 1px;
    font-weight: 700;
}

.rating-value {
    font-size: 0.875rem;
    color: #b45309;
}

[data-theme="dark"] .rating-value {
    color: #fbbf24;
}

.rating-separator {
    font-size: 0.75rem;
    color: #d97706;
    opacity: 0.6;
}

.rating-max {
    font-size: 0.6875rem;
    color: #d97706;
}

[data-theme="dark"] .rating-max,
[data-theme="dark"] .rating-separator {
    color: #fcd34d;
}

.stars-count {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(217, 119, 6, 0.3);
}

.count-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b45309;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .count-number {
    color: #fbbf24;
}

.count-label {
    font-size: 0.625rem;
    color: #d97706;
    opacity: 0.8;
}

[data-theme="dark"] .count-label {
    color: #fcd34d;
}

.badge-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.4), rgba(245, 158, 11, 0.2));
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.stars-badge-3d:hover .badge-glow {
    opacity: 1;
}

@media (max-width: 768px) {
    .stars-badge-3d {
        display: none;
    }
}

.trust-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.trust-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trust-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.trust-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #c42a26 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon svg {
    width: 18px;
    height: 18px;
}

.badge-icon.ssl {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.badge-icon.gdpr {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.badge-icon.verified {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.badge-icon.privacy {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

.badge-icon.cloud {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

.badge-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonials-section {
    margin-top: 2rem;
}

.testimonials-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: #f59e0b;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #c42a26 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .trust-badges {
        gap: 0.75rem;
    }
    
    .badge-item {
        padding: 0.5rem 1rem;
    }
    
    .badge-text {
        font-size: 0.75rem;
    }
    
    .trust-title {
        font-size: 1.5rem;
    }
}
