/* ============================================
   VideoCompressor.site — Global Styles
   Premium dark theme with coral-orange-pink accent
   ============================================ */

/* ============ CSS VARIABLES ============ */
:root {
    /* Brand Colors */
    --color-primary: #FF6B6B;
    --color-primary-hover: #FF5252;
    --color-secondary: #FF8E53;
    --color-accent: #FFB347;
    --gradient-primary: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --gradient-primary-hover: linear-gradient(135deg, #FF5252 0%, #FF7B3A 100%);
    --gradient-warm: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FFB347 100%);

    /* Background */
    --bg-body: #08080f;
    --bg-primary: #0a0a14;
    --bg-secondary: #0f0f1e;
    --bg-card: #13132a;
    --bg-card-hover: #1a1a38;
    --bg-elevated: #1c1c3a;
    --bg-tool: #111125;
    --bg-input: #0d0d1f;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);

    /* Text */
    --text-primary: #f0f0f8;
    --text-secondary: #9494b8;
    --text-muted: #5a5a7a;
    --text-accent: #FF8E53;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.07);
    --border-active: rgba(255, 107, 107, 0.4);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(255, 107, 107, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(255, 107, 107, 0.25);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============ RESET & BASE ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============ LAYOUT ============ */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hidden {
    display: none !important;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-primary-hover);
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.45);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: var(--glass-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--glass-bg-hover);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.12);
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(8, 8, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(8, 8, 15, 0.92);
    box-shadow: var(--shadow-md);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: opacity var(--transition-fast);
}

.navbar-brand:hover {
    opacity: 0.85;
}

.navbar-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

.navbar-title {
    font-size: 1.15rem;
    font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: var(--space-xs) var(--space-sm);
}

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

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--glass-bg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-base);
    z-index: 100;
    overflow: hidden;
}

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

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.88rem;
    text-align: left;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

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

.lang-option.active {
    color: var(--color-primary);
    background: rgba(255, 107, 107, 0.08);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 140px 0 40px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    left: 20%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    top: 50px;
    right: 15%;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: var(--color-accent);
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-15px, 15px) scale(0.95); }
    75% { transform: translate(10px, 20px) scale(1.02); }
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-primary);
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease both;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #ffffff 0%, #e0e0f0 50%, #FF8E53 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.6s 0.1s ease both;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 0.6s 0.2s ease both;
}

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

/* ============ TOOL SECTION ============ */
.tool-section {
    padding: 0 0 var(--space-4xl);
    margin-top: -10px;
}

.tool-card {
    background: var(--bg-tool);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s 0.3s ease both;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.4), rgba(255, 142, 83, 0.4), transparent);
}

/* Upload Area */
.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-xl);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    min-height: 280px;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--color-primary);
    background: rgba(255, 107, 107, 0.04);
    box-shadow: inset 0 0 40px rgba(255, 107, 107, 0.05);
}

.upload-area.drag-over {
    border-style: solid;
    transform: scale(1.01);
}

.upload-icon {
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    animation: uploadBounce 2s ease-in-out infinite;
}

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

.upload-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.upload-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.upload-formats {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.btn-upload {
    padding: 14px 36px;
    font-size: 1rem;
}

/* File Info */
.file-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

.file-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.btn-remove {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.btn-remove:hover {
    color: #FF4757;
    background: rgba(255, 71, 87, 0.1);
}

/* Settings Panel */
.settings-panel {
    margin-bottom: var(--space-xl);
}

.settings-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.quality-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.quality-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: var(--space-lg) var(--space-md);
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-align: center;
}

.quality-btn:hover {
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.05);
}

.quality-btn.active {
    border-color: var(--color-primary);
    background: rgba(255, 107, 107, 0.08);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.1);
}

.quality-icon {
    font-size: 1.5rem;
}

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

.quality-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.btn-compress {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
}

/* Progress State */
.progress-visual {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-bg-ring {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 6;
}

.progress-fg-ring {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 0.3s ease;
}

.progress-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-status {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.progress-detail {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.progress-bar-wrap {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

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

/* Result State */
#resultState {
    text-align: center;
}

.result-icon {
    color: #4ECB71;
    margin-bottom: var(--space-md);
    animation: resultPop 0.5s var(--transition-spring);
}

@keyframes resultPop {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.result-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

.result-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 120px;
}

.stat-card-highlight {
    border-color: var(--color-primary);
    background: rgba(255, 107, 107, 0.08);
}

.stat-card-saved {
    border-color: #4ECB71;
    background: rgba(78, 203, 113, 0.08);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.stat-card-saved .stat-value {
    color: #4ECB71;
}

.stat-arrow {
    color: var(--text-muted);
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.btn-download {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* Error State */
#errorState {
    text-align: center;
    padding: var(--space-2xl);
}

.error-icon {
    color: #FF4757;
    margin-bottom: var(--space-md);
}

.error-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.error-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ AD CONTAINER ============ */
.ad-container {
    padding: var(--space-lg) 0;
}

.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    background: var(--glass-bg);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============ SECTION HEADERS ============ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

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

/* ============ FEATURES ============ */
.features {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    padding: var(--space-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(255, 107, 107, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.08);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: rgba(255, 107, 107, 0.14);
    transform: scale(1.05);
}

.feature-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
    padding: var(--space-4xl) 0;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-md);
}

.step-card {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: var(--space-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition-base);
}

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

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.step-icon {
    color: var(--color-secondary);
    margin: var(--space-md) 0 var(--space-lg);
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

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

.step-connector {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    margin-top: 80px;
    flex-shrink: 0;
}

/* ============ FAQ ============ */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

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

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

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--transition-fast);
}

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

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--text-muted);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: var(--space-lg);
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============ CTA ============ */
.cta {
    padding: var(--space-4xl) 0;
}

.cta-card {
    text-align: center;
    padding: var(--space-3xl);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.06) 0%, rgba(255, 142, 83, 0.06) 100%);
    border: 1px solid rgba(255, 107, 107, 0.15);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.5), transparent);
}

.cta-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.btn-cta {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* ============ FOOTER ============ */
.footer {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.footer-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-name {
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============ SCROLL ANIMATIONS ============ */
.feature-card,
.step-card,
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible,
.step-card.visible,
.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }
.feature-card:nth-child(5) { transition-delay: 0.4s; }
.feature-card:nth-child(6) { transition-delay: 0.5s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .navbar-actions .nav-link {
        display: none;
    }

    .hero {
        padding: 120px 0 30px;
    }

    .tool-card {
        padding: var(--space-lg);
    }

    .upload-area {
        padding: var(--space-xl) var(--space-md);
        min-height: 200px;
    }

    .quality-options {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .quality-btn {
        flex-direction: row;
        padding: var(--space-md);
        text-align: left;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        margin: 0;
    }

    .step-card {
        max-width: 100%;
    }

    .result-stats {
        flex-direction: column;
    }

    .stat-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .tool-card {
        padding: var(--space-md);
    }

    .upload-icon svg {
        width: 36px;
        height: 36px;
    }

    .upload-title {
        font-size: 1rem;
    }

    .btn-upload {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
