:root {
    --primary: #f97415;
    --secondary: #17203c;
    --accent: #ffffff;
    --dark-bg: #0a0e1a;
    --card-bg: rgba(23, 32, 60, 0.8);
    --border: rgba(249, 116, 21, 0.3);
    --shadow: 0 8px 32px rgba(249, 116, 21, 0.2);
    --success: #f97415;
    --warning: #f97415;
    --danger: #f97415;
    --gray: #a0a8c0;
    --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-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 1rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.site-logo a {
    text-decoration: none;
    color: white;
}

.site-logo i {
    color: var(--primary);
}

.logo-image{
    width: auto;
    height: 48px;
    position: relative;
    top: 10px;
}

.site-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);
}

/* ============================================
   DROPDOWN / TOOLS MENU
   ============================================ */
.instant-tools {
    position: relative;
    display: inline-block;
}

.instnt-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;
}

.instnt-tools-btn:hover {
    background: rgba(249, 116, 21, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.instnt-tools-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.tools-container {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: 80vw !important;
    max-width: 800px;
    min-width: 300px;
    background: #17203c;
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    overflow: hidden;
    box-sizing: border-box !important;
}

.tools-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.tools-content-container {
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.tools-content-container h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tools-content-container h3 i {
    color: var(--primary);
}

.tools-grid-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.tool-item-box {
    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;
    box-sizing: border-box;
}

.tool-item-box:hover {
    background: rgba(249, 116, 21, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.tool-item-box i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
    flex-shrink: 0;
}

.tool-item-box 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-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.dropdown-site-links 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-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.dropdown-site-links a:hover {
    color: var(--accent);
}

.dropdown-site-links a:hover::after {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    display: none;
}

/* ============================================
   USER ACTIONS & BUTTONS
   ============================================ */
.user-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.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);
}

.btn-secondary {
    flex: 1;
    padding: 1rem;
    background: var(--secondary);
    color: var(--accent);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(249, 116, 21, 0.1);
    border-color: var(--primary);
}

.btn-download {
    flex: 2;
    padding: 1rem;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-size: 15px;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 116, 21, 0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.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;
}

.upload-disclaimer{
    color: var(--gray);
    font-size: 0.9rem;
}

.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;
}

.trimming-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.trimming-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);
}

.trimming-feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.1);
}

.trimming-feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.trimming-feature-item span {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ============================================
   MAIN CONTENT LAYOUT
   ============================================ */
main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.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: var(--accent);
}

.header-area h2 i {
    color: var(--primary);
}

.editor-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================
   UPLOAD AREA
   ============================================ */
.upload-area {
    background: var(--secondary);
    border: 3px dashed var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.05);
}

.upload-area.dragover {
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.1);
    transform: scale(1.02);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 116, 21, 0.4);
}

.upload-text {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.upload-formats {
    color: var(--gray);
    font-size: 0.85rem;
}

#videoUpload {
    display: none;
}

/* ============================================
   VIDEO INFO
   ============================================ */
.video-info {
    background: var(--secondary);
    color: var(--accent);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border: 1px solid var(--border);
}

.video-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-info-item i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* ============================================
   TIMELINE & CARDS
   ============================================ */
.timeline-card {
    background: var(--secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.timeline-header h3 {
    color: var(--accent);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-duration {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.duration-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.duration-item.selected {
    color: var(--primary);
    font-weight: 600;
}

.timeline-wrapper {
    position: relative;
    padding: 1rem 0;
}

.thumbnails-container {
    position: relative;
    height: 80px;
    background: var(--dark-bg);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex;
}

.thumbnail {
    flex: 1;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-right: 1px solid var(--border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.8rem;
    opacity: 0.7;
}

.trim-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
}

.trim-overlay-left,
.trim-overlay-right {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(3px);
}

.trim-overlay-left {
    left: 0;
}

.trim-overlay-right {
    right: 0;
}

.trim-overlay-center {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(23, 32, 60, 0.6);
    backdrop-filter: blur(2px);
    display: none;
    z-index: 2;
}

.timeline-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    margin: 0 15px;
}

.timeline-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 8px;
    background: rgba(160, 168, 192, 0.3);
    border-radius: 4px;
}

.timeline-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(249, 116, 21, 0.5);
}

.timeline-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 80px;
    background: var(--accent);
    border: 3px solid var(--primary);
    border-radius: 6px;
    cursor: ew-resize;
    box-shadow: var(--shadow);
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.timeline-handle::before {
    content: '';
    width: 3px;
    height: 20px;
    background: var(--primary);
    border-radius: 2px;
}

.timeline-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.timeline-handle.dragging {
    background: var(--primary);
    border-color: var(--accent);
}

.handle-labels-container {
    position: relative;
    width: 100%;
    height: 30px;
    margin-top: 10px;
    pointer-events: none;
}

.handle-label {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 25;
    min-width: 50px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.handle-label::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--secondary);
}

.playhead {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--primary);
    z-index: 12;
    pointer-events: none;
}

.playhead::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--primary);
}

/* ============================================
   MODE SELECTION
   ============================================ */
.mode-selection {
    background: var(--secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.mode-selection h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mode-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mode-option {
    position: relative;
    padding: 1.2rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--secondary);
}

.mode-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mode-option.active {
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.1);
}

.mode-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.mode-option-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.mode-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.mode-option.active .mode-radio {
    border-color: var(--primary);
}

.mode-option.active .mode-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.mode-option h4 {
    color: var(--accent);
    font-size: 0.95rem;
}

.mode-option p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ============================================
   EXPORT SECTION
   ============================================ */
.export-section {
    display: flex;
    gap: 1rem;
    margin-top: 40px;
}

/* ============================================
   PREVIEW CONTAINER
   ============================================ */
#preview-container {
    position: relative;
    background: var(--dark-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 400px;
    min-height: 300px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#videoPreview {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(23, 32, 60, 0.9));
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    background: rgba(249, 116, 21, 0.2);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.control-btn:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: scale(1.1);
}

.time-display {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-container {
    width: 100%;
    height: 40px;
    background-color: var(--secondary);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    display: none;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 20px;
    transition: width 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1;
}

/* ============================================
   NOTIFICATION
   ============================================ */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1rem 1.5rem;
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border);
}

.notification.show {
    transform: translateX(0);
}

.notification.success,
.notification.error,
.notification.info {
    border-left: 4px solid var(--primary);
}

.notification i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* ============================================
   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;
}

.timeline-area-steps {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.timeline-area-steps:nth-child(odd) {
    left: 0;
}

.timeline-area-steps:nth-child(even) {
    left: 50%;
}

.timeline-area-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;
}

.timeline-area-steps:nth-child(odd)::after {
    right: -13px;
}

.timeline-area-steps:nth-child(even)::after {
    left: -13px;
}

.trimming-info {
    padding: 20px 30px;
    background: rgba(23, 32, 60, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.trimming-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.timeline-area-steps:nth-child(odd) .trimming-info {
    text-align: right;
}

.timeline-area-steps:nth-child(even) .trimming-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;
}

.timeline-area-steps:nth-child(odd) .step-number {
    float: right;
    margin-left: 15px;
}

.timeline-area-steps:nth-child(even) .step-number {
    float: left;
    margin-right: 15px;
}

.trimming-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.trimming-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);
}


.video-trimming-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-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

.guide-heading-area {
    text-align: center;
    margin-bottom: 50px;
}

.guide-heading-area 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-heading-area h2 i {
    background: none;
    -webkit-text-fill-color: #f97415;
    margin-right: 12px;
}

.guide-subheading {
    font-size: 1.1rem;
    color: #bbb;
    max-width: 800px;
    margin: 0 auto;
}

.guide-info-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-info-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-info-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-info-card h3 i {
    font-size: 1.7rem;
    color: #f97415;
}

.guide-info-card p {
    font-size: 1rem;
    line-height: 1.65;
    color: #ddd;
    margin-bottom: 18px;
}

/* History Timeline Styles */
.history-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 15px;
}

.history-milestone {
    display: flex;
    gap: 25px;
    border-left: 3px dashed #f97415;
    padding-left: 25px;
    transition: background 0.2s;
}

.history-milestone:hover {
    background: rgba(249, 116, 21, 0.05);
    border-radius: 0 12px 12px 0;
}

.milestone-year {
    min-width: 85px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #f97415;
    background: rgba(249, 116, 21, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    text-align: center;
    height: fit-content;
}

.milestone-story strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: #f0f0f0;
}

.milestone-story p {
    margin-bottom: 0;
    color: #bbb;
}

/* Process Steps */
.process-steps-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 20px 0;
}

.process-step-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.step-badge {
    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-description strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
    color: #f0f0f0;
}

.step-description p {
    margin-bottom: 0;
    color: #bbb;
}

.simple-explanation-box {
    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-box i {
    font-size: 2rem;
    color: #f97415;
}

.simple-explanation-box p {
    margin-bottom: 0;
    color: #ddd;
}

/* Mode Comparison */
.mode-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 15px;
}

.mode-box {
    padding: 22px;
    border-radius: 18px;
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s, border-color 0.2s;
}

.mode-box:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 116, 21, 0.3);
}

.mode-inward {
    border-left: 5px solid #22c55e;
}

.mode-outward {
    border-left: 5px solid #f97316;
}

.mode-icon {
    text-align: center;
    margin-bottom: 15px;
}

.mode-icon i {
    font-size: 2rem;
    color: #f97415;
}

.mode-box h4 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #fff;
}

.mode-box p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #bbb;
    text-align: center;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.use-case-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    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);
}

.use-case-item:hover {
    background: rgba(249, 116, 21, 0.1);
    border-color: rgba(249, 116, 21, 0.3);
}

.use-case-item i {
    font-size: 1.6rem;
    color: #f97415;
    min-width: 40px;
    text-align: center;
}

.use-case-item strong {
    display: block;
    margin-bottom: 5px;
    color: #f0f0f0;
}

.use-case-item p {
    margin-bottom: 0;
    color: #bbb;
}

/* Practical Tips List */
.practical-tips-list {
    list-style: none;
    padding: 0;
}

.practical-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;
}

.practical-tips-list li:last-child {
    border-bottom: none;
}

.practical-tips-list li::before {
    content: "✂️";
    color: #f97415;
    font-size: 1.1rem;
}

/* Closing Note */
.guide-closing-note {
    text-align: center;
    background: rgba(20, 20, 30, 0.7);
    border: 1px solid rgba(249, 116, 21, 0.3);
}

.guide-closing-note i {
    font-size: 2.5rem;
    color: #f97415;
    margin-bottom: 15px;
    display: inline-block;
}

.guide-closing-note p {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .guide-info-card {
        padding: 20px;
    }
    
    .guide-info-card h3 {
        font-size: 1.5rem;
    }
    
    .guide-heading-area h2 {
        font-size: 1.9rem;
    }
    
    .history-milestone {
        flex-direction: column;
        gap: 8px;
        padding-left: 18px;
    }
    
    .milestone-year {
        min-width: auto;
        width: fit-content;
    }
    
    .process-step-item {
        flex-direction: column;
    }
    
    .step-badge {
        align-self: flex-start;
    }
    
    .mode-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .simple-explanation-box {
        flex-direction: column;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case-item {
        flex-direction: column;
        text-align: center;
    }
    
    .use-case-item i {
        align-self: center;
    }
    
    .practical-tips-list li {
        flex-direction: column;
        gap: 5px;
    }
}


/* ============================================
   MORE TOOLS & TIPS SECTIONS
   ============================================ */
.more-tools-section,
.tips-section {
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.more-title,
.tips-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--accent);
}

.more-title i,
.tips-title i {
    color: var(--primary);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.more-tools-card {
    background: var(--secondary);
    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: var(--gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.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;
}

.trim-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tips-box {
    background: var(--secondary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tips-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.tip-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: var(--gray);
    line-height: 1.6;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

.tools-grid,
.trim-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
   ============================================ */
.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;
}

.privacy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(249, 116, 21, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(249, 116, 21, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.privacy-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 116, 21, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.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 15px 30px 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);
}

.privacy-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
}

.privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(249, 116, 21, 0) 0%, 
        rgba(249, 116, 21, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.privacy-card:hover::before {
    opacity: 1;
}

.privacy-header {
    margin-bottom: 3rem;
    position: relative;
}

.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;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(249, 116, 21, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 30px 60px rgba(249, 116, 21, 0.6);
        transform: scale(1.05);
    }
}

.security-icon::after {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    border-radius: 50%;
    border: 2px solid rgba(249, 116, 21, 0.3);
    animation: ripple 4s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.privacy-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.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;
}

.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;
}

.privacy-content {
    margin-bottom: 3rem;
}

.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;
}

.privacy-text::before {
    content: '🔒';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    padding: 0 1rem;
    font-size: 1.5rem;
}

.privacy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.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;
}

.privacy-feature:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(249, 116, 21, 0.2);
}

.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);
}

.privacy-feature h3 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    text-align: center;
}

.privacy-feature p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.5;
}

.security-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.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;
}

.security-badge:hover {
    background: rgba(249, 116, 21, 0.2);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.security-badge i {
    color: var(--primary);
    font-size: 1.1rem;
}

.privacy-commitment {
    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: 2rem 3rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.privacy-commitment::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;
}

.privacy-commitment i {
    font-size: 3rem;
    color: var(--primary);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.privacy-commitment-content {
    position: relative;
    z-index: 1;
}

.privacy-commitment h3 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.privacy-commitment p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.privacy-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.privacy-card:hover::after {
    opacity: 0.3;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        filter: blur(5px);
        opacity: 0.2;
    }
    100% {
        filter: blur(10px);
        opacity: 0.4;
    }
}

/* ============================================
   COPYRIGHT NOTICE SECTION
   ============================================ */
.trimming-notice-section {
    max-width: 1200px;
    margin: 1.5rem auto 1rem;
    padding: 0 1.5rem;
}

.trimming-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;
}

.trimming-notice-card:hover {
    border-color: var(--primary);
    background: rgba(249, 116, 21, 0.12);
    transform: translateY(-2px);
}

.trimming-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 - ORIGINAL STYLES (PRESERVED)
   ============================================ */
footer {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark-bg) 100%);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #ff8c42 50%, var(--primary) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-around;
}

.footer-col:first-child {
    padding-right: 2rem;
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.footer-col:hover h3::after {
    width: 60px;
}

.footer-col:first-child p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Brand Section */
.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--primary), #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(249, 116, 21, 0.3));
    background-clip: text;
}

.footer-logo a{
    text-decoration: none;
    color: white;
    font-size: 35px;
    font-weight: 700;
}

.footer-logo h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    margin: 0;
    background-clip: text;
}

.brand-tagline {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 400px;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid rgba(249, 116, 21, 0.3);
}

/* Links Sections */
.footer-links-section {
    display: flex;
    flex-direction: column;
}

.links-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.links-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

.links-grid {
    display: grid;
    gap: 0.8rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.footer-link:hover {
    color: var(--primary);
    background: rgba(249, 116, 21, 0.08);
    border-color: rgba(249, 116, 21, 0.2);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-link i {
    font-size: 1rem;
    width: 24px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer-link:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.footer-link span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 116, 21, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    background: rgba(249, 116, 21, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 116, 21, 0.2);
}

.social-link i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0;
    transition: var(--transition);
}

.footer-col ul li::before {
    content: '▶';
    position: absolute;
    left: -20px;
    color: var(--primary);
    font-size: 0.7rem;
    opacity: 0;
    transition: var(--transition);
}

.footer-col ul li:hover {
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-col ul li:hover::before {
    opacity: 1;
    left: 0;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.footer-col a:hover::after {
    width: 100%;
}

/* Newsletter Section (Optional Addition) */
.newsletter-section {
    background: rgba(249, 116, 21, 0.05);
    border: 1px solid rgba(249, 116, 21, 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.newsletter-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(249, 116, 21, 0.3);
    border-radius: var(--radius);
    background: rgba(23, 32, 60, 0.5);
    color: var(--accent);
    font-size: 0.9rem;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(249, 116, 21, 0.1);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #ff8c42;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 116, 21, 0.4);
}

/* copyright-area Section */
.copyright-area {
    text-align: center;
    padding-top: 3rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    border-top: 1px solid rgba(249, 116, 21, 0.2);
    margin-top: 3rem;
    position: relative;
}

.copyright-area::before {
    content: '🎬';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    padding: 0 1rem;
    font-size: 1.2rem;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES - UPDATED
   ============================================ */

/* 1400px and above - Extra Large Desktop */
@media (min-width: 1400px) {
    .header-box,
    main,
    .footer-container {
        max-width: 1600px;
    }
    
    .headings-title {
        font-size: 3.5rem;
    }
    
    .editor-box {
        gap: 2.5rem;
    }
    .step-image {
        width: 35%;
    }
    
    .right-image {
        left: calc(100% + 40px);
    }
    
    .left-image {
        right: calc(100% + 40px);
    }
    
    .step-image img {
        max-width: 450px;
    }
}

@media (min-width: 1200px) and (max-width: 1440px) {
    .step-image {
        width: 38%;
    }
    
    .right-image {
        left: calc(100% + 20px);
    }
    
    .left-image {
        right: calc(100% + 20px);
    }
    
    .step-image img {
        max-width: 320px;
    }
}

/* 1200px and below - Large Desktop */
@media (max-width: 1200px) {
    .step-image {
        width: 35%;
    }
    
    .right-image {
        left: calc(100% + 15px);
    }
    
    .left-image {
        right: calc(100% + 15px);
    }
    
    .step-image img {
        max-width: 280px;
    }
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
    }
    
    .headings-title {
        font-size: 3rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trim-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1024px and below - Desktop / Large Tablet */
@media (max-width: 1024px) {
    .editor-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .headings-title {
        font-size: 2.8rem;
    }
    
    .headings-subtitle {
        font-size: 1.6rem;
    }
    
    #preview-container {
        height: 380px;
    }
}

/* 992px and below - Tablet */
@media (max-width: 992px) {
    /* Header */
    .header-box {
        flex-wrap: wrap;
    }
    
    .site-logo {
        order: 1;
    }
    
    .site-title-section {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    
    .user-actions {
        order: 2;
    }
    
    /* Tools Grid */
    .tools-grid-box {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-container {
        width: 90vw !important;
        max-width: 700px;
    }
    
    /* Hero */
    .headings-title {
        font-size: 2.5rem;
    }
    
    .headings-subtitle {
        font-size: 1.5rem;
    }
    
    .main-headings-description {
        font-size: 1.1rem;
    }
    
    .editing-btn {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
    }
    
    .trimming-feature-item {
        padding: 0.6rem 1.2rem;
    }
    
    /* Editor */
    .editor-box {
        grid-template-columns: 1fr;
    }
    
    #preview-container {
        height: 350px;
    }
    
    /* Footer - Stacking starts here */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-col:first-child {
        grid-column: 1 / -1;
        padding-right: 0;
    }
    
    /* Privacy */
    .privacy-card {
        padding: 3rem 2rem;
    }
    
    .privacy-header h2 {
        font-size: 2.4rem;
    }
    
    .security-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .privacy-text {
        font-size: 1.2rem;
        padding: 1.5rem;
    }
    
    .reel-builder-container {
        grid-template-columns: 1fr;
    }
    .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;
    }
}

/* 800px and below - Mobile/Tablet */
@media (max-width: 800px) {
    .headings-title {
        font-size: 2.2rem;
    }
    
    .headings-subtitle {
        font-size: 1.4rem;
    }
    
    .main-headings-description {
        font-size: 1rem;
    }
    
    .trimming-features {
        gap: 1rem;
    }
    
    .mode-options {
        grid-template-columns: 1fr;
    }
    
    .export-section {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-download {
        width: 100%;
    }
    
    #preview-container {
        height: 300px;
    }
    
    .timeline-handle {
        width: 20px;
        height: 70px;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-brand {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .copyright-area {
        margin-top: 2rem;
    }
    
    .brand-tagline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        border-left: none;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li::before {
        display: none;
    }
    
    .footer-col ul li:hover {
        padding-left: 0;
        transform: translateY(-2px);
    }
    
    .footer-col a:hover {
        transform: translateX(0);
    }
}

/* 768px and below - Mobile */
@media (max-width: 768px) {
    /* Hero */
    .headings-section {
        padding: 2rem 1.5rem;
    }
    
    .headings-title {
        font-size: 2rem;
    }
    
    .headings-subtitle {
        font-size: 1.3rem;
    }
    
    .main-headings-description {
        font-size: 1rem;
    }
    
    .trimming-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .trimming-feature-item {
        width: 100%;
        justify-content: center;
    }
    
    /* Header */
    .header-box {
        flex-direction: column;
        gap: 1rem;
    }
    
    .site-title-section {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .page-title {
        font-size: 1.3rem;
    }
    
    .tools-container {
        width: 95vw !important;
        max-width: none;
        left: 50%;
        transform: translateX(-50%) scale(0.95);
    }
    
    .tools-container.show {
        transform: translateX(-50%) scale(1);
    }
    
    /* Preview */
    #preview-container {
        height: 300px;
        min-height: 250px;
    }
    
    /* Video Info */
    .video-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Mode Options */
    .mode-options {
        grid-template-columns: 1fr;
    }
    
    /* Timeline */
    .timeline::after {
        left: 31px;
    }
    
    .timeline-area-steps {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .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;
    }
    
    .trimming-info {
        padding: 1rem;
    }
    
    .trimming-info h3 {
        font-size: 1.2rem;
    }
    
    /* Tools Grid */
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .trim-tips-grid {
        grid-template-columns: 1fr;
    }
    
    /* Privacy */
    .privacy-section {
        padding: 3rem 0;
    }
    
    .privacy-card {
        padding: 2.5rem 1.5rem;
    }
    
    .privacy-header h2 {
        font-size: 2rem;
    }
    
    .security-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .privacy-text {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
    
    .privacy-features {
        grid-template-columns: 1fr;
    }
    
    .privacy-commitment {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .security-badge {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Copyright Notice */
    .trimming-notice-section {
        padding: 0 1rem;
        margin: 1.2rem auto 0.8rem;
    }
    
    .trimming-notice-card {
        padding: 1rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .notice-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin: 0 auto;
    }
    
    .notice-text {
        font-size: 0.95rem;
    }
    
    /* Footer */
    footer {
        padding: 3rem 1.5rem 1.5rem;
        margin-top: 4rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
    .step-image {
        position: relative;
        width: 100%;
        margin-top: 1.5rem;
        top: auto;
        transform: none;
    }
    
    .right-image,
    .left-image {
        left: auto;
        right: auto;
        position: relative;
    }
    
    .timeline-area-steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .timeline-area-steps .trimming-info {
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .step-image img {
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* Adjust timeline for tablet portrait */
    .timeline::after {
        left: 30px;
    }
    
    .timeline-area-steps {
        padding-left: 60px;
        width: 100%;
    }
    
    .timeline-area-steps:nth-child(even) {
        left: 0;
    }
    
    .timeline-area-steps::after {
        left: 18px;
        right: auto;
    }
    
    .timeline-area-steps:nth-child(odd) .trimming-info,
    .timeline-area-steps:nth-child(even) .trimming-info {
        text-align: left;
    }
    
    .timeline-area-steps:nth-child(odd) .step-number,
    .timeline-area-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 15px;
        margin-left: 0;
    }
.image-modal-content img {
        max-height: 70vh;
    }
    
    .image-modal-close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
        font-size: 20px;
    }
}

/* 600px and below - Small Mobile */
@media (max-width: 600px) {
    main {
        padding: 0 1rem;
    }
    .user-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .tools-grid-box {
        grid-template-columns: 1fr;
    }

    .header-area h2{
        font-size: 1.2rem;
    }

    .header-area .how-works-btn{
        padding: 0.8rem 1rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 180px;
    }
    
    #preview-container {
        height: 250px;
    }
    
    .timeline-duration {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .handle-label {
        font-size: 10px;
        padding: 2px 4px;
        min-width: 40px;
    }
    .step-image {
        position: relative;
        width: 100%;
        margin-top: 1.2rem;
        top: auto;
        transform: none;
    }
    
    .right-image,
    .left-image {
        left: auto;
        right: auto;
        position: relative;
        padding: 0;
    }
    
    .timeline-area-steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .timeline-area-steps .trimming-info {
        width: 100%;
        text-align: center;
        margin-bottom: 1.2rem;
        padding: 1rem;
    }
    
    .step-image img {
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Adjust timeline for mobile */
    .timeline::after {
        left: 20px;
    }
    
    .timeline-area-steps {
        padding-left: 45px;
        width: 100%;
    }
    
    .timeline-area-steps:nth-child(even) {
        left: 0;
    }
    
    .timeline-area-steps::after {
        left: 10px;
        right: auto;
        width: 18px;
        height: 18px;
        top: 10px;
    }
    
    .timeline-area-steps:nth-child(odd) .trimming-info,
    .timeline-area-steps:nth-child(even) .trimming-info {
        text-align: left;
    }
    
    .timeline-area-steps:nth-child(odd) .step-number,
    .timeline-area-steps:nth-child(even) .step-number {
        float: left;
        margin-right: 12px;
        margin-left: 0;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .trimming-info h3 {
        font-size: 1.1rem;
    }
    
    .trimming-info p {
        font-size: 0.9rem;
    }
}

/* 480px and below - Extra Small Mobile */
@media (max-width: 480px) {
    header {
        padding: 1rem;
    }
    
    .tools-container {
        width: 98vw !important;
        min-width: 280px;
    }
    
    .tools-content-container {
        padding: 1rem;
    }
    
    .tools-content-container h3 {
        font-size: 1.1rem;
    }
    
    .dropdown-site-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .header-area h2{
        font-size: .8rem;
    }

    .header-area .how-works-btn{
        padding: 0.8rem .5rem;
        font-size: .9rem;
        width: 100%;
        max-width: 140px;
    }
    
    /* Hero */
    .headings-section {
        padding: 1.5rem 1rem;
    }
    
    .headings-title {
        font-size: 1.8rem;
    }
    
    .headings-subtitle {
        font-size: 1.1rem;
    }
    
    .main-headings-description {
        font-size: 0.95rem;
    }
    
    .editing-btn {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .trimming-features {
        flex-direction: column;
        align-items: center;
    }
    
    .trimming-feature-item {
        width: 100%;
        justify-content: center;
    }
    
    /* Preview */
    #preview-container {
        height: 200px;
        min-height: 200px;
    }
    
    .video-controls {
        padding: 0.5rem;
        flex-wrap: wrap;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .functionality-section {
        padding: .5rem;
    }

    .how-it-works-section{
        padding: 1rem .2rem;
    }

    .privacy-container {
        padding: 1rem;
    }

    .privacy-card {
        padding: 1rem;
    }
    
    .time-display {
        font-size: 0.8rem;
    }
    
    /* Footer */
    .footer-logo i {
        font-size: 2.2rem;
    }
    
    .footer-logo h2 {
        font-size: 1.8rem;
    }
    
    .brand-tagline {
        font-size: 0.95rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .footer-col h3 {
        font-size: 1.2rem;
    }
    
    .copyright-area {
        font-size: 0.8rem;
        padding-top: 2rem;
    }
    
    .copyright-area::before {
        top: -10px;
        font-size: 1rem;
    }
    
    /* Privacy */
    .privacy-header h2 {
        font-size: 1.8rem;
    }
    
    .privacy-subtitle {
        font-size: 1rem;
    }
    
    .privacy-text {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .privacy-feature {
        padding: 1.5rem;
    }
    
    .privacy-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .privacy-feature h3 {
        font-size: 1.1rem;
    }
    
    /* Notification */
    .notification {
        top: 80px;
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    .image-modal-content img {
        max-height: 60vh;
    }
    
    .image-modal-close {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
        font-size: 18px;
    }
}

/* 360px and below - Very Small Mobile */
@media (max-width: 360px) {
    .headings-title {
        font-size: 1.5rem;
    }
    
    .headings-subtitle {
        font-size: 1rem;
    }
    
    .editing-btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
    
    .trimming-feature-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    #preview-container {
        height: 180px;
    }

    .header-area h2{
        font-size: .7rem;
    }

    .header-area .how-works-btn{
        padding: 0.8rem .5rem;
        font-size: .7rem;
        width: 100%;
        max-width: 120px;
    }
    
    .timeline-handle {
        width: 18px;
        height: 60px;
    }
    
    .footer-logo i {
        font-size: 2rem;
    }
    
    .footer-logo h2 {
        font-size: 1.5rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
     .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 Mode for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        padding: 0.8rem 0;
    }
    
    .hero-area {
        padding: 2rem 0;
    }
    
    .hero-area h1 {
        font-size: 2rem;
    }
    
    .functionality-section {
        padding: 1rem;
    }
    
    #preview-container {
        height: 200px;
    }
    
    .left-column,
    .right-column {
        max-height: 400px;
        overflow-y: auto;
    }
    
    .notification {
        top: 60px;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .user-actions,
    .btn,
    .social-links,
    .newsletter-section,
    .notification,
    .tools-container,
    .instant-tools {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .headings-title {
        -webkit-text-fill-color: black;
        background: none;
        color: black;
    }
    
    .privacy-section,
    .functionality-section,
    .more-tools-section,
    .tips-section {
        break-inside: avoid;
        border: 1px solid #ddd;
    }
}

/* High Resolution / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .headings-title {
        text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .btn-primary,
    .btn-download,
    .editing-btn {
        border-width: 1px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-bg: #0a0e1a;
        --secondary: #1a2340;
    }
}

/* Reduced Motion for Accessibility */
@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;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .tool-item-box:hover,
    .mode-option:hover,
    .trimming-feature-item:hover,
    .social-link:hover {
        transform: none;
    }
    
    .btn,
    .social-link,
    .tool-item-box,
    .mode-option,
    .timeline-handle {
        min-height: 44px;
        min-width: 44px;
    }
    
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
    
    .timeline-handle {
        width: 30px;
        height: 80px;
    }
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* ===== 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;
    }
}