:root {
    --primary: #f97415;
    --primary-dark: #17203c;
    --secondary: #f97415;
    --dark: #17203c;
    --darker: #0d1120;
    --light: #ffffff;
    --gray: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border: rgba(249, 116, 21, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--darker), var(--dark));
    color: var(--light);
    min-height: 100vh;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: rgba(23, 32, 60, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}
.logo a{
    text-decoration: none;
    color: white;
}

.logo i {
    color: var(--secondary);
}

.logo-image{
    width: auto;
    height: 48px;
}

/* Page Title Section */
.page-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.page-title i {
    color: var(--primary);
}

/* More Tools Dropdown - FIXED WIDTH ISSUE */
.more-tools-dropdown {
    position: relative;
    display: inline-block;
}

.more-tools-btn {
    background: rgba(249, 116, 21, 0.1);
    border: 2px solid var(--border);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.more-tools-btn:hover {
    background: rgba(249, 116, 21, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.more-tools-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.tools-dialog {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: 80vw !important;
    max-width: 800px;
    min-width: 300px;
    background: #17203c;
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    overflow: hidden;
    box-sizing: border-box !important;
}

.tools-dialog.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.tools-dialog-content {
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.tools-dialog-content h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tools-dialog-content h3 i {
    color: var(--primary);
}

.tools-grid-dialog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.tool-item-dialog {
    background: var(--primary-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
    min-height: 60px;
    box-sizing: border-box;
}

.tool-item-dialog:hover {
    background: rgba(249, 116, 21, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.tool-item-dialog i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
    flex-shrink: 0;
}

.tool-item-dialog span {
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tools-footer-area {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    width: 100%;
}

.dropdown-site-liinks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.dropdown-site-liinks a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding: 0.3rem 0;
    white-space: nowrap;
}

.dropdown-site-liinks a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.dropdown-site-liinks a:hover {
    color: var(--accent);
}

.dropdown-site-liinks a:hover::after {
    width: 100%;
}

/* Remove old nav styles */
nav {
    display: none;
}

/* Update header container for new layout */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 1rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    background: rgba(249, 116, 21, 0.2);
    color: white;
}

.user-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #ff8c42);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(249, 116, 21, 0.1);
}

/* H1 Hero Section Styles */
.headings-section {
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    margin: 2rem auto 3rem;
    max-width: 1400px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.headings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.headings-content {
    max-width: 800px;
    margin: 0 auto;
}

.headings-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--light);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.headings-subtitle {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.main-headings-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.headings-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.editing-btn {
    background: linear-gradient(45deg, var(--primary), #ff8c42);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(249, 116, 21, 0.3);
}

.editing-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(249, 116, 21, 0.4);
    background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
}

.editing-btn i {
    font-size: 1.5rem;
}

.add-cuts-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.cuts-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(23, 32, 60, 0.5);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(249, 116, 21, 0.3);
    transition: var(--transition);
}

.cuts-feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.1);
}

.cuts-feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.cuts-feature-item span {
    color: var(--light);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Functionality Section Styling */
.functionality-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-area h2 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-area h2 i {
    color: var(--secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(23, 32, 60, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px;
    min-height: 600px;
}

.controls-section,
.preview-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.controls-section {
    background: rgba(23, 32, 60, 0.4);
    border-radius: var(--radius);
    padding: 25px;
    border: 1px solid rgba(249, 116, 21, 0.2);
}

.preview-section {
    background: rgba(23, 32, 60, 0.4);
    border-radius: var(--radius);
    padding: 25px;
    border: 1px solid rgba(249, 116, 21, 0.2);
}

.upload-section {
    text-align: center;
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    background: linear-gradient(45deg, var(--primary), #ff8c42);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 20px rgba(249, 116, 21, 0.3);
}

.file-input-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(249, 116, 21, 0.4);
}

.file-input-wrapper input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-preview {
    text-align: center;
    background: rgba(23, 32, 60, 0.3);
    border-radius: 15px;
    padding: 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

#videoPlayer {
    max-width: 100%;
    max-height: 400px;
    display: block;
}

.video-info {
    background: rgba(23, 32, 60, 0.5);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    display: inline-block;
    color: var(--light);
    border: 1px solid rgba(249, 116, 21, 0.2);
}

.cuts-section {
    background: rgba(23, 32, 60, 0.3);
    padding: 30px;
    border-radius: 15px;
    margin: 0;
    border: 1px solid rgba(249, 116, 21, 0.2);
}

.section-title {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.cuts-config {
    display: block;
}

.config-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.config-group {
    flex: 1;
    min-width: 250px;
}

.config-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--light);
}

.number-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.number-btn {
    background: rgba(23, 32, 60, 0.5);
    border: 2px solid rgba(249, 116, 21, 0.3);
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 45px;
    text-align: center;
    color: var(--light);
}

.number-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.number-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.duration-slider {
    width: 100%;
    margin: 10px 0;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(249, 116, 21, 0.3);
    outline: none;
    appearance: none;
    border: 1px solid rgba(249, 116, 21, 0.5);
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(249, 116, 21, 0.5);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(249, 116, 21, 0.5);
}

.duration-display {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 10px;
}

.apply-cuts-btn {
    background: linear-gradient(45deg, var(--primary), #ff8c42);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(249, 116, 21, 0.3);
    display: block;
    margin: 30px auto 0;
}

.apply-cuts-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(249, 116, 21, 0.4);
}

.cuts-preview {
    display: none;
    margin-top: 30px;
}

.cuts-timeline {
    background: rgba(23, 32, 60, 0.3);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(249, 116, 21, 0.3);
}

.timeline-bar {
    height: 60px;
    background: linear-gradient(90deg, var(--primary), #ff8c42);
    border-radius: 10px;
    position: relative;
    margin: 20px 0;
    overflow: hidden;
}

.cut-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(249, 116, 21, 0.3);
}

.modified-video-preview {
    margin-top: 30px;
    padding: 20px;
    background: rgba(249, 116, 21, 0.2);
    border-radius: 10px;
    border: 2px solid var(--primary);
}

.download-section {
    display: none;
    text-align: center;
    padding: 30px;
    background: rgba(23, 32, 60, 0.3);
    border-radius: 15px;
    margin-top: 30px;
    border: 1px solid rgba(249, 116, 21, 0.2);
}

.download-btn {
    background: linear-gradient(45deg, var(--primary), #ff8c42);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(249, 116, 21, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(249, 116, 21, 0.4);
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: rgba(23, 32, 60, 0.5);
    border-radius: 5px;
    overflow: hidden;
    margin: 20px 0;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff8c42);
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* Style Dialog */
.style-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.dialog-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--dark);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(249, 116, 21, 0.3);
}

.dialog-header {
    padding: 20px;
    border-bottom: 1px solid rgba(249, 116, 21, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dialog-header h3 {
    margin: 0;
    color: var(--light);
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.dialog-body {
    padding: 20px;
}

.style-section {
    margin-bottom: 30px;
}

.style-section h4 {
    margin-bottom: 15px;
    color: var(--light);
}

/* Background Options */
.background-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.bg-option {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bg-option:hover {
    transform: translateY(-2px);
}

.bg-option.active {
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.2);
}

.bg-preview {
    width: 100%;
    height: 80px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.bg-white {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.bg-gradient-sunset {
    background: linear-gradient(135deg, var(--primary), #ff8c42);
}

.bg-gradient-ocean {
    background: linear-gradient(135deg, var(--primary), #5fc3e4);
}

.bg-gradient-aurora {
    background: linear-gradient(135deg, #89f7fe, var(--primary));
}

.bg-animated-particles {
    background: linear-gradient(135deg, #1e3c72, var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.bg-geometric {
    background: linear-gradient(135deg, var(--primary), #4ecdc4);
    position: relative;
}

.bg-neon-grid {
    background: #0a0a0a;
    background-image: linear-gradient(rgba(249, 116, 21, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 116, 21, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-cosmic {
    background: radial-gradient(ellipse at center, #1b2735 0%, var(--darker) 100%);
}

/* Counting Style Options */
.count-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.count-option {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.count-option:hover {
    transform: translateY(-2px);
}

.count-option.active {
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.2);
}

.count-preview {
    font-size: 48px;
    font-weight: bold;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.count-circular {
    border: 4px solid var(--primary);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.count-flip {
    background: linear-gradient(135deg, var(--primary), #ff8c42);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.count-neon {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
    background: #000;
}

.count-lcd {
    font-family: 'Courier New', monospace;
    background: #1a1a1a;
    color: #00ff00;
    border: 2px solid #333;
    padding: 10px;
}

.count-handwritten {
    font-family: 'Comic Sans MS', cursive;
    color: var(--light);
    transform: rotate(-5deg);
}

.count-blocks {
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 5px 5px 10px #d1d1d1, -5px -5px 10px #ffffff;
    border-radius: 10px;
}

.count-glitch {
    color: #fff;
    background: #000;
    position: relative;
    animation: glitch 0.5s infinite;
}

@keyframes glitch {
    0%,
    100% {
        text-shadow: -2px 0 #f00, 2px 0 #0ff;
    }

    50% {
        text-shadow: 2px 0 #f00, -2px 0 #0ff;
    }
}

/* Text and Logo Options */
.text-logo-section {
    margin-bottom: 30px;
}

.text-logo-section h4 {
    margin-bottom: 15px;
    color: var(--light);
}

.text-input-group {
    margin-bottom: 20px;
}

.text-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--light);
}

.text-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(249, 116, 21, 0.3);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: rgba(23, 32, 60, 0.5);
    color: var(--light);
}

.text-input:focus {
    outline: none;
    border-color: var(--primary);
}

.logo-upload-group {
    margin-bottom: 20px;
}

.logo-input-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    background: linear-gradient(45deg, var(--primary), #ff8c42);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(249, 116, 21, 0.3);
}

.logo-input-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 116, 21, 0.4);
}

.logo-input-wrapper input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.logo-preview {
    margin-top: 15px;
    text-align: center;
}

.logo-preview img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 8px;
    border: 2px solid rgba(249, 116, 21, 0.3);
    margin-top: 25px;
}

.logo-preview-text {
    margin-top: 8px;
    font-size: 14px;
    color: var(--gray);
}

/* How It Works Section */
.how-it-works-section {
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 3rem;
}

.how-it-works-header h2 {
    font-size: 2.2rem;
    color: var(--light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.how-it-works-header h2 i {
    color: var(--primary);
}

.how-it-works-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
}

.cuts-timeline-steps {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.cuts-timeline-steps:nth-child(odd) {
    left: 0;
}

.cuts-timeline-steps:nth-child(even) {
    left: 50%;
}

.cuts-timeline-steps::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: var(--primary);
    border: 4px solid var(--darker);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.cuts-timeline-steps:nth-child(odd)::after {
    right: -13px;
}

.cuts-timeline-steps:nth-child(even)::after {
    left: -13px;
}

.add-cuts-info {
    padding: 20px 30px;
    background: rgba(23, 32, 60, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(249, 116, 21, 0.2);
    transition: var(--transition);
}

.add-cuts-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 116, 21, 0.3);
    border-color: var(--primary);
}

.cuts-timeline-steps:nth-child(odd) .add-cuts-info {
    text-align: right;
}

.cuts-timeline-steps:nth-child(even) .add-cuts-info {
    text-align: left;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cuts-timeline-steps:nth-child(odd) .step-number {
    float: right;
    margin-left: 15px;
}

.cuts-timeline-steps:nth-child(even) .step-number {
    float: left;
    margin-right: 15px;
}

.add-cuts-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--light);
}

.add-cuts-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.timeline-area-steps {
    position: relative;
    margin-bottom: 3rem;
}
.step-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.right-image {
    left: calc(100% + 30px);
}

.left-image {
    right: calc(100% + 30px);
}
.step-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    object-fit: cover;
    cursor: pointer;
}

.step-image img:hover {
    transform: scale(1.03);
    border-color: var(--primary);
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.image-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.3s ease;
}
.image-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 50px rgba(249, 116, 21, 0.5);
    object-fit: contain;
}
.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    font-size: 24px;
    color: white;
    border: none;
    box-shadow: 0 0 20px rgba(249, 116, 21, 0.5);
}

.image-modal-close:hover {
    transform: scale(1.1);
    background: #ff8c42;
}

.image-modal.show {
    display: block;
    opacity: 1;
}

.image-modal.show .image-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

/* Styles for the About Interval Countdown Editor section */
    .about-interval-editor-section {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
        padding: 60px 20px;
        margin-top: 40px;
        border-top: 1px solid rgba(249, 116, 21, 0.3);
        border-bottom: 1px solid rgba(249, 116, 21, 0.3);
    }

    .about-interval-container {
        max-width: 1300px;
        margin: 0 auto;
    }

    .about-interval-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .about-interval-header h2 {
        font-size: 2.4rem;
        color: #fff;
        margin-bottom: 12px;
        background: linear-gradient(135deg, #fff, #f97415);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
    }

    .about-interval-header h2 i {
        background: none;
        -webkit-text-fill-color: #f97415;
        margin-right: 12px;
    }

    .about-interval-subhead {
        color: #bbb;
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto;
    }

    .about-interval-content-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .about-interval-col {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .about-interval-card {
        background: rgba(20, 20, 30, 0.7);
        backdrop-filter: blur(4px);
        border-radius: 24px;
        padding: 28px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        transition: transform 0.2s ease, border-color 0.2s;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    .about-interval-card:hover {
        border-color: rgba(249, 116, 21, 0.5);
        transform: translateY(-3px);
    }

    .about-interval-card .card-icon {
        font-size: 2.2rem;
        color: #f97415;
        margin-bottom: 18px;
    }

    .about-interval-card h3 {
        font-size: 1.7rem;
        color: #fff;
        margin-bottom: 18px;
        font-weight: 600;
        letter-spacing: -0.3px;
        border-left: 4px solid #f97415;
        padding-left: 16px;
    }

    .about-interval-card p {
        color: #ddd;
        line-height: 1.65;
        font-size: 1rem;
        margin-bottom: 16px;
    }

    /* Platform badges */
    .interval-platform-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin: 20px 0 10px;
    }

    .interval-platform-badges span {
        background: rgba(249, 116, 21, 0.15);
        border: 1px solid rgba(249, 116, 21, 0.4);
        padding: 6px 14px;
        border-radius: 40px;
        font-size: 0.85rem;
        color: #f0f0f0;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: 0.2s;
    }

    .interval-platform-badges span i {
        font-size: 1rem;
        color: #f97415;
    }

    .interval-platform-badges span:hover {
        background: rgba(249, 116, 21, 0.3);
        transform: scale(1.02);
    }

    /* Mechanism list */
    .interval-mechanism-list {
        list-style: none;
        padding-left: 0;
        margin: 18px 0;
    }

    .interval-mechanism-list li {
        margin-bottom: 18px;
        padding-left: 24px;
        position: relative;
        line-height: 1.55;
        color: #ddd;
    }

    .interval-mechanism-list li strong {
        color: #f97415;
        font-weight: 600;
    }

    .interval-mechanism-list li::before {
        content: "▹";
        position: absolute;
        left: 0;
        color: #f97415;
        font-size: 1rem;
    }

    /* Responsive */
    @media (max-width: 900px) {
        .about-interval-content-grid {
            grid-template-columns: 1fr;
            gap: 30px;
        }
        .about-interval-card h3 {
            font-size: 1.5rem;
        }
        .about-interval-header h2 {
            font-size: 1.9rem;
        }
        .about-interval-editor-section {
            padding: 40px 16px;
        }
    }

/* Additional CSS for new sections - UPDATED FOR VIDEO CUTS EDITOR */
.tools-section, .tips-section {
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--accent);
}

.section-title i {
    color: var(--primary);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.more-tools-card {
    background: rgba(23, 32, 60, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(249, 116, 21, 0.3);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.more-tools-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 116, 21, 0.3);
    border-color: var(--primary);
}

.more-cards-icon {
    width: 60px;
    height: 60px;
    background: rgba(249, 116, 21, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--secondary);
}

.more-tools-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.tools-explanation {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.tool-link:hover {
    gap: 0.8rem;
    color: #ff8c42;
}

.cuts-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tips-box {
    background: rgba(23, 32, 60, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(249, 116, 21, 0.3);
    transition: var(--transition);
}

.tips-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249, 116, 21, 0.3);
}

.cuts-counting {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary), #ff8c42);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.tip-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--light);
}

.tips-details {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.highlight {
    color: var(--secondary);
    font-weight: 600;
}

.dialog-footer {
    padding: 20px;
    border-top: 1px solid rgba(249, 116, 21, 0.2);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-secondary {
    padding: 10px 20px;
    background: var(--gray);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-primary {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), #ff8c42);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.tools-grid, .cuts-tips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.more-tools-card {
    flex: 0 1 330px;
}

.tips-box {
    flex: 0 1 290px;
}

/* Privacy & Security Section for Video Cuts Editor */
.video-cuts-privacy-section {
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(13, 17, 23, 0.9) 0%, 
        rgba(23, 32, 60, 0.9) 100%);
    margin: 4rem 0;
    overflow: hidden;
}

.video-cuts-privacy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(249, 116, 21, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(249, 116, 21, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.video-cuts-privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.video-cuts-privacy-card {
    background: rgba(23, 32, 60, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-cuts-privacy-card:hover {
    transform: translateY(-15px);
    box-shadow: 
        0 40px 80px rgba(249, 116, 21, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
}

.video-cuts-privacy-header {
    margin-bottom: 3rem;
    position: relative;
}

.video-cuts-security-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary), rgba(249, 116, 21, 0.7));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--accent);
    position: relative;
    box-shadow: 0 20px 40px rgba(249, 116, 21, 0.4);
    animation: pulse 4s ease-in-out infinite;
}

.video-cuts-privacy-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.video-cuts-privacy-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

.video-cuts-privacy-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

.video-cuts-privacy-content {
    margin-bottom: 3rem;
}

.video-cuts-privacy-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    padding: 2rem;
    background: rgba(23, 32, 60, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(249, 116, 21, 0.2);
    position: relative;
}

.video-cuts-privacy-text::before {
    content: '✂️';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    padding: 0 1rem;
    font-size: 1.5rem;
}

.video-cuts-privacy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.video-cuts-privacy-feature {
    background: rgba(23, 32, 60, 0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-cuts-privacy-feature:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(249, 116, 21, 0.2);
}

.video-cuts-privacy-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(249, 116, 21, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.video-cuts-privacy-feature h3 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    text-align: center;
}

.video-cuts-privacy-feature p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.5;
}

.video-cuts-processing-info {
    background: linear-gradient(135deg, 
        rgba(249, 116, 21, 0.1) 0%, 
        rgba(23, 32, 60, 0.6) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.video-cuts-processing-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 100% 0%, rgba(249, 116, 21, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(249, 116, 21, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.video-cuts-processing-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.video-cuts-processing-content i {
    font-size: 3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.video-cuts-processing-content h3 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.video-cuts-processing-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.6;
}

.video-cuts-security-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.video-cuts-security-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(249, 116, 21, 0.1);
    border: 1px solid var(--border);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.video-cuts-security-badge:hover {
    background: rgba(249, 116, 21, 0.2);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.video-cuts-security-badge i {
    color: var(--primary);
    font-size: 1.1rem;
}

.video-cuts-background-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(249, 116, 21, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(249, 116, 21, 0.2);
}

.video-cuts-background-info h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-cuts-background-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Add pulse animation if not already in your CSS */
@keyframes pulse {
    0% {
        box-shadow: 0 20px 40px rgba(249, 116, 21, 0.4);
    }
    50% {
        box-shadow: 0 20px 40px rgba(249, 116, 21, 0.6);
    }
    100% {
        box-shadow: 0 20px 40px rgba(249, 116, 21, 0.4);
    }
}

/* =============================================
   COPYRIGHT NOTICE SECTION - SIMPLE & CLEAN
   ============================================= */

.editor-notice-section {
    max-width: 1200px;
    margin: 1.5rem auto 1rem;
    padding: 0 1.5rem;
}

.editor-notice-card {
    background: rgba(249, 116, 21, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 116, 21, 0.25);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.editor-notice-card:hover {
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.12);
    transform: translateY(-2px);
}

.editor-notice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        transparent 100%);
}

.notice-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(249, 116, 21, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
}

.notice-content {
    flex: 1;
}

.notice-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.notice-text strong {
    color: var(--accent);
    font-weight: 600;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark-bg) 100%);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #ff8c42 50%, var(--primary) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

/* Brand Section */
.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--primary), #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(249, 116, 21, 0.3));
    background-clip: text;
}

.footer-logo h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    margin: 0;
    background-clip: text;
}

.brand-tagline {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 400px;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid rgba(249, 116, 21, 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 116, 21, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    background: rgba(249, 116, 21, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 116, 21, 0.2);
}

.social-link i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Footer Columns */
.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.footer-col:hover h3::after {
    width: 60px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0;
    transition: var(--transition);
}

.footer-col ul li::before {
    content: '▶';
    position: absolute;
    left: -20px;
    color: var(--primary);
    font-size: 0.7rem;
    opacity: 0;
    transition: var(--transition);
}

.footer-col ul li:hover {
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-col ul li:hover::before {
    opacity: 1;
    left: 0;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.footer-col a:hover::after {
    width: 100%;
}

/* Copyright-area Section */
.copyright-area {
    text-align: center;
    padding-top: 3rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    border-top: 1px solid rgba(249, 116, 21, 0.2);
    margin-top: 3rem;
    position: relative;
    grid-column: 1 / -1;
}

.copyright-area::before {
    content: '🎬';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    padding: 0 1rem;
    font-size: 1.2rem;
}


/* Extra Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .header-container,
    .headings-section,
    main,
    .footer-container {
        max-width: 1600px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .headings-title {
        font-size: 3.5rem;
    }
    
    .headings-subtitle {
        font-size: 2rem;
    }
    
    .main-content {
        gap: 40px;
        padding: 50px;
    }
    
    .footer-container {
        gap: 4rem;
    }
    .step-image {
        width: 35%;
    }
    
    .right-image {
        left: calc(100% + 40px);
    }
    
    .left-image {
        right: calc(100% + 40px);
    }
    
    .step-image img {
        max-width: 450px;
    }
}

/* Desktop (1200px-1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .header-container,
    .headings-section,
    main,
    .footer-container {
        max-width: 1140px;
    }
    
    .headings-title {
        font-size: 3rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cuts-tips-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .video-cuts-privacy-features {
        grid-template-columns: repeat(3, 1fr);
    }
    .step-image {
        width: 38%;
    }
    
    .right-image {
        left: calc(100% + 20px);
    }
    
    .left-image {
        right: calc(100% + 20px);
    }
    
    .step-image img {
        max-width: 320px;
    }
}

/* Small Desktop (1024px-1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .header-container,
    .headings-section,
    main,
    .footer-container {
        max-width: 960px;
    }
    
    .headings-title {
        font-size: 2.8rem;
    }
    
    .headings-subtitle {
        font-size: 1.7rem;
    }
    
    .main-content {
        padding: 30px;
        gap: 25px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cuts-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-cuts-privacy-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .step-image {
        width: 35%;
    }
    
    .right-image {
        left: calc(100% + 15px);
    }
    
    .left-image {
        right: calc(100% + 15px);
    }
    
    .step-image img {
        max-width: 280px;
    }
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
    }
}

/* Tablet Landscape (992px-1023px) */
@media (max-width: 1023px) and (min-width: 992px) {
    .header-container,
    .headings-section,
    main,
    .footer-container {
        max-width: 900px;
    }
    
    .headings-title {
        font-size: 2.5rem;
    }
    
    .headings-subtitle {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: 25px;
        gap: 20px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cuts-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-logo h2 {
        font-size: 2rem;
    }
    
    .footer-logo i {
        font-size: 2.5rem;
    }
    
    .brand-tagline {
        font-size: 1rem;
    }
}

/* Tablet Portrait (768px-991px) */
@media (max-width: 991px) and (min-width: 768px) {
    header {
        padding: 1rem;
    }
    
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .headings-section {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto;
    }
    
    .headings-title {
        font-size: 2.2rem;
    }
    
    .headings-subtitle {
        font-size: 1.4rem;
    }
    
    .main-headings-description {
        font-size: 1.1rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .controls-section,
    .preview-section {
        padding: 20px;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .cuts-timeline-steps {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .cuts-timeline-steps:nth-child(even) {
        left: 0;
    }
    
    .cuts-timeline-steps::after {
        left: 18px;
        right: auto;
    }
    
    .cuts-timeline-steps:nth-child(odd) .add-cuts-info,
    .cuts-timeline-steps:nth-child(even) .add-cuts-info {
        text-align: left;
    }
    
    .cuts-timeline-steps:nth-child(odd) .step-number,
    .cuts-timeline-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 15px;
        margin-left: 0;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cuts-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-cuts-privacy-card {
        padding: 3rem 2rem;
    }
    
    .video-cuts-privacy-header h2 {
        font-size: 2.2rem;
    }
    
    .video-cuts-privacy-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-cuts-processing-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .editor-notice-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-brand {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .brand-tagline {
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        padding-left: 0;
        border-bottom: 3px solid rgba(249, 116, 21, 0.3);
        padding-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li:hover {
        transform: translateX(0);
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .footer-col a:hover {
        transform: translateX(0);
    }
    .step-image {
        position: relative;
        width: 100%;
        margin-top: 1.5rem;
        top: auto;
        transform: none;
    }
    
    .right-image,
    .left-image {
        left: auto;
        right: auto;
        position: relative;
    }
    
    .timeline-area-steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .timeline-area-steps .trimming-info {
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .step-image img {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Adjust timeline line for tablet */
    .timeline::after {
        left: 20px;
    }
    
    .timeline-area-steps {
        padding-left: 50px;
        width: 100%;
    }
    
    .timeline-area-steps:nth-child(even) {
        left: 0;
    }
    
    .timeline-area-steps::after {
        left: 10px;
        right: auto;
    }
    
    .timeline-area-steps:nth-child(odd) .trimming-info,
    .timeline-area-steps:nth-child(even) .trimming-info {
        text-align: left;
    }
    
    .timeline-area-steps:nth-child(odd) .step-number,
    .timeline-area-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 15px;
        margin-left: 0;
    }
}

/* Small Tablet (600px-767px) */
@media (max-width: 767px) and (min-width: 600px) {
    header {
        padding: 1rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .more-tools-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .tools-dialog {
        width: 95vw !important;
        min-width: auto;
    }
    
    .tools-dialog-content {
        padding: 1.5rem;
    }
    
    .tools-grid-dialog {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dropdown-site-liinks {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .headings-section {
        padding: 2rem 1rem;
        margin: 1rem auto;
    }
    
    .headings-title {
        font-size: 2rem;
    }
    
    .headings-subtitle {
        font-size: 1.3rem;
    }
    
    .main-headings-description {
        font-size: 1rem;
    }
    
    .editing-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .add-cuts-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cuts-feature-item {
        width: 100%;
        justify-content: center;
    }
    
    main {
        padding: 0 1rem;
    }
    
    .functionality-section {
        padding: 1.5rem;
    }
    
    .header-area {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-area h2 {
        font-size: 1.5rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 15px;
    }
    
    .controls-section,
    .preview-section {
        padding: 15px;
    }
    
    .config-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .config-group {
        min-width: 100%;
    }
    
    .number-selector {
        justify-content: center;
    }
    
    .apply-cuts-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1.1rem;
    }
    
    .how-it-works-section {
        padding: 2rem 1rem;
    }
    
    .how-it-works-header h2 {
        font-size: 1.8rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .cuts-timeline-steps {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .cuts-timeline-steps:nth-child(even) {
        left: 0;
    }
    
    .cuts-timeline-steps::after {
        left: 18px;
        right: auto;
    }
    
    .add-cuts-info {
        text-align: left !important;
    }
    
    .step-number {
        float: left !important;
        margin-right: 15px;
        margin-left: 0;
    }
    
    .tools-section, .tips-section {
        padding: 1.5rem;
    }
    
    .tools-grid, .cuts-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .more-tools-card, .tips-box {
        flex: 0 1 100%;
    }
    
    .video-cuts-privacy-section {
        padding: 3rem 0;
    }
    
    .video-cuts-privacy-card {
        padding: 2rem 1.5rem;
    }
    
    .video-cuts-privacy-header h2 {
        font-size: 2rem;
    }
    
    .video-cuts-security-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .video-cuts-privacy-text {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .video-cuts-privacy-features {
        grid-template-columns: 1fr;
    }
    
    .video-cuts-security-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .video-cuts-security-badge {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .video-cuts-processing-info {
        padding: 1.5rem;
    }
    
    .video-cuts-processing-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .video-cuts-processing-content i {
        font-size: 2.5rem;
    }
    
    .editor-notice-section {
        padding: 0 1rem;
    }
    
    .editor-notice-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .notice-icon {
        margin: 0 auto;
    }
    
    footer {
        padding: 3rem 1.5rem 1.5rem;
        margin-top: 4rem;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-brand {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo h2 {
        font-size: 2rem;
    }
    
    .footer-logo i {
        font-size: 2.5rem;
    }
    
    .brand-tagline {
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        padding-left: 0;
        border-bottom: 3px solid rgba(249, 116, 21, 0.3);
        padding-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li:hover {
        transform: translateX(0);
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .footer-col a:hover {
        transform: translateX(0);
    }
    .step-image {
        position: relative;
        width: 100%;
        margin-top: 1.5rem;
        top: auto;
        transform: none;
    }
    
    .right-image,
    .left-image {
        left: auto;
        right: auto;
        position: relative;
    }
    
    .timeline-area-steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .timeline-area-steps .trimming-info {
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .step-image img {
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* Adjust timeline for tablet portrait */
    .timeline::after {
        left: 30px;
    }
    
    .timeline-area-steps {
        padding-left: 60px;
        width: 100%;
    }
    
    .timeline-area-steps:nth-child(even) {
        left: 0;
    }
    
    .timeline-area-steps::after {
        left: 18px;
        right: auto;
    }
    
    .timeline-area-steps:nth-child(odd) .trimming-info,
    .timeline-area-steps:nth-child(even) .trimming-info {
        text-align: left;
    }
    
    .timeline-area-steps:nth-child(odd) .step-number,
    .timeline-area-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 15px;
        margin-left: 0;
    }
.image-modal-content img {
        max-height: 70vh;
    }
    
    .image-modal-close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
        font-size: 20px;
    }
}

/* Mobile (480px-599px) */
@media (max-width: 599px) and (min-width: 480px) {
    header {
        padding: 0.8rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .more-tools-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .tools-dialog {
        width: 95vw !important;
        min-width: auto;
        left: 50%;
        transform: translateX(-50%) scale(0.95);
    }
    
    .tools-dialog.show {
        transform: translateX(-50%) scale(1);
    }
    
    .tools-dialog-content {
        padding: 1rem;
    }
    
    .tools-dialog-content h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .tools-grid-dialog {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .tool-item-dialog {
        padding: 0.8rem;
        min-height: 50px;
    }
    
    .tool-item-dialog i {
        font-size: 1rem;
        width: 20px;
    }
    
    .tool-item-dialog span {
        font-size: 0.9rem;
    }
    
    .dropdown-site-liinks {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .dropdown-site-liinks a {
        font-size: 0.85rem;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .headings-section {
        padding: 1.5rem 0.8rem;
        margin: 1rem auto;
    }
    
    .headings-title {
        font-size: 1.6rem;
    }
    
    .headings-subtitle {
        font-size: 1.1rem;
    }
    
    .main-headings-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .editing-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .editing-btn i {
        font-size: 1.2rem;
    }
    
    .add-cuts-features {
        gap: 0.8rem;
    }
    
    .cuts-feature-item {
        padding: 0.6rem 1rem;
    }
    
    .cuts-feature-item i {
        font-size: 1rem;
    }
    
    .cuts-feature-item span {
        font-size: 0.85rem;
    }
    
    main {
        padding: 0 0.8rem;
    }
    
    .functionality-section {
        padding: 1rem;
    }
    
    .header-area h2 {
        font-size: 1.3rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 10px;
    }
    
    .controls-section,
    .preview-section {
        padding: 12px;
    }
    
    .file-input-wrapper {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .video-preview {
        min-height: 200px;
        padding: 15px;
    }
    
    #videoPlayer,
    #modifiedVideoPlayer {
        max-height: 250px;
    }
    
    .cuts-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .number-btn {
        padding: 8px 12px;
        min-width: 40px;
        font-size: 0.9rem;
    }
    
    .duration-display {
        font-size: 1rem;
    }
    
    .apply-cuts-btn {
        padding: 12px 20px;
        font-size: 1rem;
        margin: 20px auto 0;
    }
    
    .download-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .timeline-bar {
        height: 40px;
    }
    
    .cut-marker {
        font-size: 0.7rem;
    }
    
    .style-dialog .dialog-content {
        width: 85%;
        max-height: 85vh;
    }
    
    .dialog-header h3 {
        font-size: 1.2rem;
    }
    
    .close-btn {
        font-size: 24px;
    }
    
    .dialog-body {
        padding: 15px;
    }
    
    .background-options,
    .count-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .bg-preview {
        height: 60px;
    }
    
    .count-preview {
        font-size: 36px;
        height: 60px;
    }
    
    .count-circular {
        width: 60px;
        height: 60px;
    }
    
    .text-input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .logo-input-wrapper {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .dialog-footer {
        padding: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .how-it-works-section {
        padding: 1.5rem 1rem;
    }
    
    .how-it-works-header h2 {
        font-size: 1.5rem;
    }
    
    .how-it-works-header p {
        font-size: 0.95rem;
    }
    
    .timeline::after {
        left: 31px;
    }

    .cuts-timeline-steps:nth-child(even) {
        left: 0;
    }
    
    .cuts-timeline-steps {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }
    
    .add-cuts-info {
        padding: 15px;
    }
    
    .add-cuts-info h3 {
        font-size: 1.2rem;
    }
    
    .add-cuts-info p {
        font-size: 0.9rem;
    }
    
    .tools-section, .tips-section {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .more-tools-card,
    .tips-box {
        padding: 1.2rem;
    }
    
    .more-cards-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .more-tools-title,
    .tip-title {
        font-size: 1.1rem;
    }
    
    .tools-explanation,
    .tips-details {
        font-size: 0.9rem;
    }
    
    .video-cuts-privacy-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }
    
    .video-cuts-privacy-container {
        padding: 0 1rem;
    }
    
    .video-cuts-privacy-card {
        padding: 1.5rem 1rem;
    }
    
    .video-cuts-privacy-header h2 {
        font-size: 1.6rem;
    }
    
    .video-cuts-security-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .video-cuts-privacy-subtitle {
        font-size: 0.95rem;
    }
    
    .video-cuts-privacy-text {
        font-size: 1rem;
        padding: 1.2rem;
    }
    
    .video-cuts-privacy-feature {
        padding: 1.5rem;
    }
    
    .video-cuts-privacy-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .video-cuts-privacy-feature h3 {
        font-size: 1.1rem;
    }
    
    .video-cuts-privacy-feature p {
        font-size: 0.9rem;
    }
    
    .video-cuts-security-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .video-cuts-processing-info {
        padding: 1.2rem;
    }
    
    .video-cuts-processing-content i {
        font-size: 2rem;
    }
    
    .video-cuts-processing-content h3 {
        font-size: 1.2rem;
    }
    
    .video-cuts-processing-content p {
        font-size: 0.9rem;
    }
    
    .editor-notice-section {
        padding: 0 0.8rem;
    }
    
    .editor-notice-card {
        padding: 0.9rem;
    }
    
    .notice-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .notice-text {
        font-size: 0.9rem;
    }
    
    footer {
        padding: 2.5rem 1rem 1rem;
        margin-top: 3rem;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-brand {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo h2 {
        font-size: 1.8rem;
    }
    
    .footer-logo i {
        font-size: 2.2rem;
    }
    
    .brand-tagline {
        font-size: 0.95rem;
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        padding-left: 0;
        border-bottom: 3px solid rgba(249, 116, 21, 0.3);
        padding-bottom: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3 {
        font-size: 1.2rem;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li:hover {
        transform: translateX(0);
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .footer-col a:hover {
        transform: translateX(0);
    }
    
    .copyright-area {
        padding-top: 2rem;
        font-size: 0.8rem;
    }
    
    .copyright-area::before {
        font-size: 1rem;
        padding: 0 0.8rem;
    }
    .step-image {
        position: relative;
        width: 100%;
        margin-top: 1.2rem;
        top: auto;
        transform: none;
    }
    
    .right-image,
    .left-image {
        left: auto;
        right: auto;
        position: relative;
        padding: 0;
    }
    
    .timeline-area-steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .timeline-area-steps .trimming-info {
        width: 100%;
        text-align: center;
        margin-bottom: 1.2rem;
        padding: 1rem;
    }
    
    .step-image img {
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Adjust timeline for mobile */
    .timeline::after {
        left: 20px;
    }
    
    .timeline-area-steps {
        padding-left: 45px;
        width: 100%;
    }
    
    .timeline-area-steps:nth-child(even) {
        left: 0;
    }
    
    .timeline-area-steps::after {
        left: 10px;
        right: auto;
        width: 18px;
        height: 18px;
        top: 10px;
    }
    
    .timeline-area-steps:nth-child(odd) .trimming-info,
    .timeline-area-steps:nth-child(even) .trimming-info {
        text-align: left;
    }
    
    .timeline-area-steps:nth-child(odd) .step-number,
    .timeline-area-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 12px;
        margin-left: 0;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .trimming-info h3 {
        font-size: 1.1rem;
    }
    
    .trimming-info p {
        font-size: 0.9rem;
    }
}

/* Small Mobile (360px-479px) */
@media (max-width: 479px) and (min-width: 360px) {
    header {
        padding: 0.5rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .more-tools-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .tools-dialog {
        width: 95vw !important;
        left: 50%;
        transform: translateX(-50%) scale(0.95);
    }
    
    .tools-dialog.show {
        transform: translateX(-50%) scale(1);
    }
    
    .tools-dialog-content {
        padding: 0.8rem;
    }
    
    .tools-dialog-content h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .tools-grid-dialog {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .tool-item-dialog {
        padding: 0.6rem;
        min-height: 45px;
    }
    
    .tool-item-dialog i {
        font-size: 0.9rem;
        width: 18px;
    }
    
    .tool-item-dialog span {
        font-size: 0.8rem;
    }
    
    .dropdown-site-liinks {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }
    
    .dropdown-site-liinks a {
        font-size: 0.8rem;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
        gap: 0.4rem;
    }
    
    .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .headings-section {
        padding: 1rem 0.5rem;
        margin: 0.5rem auto;
    }
    
    .headings-title {
        font-size: 1.4rem;
    }
    
    .headings-subtitle {
        font-size: 1rem;
    }
    
    .main-headings-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .editing-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .editing-btn i {
        font-size: 1rem;
    }
    
    .add-cuts-features {
        gap: 0.5rem;
    }
    
    .cuts-feature-item {
        padding: 0.5rem 0.8rem;
    }
    
    .cuts-feature-item i {
        font-size: 0.9rem;
    }
    
    .cuts-feature-item span {
        font-size: 0.8rem;
    }
    
    .upload-disclaimer {
        font-size: 0.8rem;
    }
    
    main {
        padding: 0 0.5rem;
    }
    
    .functionality-section {
        padding: 0.8rem;
    }
    
    .header-area h2 {
        font-size: 1.2rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        padding: 8px;
        gap: 8px;
    }
    
    .controls-section,
    .preview-section {
        padding: 10px;
    }
    
    .file-input-wrapper {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .video-preview {
        min-height: 180px;
        padding: 10px;
    }
    
    #videoPlayer,
    #modifiedVideoPlayer {
        max-height: 200px;
    }
    
    .video-info {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .cuts-section {
        padding: 15px;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .config-group label {
        font-size: 0.9rem;
    }
    
    .number-btn {
        padding: 6px 10px;
        min-width: 35px;
        font-size: 0.85rem;
    }
    
    .duration-display {
        font-size: 0.95rem;
    }
    
    .apply-cuts-btn {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
    
    .download-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .timeline-bar {
        height: 35px;
    }
    
    .cut-marker {
        font-size: 0.6rem;
    }
    
    .cuts-timeline {
        padding: 15px;
    }
    
    .modified-video-preview {
        padding: 15px;
    }
    
    .style-dialog .dialog-content {
        width: 98%;
        max-height: 80vh;
    }
    
    .dialog-header {
        padding: 15px;
    }
    
    .dialog-header h3 {
        font-size: 1.1rem;
    }
    
    .close-btn {
        font-size: 22px;
    }
    
    .dialog-body {
        padding: 12px;
    }
    
    .style-section h4 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .background-options,
    .count-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .bg-option,
    .count-option {
        padding: 8px;
    }
    
    .bg-preview {
        height: 50px;
    }
    
    .bg-option span,
    .count-option span {
        font-size: 0.8rem;
    }
    
    .count-preview {
        font-size: 30px;
        height: 50px;
    }
    
    .count-circular {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
    
    .text-input-group label {
        font-size: 0.9rem;
    }
    
    .text-input {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .logo-input-wrapper {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .dialog-footer {
        padding: 12px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .how-it-works-section {
        padding: 1rem 0.5rem;
    }
    
    .how-it-works-header h2 {
        font-size: 1.3rem;
    }
    
    .how-it-works-header p {
        font-size: 0.9rem;
    }
    
    .timeline::after {
        left: 31px;
    }

    .cuts-timeline-steps:nth-child(even) {
        left: 0;
    }
    
    .cuts-timeline-steps {
        width: 100%;
        padding-left: 55px;
        padding-right: 10px;
        margin-bottom: 1rem;
    }
    
    .add-cuts-info {
        padding: 12px;
    }
    
    .add-cuts-info h3 {
        font-size: 1.1rem;
    }
    
    .add-cuts-info p {
        font-size: 0.85rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .tools-section, .tips-section {
        padding: 0.8rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .more-tools-card,
    .tips-box {
        padding: 1rem;
    }
    
    .more-cards-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .more-tools-title,
    .tip-title {
        font-size: 1rem;
    }
    
    .tools-explanation,
    .tips-details {
        font-size: 0.85rem;
    }
    
    .video-cuts-privacy-section {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }
    
    .video-cuts-privacy-card {
        padding: 1.2rem 0.8rem;
    }
    
    .video-cuts-privacy-header h2 {
        font-size: 1.4rem;
    }
    
    .video-cuts-security-icon {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }
    
    .video-cuts-privacy-subtitle {
        font-size: 0.9rem;
    }
    
    .video-cuts-privacy-text {
        font-size: 0.95rem;
        padding: 1rem;
    }
    
    .video-cuts-privacy-feature {
        padding: 1.2rem;
    }
    
    .video-cuts-privacy-feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .video-cuts-privacy-feature h3 {
        font-size: 1rem;
    }
    
    .video-cuts-privacy-feature p {
        font-size: 0.85rem;
    }
    
    .video-cuts-security-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .video-cuts-processing-info {
        padding: 1rem;
    }
    
    .video-cuts-processing-content i {
        font-size: 1.8rem;
    }
    
    .video-cuts-processing-content h3 {
        font-size: 1.1rem;
    }
    
    .video-cuts-processing-content p {
        font-size: 0.85rem;
    }
    
    .editor-notice-section {
        padding: 0 0.5rem;
    }
    
    .editor-notice-card {
        padding: 0.8rem;
    }
    
    .notice-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .notice-text {
        font-size: 0.85rem;
    }
    
    footer {
        padding: 2rem 0.8rem 1rem;
        margin-top: 2.5rem;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-brand {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        gap: 8px;
    }
    
    .footer-logo h2 {
        font-size: 1.6rem;
    }
    
    .footer-logo i {
        font-size: 2rem;
    }
    
    .brand-tagline {
        font-size: 0.9rem;
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        padding-left: 0;
        border-bottom: 3px solid rgba(249, 116, 21, 0.3);
        padding-bottom: 0.6rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link i {
        font-size: 0.9rem;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
    }
    
    .footer-col ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-col ul li a {
        font-size: 0.85rem;
    }
    
    .footer-col ul li:hover {
        transform: translateX(0);
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .footer-col a:hover {
        transform: translateX(0);
    }
    
    .copyright-area {
        padding-top: 1.5rem;
        font-size: 0.75rem;
    }
    
    .copyright-area::before {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    .image-modal-close {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
        font-size: 18px;
    }
}

/* Extra Small Mobile (320px) */
@media (max-width: 359px) {
    header {
        padding: 0.4rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .more-tools-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .tools-dialog {
        width: 98vw !important;
        left: 50%;
        transform: translateX(-50%) scale(0.95);
    }
    
    .tools-dialog.show {
        transform: translateX(-50%) scale(1);
    }
    
    .tools-dialog-content {
        padding: 0.5rem;
    }
    
    .tools-dialog-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .tools-grid-dialog {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
    
    .tool-item-dialog {
        padding: 0.4rem;
        min-height: 40px;
    }
    
    .tool-item-dialog i {
        font-size: 0.8rem;
        width: 16px;
    }
    
    .tool-item-dialog span {
        font-size: 0.75rem;
    }
    
    .dropdown-site-liinks {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .dropdown-site-liinks a {
        font-size: 0.75rem;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
        gap: 0.3rem;
    }
    
    .btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .headings-section {
        padding: 0.8rem 0.4rem;
        margin: 0.4rem auto;
    }
    
    .headings-title {
        font-size: 1.2rem;
    }
    
    .headings-subtitle {
        font-size: 0.9rem;
    }
    
    .main-headings-description {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .editing-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .editing-btn i {
        font-size: 0.9rem;
    }
    
    .add-cuts-features {
        gap: 0.4rem;
    }
    
    .cuts-feature-item {
        padding: 0.4rem 0.6rem;
    }
    
    .cuts-feature-item i {
        font-size: 0.8rem;
    }
    
    .cuts-feature-item span {
        font-size: 0.75rem;
    }
    
    .upload-disclaimer {
        font-size: 0.75rem;
    }
    
    main {
        padding: 0 0.4rem;
    }
    
    .functionality-section {
        padding: 0.5rem;
    }
    
    .header-area h2 {
        font-size: 1.1rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        padding: 5px;
        gap: 5px;
    }
    
    .controls-section,
    .preview-section {
        padding: 8px;
    }
    
    .file-input-wrapper {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .video-preview {
        min-height: 150px;
        padding: 8px;
    }
    
    #videoPlayer,
    #modifiedVideoPlayer {
        max-height: 180px;
    }
    
    .video-info {
        padding: 8px;
        font-size: 0.8rem;
    }
    
    .cuts-section {
        padding: 12px;
    }
    
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .config-group label {
        font-size: 0.8rem;
    }
    
    .number-btn {
        padding: 5px 8px;
        min-width: 30px;
        font-size: 0.75rem;
    }
    
    .duration-display {
        font-size: 0.85rem;
    }
    
    .apply-cuts-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .download-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .timeline-bar {
        height: 30px;
    }
    
    .cut-marker {
        font-size: 0.5rem;
    }
    
    .cuts-timeline {
        padding: 10px;
    }
    
    .modified-video-preview {
        padding: 10px;
    }
    
    .style-dialog .dialog-content {
        width: 98%;
        max-height: 75vh;
    }
    
    .dialog-header {
        padding: 12px;
    }
    
    .dialog-header h3 {
        font-size: 1rem;
    }
    
    .close-btn {
        font-size: 20px;
    }
    
    .dialog-body {
        padding: 10px;
    }
    
    .style-section h4 {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .background-options,
    .count-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .bg-option,
    .count-option {
        padding: 6px;
    }
    
    .bg-preview {
        height: 40px;
    }
    
    .bg-option span,
    .count-option span {
        font-size: 0.7rem;
    }
    
    .count-preview {
        font-size: 24px;
        height: 40px;
    }
    
    .count-circular {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }
    
    .text-input-group label {
        font-size: 0.8rem;
    }
    
    .text-input {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .logo-input-wrapper {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .dialog-footer {
        padding: 10px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .how-it-works-section {
        padding: 0.8rem 0.4rem;
    }
    
    .how-it-works-header h2 {
        font-size: 1.2rem;
    }
    
    .how-it-works-header p {
        font-size: 0.8rem;
    }
    
    .timeline::after {
        left: 31px;
    }

    .cuts-timeline-steps:nth-child(even) {
        left: 0;
    }
    
    .cuts-timeline-steps {
        width: 100%;
        padding-left: 50px;
        padding-right: 8px;
        margin-bottom: 0.8rem;
    }
    
    .add-cuts-info {
        padding: 10px;
    }
    
    .add-cuts-info h3 {
        font-size: 1rem;
    }
    
    .add-cuts-info p {
        font-size: 0.8rem;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    
    .tools-section, .tips-section {
        padding: 0.5rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .more-tools-card,
    .tips-box {
        padding: 0.8rem;
    }
    
    .more-cards-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .more-tools-title,
    .tip-title {
        font-size: 0.95rem;
    }
    
    .tools-explanation,
    .tips-details {
        font-size: 0.8rem;
    }
    
    .video-cuts-privacy-section {
        padding: 1rem 0;
        margin: 1rem 0;
    }
    
    .video-cuts-privacy-card {
        padding: 1rem 0.5rem;
    }
    
    .video-cuts-privacy-header h2 {
        font-size: 1.2rem;
    }
    
    .video-cuts-security-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .video-cuts-privacy-subtitle {
        font-size: 0.85rem;
    }
    
    .video-cuts-privacy-text {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .video-cuts-privacy-feature {
        padding: 1rem;
    }
    
    .video-cuts-privacy-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .video-cuts-privacy-feature h3 {
        font-size: 0.95rem;
    }
    
    .video-cuts-privacy-feature p {
        font-size: 0.8rem;
    }
    
    .video-cuts-security-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .video-cuts-processing-info {
        padding: 0.8rem;
    }
    
    .video-cuts-processing-content i {
        font-size: 1.5rem;
    }
    
    .video-cuts-processing-content h3 {
        font-size: 1rem;
    }
    
    .video-cuts-processing-content p {
        font-size: 0.8rem;
    }
    
    .editor-notice-section {
        padding: 0 0.4rem;
    }
    
    .editor-notice-card {
        padding: 0.6rem;
    }
    
    .notice-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .notice-text {
        font-size: 0.8rem;
    }
    
    footer {
        padding: 1.5rem 0.5rem 0.8rem;
        margin-top: 2rem;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .footer-brand {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        gap: 6px;
    }
    
    .footer-logo h2 {
        font-size: 1.4rem;
    }
    
    .footer-logo i {
        font-size: 1.8rem;
    }
    
    .brand-tagline {
        font-size: 0.8rem;
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        padding-left: 0;
        border-bottom: 3px solid rgba(249, 116, 21, 0.3);
        padding-bottom: 0.5rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.4rem;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
    }
    
    .social-link i {
        font-size: 0.8rem;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
        height: 2px;
    }
    
    .footer-col ul li {
        margin-bottom: 0.4rem;
    }
    
    .footer-col ul li a {
        font-size: 0.75rem;
    }
    
    .footer-col ul li:hover {
        transform: translateX(0);
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .footer-col a:hover {
        transform: translateX(0);
    }
    
    .copyright-area {
        padding-top: 1rem;
        font-size: 0.7rem;
    }
    
    .copyright-area::before {
        font-size: 0.8rem;
        padding: 0 0.4rem;
    }
     .step-image img {
        max-width: 240px;
    }
    
    .timeline-area-steps {
        padding-left: 35px;
    }
    
    .timeline::after {
        left: 15px;
    }
    
    .timeline-area-steps::after {
        left: 6px;
        width: 16px;
        height: 16px;
    }
    
    .trimming-info {
        padding: 0.8rem;
    }
    
    .trimming-info h3 {
        font-size: 1rem;
    }
    
    .trimming-info p {
        font-size: 0.85rem;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
    .style-dialog .dialog-content {
        max-height: 85vh;
        top: 5%;
        transform: translate(-50%, 0);
    }
    
    .tools-dialog {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .dialog-body {
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .video-preview {
        min-height: 150px;
    }
    
    #videoPlayer,
    #modifiedVideoPlayer {
        max-height: 250px;
    }
    
    .footer-container {
        gap: 1.5rem;
    }
}

@media (orientation: landscape) and (max-width: 900px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .tools-grid,
    .cuts-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .user-actions,
    .more-tools-dropdown,
    .btn,
    .editing-btn,
    .file-input-wrapper,
    .apply-cuts-btn,
    .download-btn,
    .style-dialog,
    .video-preview,
    .loading,
    .cuts-preview {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .headings-title {
        -webkit-text-fill-color: black;
        background: none;
        color: black;
    }
    
    .headings-subtitle {
        color: #666;
    }
    
    .main-content,
    .controls-section,
    .preview-section {
        background: white;
        color: black;
        border: 1px solid #ddd;
    }
    
    * {
        color: black !important;
        background: white !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .section-title,
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        -webkit-text-fill-color: black;
    }
    
    a {
        text-decoration: underline;
        color: #0000ee !important;
    }
    
    .add-cuts-info,
    .tools-card,
    .tips-box {
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .file-input-wrapper:hover,
    .apply-cuts-btn:hover,
    .download-btn:hover,
    .more-tools-btn:hover,
    .tool-item-dialog:hover,
    .social-link:hover,
    .footer-col a:hover,
    .number-btn:hover,
    .bg-option:hover,
    .count-option:hover {
        transform: none;
    }
    
    .more-tools-btn {
        padding: 0.7rem 1.2rem;
    }
    
    .number-btn {
        padding: 12px 18px;
    }
    
    .footer-col ul li a {
        padding: 8px 0;
        display: inline-block;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .cut-marker {
        pointer-events: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #ff0000;
        --secondary: #ff0000;
        --light: #ffffff;
        --dark: #000000;
        --darker: #000000;
        --border: #ffffff;
    }
    
    .headings-title,
    .headings-subtitle {
        -webkit-text-fill-color: initial;
        background: none;
        color: #ffffff;
    }
    
    .btn,
    .file-input-wrapper,
    .apply-cuts-btn,
    .download-btn,
    .more-tools-btn {
        border: 2px solid white;
    }
    
    * {
        border-color: white !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ===== FIX FOR TIMELINE LAYOUT - Ensure proper spacing ===== */
@media (min-width: 992px) {
    .timeline {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* Ensure text doesn't overlap with images */
    .timeline-area-steps:nth-child(odd) .trimming-info {
        padding-right: 20px;
    }
    
    .timeline-area-steps:nth-child(even) .trimming-info {
        padding-left: 20px;
    }
}

/* ===== FALLBACK FOR BROWSERS THAT DON'T SUPPORT POSITIONING ===== */
@supports not (position: relative) {
    .step-image {
        position: relative;
        margin-top: 1rem;
        width: 100%;
    }
    
    .right-image,
    .left-image {
        left: auto;
        right: auto;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .step-image img:hover {
        transform: none;
    }
}

/* ===== REDUCED MOTION PREFERENCE ===== */
@media (prefers-reduced-motion: reduce) {
    .step-image img,
    .step-image img:hover {
        transition: none;
        transform: none;
    }
}