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

/* Custom properties for mobile viewport */
:root {
    --vh: 1vh;
    --safe-area-top: 0px;
    --safe-area-bottom: 0px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    padding-top: var(--safe-area-top);
    padding-bottom: var(--safe-area-bottom);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding-top: var(--safe-area-top);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.nav-logo i {
    font-size: 1.8rem;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

/* Hero Section */
.hero {
    padding: 125px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.hero-content {
    width: 100%;
}

.hero-visual-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #fff, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Download Form - Updated Design */
.download-form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    width: 100%;
    position: relative;
    z-index: 9998;
}

/* Search Container */
.search-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 5px 5px 5px 20px;
    flex: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.input-wrapper i {
    color: #667eea;
    font-size: 1.2rem;
    margin-right: 10px;
}

.input-wrapper input {
    flex: 1;
    border: none;
    padding: 15px 0;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

/* Override browser autocomplete styling */
.input-wrapper input:-webkit-autofill,
.input-wrapper input:-webkit-autofill:hover,
.input-wrapper input:-webkit-autofill:focus,
.input-wrapper input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #333 !important;
    background-color: white !important;
}

.input-wrapper input:autofill {
    background-color: white !important;
}

.paste-btn {
    background: #f0f0f0;
    color: #667eea;
    border: none;
    border-radius: 50px;
    height: 56px;
    padding: 0 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

.paste-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.download-btn {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border: none;
    padding: 0 30px;
    height: 56px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.25);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.35);
}

/* Download Action Container */
.download-action {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.download-action .download-btn {
    width: 100%;
    max-width: 400px;
    height: 60px;
    font-size: 1.1rem;
    justify-content: center;
    white-space: nowrap;
}

.download-btn:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.download-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Format Container */
.format-container {
    margin-top: 15px;
}

.format-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.format-tab {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.format-tab.active, .format-tab:hover {
    background: white;
    color: #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.format-options-container {
    position: relative;
}

.format-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.format-options.disabled {
    filter: blur(2px);
    opacity: 0.5;
    pointer-events: none;
}

.format-option {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: left;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 80px;
}

.format-option:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.format-option.selected {
    background: white;
    color: #333;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.format-options.disabled .format-option:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.2);
}

.format-icon {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.format-details {
    padding: 0 15px;
    flex: 1;
}

.format-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 3px;
}

.format-desc {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Benefits */
.benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 35px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.benefit-item i {
    color: #feca57;
    font-size: 1.2rem;
}

/* Video Guide Styling */
.video-guide {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.guide-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    /* Button-specific styles */
    font-family: inherit;
    outline: none;
    position: relative;
    z-index: 1;
}

.guide-link:focus {
    outline: 2px solid #feca57;
    outline-offset: 2px;
}

.guide-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.guide-link i {
    font-size: 1.2rem;
    color: #feca57;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-preview {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    max-width: 450px;
    margin: 0 auto 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.video-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 20px 20px 0 0;
}

.video-thumbnail {
    width: 180px;
    height: 110px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.video-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.video-thumbnail i {
    font-size: 3.5rem;
    color: white;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.video-info {
    text-align: center;
}

.video-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.video-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

.download-progress {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Welcome Section */
.welcome {
    padding: 60px 0;
    background: #f8f9fa;
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.welcome-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Why Stands Out Section */
.why-stands-out {
    padding: 60px 0;
    background: white;
}

.stands-out-content {
    max-width: 900px;
    margin: 0 auto;
}

.stands-out-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.stands-out-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.stands-out-text p:last-child {
    margin-bottom: 0;
}

.benefits-list {
    margin: 25px 0;
    padding-left: 20px;
}

.benefits-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    padding-left: 10px;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefits-list strong {
    color: #667eea;
    font-weight: 600;
}

/* Key Features Section */
.key-features {
    padding: 80px 0;
    background: white;
}

.features-table-container {
    margin: 40px 0;
    overflow-x: auto;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.features-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.features-table th:nth-child(2),
.features-table th:nth-child(3) {
    text-align: center;
}

.features-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.features-table td:nth-child(2),
.features-table td:nth-child(3) {
    text-align: center;
}

.features-table tr:last-child td {
    border-bottom: none;
}

.features-table tr:nth-child(even) {
    background: #f8f9fa;
}

.features-table tr:hover {
    background: #f0f0f0;
    transition: background 0.3s ease;
}

.features-description {
    max-width: 900px;
    margin: 0 auto;
}

.features-description > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    text-align: center;
}

.features-list {
    margin: 30px 0;
    padding-left: 20px;
}

.features-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    padding-left: 10px;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.features-list strong {
    color: #667eea;
    font-weight: 600;
}

.features-conclusion {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: center;
    margin-top: 25px;
    font-weight: 500;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.benefits-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.benefits-conclusion {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.benefits-conclusion p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-weight: 500;
}

/* Who Needs Section */
.who-needs {
    padding: 80px 0;
    background: white;
}

.who-needs-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.who-needs-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.user-types {
    max-width: 1000px;
    margin: 0 auto 50px;
}

.user-type {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-type:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.user-type:last-child {
    margin-bottom: 0;
}

.user-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.user-content {
    flex: 1;
}

.user-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.user-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.who-needs-conclusion {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.who-needs-conclusion p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: #f8f9fa;
}

.how-it-works-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.how-it-works-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.how-it-works-conclusion {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
}

.how-it-works-conclusion p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-weight: 500;
}

/* Section Guide Styling */
.section-guide {
    margin-top: 40px;
    text-align: center;
}

.guide-text {
    color: #555;
    font-size: 1rem;
    margin-bottom: 15px;
}

.section-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #667eea;
    text-decoration: none;
    background: #f8f9ff;
    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid #667eea;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    /* Button-specific styles */
    font-family: inherit;
    outline: none;
}

.section-guide-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.section-guide-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
}

.section-guide-link i {
    font-size: 1.2rem;
}

/* Video Guide Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.video-container {
    position: relative;
    width: 100%;
    min-height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
}

.guide-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 1;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

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

.video-loading p {
    color: #667eea;
    margin: 0;
    font-weight: 500;
}

.video-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff3cd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 2;
    border: 1px solid #ffeaa7;
}

.video-error i {
    font-size: 2rem;
    color: #d68910;
    margin-bottom: 10px;
}

.video-error p {
    color: #856404;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.retry-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.retry-btn:hover {
    background: #5a67d8;
}

.video-instructions {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.video-instructions h4 {
    margin: 0 0 15px 0;
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
}

.video-instructions ol {
    margin: 0;
    padding-left: 20px;
    color: #555;
}

.video-instructions li {
    margin-bottom: 8px;
    line-height: 1.5;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.6;
    display: none;
}

.faq-answer ol {
    margin: 15px 0 0 0;
    padding-left: 20px;
}

.faq-answer ol li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.faq-answer ol li:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .footer-logo {
        justify-content: center;
    }
}

.footer-logo i {
    color: #667eea;
}

.footer-logo .logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

.footer-disclaimer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #999;
    max-width: 800px;
    margin: 0 auto;
}

/* Legal Pages Styles */
.legal-content {
    padding: 120px 0 80px;
    background: white;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.legal-header p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.legal-body {
    max-width: 900px;
    margin: 0 auto;
}

.legal-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.legal-body h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 25px 0 15px;
}

.legal-body p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.legal-body ul {
    margin: 20px 0;
    padding-left: 20px;
}

.legal-body ul li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.legal-body ul li:last-child {
    margin-bottom: 0;
}

.legal-body a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.legal-body a:hover {
    text-decoration: underline;
}

.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #667eea;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #555;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .steps-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-container {
        position: relative;
        justify-content: center;
    }
    
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mobile-menu-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-menu {
        position: fixed;
        top: calc(75px + var(--safe-area-top));
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px - var(--safe-area-top) - var(--safe-area-bottom));
        height: calc(calc(var(--vh, 1vh) * 100) - 75px - var(--safe-area-top) - var(--safe-area-bottom));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 0 var(--safe-area-bottom);
        gap: 30px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 30px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(102, 126, 234, 0.1);
        color: #667eea;
    }
    
    /* Logo */
    .logo-image {
        height: 80px;
    }
    
    .footer-logo .logo-image {
        height: 80px;
    }
    
    /* Hero Section */
    .hero {
        padding: 95px 0 50px;
    }
    
    .hero-container {
        padding: 0 15px;
        gap: 25px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    /* Download Form */
    .download-form {
        padding: 20px 18px;
        border-radius: 20px;
        margin-bottom: 20px;
    }
    
    .search-container {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .input-wrapper {
        padding: 8px 8px 8px 20px;
    }
    
    .input-wrapper input {
        padding: 12px 0;
        font-size: 0.95rem;
    }
    
    .paste-btn {
        width: 100%;
        height: 50px;
        justify-content: center;
    }
    
    /* Format Options */
    .format-tabs {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .format-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
        flex: 1;
        justify-content: center;
    }
    
    .format-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .format-option {
        height: 70px;
    }
    
    .format-icon {
        width: 50px;
        font-size: 0.9rem;
    }
    
    .format-details {
        padding: 0 12px;
    }
    
    .format-name {
        font-size: 0.95rem;
    }
    
    .format-desc {
        font-size: 0.8rem;
    }
    
    /* Download Button */
    .download-action .download-btn {
        width: 100%;
        max-width: none;
        height: 55px;
        font-size: 1rem;
    }
    
    /* Benefits */
    .benefits {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-top: 20px;
    }
    
    .benefit-item {
        font-size: 0.95rem;
    }
    
    /* Video Guide */
    .guide-link {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    /* Hero Visual */
    .video-preview {
        padding: 20px;
        max-width: 350px;
    }
    
    .video-thumbnail {
        width: 150px;
        height: 90px;
    }
    
    .video-thumbnail i {
        font-size: 2rem;
    }
    
    .video-thumbnail img {
        border-radius: 12px;
    }
    
    /* Sections */
    .welcome,
    .why-stands-out,
    .key-features,
    .benefits-section,
    .who-needs,
    .features,
    .how-it-works,
    .faq {
        padding: 50px 0;
    }
    
    .welcome-content p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .stands-out-content h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .stands-out-text p,
    .benefits-list li {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Key Features Table */
    .features-table th {
        padding: 15px 12px;
        font-size: 1rem;
    }
    
    .features-table td {
        padding: 15px 12px;
        font-size: 0.95rem;
    }
    
    .features-description > p,
    .features-list li,
    .features-conclusion {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Benefits Section */
    .benefits-intro p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
    }
    
    .benefit-icon i {
        font-size: 1.8rem;
    }
    
    .benefit-card h3 {
        font-size: 1.3rem;
    }
    
    .benefit-card p {
        font-size: 0.95rem;
    }
    
    .benefits-conclusion p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Who Needs Section */
    .who-needs-intro p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .user-type {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .user-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .user-content h3 {
        font-size: 1.3rem;
    }
    
    .user-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .who-needs-conclusion p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    /* Steps */
    .how-it-works-intro p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        padding: 20px 18px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .how-it-works-conclusion p {
        font-size: 1rem;
        line-height: 1.7;
        margin-top: 25px;
    }
    
    /* FAQ */
    .faq-question {
        padding: 18px 22px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 30px;
    }
    
    .faq-answer {
        padding: 0 22px 18px;
    }
    
    .faq-answer ol {
        margin: 12px 0 0 0;
        padding-left: 18px;
    }
    
    .faq-answer ol li {
        margin-bottom: 6px;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        padding: 35px 0 12px;
    }
    
    .footer-disclaimer {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .footer-disclaimer p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Legal Pages */
    .legal-content {
        padding: 100px 0 60px;
    }
    
    .legal-header h1 {
        font-size: 2.2rem;
    }
    
    .legal-body h2 {
        font-size: 1.6rem;
        margin: 30px 0 15px;
    }
    
    .legal-body h3 {
        font-size: 1.3rem;
    }
    
    .legal-body p,
    .legal-body ul li {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        max-width: none;
        margin: 20px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .video-container {
        min-height: 200px;
    }
    
    .video-instructions {
        padding: 15px;
    }
    
    .video-instructions h4 {
        font-size: 1rem;
    }
    
    .loading-spinner {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }
    
    .video-error i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    .nav-container {
        padding: 0 10px;
        height: 70px;
        position: relative;
        justify-content: center;
    }
    
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-image {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-menu {
        top: calc(70px + var(--safe-area-top));
        height: calc(100vh - 70px - var(--safe-area-top) - var(--safe-area-bottom));
        height: calc(calc(var(--vh, 1vh) * 100) - 70px - var(--safe-area-top) - var(--safe-area-bottom));
        padding: 25px 0 var(--safe-area-bottom);
        gap: 25px;
    }
    
    .nav-menu a {
        font-size: 1rem;
        padding: 12px 25px;
    }
    
    /* Hero Section */
    .hero {
        padding: 85px 0 45px;
    }
    
    .hero-container {
        padding: 0 10px;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* Download Form */
    .download-form {
        padding: 18px 15px;
        margin-bottom: 18px;
    }
    
    .input-wrapper {
        padding: 6px 6px 6px 15px;
    }
    
    .input-wrapper input {
        padding: 10px 0;
        font-size: 0.9rem;
    }
    
    .paste-btn {
        height: 45px;
        font-size: 0.9rem;
        padding: 0 20px;
    }
    
    /* Format Options */
    .format-tab {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .format-option {
        height: 65px;
    }
    
    .format-icon {
        width: 45px;
        font-size: 0.85rem;
    }
    
    .format-name {
        font-size: 0.9rem;
    }
    
    .format-desc {
        font-size: 0.75rem;
    }
    
    /* Download Button */
    .download-action .download-btn {
        height: 50px;
        font-size: 0.95rem;
    }
    
    /* Benefits */
    .benefit-item {
        font-size: 0.9rem;
    }
    
    .benefit-item i {
        font-size: 1.1rem;
    }
    
    /* Video Guide */
    .guide-link {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    /* Hero Visual */
    .video-preview {
        padding: 18px;
        max-width: 320px;
    }
    
    .video-thumbnail {
        width: 130px;
        height: 80px;
    }
    
    .video-thumbnail i {
        font-size: 1.8rem;
    }
    
    .video-thumbnail img {
        border-radius: 10px;
    }
    
    /* Sections */
    .welcome,
    .why-stands-out,
    .features,
    .how-it-works,
    .faq {
        padding: 40px 0;
    }
    
    .welcome-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .stands-out-content h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .stands-out-text p,
    .benefits-list li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Key Features Table */
    .features-table th {
        padding: 12px 10px;
        font-size: 0.95rem;
    }
    
    .features-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .features-description > p,
    .features-list li,
    .features-conclusion {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Benefits Section */
    .benefits-intro p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 35px;
    }
    
    .benefit-card {
        padding: 25px 18px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-card h3 {
        font-size: 1.2rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
    
    .benefits-conclusion p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Who Needs Section */
    .who-needs-intro p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .user-type {
        padding: 20px 18px;
        margin-bottom: 20px;
    }
    
    .user-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .user-content h3 {
        font-size: 1.2rem;
    }
    
    .user-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .who-needs-conclusion p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Features */
    .feature-card {
        padding: 22px 18px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    /* Steps */
    .how-it-works-intro p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .steps-container {
        gap: 18px;
        margin-top: 20px;
    }
    
    .step {
        padding: 18px 15px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .how-it-works-conclusion p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-top: 20px;
    }
    
    /* FAQ */
    .faq-question {
        padding: 16px 18px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
        padding-right: 25px;
    }
    
    .faq-answer {
        padding: 0 18px 16px;
        font-size: 0.9rem;
    }
    
    .faq-answer ol {
        margin: 10px 0 0 0;
        padding-left: 16px;
    }
    
    .faq-answer ol li {
        margin-bottom: 5px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 25px 0 10px;
    }
    
    .footer-disclaimer {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .footer-disclaimer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Legal Pages */
    .legal-content {
        padding: 90px 0 50px;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-body h2 {
        font-size: 1.4rem;
        margin: 25px 0 12px;
    }
    
    .legal-body h3 {
        font-size: 1.2rem;
    }
    
    .legal-body p,
    .legal-body ul li {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .contact-info {
        padding: 18px;
    }
    
    .contact-info p {
        font-size: 0.95rem;
    }
    
    .footer-content {
        gap: 18px;
        margin-bottom: 18px;
    }
    
    .footer-logo .logo-image {
        height: 70px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    /* Modal */
    .modal-content {
        width: 98%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-header h3 {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .video-container {
        min-height: 180px;
    }
    
    .video-instructions {
        padding: 12px;
    }
    
    .video-instructions h4 {
        font-size: 0.95rem;
    }
    
    .video-instructions ol {
        padding-left: 18px;
    }
    
    .video-instructions li {
        font-size: 0.9rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .download-form {
        padding: 15px 12px;
    }
    
    .format-tab {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .format-option {
        height: 60px;
    }
    
    .format-icon {
        width: 40px;
        font-size: 0.8rem;
    }
    
    .video-preview {
        padding: 15px;
        max-width: 280px;
    }
    
    .video-thumbnail {
        width: 110px;
        height: 70px;
    }
    
    .video-thumbnail i {
        font-size: 1.5rem;
    }
    
    .video-thumbnail img {
        border-radius: 8px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .feature-card:hover,
    .step:hover,
    .format-option:hover,
    .paste-btn:hover,
    .download-btn:hover,
    .guide-link:hover,
    .section-guide-link:hover {
        transform: none;
        box-shadow: initial;
    }
    
    /* Larger touch targets */
    .format-option,
    .paste-btn,
    .download-btn,
    .guide-link,
    .faq-question,
    .nav-menu a {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    /* Prevent text selection on interactive elements */
    .format-option,
    .paste-btn,
    .download-btn,
    .guide-link,
    .format-tab,
    .mobile-menu-toggle {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

/* Prevent zoom on input focus (iOS) */
@media screen and (max-width: 768px) {
    input[type="url"],
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Improved scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

.feature-card,
.step,
.faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .format-option,
    .feature-card,
    .step,
    .faq-item {
        border: 2px solid;
    }
    
    .download-btn,
    .paste-btn,
    .guide-link {
        border: 2px solid currentColor;
    }
} 

@media (max-width: 768px) {
    .step-number {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .step-number {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Glass Overlay for Loading */
.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #667eea;
}

.loading-spinner p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Download Dropdown Styles - Redesigned */
.download-dropdown-container {
    margin: 25px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 9999;
}

.dropdown-wrapper {
    position: relative;
    width: 100%;
}

.dropdown-toggle {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    color: #333;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-shadow: none;
}

.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.dropdown-toggle.disabled {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.dropdown-toggle.disabled:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
    color: #667eea;
}

.dropdown-toggle.active i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 10000;
    max-height: 450px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s ease;
    margin-top: 10px;
    backdrop-filter: blur(20px);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    padding: 20px 0;
}

.dropdown-section:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-header {
    padding: 0 25px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #667eea;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, #f8f9ff, #f0f2ff);
    margin: 0 15px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.dropdown-header i {
    color: #667eea;
    font-size: 1.1rem;
}

.dropdown-options {
    padding: 0 15px;
}

.dropdown-option {
    width: 100%;
    padding: 15px 20px;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
    text-align: left;
    margin-bottom: 5px;
    color: #333;
}

.dropdown-option:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.15);
}

.dropdown-option.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.option-icon {
    font-size: 1.4rem;
    width: 35px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.option-details {
    flex: 1;
}

.option-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
    font-size: 1.05rem;
}

.option-desc {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.dropdown-option.selected .option-name {
    color: white;
}

.dropdown-option.selected .option-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Custom scrollbar for dropdown */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Mobile Responsive for Dropdown */
@media (max-width: 768px) {
    .dropdown-toggle {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .dropdown-menu {
        max-height: 350px;
    }
    
    .dropdown-option {
        padding: 12px 16px;
    }
    
    .option-icon {
        font-size: 1.2rem;
        width: 30px;
    }
    
    .option-name {
        font-size: 1rem;
    }
    
    .option-desc {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .dropdown-toggle {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    
    .dropdown-option {
        padding: 10px 14px;
    }
    
    .option-icon {
        font-size: 1.1rem;
        width: 25px;
    }
    
    .option-name {
        font-size: 0.95rem;
    }
    
    .option-desc {
        font-size: 0.8rem;
    }
} 

/* Download Processing Modal Styles */
.download-modal-content {
    max-width: 500px;
    text-align: center;
}

.download-processing {
    padding: 20px 0;
}

.processing-spinner {
    margin-bottom: 20px;
}

.processing-spinner i {
    font-size: 3rem;
    color: #667eea;
    animation: spin 1s linear infinite;
}

.processing-message h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.processing-message p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.processing-progress {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill-processing {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s ease;
    animation: progressPulse 2s ease-in-out infinite;
}

.progress-text-processing {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

@keyframes progressPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .download-modal-content {
        max-width: 90%;
        margin: 20px;
    }
    
    .processing-spinner i {
        font-size: 2.5rem;
    }
    
    .processing-message h4 {
        font-size: 1.3rem;
    }
    
    .processing-message p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .download-modal-content {
        max-width: 95%;
        margin: 10px;
    }
    
    .processing-spinner i {
        font-size: 2rem;
    }
    
    .processing-message h4 {
        font-size: 1.2rem;
    }
    
    .processing-message p {
        font-size: 0.85rem;
    }
}