:root {
    --primary: #2563EB;
    --primary-light: #3B82F6;
    --primary-dark: #1D4ED8;
    --accent: #60A5FA;
    
    --bg-dark: #09090b; /* Zinc 950 */
    --bg-section: #0f0f12; 
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa; /* Zinc 400 */
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover-bg: rgba(255, 255, 255, 0.06);
    --glass-hover-border: rgba(59, 130, 246, 0.3);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Background effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(0,0,0,0) 70%);
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.logo svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-light);
}

.nav-links {
    display: flex;
}

.nav-links-inner {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.nav-link.active {
    color: var(--primary-light);
}

.nav-item-dropdown {
    position: static;
    display: inline-block;
}

.dropdown-chevron {
    transition: transform 0.3s ease;
    opacity: 0.8;
    margin-top: 2px;
}

.nav-item-dropdown.active .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 4px;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 3rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 999;
    pointer-events: none;
    text-align: left;
}

.nav-item-dropdown.active .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mega-menu-content {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mega-column h4 {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.mega-column a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    transition: color 0.3s, transform 0.3s;
}

.mega-column a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.mega-column a .icon {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.apps-menu-container {
    position: relative;
    display: flex;
    align-items: center;
}

.apps-menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.apps-menu-btn:hover, .apps-menu-btn.active {
    background: var(--glass-bg);
}

.apps-menu-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--text-secondary);
    transition: var(--transition-fast);
}

.apps-menu-btn:hover svg, .apps-menu-btn.active svg {
    fill: var(--text-primary);
}

.apps-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: rgba(15, 15, 18, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 200;
}

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

.apps-dropdown-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.app-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 8px;
    transition: var(--transition-fast);
    background: transparent;
    border: 1px solid transparent;
}

.app-product:hover {
    background: var(--glass-hover-bg);
}

.app-product.active {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
}

.pdf-brand {
    background: linear-gradient(135deg, #1B5E20, #4CAF50);
}

.img-brand {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}

.app-product span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.apps-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem;
}

.apps-list a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.apps-list a:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 1rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

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

/* Tools Grid */
.tools-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

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

/* Tool Card (Glassmorphism) */
.tool-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: 0.5s;
}

.tool-card:hover::before {
    left: 100%;
}

.tool-icon-wrapper {
    background: rgba(37, 99, 235, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: var(--transition-normal);
}

.tool-card:hover .tool-icon-wrapper {
    background: var(--primary);
    border-color: var(--primary);
}

.tool-icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-light);
    transition: var(--transition-normal);
}

.tool-card:hover .tool-icon-wrapper svg {
    fill: white;
}

.tool-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary-light);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    text-transform: uppercase;
}

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

.tool-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
}

/* =========================================
   COMPRESS TOOL STYLES
   ========================================= */

.tool-workspace {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.upload-section, .options-section, .success-section {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.upload-section.active, .options-section.active, .success-section.active {
    display: flex;
}

.tool-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.tool-subtitle {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.upload-box {
    background: var(--glass-bg);
    border: 2px dashed var(--glass-border);
    border-radius: 16px;
    padding: 5rem 3rem;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-box.dragover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--primary-light);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border-radius: 12px;
}

.drag-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Options Section */
.options-section {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
}

.preview-area {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    min-height: 500px;
    width: 100%;
}

.header-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 1;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.preview-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-item .remove-btn:hover {
    background: #ef4444;
}

.preview-item .size-badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.settings-sidebar {
    width: 350px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    position: sticky;
    top: 100px;
    flex-shrink: 0;
}

.settings-sidebar h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.radio-option {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.03);
    padding: 1.25rem;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.radio-option:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.1);
}

.radio-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.radio-option:has(input:checked)::after {
    transform: translateY(-50%) scale(1);
}

.radio-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.radio-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    padding-right: 2rem;
}

.compress-btn {
    width: 100%;
    justify-content: center;
}

/* Success Section */
.success-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.stats-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 3rem 0;
    background: var(--glass-bg);
    padding: 2rem 4rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.circular-progress {
    width: 150px;
    height: 150px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 2.8;
}

.circle-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.8;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease-out;
}

.percentage {
    fill: var(--text-primary);
    font-family: inherit;
    font-size: 0.5em;
    text-anchor: middle;
    font-weight: bold;
}

.saved-text {
    fill: var(--text-secondary);
    font-family: inherit;
    font-size: 0.25em;
    text-anchor: middle;
}

.stats-text {
    text-align: left;
}

.stats-highlight {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stats-highlight strong {
    color: var(--primary-light);
}

.stats-size {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.ad-container {
    margin: 2rem 0;
    width: 100%;
    max-width: 800px;
}

.continue-to {
    margin-top: 2rem;
    text-align: center;
}

.continue-to p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.continue-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.continue-link {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.continue-link:hover {
    background: var(--glass-hover-bg);
    transform: translateY(-2px);
}

/* Buy Me A Coffee Button */
.bmc-floating-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #FFDD00;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s;
    z-index: 1000;
}

.bmc-floating-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .options-section {
        flex-direction: column;
    }
    .settings-sidebar {
        width: 100%;
        position: static;
    }
    .stats-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    .stats-text {
        text-align: center;
    }
}

/* Success Screen Updates */
.stats-container {
    position: relative;
}

.back-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.back-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.thank-you-section {
    margin: 3rem 0;
    text-align: center;
}

.thank-you-section p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.thank-you-section .small-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.bmc-button-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #FFDD00;
    color: #000;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(255, 221, 0, 0.2);
}

.bmc-button-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 221, 0, 0.4);
}

.ad-container-main {
    background: var(--glass-bg);
    border: 1px dashed var(--glass-border);
    border-radius: 8px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ad-container-main::before {
    content: 'Advertisement';
    position: absolute;
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.5;
    pointer-events: none;
}

/* SEO Section */
.seo-section {
    padding: 4rem 2rem;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.seo-content-container {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-content-container h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    font-weight: 700;
}

.seo-content-container h2:first-child {
    margin-top: 0;
}

.seo-content-container p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.seo-feature {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
}

.seo-feature h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.seo-feature p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* How To Steps Grid */
.how-to-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: transform 0.2s;
}

.step-card:hover {
    transform: translateY(-4px);
    background: var(--glass-hover-bg);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

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

.step-number {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.step-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Common Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 1rem;
    margin-top: auto; /* Push to bottom if content is short */
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-logo svg {
    fill: var(--primary);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-close {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        margin-left: auto;
        margin-right: 1rem;
    }
    
    .nav-links {
        display: block;
        position: fixed;
        top: 0;
        left: -100%; /* Hidden off-screen */
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        z-index: 2000;
        transition: left 0.3s ease;
        padding-top: 5rem;
        overflow-y: auto;
    }
    
    .nav-links.mobile-active {
        left: 0;
    }
    
    .mobile-menu-close {
        display: block;
    }
    
    .nav-links-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .nav-links .nav-link {
        font-size: 1.2rem;
    }
    
    .nav-item-dropdown {
        width: 100%;
        text-align: center;
    }
    
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        display: none; /* Hide by default in mobile */
    }
    
    .nav-item-dropdown.active .mega-menu {
        display: block;
    }
    
    .mega-menu-content {
        flex-direction: column;
        padding: 1rem;
    }
    
    .mega-column {
        min-width: unset;
        margin-bottom: 1.5rem;
    }
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-primary);
    outline: none;
    list-style: none; /* Hide default arrow */
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Custom arrow for summary */
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--text-secondary);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−'; /* minus sign */
    transform: rotate(180deg);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 0.5rem;
}

.faq-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    padding-top: 1rem;
}

/* Image Comparison Slider */
.comparison-wrapper {
    margin: 3rem auto;
    width: 100%;
    max-width: 800px;
}

.comparison-title {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.comparison-slider {
    position: relative;
    width: 100%;
    background: rgba(0,0,0,0.5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    user-select: none;
    touch-action: pan-y;
    border: 1px solid var(--glass-border);
}

.comparison-slider img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.slider-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--primary);
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-handle-button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
    color: white;
    cursor: ew-resize;
}

.slider-handle-button svg {
    width: 24px;
    height: 24px;
}

.slider-label {
    position: absolute;
    bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.1);
}

.label-before {
    left: 1rem;
}

.label-after {
    right: 1rem;
}

/* --- Resize Tool Specific Styles --- */
/* Tabs Container */
.tabs-container {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.25rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--surface-bg);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

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

/* Form Inputs */
.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.input-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.input-group input[type="number"] {
    background: var(--surface-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.checkbox-group {
    margin-bottom: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    user-select: none;
    position: relative;
    padding-left: 28px;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: var(--surface-bg);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-label:hover input ~ .checkmark {
    border-color: rgba(255, 255, 255, 0.4);
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

.small-radio .radio-content {
    padding: 0.75rem;
}
.small-radio .radio-title {
    font-size: 0.9rem;
}
