:root {
    --primary: #f97415;
    --primary-dark: #17203c;
    --secondary: #ff8533;
    --dark: #17203c;
    --darker: #0b101d;
    --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(--primary);
}

.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(--light);
    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(--light);
    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(--light);
    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(--light);
    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(--light);
}

.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;
}

.how-works-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

.how-works-btn: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), var(--secondary));
    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%, var(--secondary) 100%);
}

.editing-btn i {
    font-size: 1.5rem;
}

.merging-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.merging-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a2340;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(249, 116, 21, 0.3);
    transition: var(--transition);
}

.merging-feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.1);
}

.merging-feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.merging-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: #1a2340;
    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(--primary);
}

/* Layout adjustments for left and right sections */
.functionality-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.left-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.right-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.container {
    background: #1a2340;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    text-align: center;
    color: var(--light);
    margin-bottom: 1.5rem;
    font-size: 2.2em;
}

.preview-container {
    margin-bottom: 1rem;
    text-align: center;
    background: #1a2340;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-video {
    max-width: 100%;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #000;
    min-height: 300px;
}

.control-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0;
}

.control-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: var(--transition);
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.control-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
}

.audio-controls {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-audio {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-audio:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray);
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: var(--primary);
}

input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

.music-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(249, 116, 21, 0.1);
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    max-width: 300px;
}

.music-file-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-music-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.remove-music-btn:hover {
    background: var(--danger);
    color: white;
    transform: scale(1.1);
}

.upload-area {
    border: 3px dashed var(--primary);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin: 1rem 0;
    text-align: center;
    display: block;
    justify-content: center;
    align-items: center;
}

.upload-area:hover {
    border-color: var(--secondary);
    background: rgba(249, 116, 21, 0.1);
}

.upload-area.dragover {
    border-color: var(--secondary);
    background: rgba(249, 116, 21, 0.15);
}

.upload-container {
    width: 100%;
    height: auto;
    padding: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upload-icon {
    padding: 11px;
    border-radius: 25px;
    background-color: #fd8636;
    font-size: 1.1em;
    margin-bottom: 0.8rem;
    color: white;
    width: 200px;
    text-align: center;
}

.upload-text {
    font-size: 1.1em;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.upload-subtext {
    font-size: 0.85em;
    color: var(--gray);
}

#fileInput {
    display: none;
}

.timeline-container {
    margin-top: 1.5rem;
}

.timeline-header {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 1rem;
}

.timeline-list {
    max-height: 350px;
    overflow-y: auto;
}

.timeline-item {
    background: #1a2340;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.timeline-info {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.timeline-name {
    font-weight: 600;
    color: var(--light);
    margin-bottom: 0.3rem;
}

.timeline-size {
    font-size: 0.85em;
    color: var(--gray);
}

.timeline-controls {
    display: flex;
    gap: 0.8rem;
}

.timeline-thumbnails-container {
    width: 100%;
    overflow: hidden;
}

.timeline-thumbnails {
    display: flex;
    gap: 0;
    width: 100%;
    padding: 0;
}

.timeline-thumbnail {
    width: calc(100% / 7);
    height: 70px;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
    border: none;
    border-right: 1px solid var(--primary);
    background: #000;
}

.timeline-thumbnail:last-child {
    border-right: none;
}

.btn {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-remove {
    background: var(--danger);
    color: white;
}

.btn-remove:hover {
    background: #ee5a6f;
    transform: translateY(-2px);
}

.btn-move {
    background: var(--primary);
    color: white;
    padding: 0.6rem 0.8rem;
    font-size: 0.8em;
}

.btn-move:hover {
    background: var(--primary-dark);
}

.btn-export {
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1em;
    display: block;
    margin: 1.5rem auto;
}

.btn-export:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(249, 116, 21, 0.4);
}

.progress-container {
    display: none;
    margin: 1.5rem 0;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    color: var(--gray);
    padding: 1.5rem;
    font-style: italic;
}

.merging-indicator {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    margin: 0.8rem 0;
    font-size: 0.9em;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 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;
}

.merging-timeline-steps {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.merging-timeline-steps:nth-child(odd) {
    left: 0;
}

.merging-timeline-steps:nth-child(even) {
    left: 50%;
}

.merging-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;
}

.merging-timeline-steps:nth-child(odd)::after {
    right: -13px;
}

.merging-timeline-steps:nth-child(even)::after {
    left: -13px;
}

.merging-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);
}

.merging-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 116, 21, 0.3);
    border-color: var(--primary);
}

.merging-timeline-steps:nth-child(odd) .merging-info {
    text-align: right;
}

.merging-timeline-steps:nth-child(even) .merging-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;
}

.merging-timeline-steps:nth-child(odd) .step-number {
    float: right;
    margin-left: 15px;
}

.merging-timeline-steps:nth-child(even) .step-number {
    float: left;
    margin-right: 15px;
}

.merging-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--light);
}

.merging-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);
}

.about-merger-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-merger-container {
    max-width: 1300px;
    margin: 0 auto;
}

.about-merger-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-merger-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-merger-header h2 i {
    background: none;
    -webkit-text-fill-color: #f97415;
    margin-right: 12px;
}

.about-merger-subhead {
    color: #bbb;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-merger-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.about-merger-col {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.about-merger-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-merger-card:hover {
    border-color: rgba(249, 116, 21, 0.5);
    transform: translateY(-3px);
}

.about-merger-card .card-icon {
    font-size: 2.2rem;
    color: #f97415;
    margin-bottom: 18px;
}

.about-merger-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-merger-card p {
    color: #ddd;
    line-height: 1.65;
    font-size: 1rem;
    margin-bottom: 16px;
}

/* Timeline list styling */
.merger-timeline-list {
    margin-top: 8px;
}

.merger-timeline-item {
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 2px dashed #f97415;
}

.merger-timeline-year {
    display: inline-block;
    font-weight: bold;
    color: #f97415;
    background: rgba(249, 116, 21, 0.15);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.merger-timeline-item p {
    margin-bottom: 5px;
    margin-top: 5px;
}

/* Mechanism list */
.merger-mechanism-list {
    list-style: none;
    padding-left: 0;
    margin: 18px 0;
}

.merger-mechanism-list li {
    margin-bottom: 18px;
    padding-left: 24px;
    position: relative;
    line-height: 1.55;
    color: #ddd;
}

.merger-mechanism-list li strong {
    color: #f97415;
    font-weight: 600;
}

.merger-mechanism-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #f97415;
    font-size: 1rem;
}

/* Platform badges */
.merger-platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 10px;
}

.merger-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;
}

.merger-platform-badges span i {
    font-size: 1rem;
    color: #f97415;
}

.merger-platform-badges span:hover {
    background: rgba(249, 116, 21, 0.3);
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 900px) {
    .about-merger-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-merger-card h3 {
        font-size: 1.5rem;
    }

    .about-merger-header h2 {
        font-size: 1.9rem;
    }

    .about-merger-section {
        padding: 40px 16px;
    }
}

/* Additional CSS for new sections - UPDATED FOR VIDEO MERGER */
.tools-section,
.tips-section {
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    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(--light);
}

.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: #1a2340;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.more-tools-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    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(--primary);
}

.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(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.tool-link:hover {
    gap: 0.8rem;
}

.merging-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tips-box {
    background: #1a2340;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.tips-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.merging-counting {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    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(--primary);
    font-weight: 600;
}

/* Privacy & Security Section for Video Merger */
.video-merger-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-merger-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-merger-privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.video-merger-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-merger-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-merger-privacy-header {
    margin-bottom: 3rem;
    position: relative;
}

.video-merger-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(--light);
    position: relative;
    box-shadow: 0 20px 40px rgba(249, 116, 21, 0.4);
    animation: privacy-pulse 4s ease-in-out infinite;
}

.video-merger-privacy-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--light);
    position: relative;
    display: inline-block;
}

.video-merger-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-merger-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-merger-privacy-content {
    margin-bottom: 3rem;
}

.video-merger-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-merger-privacy-text::before {
    content: '🔒';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    padding: 0 1rem;
    font-size: 1.5rem;
}

.video-merger-privacy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.video-merger-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-merger-privacy-feature:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(249, 116, 21, 0.2);
}

.video-merger-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-merger-privacy-feature h3 {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 0.8rem;
    text-align: center;
}

.video-merger-privacy-feature p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.5;
}

.video-merger-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-merger-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-merger-processing-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.video-merger-processing-content i {
    font-size: 3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.video-merger-processing-content h3 {
    color: var(--light);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.video-merger-processing-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.6;
}

.video-merger-security-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.video-merger-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(--light);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.video-merger-security-badge:hover {
    background: rgba(249, 116, 21, 0.2);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.video-merger-security-badge i {
    color: var(--primary);
    font-size: 1.1rem;
}

.video-merger-timeline-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-merger-timeline-info h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-merger-timeline-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Pulse animation */
@keyframes privacy-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
   ============================================= */

.merger-notice-section {
    max-width: 1200px;
    margin: 1.5rem auto 1rem;
    padding: 0 1.5rem;
}

.merger-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;
}

.merger-notice-card:hover {
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.12);
    transform: translateY(-2px);
}

.merger-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(--light);
    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 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-around;
}

.footer-col:first-child {
    padding-right: 2rem;
}

.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:first-child p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* 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);
}

/* Links Sections */
.footer-links-section {
    display: flex;
    flex-direction: column;
}

.links-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.links-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

.links-grid {
    display: grid;
    gap: 0.8rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.footer-link:hover {
    color: var(--primary);
    background: rgba(249, 116, 21, 0.08);
    border-color: rgba(249, 116, 21, 0.2);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-link i {
    font-size: 1rem;
    width: 24px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer-link:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.footer-link span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* 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: #1a2340;
    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-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%;
}

/* Newsletter Section (Optional Addition) */
.newsletter-section {
    background: rgba(249, 116, 21, 0.05);
    border: 1px solid rgba(249, 116, 21, 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.newsletter-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(249, 116, 21, 0.3);
    border-radius: var(--radius);
    background: rgba(23, 32, 60, 0.5);
    color: var(--accent);
    font-size: 0.9rem;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(249, 116, 21, 0.1);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #ff8c42;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 116, 21, 0.4);
}

/* 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;
}

.copyright-area::before {
    content: '🎬';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    padding: 0 1rem;
    font-size: 1.2rem;
}

/* 1400px and above - Extra Large Desktop */
@media (min-width: 1400px) {
    
    .headings-title {
        font-size: 3.5rem;
    }

    .functionality-container {
        gap: 2.5rem;
    }

    .preview-container {
        padding: 2rem;
    }

    .preview-video {
        min-height: 350px;
    }

    .timeline-list {
        max-height: 400px;
    }

    .footer-brand {
        max-width: 450px;
    }
    .step-image {
        width: 35%;
    }
    
    .right-image {
        left: calc(100% + 40px);
    }
    
    .left-image {
        right: calc(100% + 40px);
    }
    
    .step-image img {
        max-width: 450px;
    }
}

@media (min-width: 1200px) and (max-width: 1440px) {
    .step-image {
        width: 38%;
    }
    
    .right-image {
        left: calc(100% + 20px);
    }
    
    .left-image {
        right: calc(100% + 20px);
    }
    
    .step-image img {
        max-width: 320px;
    }
}

/* 1200px to 1399px - Desktop */
@media (max-width: 1200px) {
    .footer-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer-brand {
        flex: 1 1 100%;
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }

    .brand-tagline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        border-top: 3px solid rgba(249, 116, 21, 0.3);
        padding-left: 0;
        padding-top: 1rem;
    }

    .footer-col {
        flex: 1 1 calc(50% - 2rem);
        min-width: 200px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .headings-title {
        font-size: 3rem;
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .merging-tips-grid {
        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;
    }
}

/* 1024px to 1199px - Small Desktop / Large Tablet */
@media (max-width: 1024px) {
    .functionality-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .left-section,
    .right-section {
        max-width: 100%;
    }

    .preview-container {
        max-width: 800px;
        margin: 0 auto;
    }

    .timeline-list {
        max-height: 400px;
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .merging-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-merger-privacy-card {
        padding: 3rem 2rem;
    }

    .video-merger-privacy-header h2 {
        font-size: 2.4rem;
    }

    .video-merger-security-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
}

/* 992px to 1023px - Tablet Landscape */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo {
        order: 1;
        flex: 1;
    }

    .page-title-section {
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
        justify-content: center;
    }

    .user-actions {
        order: 2;
    }

    .tools-grid-dialog {
        grid-template-columns: repeat(2, 1fr);
    }

    .tools-dialog {
        width: 90vw !important;
        max-width: 700px;
    }

    .headings-title {
        font-size: 2.5rem;
    }

    .headings-subtitle {
        font-size: 1.5rem;
    }

    .main-headings-description {
        font-size: 1.1rem;
    }

    .editing-btn {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
    }

    .merging-features {
        gap: 1rem;
    }

    .preview-video {
        min-height: 300px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .merging-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-merger-privacy-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-merger-security-badges {
        flex-wrap: wrap;
    }

    .footer-container {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .footer-brand {
        flex: 1 1 100%;
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-col {
        flex: 1 1 calc(50% - 2rem);
        min-width: 200px;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li::before {
        display: none;
    }

    .footer-col ul li:hover {
        padding-left: 0;
        transform: translateY(-2px);
    }

    .footer-col a:hover {
        transform: translateX(0) translateY(-2px);
    }
    .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;
    }
}

/* 768px to 991px - Tablet Portrait */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
    }

    .logo {
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .page-title-section {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        width: 100%;
    }

    .user-actions {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .tools-dialog {
        width: 95vw !important;
        max-width: none;
        left: 50%;
        transform: translateX(-50%) scale(0.95);
    }

    .tools-dialog.show {
        transform: translateX(-50%) scale(1);
    }

    .tools-dialog-content {
        padding: 1.5rem;
    }

    .tools-grid-dialog {
        grid-template-columns: 1fr;
    }

    .dropdown-site-liinks {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .headings-section {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto;
    }

    .headings-title {
        font-size: 2rem;
    }

    .headings-subtitle {
        font-size: 1.3rem;
    }

    .main-headings-description {
        font-size: 1rem;
    }

    .merging-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .merging-feature-item {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }

    .editing-btn {
        padding: 0.9rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 350px;
    }

    .functionality-section {
        padding: 1.5rem;
    }

    .header-area {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .header-area h2 {
        font-size: 1.5rem;
    }

    .control-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .control-btn {
        flex: 1;
        min-width: 80px;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .audio-controls {
        gap: 0.8rem;
    }

    .btn-audio {
        width: 100%;
        justify-content: center;
    }

    .toggle-container {
        width: 100%;
        justify-content: center;
    }

    .music-file-info {
        max-width: 100%;
        width: 100%;
    }

    .timeline-item-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .timeline-info {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .timeline-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .timeline-thumbnail {
        height: 50px;
    }

    /* Timeline responsive for How It Works */
    .timeline::after {
        left: 31px;
    }

    .merging-timeline-steps {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        left: 0 !important;
    }

    .merging-timeline-steps:nth-child(even) {
        left: 0;
    }

    .merging-timeline-steps::after {
        left: 18px;
        right: auto;
    }

    .merging-timeline-steps:nth-child(odd) .merging-info,
    .merging-timeline-steps:nth-child(even) .merging-info {
        text-align: left;
    }

    .merging-timeline-steps:nth-child(odd) .step-number,
    .merging-timeline-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 15px;
        margin-left: 0;
    }

    .how-it-works-section {
        padding: 2rem 1rem;
    }

    .how-it-works-header h2 {
        font-size: 1.8rem;
    }

    .merging-info {
        padding: 1rem;
    }

    .merging-info h3 {
        font-size: 1.2rem;
    }

    .tools-grid,
    .merging-tips-grid {
        grid-template-columns: 1fr;
    }

    .more-tools-card,
    .tips-box {
        max-width: 100%;
    }

    .video-merger-privacy-section {
        padding: 3rem 0;
    }

    .video-merger-privacy-card {
        padding: 2.5rem 1.5rem;
    }

    .video-merger-privacy-header h2 {
        font-size: 2rem;
    }

    .video-merger-security-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .video-merger-privacy-text {
        font-size: 1.1rem;
        padding: 1.2rem;
    }

    .video-merger-privacy-features {
        grid-template-columns: 1fr;
    }

    .video-merger-processing-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .video-merger-security-badges {
        flex-direction: column;
        align-items: center;
    }

    .video-merger-security-badge {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .merger-notice-card {
        padding: 1rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .notice-icon {
        margin: 0 auto;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .brand-tagline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        border-top: 3px solid rgba(249, 116, 21, 0.3);
        padding-left: 0;
        padding-top: 1rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li::before {
        display: none;
    }

    .footer-col ul li:hover {
        padding-left: 0;
        transform: translateY(-2px);
    }

    .footer-col a:hover {
        transform: translateX(0) translateY(-2px);
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 400px;
        margin: 0 auto;
    }

    .newsletter-btn {
        width: 100%;
    }
    .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;
    }
    .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;
    }
}

/* 600px to 767px - Small Tablet / Large Mobile */
@media (max-width: 600px) {
    .user-actions {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .more-tools-btn {
        width: 100%;
        justify-content: center;
    }

    .more-tools-dropdown {
        width: 100%;
    }

    .tools-dialog {
        width: 100vw !important;
        left: 0;
        transform: scale(0.95);
        top: calc(100% + 5px);
    }

    .tools-dialog.show {
        transform: scale(1);
    }

    .headings-section {
        padding: 1.5rem 1rem;
    }

    .headings-title {
        font-size: 1.8rem;
    }

    .headings-subtitle {
        font-size: 1.2rem;
    }

    .main-headings-description {
        font-size: 0.95rem;
    }

    .editing-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .merging-feature-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .preview-container {
        padding: 1rem;
    }

    .preview-video {
        min-height: 250px;
    }

    .control-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .timeline-name {
        font-size: 0.9rem;
    }

    .timeline-size {
        font-size: 0.8rem;
    }

    .btn-move,
    .btn-remove {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .timeline-thumbnail {
        height: 40px;
    }

    .btn-export {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .video-merger-privacy-header h2 {
        font-size: 1.8rem;
    }

    .video-merger-privacy-subtitle {
        font-size: 1rem;
    }

    .video-merger-privacy-text {
        font-size: 1rem;
        padding: 1rem;
    }

    .video-merger-privacy-feature {
        padding: 1.5rem;
    }

    .video-merger-privacy-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .video-merger-processing-info {
        padding: 1.5rem;
    }

    .notice-text {
        font-size: 0.9rem;
    }

    .footer-logo i {
        font-size: 2.2rem;
    }

    .footer-logo h2 {
        font-size: 1.8rem;
    }

    .brand-tagline {
        font-size: 0.95rem;
    }

    .footer-col h3 {
        font-size: 1.2rem;
    }

    .footer-col a {
        font-size: 0.9rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link i {
        font-size: 1rem;
    }

    .copyright-area {
        font-size: 0.8rem;
        padding-top: 2rem;
    }

    .copyright-area::before {
        top: -10px;
        font-size: 1rem;
    }
    .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;
    }
}

/* 480px to 599px - Mobile */
@media (max-width: 480px) {
    header {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .more-tools-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .headings-section {
        padding: 1.2rem 0.8rem;
        margin: 1rem auto;
    }

    .headings-title {
        font-size: 1.5rem;
    }

    .headings-subtitle {
        font-size: 1.1rem;
    }

    .main-headings-description {
        font-size: 0.9rem;
    }

    .editing-btn {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
    }

    .editing-btn i {
        font-size: 1.2rem;
    }

    .merging-feature-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        gap: 5px;
    }

    .merging-feature-item i {
        font-size: 1rem;
    }

    main {
        padding: 0 1rem;
    }

    .functionality-section {
        padding: 1rem;
    }

    .header-area h2 {
        font-size: 1.3rem;
    }

    .how-works-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .container {
        padding: 1rem;
    }

    .upload-area {
        padding: 1.5rem 1rem;
    }

    .upload-icon {
        width: 160px;
        padding: 8px;
        font-size: 1rem;
    }

    .upload-text {
        font-size: 0.95rem;
    }

    .upload-subtext {
        font-size: 0.8rem;
    }

    .preview-video {
        min-height: 200px;
    }

    .control-buttons {
        gap: 0.3rem;
    }

    .control-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }

    .btn-audio {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .toggle-container {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .toggle-switch {
        width: 40px;
        height: 20px;
    }

    .toggle-slider:before {
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
    }

    input:checked+.toggle-slider:before {
        transform: translateX(20px);
    }

    .music-file-info {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .timeline-header {
        font-size: 1.1rem;
    }

    .timeline-item {
        padding: 0.8rem;
    }

    .timeline-name {
        font-size: 0.85rem;
    }

    .timeline-size {
        font-size: 0.75rem;
    }

    .timeline-thumbnail {
        height: 35px;
    }

    .btn-export {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
        margin: 1rem auto;
    }

    .progress-bar {
        height: 25px;
    }

    .progress-fill {
        font-size: 0.8rem;
    }

    .tools-section,
    .tips-section {
        padding: 1.5rem 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .more-tools-card {
        padding: 1.2rem;
    }

    .more-cards-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .more-tools-title {
        font-size: 1.1rem;
    }

    .tools-explanation {
        font-size: 0.9rem;
    }

    .tips-box {
        padding: 1.2rem;
    }

    .merging-counting {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .tip-title {
        font-size: 1rem;
    }

    .tips-details {
        font-size: 0.9rem;
    }

    .video-merger-privacy-card {
        padding: 2rem 1rem;
    }

    .video-merger-privacy-header h2 {
        font-size: 1.6rem;
    }

    .video-merger-security-icon {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }

    .video-merger-privacy-text {
        font-size: 0.95rem;
        padding: 0.8rem;
    }

    .video-merger-privacy-feature {
        padding: 1.2rem;
    }

    .video-merger-privacy-feature h3 {
        font-size: 1.1rem;
    }

    .video-merger-privacy-feature p {
        font-size: 0.9rem;
    }

    .video-merger-processing-content i {
        font-size: 2.5rem;
    }

    .video-merger-processing-content h3 {
        font-size: 1.2rem;
    }

    .video-merger-processing-content p {
        font-size: 0.9rem;
    }

    .video-merger-security-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .video-merger-timeline-info h4 {
        font-size: 1rem;
    }

    .video-merger-timeline-info p {
        font-size: 0.85rem;
    }

    .merger-notice-card {
        padding: 0.8rem;
    }

    .notice-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .notice-text {
        font-size: 0.85rem;
    }

    footer {
        padding: 2.5rem 1rem 1.5rem;
        margin-top: 4rem;
    }

    .footer-logo i {
        font-size: 2rem;
    }

    .footer-logo h2 {
        font-size: 1.6rem;
    }

    .brand-tagline {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link i {
        font-size: 0.9rem;
    }

    .footer-col {
        min-width: 100%;
    }

    .footer-col h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-col ul li {
        margin-bottom: 0.6rem;
    }

    .footer-col a {
        font-size: 0.85rem;
    }

    .newsletter-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .newsletter-section h4 {
        font-size: 1rem;
    }

    .newsletter-input {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .newsletter-btn {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .copyright-area {
        font-size: 0.75rem;
        padding-top: 1.5rem;
        margin-top: 2rem;
    }

    .copyright-area::before {
        font-size: 0.9rem;
        top: -9px;
    }
    .image-modal-close {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
        font-size: 18px;
    }
}

/* 360px to 479px - Small Mobile */
@media (max-width: 360px) {
    .headings-title {
        font-size: 1.3rem;
    }

    .headings-subtitle {
        font-size: 1rem;
    }

    .main-headings-description {
        font-size: 0.85rem;
    }

    .editing-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .merging-feature-item {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .preview-video {
        min-height: 180px;
    }

    .control-btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
    }

    .btn-audio {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .toggle-container {
        font-size: 0.8rem;
    }

    .timeline-thumbnail {
        height: 30px;
    }

    .btn-export {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .more-tools-card {
        padding: 1rem;
    }

    .more-cards-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .more-tools-title {
        font-size: 1rem;
    }

    .tools-explanation {
        font-size: 0.85rem;
    }

    .tips-box {
        padding: 1rem;
    }

    .tip-title {
        font-size: 0.95rem;
    }

    .tips-details {
        font-size: 0.85rem;
    }

    .video-merger-privacy-header h2 {
        font-size: 1.4rem;
    }

    .video-merger-security-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .video-merger-privacy-subtitle {
        font-size: 0.9rem;
    }

    .video-merger-privacy-text {
        font-size: 0.9rem;
    }

    .footer-logo i {
        font-size: 1.8rem;
    }

    .footer-logo h2 {
        font-size: 1.4rem;
    }

    .brand-tagline {
        font-size: 0.85rem;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }

    .footer-col h3 {
        font-size: 1rem;
    }

    .footer-col a {
        font-size: 0.8rem;
    }
     .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;
    }
}

/* 320px and below - Extra Small Mobile */
@media (max-width: 320px) {
    .headings-title {
        font-size: 1.2rem;
    }

    .headings-subtitle {
        font-size: 0.95rem;
    }

    .main-headings-description {
        font-size: 0.8rem;
    }

    .editing-btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .editing-btn i {
        font-size: 1rem;
    }

    .merging-feature-item {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }

    .preview-video {
        min-height: 160px;
    }

    .control-btn {
        padding: 0.3rem 0.4rem;
        font-size: 0.7rem;
    }

    .btn-audio {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .toggle-container {
        font-size: 0.75rem;
        padding: 0.5rem;
    }

    .timeline-thumbnail {
        height: 25px;
    }

    .btn-export {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .more-tools-card {
        padding: 0.8rem;
    }

    .more-cards-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .more-tools-title {
        font-size: 0.9rem;
    }

    .tools-explanation {
        font-size: 0.8rem;
    }

    .tips-box {
        padding: 0.8rem;
    }

    .merging-counting {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .tip-title {
        font-size: 0.9rem;
    }

    .tips-details {
        font-size: 0.8rem;
    }

    .footer-logo i {
        font-size: 1.6rem;
    }

    .footer-logo h2 {
        font-size: 1.2rem;
    }

    .brand-tagline {
        font-size: 0.8rem;
    }

    .social-link {
        width: 28px;
        height: 28px;
    }

    .social-link i {
        font-size: 0.8rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        padding: 0.5rem 1rem;
    }

    .headings-section {
        padding: 1rem;
        margin: 1rem auto;
    }

    .headings-title {
        font-size: 1.5rem;
    }

    .editing-btn {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    .functionality-section {
        padding: 1rem;
    }

    .preview-video {
        min-height: 200px;
    }

    .left-section,
    .right-section {
        max-height: 400px;
        overflow-y: auto;
    }

    .timeline-list {
        max-height: 250px;
    }

    .tools-dialog {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Print Styles */
@media print {

    header,
    footer,
    .user-actions,
    .more-tools-dropdown,
    .editing-btn,
    .btn,
    .control-buttons,
    .audio-controls,
    .btn-export,
    .progress-container,
    .merging-indicator {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .headings-title {
        -webkit-text-fill-color: black;
        background: none;
        color: black;
    }

    .functionality-section,
    .how-it-works-section,
    .tools-section,
    .tips-section,
    .video-merger-privacy-section {
        break-inside: avoid;
        border: 1px solid #ddd;
        background: white;
        color: black;
    }
}

/* High Resolution / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .headings-title {
        text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
    }

    .editing-btn,
    .btn-export {
        border-width: 2px;
    }
}

/* Dark Mode Support (if user prefers dark) */
@media (prefers-color-scheme: dark) {
    :root {
        --darker: #0a0e1a;
        --dark: #1a2340;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #ff0000;
        --light: #000000;
        --dark: #ffffff;
        --border: #000000;
    }

    .btn,
    .editing-btn,
    .tool-item-dialog,
    .more-tools-card,
    .tips-box {
        border: 2px solid currentColor;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    .btn:hover,
    .tool-item-dialog:hover,
    .more-tools-card:hover,
    .tips-box:hover,
    .merging-info:hover,
    .video-merger-privacy-card:hover,
    .video-merger-privacy-feature:hover,
    .social-link:hover,
    .footer-col a:hover {
        transform: none;
    }

    .btn,
    .control-btn,
    .btn-audio,
    .btn-remove,
    .btn-move,
    .social-link {
        min-height: 44px;
        min-width: 44px;
    }

    input[type=range]::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }
}

/* Animation for 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;
    }
}