/* YTMP3.Cam - Modern Design Theme */

/* CSS Variables - Enhanced Modern Theme */
:root {
    /* Enhanced Color Palette */
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Neutral Colors - Enhanced */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --black: #000000;
    
    /* Enhanced Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.4);
    --shadow-glow-pink: 0 0 30px rgba(236, 72, 153, 0.4);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--gray-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Modern Theme */
.modern-theme {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    min-height: 100vh;
    position: relative;
}

.modern-theme::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--space-md);
    color: var(--gray-600);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Enhanced Button Base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
}

/* Enhanced Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-md) 0;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: var(--font-size-xl);
    color: var(--gray-900);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.navbar-brand:hover {
    color: var(--primary);
    transform: scale(1.05);
}



.navbar-brand img {
    height: 40px;
    width: auto;
    transition: transform var(--transition-normal);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--gray-700) !important;
    font-weight: 600;
    padding: var(--space-sm) var(--space-md) !important;
    margin: 0 var(--space-xs);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: rgba(124, 58, 237, 0.15);
}

.navbar-nav .nav-link.active::before {
    width: 80%;
}

/* Enhanced Hero Section */
.hero-section {
    padding: 140px 0 100px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-xl);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Enhanced Converter Card */
.converter-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-2xl);
    margin-bottom: var(--space-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.converter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.converter-form {
    width: 100%;
}

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

.input-wrapper {
    position: relative;
    flex: 1;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    z-index: 2;
}

.url-input-group .form-control {
    padding: var(--space-md) var(--space-md) var(--space-md) 3rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-lg);
    background: var(--white);
    transition: all var(--transition-normal);
    font-weight: 500;
}

.url-input-group .form-control::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.url-input-group .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.url-input-group .form-control.is-valid {
    border-color: var(--success);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.url-input-group .form-control.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.btn-convert {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: var(--font-size-lg);
    transition: all var(--transition-normal);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.btn-convert:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

.btn-convert:active {
    transform: translateY(-1px);
}

.btn-convert:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.options-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.option-group {
    flex: 1;
    min-width: 200px;
}

.option-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: var(--font-size-sm);
}

.option-group .form-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: all var(--transition-normal);
}

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

.option-group .form-select option {
    padding: 0.5rem;
}

/* Conversion Result Styles */
.conversion-result {
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.conversion-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-100);
    position: relative;
}

.result-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.result-header i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

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

.result-header h3 {
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin: 0;
    font-size: var(--font-size-2xl);
}

.result-thumb {
    text-align: center;
    margin-bottom: 1.5rem;
}

.result-thumb img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 3px solid var(--white);
}

.result-details {
    background: linear-gradient(135deg, var(--gray-50) 0%, #f1f5f9 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.result-details p {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    background: var(--white);
}

.result-details p:hover {
    background: var(--gray-50);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.result-details p:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.result-details strong {
    color: var(--gray-700);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-details strong::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
}

.result-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-100);
    position: relative;
}

.result-actions::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.btn-download {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-normal);
    flex: 1;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
    background: var(--gradient-secondary);
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-convert-another {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-normal);
    flex: 1;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.btn-convert-another:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-color: var(--gray-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--gray-800);
}

.btn-convert-another:hover::before {
    left: 100%;
}

.btn-convert-another:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--gray-600);
    font-weight: 500;
}

/* Conversion Progress */
.conversion-progress {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.progress-header {
    margin-bottom: 2rem;
}

.progress-header i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.progress-header h4 {
    color: var(--gray-800);
    font-weight: 600;
    margin: 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: progressFill 3s ease-in-out infinite;
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.progress-steps .step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: all var(--transition-normal);
}

.progress-steps .step.active {
    opacity: 1;
}

.progress-steps .step i {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all var(--transition-normal);
}

.progress-steps .step.active i {
    background: var(--primary);
    color: var(--white);
}

.progress-steps .step span {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-weight: 500;
    text-align: center;
}

.progress-steps .step.active span {
    color: var(--gray-800);
    font-weight: 600;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.feature-item i {
    color: var(--warning);
    font-size: 1.25rem;
}

.keyboard-shortcuts {
    margin-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

.keyboard-shortcuts small {
    font-size: var(--font-size-sm);
}

.keyboard-shortcuts strong {
    color: var(--primary);
    font-weight: 600;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-waves {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.wave {
    width: 4px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    animation: wave 1.5s ease-in-out infinite;
}

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

@keyframes wave {
    0%, 100% { height: 40px; }
    50% { height: 80px; }
}

.floating-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    color: var(--white);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--warning);
}

.floating-card span {
    font-weight: 600;
    font-size: var(--font-size-lg);
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

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

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1.5rem;
    transition: all var(--transition-normal);
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.step-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--gradient-dark);
    color: var(--white);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--warning);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Enhanced Footer */
.modern-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-3xl) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-spacer {
    height: 80px;
}

.footer-brand {
    position: relative;
    z-index: 2;
}

.footer-brand img {
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
    font-size: var(--font-size-sm);
}

.footer-heading {
    color: var(--white);
    font-weight: 700;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-lg);
    position: relative;
    z-index: 2;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-links {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    border-radius: var(--radius-sm);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a i {
    width: 16px;
    text-align: center;
    color: var(--gray-500);
    transition: all var(--transition-normal);
}

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

.footer-divider {
    border-color: var(--gray-800);
    margin: var(--space-2xl) 0 var(--space-lg);
    position: relative;
    z-index: 2;
}

.footer-bottom {
    padding-top: var(--space-lg);
    position: relative;
    z-index: 2;
}

.copyright-text {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    margin: 0;
}

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

.footer-tagline {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.back-to-top i {
    font-size: var(--font-size-lg);
}

.footer-brand img {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.modern-footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: var(--font-size-lg);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-normal);
    font-size: var(--font-size-sm);
}

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

.footer-divider {
    border-color: var(--gray-800);
    margin: 2rem 0 1rem;
}

.footer-bottom {
    padding-top: 1rem;
}

.heart {
    color: var(--danger);
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .url-input-group {
        flex-direction: column;
    }
    
    .options-row {
        flex-direction: column;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-lg);
        margin-top: var(--space-md);
        padding: var(--space-md);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav .nav-link {
        margin: var(--space-xs) 0;
        padding: var(--space-sm) var(--space-md) !important;
    }
    

}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .converter-card {
        padding: var(--space-lg);
        margin: var(--space-md);
    }
    
    .feature-card,
    .step-card {
        margin-bottom: var(--space-md);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);
    }
    
    .progress-steps {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .progress-steps .step {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .progress-steps .step i {
        margin-right: var(--space-md);
    }
    
    .footer-heading {
        margin-top: var(--space-lg);
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .navbar-brand img {
        width: 140px;
        height: auto;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
    text-decoration: none;
}

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

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--font-size-lg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary);
    color: var(--white);
}

/* About Page Styles */
.about-hero-section {
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
}

.hero-stats .stat-item {
    text-align: center;
    flex: 1;
}

.hero-stats .stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--warning);
    margin-bottom: 0.5rem;
    display: block;
}

.hero-stats .stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
}

.about-illustration {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    color: var(--white);
    animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.floating-element i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--warning);
}

.floating-element span {
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.mission-section {
    padding: 80px 0;
    background: var(--white);
}

.mission-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.mission-content .lead {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.mission-features .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.mission-features .feature-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    text-align: center;
}

.mission-features .feature-item h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.mission-features .feature-item p {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    margin: 0;
}

.mission-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-200);
    max-width: 300px;
    margin: 0 auto;
}

.mission-card .card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mission-card .card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mission-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.values-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.team-section {
    padding: 80px 0;
    background: var(--white);
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
}

.team-card h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.cta-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: var(--font-size-xl);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--gray-900);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Responsive Design for About Page */
@media (max-width: 991.98px) {
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .mission-features .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .mission-features .feature-item i {
        margin-bottom: 0.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    .hero-stats {
        gap: 1rem;
    }
    
    .floating-element {
        position: relative;
        margin: 1rem 0;
    }
    
    .about-illustration {
        height: auto;
        flex-direction: column;
    }
    
    .mission-card {
        margin: 1rem 0;
    }
}