:root {
    --primary: #f97415;
    --secondary: #17203c;
    --accent: #ffffff;
    --dark-bg: #0a0e1a;
    --card-bg: rgba(23, 32, 60, 0.6);
    --border: rgba(249, 116, 21, 0.2);
    --shadow: 0 8px 32px rgba(249, 116, 21, 0.15);
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --gray: #6c757d;
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary) 100%);
    color: var(--accent);
    min-height: 100vh;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: rgba(23, 32, 60, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.2rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border);
}

.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: var(--accent);
    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(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.page-title i {
    color: var(--primary);
}

/* More Tools Dropdown */
.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;
    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;
}

.tools-dialog.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.tools-dialog-content {
    padding: 2rem;
    width: 100%;
}

.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(--secondary);
    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;
}

.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%;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

nav a:hover {
    background: rgba(249, 116, 21, 0.1);
    color: var(--primary);
}

nav a.active {
    background: var(--primary);
    color: var(--secondary);
}

.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: var(--primary);
    color: white;
}

.how-works-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--secondary);
}

/* H1 Hero Section Styles */
.headings-section {
    backdrop-filter: blur(10px);
    border-radius: 16px;
    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(--accent);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--accent) 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: var(--primary);
    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;
}

.upload-disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

.reel-building-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.building-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 var(--border);
    transition: var(--transition);
}

.building-feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.1);
}

.building-feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.building-feature-item span {
    color: var(--accent);
    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: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border);
}

.header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.header-area h2 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.header-area h2 i {
    color: var(--primary);
}

/* Video Reel Builder Styling */
.reel-builder-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.reel-preview {
    background: rgba(23, 32, 60, 0.3);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--border);
}

.reel-display {
    width: 100%;
    height: 533px;
    background: var(--secondary);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid var(--border);
}

.video-slot {
    position: absolute;
    width: 100%;
    height: 25%;
    background: rgba(23, 32, 60, 0.8);
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-slot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-1 {
    top: 15%;
}

.slot-2 {
    top: 40%;
}

.slot-3 {
    top: 65%;
}

.video-slot.filled {
    border: 2px solid var(--primary);
    background: transparent;
}

.empty-space {
    position: absolute;
    width: 100%;
    background: var(--secondary);
}

.top-space {
    top: 0;
    height: 15%;
}

.bottom-space {
    bottom: 0;
    height: 10%;
}

.reel-controls {
    background: rgba(23, 32, 60, 0.5);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.file-input-wrapper {
    border: 3px dashed rgba(249, 116, 21, 0.5);
    border-radius: 15px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.file-input-wrapper:hover {
    border-color: #f97415;
    background: rgba(249, 116, 21, 0.05);
}

.file-input-wrapper.dragover {
    border-color: #f97415;
    background: rgba(249, 116, 21, 0.15);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    display: block;
    justify-content: center;
    align-items: center;

}

.upload-container {
    position: relative;
    width: 100%;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-input-button {
    display: block;
    align-items: flex-end;
    background: var(--primary);
    color: white;
    padding: 12px 10px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    width: 50%;
}

.file-input-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 116, 21, 0.3);
}

.video-counter {
    margin: 20px 0;
    text-align: center;
    font-size: 16px;
    color: var(--accent);
    font-weight: bold;
}

.video-list {
    background: rgba(23, 32, 60, 0.5);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border);
}

.video-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.video-name {
    flex: 1;
    margin-right: 10px;
    color: var(--accent);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-btn {
    background: var(--danger);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #c82333;
    transform: scale(1.05);
}

.text-input-section {
    margin-top: 20px;
    padding: 15px;
    background: rgba(23, 32, 60, 0.5);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.text-input-group {
    margin-bottom: 15px;
}

.text-input-group:last-child {
    margin-bottom: 0;
}

.text-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--accent);
    font-size: 14px;
}

.text-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: rgba(23, 32, 60, 0.3);
    color: var(--accent);
    transition: all 0.3s ease;
}

.text-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 116, 21, 0.1);
}

.text-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.text-input:hover {
    border-color: var(--primary);
}

.generate-section {
    margin-top: 30px;
}

.generate-btn {
    width: 100%;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.generate-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
    opacity: 0.6;
}

.generate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.playback-section {
    margin-top: 30px;
    text-align: center;
}

.playback-container {
    width: 100%;
    height: 350px;
    background: var(--secondary);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin: 0 auto 15px;
    display: none;
    border: 2px solid var(--border);
}

.playback-video-slot {
    position: absolute;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(23, 32, 60, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-weight: 500;
    border: 1px solid var(--border);
}

.playback-video-slot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playback-video-slot.currently-playing {
    border: 3px solid var(--primary);
    z-index: 10;
    box-shadow: 0 0 20px rgba(249, 116, 21, 0.5);
}

.play-btn {
    width: 100%;
    padding: 15px 25px;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
    display: none;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 116, 21, 0.3);
}

.progress-container {
    width: 100%;
    margin-top: 10px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: rgba(23, 32, 60, 0.5);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
    border: 1px solid var(--border);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #ff8c42 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-percentage {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fa-spinner {
    font-size: 14px;
}

.download-section {
    text-align: center;
    margin-top: 15px;
}

.download-btn {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 116, 21, 0.4);
}

.download-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.loading {
    display: none;
    text-align: center;
    color: var(--primary);
    font-style: italic;
    margin-top: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-slot.filled {
    animation: slideIn 0.5s ease;
}

/* 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(--accent);
    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;
}

.reels-timeline-steps {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.reels-timeline-steps:nth-child(odd) {
    left: 0;
}

.reels-timeline-steps:nth-child(even) {
    left: 50%;
}

.reels-timeline-steps::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: var(--primary);
    border: 4px solid var(--secondary);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.reels-timeline-steps:nth-child(odd)::after {
    right: -13px;
}

.reels-timeline-steps:nth-child(even)::after {
    left: -13px;
}

.reels-building-info {
    padding: 20px 30px;
    background: rgba(23, 32, 60, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.reels-building-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.reels-timeline-steps:nth-child(odd) .reels-building-info {
    text-align: right;
}

.reels-timeline-steps:nth-child(even) .reels-building-info {
    text-align: left;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.reels-timeline-steps:nth-child(odd) .step-number {
    float: right;
    margin-left: 15px;
}

.reels-timeline-steps:nth-child(even) .step-number {
    float: left;
    margin-right: 15px;
}

.reels-building-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.reels-building-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);
}

/* Updated CSS for Other Functionality Sections (e.g., Multi-Reel Guide) 
   Now matches the dark theme of Shorts Creator section */

.multi-reel-guide-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);
}

.guide-container {
    max-width: 1300px;
    margin: 0 auto;
}

.guide-header {
    text-align: center;
    margin-bottom: 50px;
}

.guide-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;
    font-weight: 700;
}

.guide-header h2 i {
    background: none;
    -webkit-text-fill-color: #f97415;
    margin-right: 12px;
}

.guide-subhead {
    font-size: 1.1rem;
    color: #bbb;
    max-width: 800px;
    margin: 0 auto;
}

.guide-card {
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    padding: 28px 35px;
    margin-bottom: 35px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.guide-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 116, 21, 0.5);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.guide-card h3 {
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
    border-left: 4px solid #f97415;
    padding-left: 16px;
}

.guide-card h3 i {
    font-size: 1.7rem;
    color: #f97415;
}

.guide-card p {
    font-size: 1rem;
    line-height: 1.65;
    color: #ddd;
    margin-bottom: 18px;
}

/* Use Cases Grid */
.usecases-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 15px;
}

.usecase-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 14px 18px;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 14px;
    transition: background 0.2s, border-color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.usecase-item:hover {
    background: rgba(249, 116, 21, 0.1);
    border-color: rgba(249, 116, 21, 0.3);
}

.usecase-item i {
    font-size: 1.8rem;
    color: #f97415;
    min-width: 45px;
    text-align: center;
    margin-top: 3px;
}

.usecase-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.05rem;
    color: #f0f0f0;
}

.usecase-item p {
    margin-bottom: 0;
    color: #bbb;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 20px 0;
}

.process-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.step-number {
    min-width: 45px;
    height: 45px;
    background: #f97415;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: 0 2px 8px rgba(249, 116, 21, 0.3);
}

.step-text strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
    color: #f0f0f0;
}

.step-text p {
    margin-bottom: 0;
    color: #bbb;
}

.simple-explanation {
    background: rgba(249, 116, 21, 0.1);
    border: 1px solid rgba(249, 116, 21, 0.3);
    padding: 18px 22px;
    border-radius: 16px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 20px;
}

.simple-explanation i {
    font-size: 2rem;
    color: #f97415;
}

.simple-explanation p {
    margin-bottom: 0;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 15px;
}

.comparison-box {
    background: rgba(30, 30, 40, 0.6);
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s, border-color 0.2s;
}

.comparison-box:hover {
    border-color: rgba(249, 116, 21, 0.3);
    transform: translateY(-2px);
}

.comparison-icon {
    text-align: center;
    margin-bottom: 15px;
}

.comparison-icon i {
    font-size: 2.2rem;
    color: #f97415;
}

.comparison-box h4 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #fff;
}

.comparison-box p {
    margin-bottom: 0;
    text-align: center;
    color: #bbb;
}

.comparison-note {
    background: rgba(249, 116, 21, 0.1);
    border-left: 3px solid #f97415;
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-style: italic;
    color: #ddd;
}

/* Tips List */
.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li::before {
    content: "💡";
    color: #f97415;
    font-size: 1.1rem;
}

/* Ideas Grid */
.ideas-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.idea-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 18px;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 14px;
    transition: background 0.2s, border-color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.idea-item:hover {
    background: rgba(249, 116, 21, 0.1);
    border-color: rgba(249, 116, 21, 0.3);
}

.idea-item i {
    font-size: 1.5rem;
    color: #f97415;
    min-width: 45px;
    text-align: center;
    margin-top: 3px;
}

.idea-item strong {
    display: block;
    margin-bottom: 5px;
    color: #f0f0f0;
}

.idea-item p {
    margin-bottom: 0;
    color: #bbb;
}

/* Closing Card */
.guide-closing {
    text-align: center;
    background: rgba(20, 20, 30, 0.7);
    border: 1px solid rgba(249, 116, 21, 0.3);
}

.guide-closing i {
    font-size: 2.8rem;
    color: #f97415;
    margin-bottom: 18px;
    display: inline-block;
}

.guide-closing p {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .guide-card {
        padding: 20px;
    }

    .guide-card h3 {
        font-size: 1.5rem;
    }

    .guide-header h2 {
        font-size: 1.9rem;
    }

    .process-step {
        flex-direction: column;
    }

    .step-number {
        align-self: flex-start;
    }

    .simple-explanation {
        flex-direction: column;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .usecase-item {
        flex-direction: column;
        text-align: center;
    }

    .usecase-item i {
        align-self: center;
    }

    .idea-item {
        flex-direction: column;
        text-align: center;
    }

    .idea-item i {
        align-self: center;
    }

    .tips-list li {
        flex-direction: column;
        gap: 5px;
    }
}

.guide-link{
    text-decoration: none;
    font-weight: 600;
    color: var(--primary);
}

/* Additional CSS for new sections */
.tools-section,
.tips-section {
    backdrop-filter: blur(10px);
    border-radius: 16px;
    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;
    text-align: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.more-tools-card {
    background: rgba(23, 32, 60, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    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(--accent);
}

.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;
}

.reels-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tips-box {
    background: rgba(23, 32, 60, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);

}

.tips-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.reel-tips-counting {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--secondary);
    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(--accent);
}

.tips-details {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

.tools-grid,
.reels-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 Multi-Reel Builder */
.reel-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;
}

.reel-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;
}

.reel-privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.reel-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);
}

.reel-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);
}

.reel-privacy-header {
    margin-bottom: 3rem;
    position: relative;
}

.reel-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;
}

.reel-privacy-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.reel-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;
}

.reel-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;
}

.reel-privacy-content {
    margin-bottom: 3rem;
}

.reel-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;
}

.reel-privacy-text::before {
    content: '🎬';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    padding: 0 1rem;
    font-size: 1.5rem;
}

.reel-privacy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.reel-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;
}

.reel-privacy-feature:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(249, 116, 21, 0.2);
}

.reel-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);
}

.reel-privacy-feature h3 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    text-align: center;
}

.reel-privacy-feature p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.5;
}

.reel-multi-video-security {
    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;
}

.reel-multi-video-security::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;
}

.reel-multi-video-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.reel-multi-video-content i {
    font-size: 3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.reel-multi-video-content h3 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.reel-multi-video-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.6;
}

.reel-security-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.reel-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;
}

.reel-security-badge:hover {
    background: rgba(249, 116, 21, 0.2);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.reel-security-badge i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* =============================================
   COPYRIGHT NOTICE SECTION - SIMPLE & CLEAN
   ============================================= */

.reel-notice-section {
    max-width: 1200px;
    margin: 1.5rem auto 1rem;
    padding: 0 1.5rem;
}

.reel-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;
}

.reel-notice-card:hover {
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.12);
    transform: translateY(-2px);
}

.reel-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;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(249, 116, 21, 0.3));
}

.footer-logo h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    margin: 0;
}

.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);
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

.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%;
}

/* 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;
}

/* 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-bg);
    padding: 0 1rem;
    font-size: 1.2rem;
}

/* Extra Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    .header-container,
    main,
    .footer-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .headings-title {
        font-size: 3.5rem;
    }
    
    .headings-subtitle {
        font-size: 2rem;
    }
    
    .reel-display {
        height: 600px;
    }
    
    .playback-container {
        height: 400px;
    }
    .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) {
    .headings-title {
        font-size: 3rem;
    }
    
    .headings-subtitle {
        font-size: 1.7rem;
    }
    
    .reel-display {
        height: 500px;
    }
    
    .footer-container {
        gap: 2.5rem;
    }
    .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 {
        padding: 1rem 1.5rem;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .headings-section {
        padding: 2.5rem 1.5rem;
    }
    
    .headings-title {
        font-size: 2.8rem;
    }
    
    .headings-subtitle {
        font-size: 1.6rem;
    }
    
    .reel-builder-container {
        gap: 1.5rem;
    }
    
    .reel-display {
        height: 450px;
    }
    
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
    }
    
    .tools-grid-dialog {
        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;
    }
}

/* Tablet Landscape (992px - 1023px) */
@media (max-width: 1023px) and (min-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    .logo {
        order: 1;
        font-size: 1.5rem;
    }
    
    .page-title-section {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    
    .user-actions {
        order: 2;
    }
    
    .more-tools-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .headings-section {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto 2.5rem;
    }
    
    .headings-title {
        font-size: 2.5rem;
    }
    
    .headings-subtitle {
        font-size: 1.4rem;
    }
    
    .main-headings-description {
        font-size: 1rem;
    }
    
    .reel-builder-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reel-display {
        height: 400px;
    }
    
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
    }
    
    .tools-grid-dialog {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-dialog {
        width: 90vw;
        max-width: 700px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .page-title-section {
        width: 100%;
        justify-content: center;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
    }
    
    .more-tools-btn {
        padding: 0.5rem 1rem;
    }
    
    .headings-section {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto 2rem;
    }
    
    .headings-title {
        font-size: 2.2rem;
    }
    
    .headings-subtitle {
        font-size: 1.3rem;
    }
    
    .main-headings-description {
        font-size: 1rem;
    }
    
    .reel-builder-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reel-display {
        height: 400px;
    }
    
    .playback-container {
        height: 300px;
    }
    
    /* Timeline responsive */
    .timeline::after {
        left: 31px;
    }

    .reels-timeline-steps {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .reels-timeline-steps:nth-child(even) {
        left: 0;
    }

    .reels-timeline-steps::after {
        left: 18px;
        right: auto;
    }

    .reels-timeline-steps:nth-child(odd) .reels-building-info,
    .reels-timeline-steps:nth-child(even) .reels-building-info {
        text-align: left;
    }

    .reels-timeline-steps:nth-child(odd) .step-number,
    .reels-timeline-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 15px;
        margin-left: 0;
    }
    
    .tools-grid-dialog {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-dialog {
        width: 90vw;
        max-width: 600px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .brand-tagline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        border-left: none;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li:hover {
        padding-left: 0;
        transform: translateX(0);
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Reorder footer sections for tablet portrait */
    .footer-container {
        display: flex;
        flex-direction: column;
    }
    .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-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .page-title-section {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .how-works-btn {
        padding: 0.6rem 1.2rem;
    }
    
    .headings-section {
        padding: 1.5rem 1rem;
        margin: 1rem auto 1.5rem;
    }
    
    .headings-title {
        font-size: 2rem;
    }
    
    .headings-subtitle {
        font-size: 1.2rem;
    }
    
    .main-headings-description {
        font-size: 0.95rem;
    }
    
    .editing-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .reel-building-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .building-feature-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .functionality-section {
        padding: 1.5rem;
    }
    
    .header-area {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-area h2 {
        font-size: 1.5rem;
    }
    
    .reel-builder-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reel-preview {
        padding: 1rem;
    }
    
    .reel-display {
        height: 350px;
    }
    
    .reel-controls {
        padding: 1rem;
    }
    
    .file-input-wrapper {
        padding: 20px;
    }
    
    .file-input-button {
        width: 80%;
    }
    
    .video-list {
        max-height: 150px;
        padding: 15px;
    }
    
    .playback-container {
        height: 280px;
    }
    
    .timeline::after {
        left: 31px;
    }

    .reels-timeline-steps {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .reels-timeline-steps:nth-child(even) {
        left: 0;
    }

    .reels-timeline-steps::after {
        left: 18px;
        right: auto;
    }

    .reels-timeline-steps:nth-child(odd) .reels-building-info,
    .reels-timeline-steps:nth-child(even) .reels-building-info {
        text-align: left;
    }

    .reels-timeline-steps:nth-child(odd) .step-number,
    .reels-timeline-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 15px;
        margin-left: 0;
    }
    
    .reels-building-info {
        padding: 15px 20px;
    }
    
    .reels-building-info h3 {
        font-size: 1.2rem;
    }
    
    .tools-grid,
    .reels-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .more-tools-card,
    .tips-box {
        flex: 0 1 100%;
    }
    
    .tools-dialog-content {
        padding: 1.5rem;
    }
    
    .tools-grid-dialog {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .tools-dialog {
        width: 95vw;
        max-width: none;
        min-width: 280px;
    }
    
    .dropdown-site-liinks {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .reel-privacy-section {
        padding: 3rem 0;
        margin: 3rem 0;
    }
    
    .reel-privacy-card {
        padding: 2rem 1.5rem;
    }
    
    .reel-privacy-header h2 {
        font-size: 2rem;
    }
    
    .reel-privacy-text {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .reel-privacy-features {
        grid-template-columns: 1fr;
    }
    
    .reel-multi-video-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .reel-notice-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .notice-icon {
        margin: 0 auto;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .brand-tagline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        border-left: none;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li:hover {
        padding-left: 0;
        transform: translateX(0);
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .copyright-area {
        order: 4;
        margin-top: 2rem;
        padding-top: 2rem;
    }
    .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-container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .page-title-section {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .more-tools-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .btn i {
        font-size: 0.9rem;
    }
    
    .headings-section {
        padding: 1.5rem 1rem;
        margin: 1rem auto 1.5rem;
    }
    
    .headings-title {
        font-size: 1.8rem;
    }
    
    .headings-subtitle {
        font-size: 1.1rem;
    }
    
    .main-headings-description {
        font-size: 0.9rem;
    }
    
    .upload-disclaimer {
        font-size: 0.8rem;
    }
    
    .editing-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        gap: 8px;
    }
    
    .editing-btn i {
        font-size: 1.2rem;
    }
    
    .reel-building-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .building-feature-item {
        width: 100%;
        max-width: 280px;
        padding: 0.6rem 1rem;
    }
    
    .building-feature-item i {
        font-size: 1rem;
    }
    
    .building-feature-item span {
        font-size: 0.9rem;
    }
    
    .functionality-section {
        padding: 1rem;
    }
    
    .header-area {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .header-area h2 {
        font-size: 1.3rem;
    }
    
    .reel-builder-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .reel-preview {
        padding: 0.8rem;
    }
    
    .reel-display {
        height: 300px;
    }
    
    .video-slot {
        font-size: 12px;
    }
    
    .reel-controls {
        padding: 0.8rem;
    }
    
    .file-input-wrapper {
        padding: 15px;
    }
    
    .file-input-button {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
    
    .video-counter {
        font-size: 14px;
        margin: 15px 0;
    }
    
    .video-list {
        max-height: 120px;
        padding: 10px;
    }
    
    .video-item {
        padding: 8px 0;
    }
    
    .video-name {
        font-size: 12px;
    }
    
    .remove-btn {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .text-input-section {
        padding: 10px;
    }
    
    .text-label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .text-input {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .generate-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .playback-container {
        height: 250px;
    }
    
    .play-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .download-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .timeline::after {
        left: 31px;
    }

    .reels-timeline-steps {
        width: 100%;
        padding-left: 70px;
        padding-right: 15px;
        margin-bottom: 1.5rem;
    }

    .reels-timeline-steps:nth-child(even) {
        left: 0;
    }

    .reels-timeline-steps::after {
        left: 18px;
        right: auto;
    }

    .reels-timeline-steps:nth-child(odd) .reels-building-info,
    .reels-timeline-steps:nth-child(even) .reels-building-info {
        text-align: left;
    }

    .reels-timeline-steps:nth-child(odd) .step-number,
    .reels-timeline-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 15px;
        margin-left: 0;
    }
    
    .reels-building-info {
        padding: 12px 15px;
    }
    
    .reels-building-info h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .reels-building-info p {
        font-size: 0.9rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .how-it-works-section {
        padding: 2rem 1rem;
    }
    
    .how-it-works-header h2 {
        font-size: 1.8rem;
    }
    
    .how-it-works-header p {
        font-size: 0.95rem;
    }
    
    .tools-section,
    .tips-section {
        padding: 1.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .tools-grid,
    .reels-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .more-tools-card,
    .tips-box {
        flex: 0 1 100%;
    }
    
    .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.5rem;
    }
    
    .tool-item-dialog {
        padding: 0.8rem;
        min-height: 50px;
    }
    
    .tool-item-dialog i {
        font-size: 1rem;
    }
    
    .tool-item-dialog span {
        font-size: 0.85rem;
    }
    
    .tools-footer-area {
        padding-top: 1rem;
    }
    
    .dropdown-site-liinks {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .dropdown-site-liinks a {
        font-size: 0.8rem;
    }
    
    .reel-privacy-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }
    
    .reel-privacy-card {
        padding: 1.5rem 1rem;
    }
    
    .reel-security-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .reel-privacy-header h2 {
        font-size: 1.6rem;
    }
    
    .reel-privacy-header h2::after {
        width: 60px;
        bottom: -10px;
    }
    
    .reel-privacy-subtitle {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    .reel-privacy-text {
        font-size: 0.95rem;
        padding: 1rem;
    }
    
    .reel-privacy-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .reel-privacy-feature {
        padding: 1.2rem;
    }
    
    .reel-privacy-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .reel-privacy-feature h3 {
        font-size: 1.1rem;
    }
    
    .reel-privacy-feature p {
        font-size: 0.9rem;
    }
    
    .reel-multi-video-security {
        padding: 1.2rem;
        margin-top: 2rem;
    }
    
    .reel-multi-video-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .reel-multi-video-content i {
        font-size: 2rem;
    }
    
    .reel-multi-video-content h3 {
        font-size: 1.2rem;
    }
    
    .reel-multi-video-content p {
        font-size: 0.9rem;
    }
    
    .reel-security-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .reel-security-badge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .reel-notice-section {
        padding: 0 1rem;
        margin: 1rem auto 0.5rem;
    }
    
    .reel-notice-card {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .notice-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .notice-text {
        font-size: 0.85rem;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        gap: 8px;
        margin-bottom: 1rem;
    }
    
    .footer-logo i {
        font-size: 2.2rem;
    }
    
    .footer-logo h2 {
        font-size: 1.8rem;
    }
    
    .brand-tagline {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        padding-left: 0;
        border-left: none;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
    }
    
    .footer-col:hover h3::after {
        width: 40px;
    }
    
    .footer-col ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-col ul li:hover {
        padding-left: 0;
        transform: translateX(0);
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .footer-col a {
        font-size: 0.9rem;
    }
    
    .footer-col a:hover {
        transform: translateX(0);
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .newsletter-section {
        padding: 1rem;
    }
    
    .newsletter-section h4 {
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-input {
        width: 100%;
    }
    
    .newsletter-btn {
        width: 100%;
    }
    
    .copyright-area {
        order: 4;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .copyright-area::before {
        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;
    }
}

/* Small Mobile (360px - 479px) */
@media (max-width: 479px) and (min-width: 360px) {
    .header-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .logo {
        font-size: 1.3rem;
        gap: 5px;
    }
    
    .page-title-section {
        width: 100%;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .more-tools-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        gap: 4px;
    }
    
    .btn i {
        font-size: 0.8rem;
    }
    
    .headings-section {
        padding: 1.2rem 0.8rem;
        margin: 0.8rem auto 1.2rem;
    }
    
    .headings-title {
        font-size: 1.5rem;
    }
    
    .headings-subtitle {
        font-size: 1rem;
    }
    
    .main-headings-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .upload-disclaimer {
        font-size: 0.75rem;
    }
    
    .editing-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
        gap: 6px;
    }
    
    .editing-btn i {
        font-size: 1rem;
    }
    
    .reel-building-features {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .building-feature-item {
        width: 100%;
        max-width: 250px;
        padding: 0.5rem 0.8rem;
        gap: 6px;
    }
    
    .building-feature-item i {
        font-size: 0.9rem;
    }
    
    .building-feature-item span {
        font-size: 0.8rem;
    }
    
    .functionality-section {
        padding: 0.8rem;
    }
    
    .header-area {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .header-area h2 {
        font-size: 1.2rem;
        gap: 5px;
    }
    
    .header-area h2 i {
        font-size: 1.1rem;
    }
    
    .how-works-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .reel-builder-container {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .reel-preview {
        padding: 0.5rem;
    }
    
    .reel-display {
        height: 250px;
    }
    
    .video-slot {
        font-size: 10px;
    }
    
    .reel-controls {
        padding: 0.5rem;
    }
    
    .file-input-wrapper {
        padding: 10px;
    }
    
    .file-input-button {
        width: 100%;
        padding: 8px;
        font-size: 13px;
    }
    
    .video-counter {
        font-size: 13px;
        margin: 10px 0;
    }
    
    .video-list {
        max-height: 100px;
        padding: 8px;
        margin: 10px 0;
    }
    
    .video-item {
        padding: 5px 0;
    }
    
    .video-name {
        font-size: 11px;
    }
    
    .remove-btn {
        padding: 3px 6px;
        font-size: 9px;
    }
    
    .text-input-section {
        padding: 8px;
        margin-top: 10px;
    }
    
    .text-input-group {
        margin-bottom: 10px;
    }
    
    .text-label {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .text-input {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .generate-section {
        margin-top: 15px;
    }
    
    .generate-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    .playback-container {
        height: 220px;
    }
    
    .play-btn {
        padding: 10px 15px;
        font-size: 13px;
        margin-top: 10px;
    }
    
    .download-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .timeline::after {
        left: 31px;
    }

    .reels-timeline-steps {
        width: 100%;
        padding-left: 70px;
        padding-right: 10px;
        margin-bottom: 1rem;
    }

    .reels-timeline-steps:nth-child(even) {
        left: 0;
    }

    .reels-timeline-steps::after {
        left: 18px;
        right: auto;
    }

    .reels-timeline-steps:nth-child(odd) .reels-building-info,
    .reels-timeline-steps:nth-child(even) .reels-building-info {
        text-align: left;
    }

    .reels-timeline-steps:nth-child(odd) .step-number,
    .reels-timeline-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 10px;
        margin-left: 0;
    }
    
    .reels-building-info {
        padding: 10px 12px;
    }
    
    .reels-building-info h3 {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .reels-building-info p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    
    .how-it-works-section {
        padding: 1.5rem 0.8rem;
        margin-bottom: 2rem;
    }
    
    .how-it-works-header h2 {
        font-size: 1.5rem;
        gap: 5px;
    }
    
    .how-it-works-header h2 i {
        font-size: 1.3rem;
    }
    
    .how-it-works-header p {
        font-size: 0.85rem;
    }
    
    .tools-section,
    .tips-section {
        padding: 1rem 0.8rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        gap: 5px;
    }
    
    .section-title i {
        font-size: 1.2rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .tools-grid,
    .reels-tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .more-tools-card,
    .tips-box {
        flex: 0 1 100%;
        padding: 1rem;
    }
    
    .more-cards-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .more-tools-title {
        font-size: 1rem;
    }
    
    .tools-explanation {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .tool-link {
        font-size: 0.9rem;
    }
    
    .reel-tips-counting {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .tip-title {
        font-size: 1rem;
    }
    
    .tips-details {
        font-size: 0.85rem;
    }
    
    .tools-dialog-content {
        padding: 0.8rem;
    }
    
    .tools-dialog-content h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        gap: 0.3rem;
    }
    
    .tools-grid-dialog {
        grid-template-columns: 1fr;
        gap: 0.3rem;
        margin-bottom: 1rem;
    }
    
    .tool-item-dialog {
        padding: 0.6rem;
        min-height: 45px;
        gap: 0.5rem;
    }
    
    .tool-item-dialog i {
        font-size: 0.9rem;
        width: 20px;
    }
    
    .tool-item-dialog span {
        font-size: 0.8rem;
    }
    
    .tools-footer-area {
        padding-top: 0.8rem;
    }
    
    .dropdown-site-liinks {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .dropdown-site-liinks a {
        font-size: 0.75rem;
        padding: 0.2rem 0;
    }
    
    .reel-privacy-section {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }
    
    .reel-privacy-container {
        padding: 0 1rem;
    }
    
    .reel-privacy-card {
        padding: 1rem 0.8rem;
    }
    
    .reel-security-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .reel-privacy-header h2 {
        font-size: 1.4rem;
    }
    
    .reel-privacy-header h2::after {
        width: 50px;
        bottom: -8px;
    }
    
    .reel-privacy-subtitle {
        font-size: 0.85rem;
        margin-top: 0.8rem;
    }
    
    .reel-privacy-text {
        font-size: 0.9rem;
        padding: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .reel-privacy-features {
        gap: 0.8rem;
        margin: 1.5rem 0;
    }
    
    .reel-privacy-feature {
        padding: 1rem;
    }
    
    .reel-privacy-feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .reel-privacy-feature h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .reel-privacy-feature p {
        font-size: 0.85rem;
    }
    
    .reel-multi-video-security {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .reel-multi-video-content i {
        font-size: 1.8rem;
    }
    
    .reel-multi-video-content h3 {
        font-size: 1.1rem;
    }
    
    .reel-multi-video-content p {
        font-size: 0.85rem;
    }
    
    .reel-security-badges {
        gap: 0.5rem;
    }
    
    .reel-security-badge {
        max-width: 250px;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .reel-notice-section {
        padding: 0 0.8rem;
    }
    
    .reel-notice-card {
        padding: 0.6rem;
        gap: 0.5rem;
    }
    
    .notice-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .notice-text {
        font-size: 0.8rem;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .footer-logo {
        justify-content: center;
        gap: 5px;
        margin-bottom: 0.8rem;
    }
    
    .footer-logo i {
        font-size: 2rem;
    }
    
    .footer-logo h2 {
        font-size: 1.6rem;
    }
    
    .brand-tagline {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        max-width: 100%;
        padding-left: 0;
        border-left: none;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
    }
    
    .footer-col:hover h3::after {
        width: 35px;
    }
    
    .footer-col ul li {
        margin-bottom: 0.4rem;
    }
    
    .footer-col ul li:hover {
        padding-left: 0;
        transform: translateX(0);
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .footer-col a {
        font-size: 0.85rem;
    }
    
    .footer-col a:hover {
        transform: translateX(0);
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link i {
        font-size: 0.9rem;
    }
    
    .newsletter-section {
        padding: 0.8rem;
    }
    
    .newsletter-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .newsletter-input {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .newsletter-btn {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .copyright-area {
        order: 4;
        margin-top: 1.2rem;
        padding-top: 1.2rem;
        font-size: 0.8rem;
    }
    
    .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-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .logo {
        font-size: 1.3rem;
        gap: 5px;
    }
    
    .page-title-section {
        width: 100%;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .more-tools-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        gap: 4px;
    }
    
    .btn i {
        font-size: 0.8rem;
    }
    
    .headings-section {
        padding: 1.2rem 0.8rem;
        margin: 0.8rem auto 1.2rem;
    }
    
    .headings-title {
        font-size: 1.5rem;
    }
    
    .headings-subtitle {
        font-size: 1rem;
    }
    
    .main-headings-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .upload-disclaimer {
        font-size: 0.75rem;
    }
    
    .editing-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
        gap: 6px;
    }
    
    .editing-btn i {
        font-size: 1rem;
    }
    
    .reel-building-features {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .building-feature-item {
        width: 100%;
        max-width: 250px;
        padding: 0.5rem 0.8rem;
        gap: 6px;
    }
    
    .building-feature-item i {
        font-size: 0.9rem;
    }
    
    .building-feature-item span {
        font-size: 0.8rem;
    }

    main {
        padding: 0.5rem;
    }
    
    .functionality-section {
        padding: 0.6rem;
    }
    
    .header-area {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .header-area h2 {
        font-size: 1.2rem;
        gap: 5px;
    }
    
    .header-area h2 i {
        font-size: 1.1rem;
    }
    
    .how-works-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .reel-builder-container {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .reel-preview {
        padding: 0.5rem;
    }
    
    .reel-display {
        height: 250px;
    }
    
    .video-slot {
        font-size: 10px;
    }
    
    .reel-controls {
        padding: 0.5rem;
    }
    
    .file-input-wrapper {
        padding: 10px;
    }
    
    .file-input-button {
        width: 100%;
        padding: 8px;
        font-size: 13px;
    }
    
    .video-counter {
        font-size: 13px;
        margin: 10px 0;
    }
    
    .video-list {
        max-height: 100px;
        padding: 8px;
        margin: 10px 0;
    }
    
    .video-item {
        padding: 5px 0;
    }
    
    .video-name {
        font-size: 11px;
    }
    
    .remove-btn {
        padding: 3px 6px;
        font-size: 9px;
    }
    
    .text-input-section {
        padding: 8px;
        margin-top: 10px;
    }
    
    .text-input-group {
        margin-bottom: 10px;
    }
    
    .text-label {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .text-input {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .generate-section {
        margin-top: 15px;
    }
    
    .generate-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    .playback-container {
        height: 220px;
    }
    
    .play-btn {
        padding: 10px 15px;
        font-size: 13px;
        margin-top: 10px;
    }
    
    .download-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .timeline::after {
        left: 31px;
    }

    .reels-timeline-steps {
        width: 100%;
        padding-left: 70px;
        padding-right: 10px;
        margin-bottom: 1rem;
    }

    .reels-timeline-steps:nth-child(even) {
        left: 0;
    }

    .reels-timeline-steps::after {
        left: 18px;
        right: auto;
    }

    .reels-timeline-steps:nth-child(odd) .reels-building-info,
    .reels-timeline-steps:nth-child(even) .reels-building-info {
        text-align: left;
    }

    .reels-timeline-steps:nth-child(odd) .step-number,
    .reels-timeline-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 10px;
        margin-left: 0;
    }
    
    .reels-building-info {
        padding: 10px 12px;
    }
    
    .reels-building-info h3 {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .reels-building-info p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    
    .how-it-works-section {
        padding: 1.5rem 0.8rem;
        margin-bottom: 2rem;
    }
    
    .how-it-works-header h2 {
        font-size: 1.5rem;
        gap: 5px;
    }
    
    .how-it-works-header h2 i {
        font-size: 1.3rem;
    }
    
    .how-it-works-header p {
        font-size: 0.85rem;
    }
    
    .tools-section,
    .tips-section {
        padding: 1rem 0.8rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        gap: 5px;
    }
    
    .section-title i {
        font-size: 1.2rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .tools-grid,
    .reels-tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .more-tools-card,
    .tips-box {
        flex: 0 1 100%;
        padding: 1rem;
    }
    
    .more-cards-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .more-tools-title {
        font-size: 1rem;
    }
    
    .tools-explanation {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .tool-link {
        font-size: 0.9rem;
    }
    
    .reel-tips-counting {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .tip-title {
        font-size: 1rem;
    }
    
    .tips-details {
        font-size: 0.85rem;
    }
    
    .tools-dialog-content {
        padding: 0.8rem;
    }
    
    .tools-dialog-content h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        gap: 0.3rem;
    }
    
    .tools-grid-dialog {
        grid-template-columns: 1fr;
        gap: 0.3rem;
        margin-bottom: 1rem;
    }
    
    .tool-item-dialog {
        padding: 0.6rem;
        min-height: 45px;
        gap: 0.5rem;
    }
    
    .tool-item-dialog i {
        font-size: 0.9rem;
        width: 20px;
    }
    
    .tool-item-dialog span {
        font-size: 0.8rem;
    }
    
    .tools-footer-area {
        padding-top: 0.8rem;
    }
    
    .dropdown-site-liinks {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .dropdown-site-liinks a {
        font-size: 0.75rem;
        padding: 0.2rem 0;
    }
    
    .reel-privacy-section {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }
    
    .reel-privacy-container {
        padding: 0 1rem;
    }
    
    .reel-privacy-card {
        padding: 1rem 0.8rem;
    }
    
    .reel-security-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .reel-privacy-header h2 {
        font-size: 1.4rem;
    }
    
    .reel-privacy-header h2::after {
        width: 50px;
        bottom: -8px;
    }
    
    .reel-privacy-subtitle {
        font-size: 0.85rem;
        margin-top: 0.8rem;
    }
    
    .reel-privacy-text {
        font-size: 0.9rem;
        padding: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .reel-privacy-features {
        gap: 0.8rem;
        margin: 1.5rem 0;
    }
    
    .reel-privacy-feature {
        padding: 1rem;
    }
    
    .reel-privacy-feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .reel-privacy-feature h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .reel-privacy-feature p {
        font-size: 0.85rem;
    }
    
    .reel-multi-video-security {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .reel-multi-video-content i {
        font-size: 1.8rem;
    }
    
    .reel-multi-video-content h3 {
        font-size: 1.1rem;
    }
    
    .reel-multi-video-content p {
        font-size: 0.85rem;
    }
    
    .reel-security-badges {
        gap: 0.5rem;
    }
    
    .reel-security-badge {
        max-width: 250px;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .reel-notice-section {
        padding: 0 0.8rem;
    }
    
    .reel-notice-card {
        padding: 0.6rem;
        gap: 0.5rem;
    }
    
    .notice-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .notice-text {
        font-size: 0.8rem;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .footer-logo {
        justify-content: center;
        gap: 5px;
        margin-bottom: 0.8rem;
    }
    
    .footer-logo i {
        font-size: 2rem;
    }
    
    .footer-logo h2 {
        font-size: 1.6rem;
    }
    
    .brand-tagline {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        max-width: 100%;
        padding-left: 0;
        border-left: none;
    }
    
    .footer-col:nth-of-type(1) {
        order: 2;
        text-align: center;
    }
    
    .footer-col:nth-of-type(2) {
        order: 3;
        text-align: center;
    }
    
    .footer-col h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
    }
    
    .footer-col:hover h3::after {
        width: 35px;
    }
    
    .footer-col ul li {
        margin-bottom: 0.4rem;
    }
    
    .footer-col ul li:hover {
        padding-left: 0;
        transform: translateX(0);
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .footer-col a {
        font-size: 0.85rem;
    }
    
    .footer-col a:hover {
        transform: translateX(0);
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link i {
        font-size: 0.9rem;
    }
    
    .newsletter-section {
        padding: 0.8rem;
    }
    
    .newsletter-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .newsletter-input {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .newsletter-btn {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .copyright-area {
        order: 4;
        margin-top: 1.2rem;
        padding-top: 1.2rem;
        font-size: 0.8rem;
    }
    
    .copyright-area::before {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
     .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) {
    header {
        position: relative;
    }
    
    .reel-display {
        height: 300px;
    }
    
    .playback-container {
        height: 250px;
    }
    
    .tools-dialog {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .footer-container {
        padding: 2rem 1rem;
    }
}

@media (orientation: landscape) and (max-width: 900px) {
    .reel-builder-container {
        grid-template-columns: 1fr;
    }
    
    .reel-display {
        height: 280px;
    }
    
    .functionality-section {
        padding: 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .tool-item-dialog:hover,
    .more-tools-card:hover,
    .tips-box:hover,
    .social-link:hover,
    .footer-col a:hover,
    .building-feature-item:hover,
    .reel-privacy-feature:hover,
    .reel-security-badge:hover,
    .reel-notice-card:hover,
    .file-input-wrapper:hover {
        transform: none;
        box-shadow: none;
    }
    
    .btn:active,
    .tool-item-dialog:active,
    .more-tools-card:active,
    .social-link:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .footer-col ul li:hover {
        padding-left: 0;
        transform: none;
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .footer-col a:hover {
        transform: none;
    }
    
    .footer-col a:hover::after {
        width: 0;
    }
    
    .dropdown-site-liinks a:hover::after {
        width: 0;
    }
    
    .video-slot,
    .playback-video-slot {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(249, 116, 21, 0.3);
    }
    
    .remove-btn,
    .generate-btn,
    .play-btn,
    .download-btn,
    .editing-btn {
        -webkit-tap-highlight-color: rgba(249, 116, 21, 0.3);
    }
    
    input,
    button,
    a {
        touch-action: manipulation;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .user-actions,
    .more-tools-dropdown,
    .reel-controls,
    .generate-section,
    .download-section,
    .play-btn,
    .editing-btn,
    .social-links,
    .newsletter-section {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .headings-title {
        -webkit-text-fill-color: black;
        color: black;
        background: none;
    }
    
    .headings-subtitle {
        color: #333;
    }
    
    .functionality-section,
    .how-it-works-section,
    .tools-section,
    .tips-section,
    .reel-privacy-section,
    .reel-notice-section {
        background: white;
        border: 1px solid #ddd;
        color: black;
        break-inside: avoid;
    }
    
    .reel-privacy-text,
    .reels-building-info,
    .more-tools-card,
    .tips-box,
    .reel-privacy-card,
    .reel-privacy-feature {
        background: #f5f5f5;
        color: #333;
        border: 1px solid #ccc;
    }
    
    .step-number {
        background: #333;
        color: white;
    }
    
    .reel-display {
        border: 2px solid #333;
    }
    
    .copyright-area {
        color: #333;
        border-top: 1px solid #ccc;
    }
    
    .copyright-area::before {
        background: white;
        color: #333;
    }
}

/* Accessibility and 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;
    }
    
    .reel-privacy-card:hover,
    .more-tools-card:hover,
    .tips-box:hover,
    .btn:hover,
    .editing-btn:hover {
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #ff5500;
        --secondary: #000033;
        --border: rgba(255, 85, 0, 0.8);
        --accent: #ffffff;
    }
    
    .btn,
    .editing-btn,
    .generate-btn,
    .download-btn,
    .play-btn,
    .file-input-button {
        border: 2px solid white;
    }
    
    .reel-display,
    .playback-container,
    .video-slot,
    .tools-dialog,
    .reel-privacy-card {
        border: 3px solid var(--primary);
    }
}


/* ===== 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;
    }
}