/* ============================================
   OPUS CLIP INSPIRED DESIGN - EZ CLIPS AI
   Modern, Clean, Professional
   ============================================ */

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

:root {
    /* Opus Clip Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    
    /* Neutrals - Light Theme */
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-hover: #f1f5f9;
    
    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --text-inverse: #ffffff;
    
    /* Borders */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Status */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.nav-item:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-item.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
    min-width: 200px;
    padding: 0.5rem;
    display: none;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-info {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.user-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

.dropdown-btn {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    text-align: left;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

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

.hidden {
    display: none !important;
}

/* ============================================
   MAIN WRAPPER
   ============================================ */

.main-wrapper {
    min-height: calc(100vh - 72px);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--text-inverse);
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: left;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.card-preview {
    position: relative;
    aspect-ratio: 9/16;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-video {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.1;
}

.preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: 4rem 0;
    background: var(--bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

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

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    margin-bottom: 1rem;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-headline {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-initial {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-inverse);
    letter-spacing: 0.05em;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============================================
   TOOL SECTION
   ============================================ */

.tool-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Progress Steps Indicator */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-indicator {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 -20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.progress-step:last-child .step-line {
    display: none;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-align: center;
}

/* Active Step */
.progress-step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-inverse);
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.progress-step.active .step-label {
    color: var(--primary);
    font-weight: 700;
}

.progress-step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: var(--text-inverse);
}

.progress-step.completed .step-number::after {
    content: '✓';
    font-size: 1rem;
}

.progress-step.completed .step-line,
.progress-step.active ~ .progress-step .step-line {
    background: var(--border);
}

.progress-step.completed ~ .progress-step .step-line {
    background: var(--success);
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
}

.tool-card:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    animation: slideInCard 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tool-card[data-step-card] {
    border-left: 4px solid transparent;
}

.tool-card[data-step-card].active {
    border-left-color: var(--primary);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
}

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

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card.active .card-title::before {
    opacity: 1;
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Input Tabs */
.input-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.input-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    margin-bottom: -2px;
}

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

.input-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.input-tab svg {
    width: 18px;
    height: 18px;
}

/* Input Options */
.input-option {
    display: block;
}

.input-option.hidden {
    display: none;
}

.input-group-large {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--text-tertiary);
    pointer-events: none;
}

.input-large {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.2s;
}

.input-large:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--bg);
}

.btn-process-large {
    padding: 1.25rem 2rem;
    background: var(--primary);
    color: var(--text-inverse);
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-process-large:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* ============================================
   TERMOS DE USO
   ============================================ */

.terms-checkbox-container {
    transition: all 0.3s ease;
}

.terms-checkbox-container input[type="checkbox"] {
    accent-color: var(--primary);
    cursor: pointer;
}

.terms-checkbox-label {
    user-select: none;
}

.terms-checkbox-label a {
    transition: color 0.2s;
}

.terms-checkbox-label a:hover {
    color: var(--primary-dark);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

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

.terms-alert {
    animation: slideDown 0.3s ease-out;
}

.btn-terms-accept:hover {
    background: #dc2626 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3);
}

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

#terms-modal .modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

#terms-modal .modal-content::-webkit-scrollbar {
    width: 8px;
}

#terms-modal .modal-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

#terms-modal .modal-content::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

#terms-modal .modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

#terms-modal .terms-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

#terms-modal .terms-content li {
    margin-bottom: 0.5rem;
}

.status-message {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 1rem;
    animation: slideDown 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-message::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-size: contain;
}

.status-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-message.success::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: 0.75rem;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--bg-secondary);
    position: relative;
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.upload-area.dragover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upload-icon {
    color: var(--text-tertiary);
    transition: color 0.2s;
}

.upload-area:hover .upload-icon {
    color: var(--primary);
}

.upload-text {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
}

.upload-text strong {
    color: var(--primary);
}

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

.file-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

.file-info.hidden {
    display: none;
}

.file-info span {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.file-info span:first-child {
    font-weight: 600;
    color: var(--primary);
}

.file-info span:last-child {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.status-message.info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-message.info::before {
    content: 'ℹ';
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-message.error::before {
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--error);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

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

.spinner {
    animation: spin 1s linear infinite;
}

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

/* ============================================
   TRIM TOOL
   ============================================ */

.trim-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.video-preview-area {
    background: var(--bg-tertiary);
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    min-height: 400px;
}

.video-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-tertiary);
    width: 100%;
    height: 100%;
    justify-content: center;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.video-placeholder svg {
    opacity: 0.5;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 0.5rem;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.trim-controls-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Timeline Drag-Based Trim Tool */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

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

.timeline-timecodes {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.timecode-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.timecode-value {
    color: var(--primary);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
    min-width: 50px;
}

.timeline-track {
    position: relative;
    width: 100%;
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: 0.5rem;
    cursor: pointer;
    user-select: none;
    touch-action: none;
}

.timeline-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, 
        var(--bg-tertiary) 0%, 
        var(--bg-tertiary) 100%);
    border-radius: 0.5rem;
}

.timeline-selected {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    pointer-events: none;
    transition: left 0.1s ease, width 0.1s ease;
}

.timeline-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    cursor: ew-resize;
    z-index: 10;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-handle:hover {
    width: 6px;
    background: var(--primary-dark);
}

.timeline-handle:active {
    width: 6px;
    background: var(--primary-dark);
}

.timeline-handle-start {
    left: 0;
}

.timeline-handle-end {
    right: 0;
}

.handle-icon {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 2px solid var(--bg);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.handle-timecode {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    font-variant-numeric: tabular-nums;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.timeline-handle:hover .handle-timecode,
.timeline-handle:active .handle-timecode {
    opacity: 1;
}

.timeline-playhead {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.8);
    z-index: 5;
    pointer-events: none;
    display: none;
}

.timeline-footer {
    display: flex;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.timeline-scrubber-hint {
    text-align: center;
}

.duration-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.duration-selector label {
    font-weight: 600;
    color: var(--text-primary);
}

.duration-options {
    display: flex;
    gap: 0.75rem;
}

.duration-option {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.duration-option.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.clips-result {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    color: var(--text-inverse);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.clips-result:hover::before {
    left: 100%;
}

.result-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.3s ease;
}

.clips-result:hover .result-value {
    transform: scale(1.05);
}

/* ============================================
   NICHES & RETENTION
   ============================================ */

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

.niche-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.niche-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.niche-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.niche-card:hover::before {
    transform: scaleX(1);
}

.niche-card.selected {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.niche-card.selected::before {
    transform: scaleX(1);
}

.niche-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.retention-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

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

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

.radio-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: var(--primary);
}

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

.retention-card {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.retention-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.retention-card.selected {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ============================================
   PREVIEW
   ============================================ */

.preview-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.preview-area {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 2rem;
    min-height: 600px;
}

.preview-frame {
    width: 270px;
    height: 480px;
    background: #000;
    border-radius: 24px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: 4px solid var(--border);
}

/* Guias visuais de margem (80px) - apenas para preview, não aparecem no vídeo */
.preview-margin-guide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(99, 102, 241, 0.4);
    z-index: 10;
    pointer-events: none;
}

.preview-margin-left {
    left: calc((20px + (270px - 40px) * 80 / 1080));
}

.preview-margin-right {
    right: calc((20px + (270px - 40px) * 80 / 1080));
}

/* Legenda das guias */
.preview-frame::before {
    content: 'Margens de 80px';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: rgba(99, 102, 241, 0.6);
    z-index: 11;
    pointer-events: none;
    font-weight: 500;
}

.preview-top {
    height: 40%;
    background: var(--bg-tertiary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.preview-middle {
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
}

/* Container da headline que respeita margens de 80px */
.preview-headline-container {
    width: 100%;
    max-width: calc(100% - (270px - 40px) * 160 / 1080); /* 80px de cada lado em escala */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-headline {
    /* Estilos serão aplicados dinamicamente via JavaScript para corresponder ao vídeo final */
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.2;
    max-width: 100%;
}

.preview-bottom {
    height: 35%;
    background: var(--bg-tertiary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.preview-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--text-inverse);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
}

.preview-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-field label {
    font-weight: 600;
    color: var(--text-primary);
}

.select-field {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.select-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-generate {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-inverse);
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: all 0.2s;
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-generate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-generate:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
    padding: 4rem 0;
    background: var(--bg);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   ESTUDO PAGE
   ============================================ */

.estudo-page {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

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

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

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

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.curso-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.curso-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.curso-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.curso-content {
    padding: 1.5rem;
}

.curso-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

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

.curso-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.curso-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.curso-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.curso-price-old {
    font-size: 1.25rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.btn-comprar {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--text-inverse);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

/* ============================================
   LOGIN PAGE
   ============================================ */

.login-page {
    padding: 4rem 0;
    background: var(--bg-secondary);
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

.login-card,
.register-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

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

.login-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--bg);
}

.btn-login {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: var(--text-inverse);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: all 0.2s;
}

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

.login-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--border);
}

.login-divider span {
    background: var(--bg-card);
    padding: 0 1rem;
    color: var(--text-tertiary);
    position: relative;
}

.btn-register {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-register:hover {
    background: var(--primary);
    color: var(--text-inverse);
}

/* ============================================
   LOADING & MODAL
   ============================================ */

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    pointer-events: auto;
}

.loading-overlay.hidden {
    display: none !important;
    pointer-events: none;
}

.loading-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    min-width: 400px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-right-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
    position: relative;
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--primary);
    opacity: 0.3;
    animation: spin 1.5s linear infinite reverse;
}

.loading-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.loading-card p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 1.5rem 0;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    visibility: visible;
    opacity: 1;
}

.modal.hidden {
    display: none !important;
    visibility: hidden;
    opacity: 0;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--success);
    color: var(--text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.modal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.btn-modal {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal.primary {
    background: var(--primary);
    color: var(--text-inverse);
}

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

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

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

/* ============================================
   FIXED VIDEO PLAYER (Sempre Visível)
   ============================================ */
.fixed-video-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: auto;
}

.fixed-video-player:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.fixed-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.fixed-video-container {
    width: 100%;
    height: 180px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fixed-video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trim-layout,
    .preview-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
        height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: space-around;
        margin-top: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .input-group-large {
        flex-direction: column;
    }
    
    .btn-process-large {
        width: 100%;
        justify-content: center;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
    
    .features-grid,
    .niches-grid,
    .cursos-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    /* Progress Steps Mobile */
    .progress-steps {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .progress-step {
        min-width: calc(20% - 0.8rem);
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}
