/* CSS Variables - Dark Theme Only */
:root {
    /* Dark Theme Variables */
    --bg-gradient-start: #1a1a2e;
    --bg-gradient-end: #16213e;
    --text-primary: #e2e8f0;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --bg-primary: rgba(26, 32, 44, 0.95);
    --bg-secondary: #2d3748;
    --bg-tertiary: #1a202c;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --shadow-heavy: rgba(0, 0, 0, 0.6);
    --accent-color: #805ad5;
    --accent-secondary: #9f7aea;
    --success-color: #68d391;
    --error-color: #fc8181;
    --warning-color: #f6ad55;
    --info-color: #63b3ed;
    
    /* Platform-specific colors */
    --tiktok-primary: #ff0050;
    --tiktok-secondary: #ff1744;
    --youtube-primary: #ff0000;
    --youtube-secondary: #ff5722;
    --instagram-primary: #e1306c;
    --instagram-secondary: #f56040;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    min-height: 100vh;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

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

/* Default styles (dark theme) */
.hero-title {
    color: var(--text-primary);
}

.hero-description {
    color: var(--text-secondary);
}

.download-interface {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.url-input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.url-input::placeholder {
    color: var(--text-muted);
}

.download-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
}

.platform-badge {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.loading-section {
    background: var(--bg-secondary);
}

.video-info {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.quality-option {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.quality-option:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-color);
}

.quality-option.selected {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Features Section */
.features {
    background: transparent;
}

.section-header h2 {
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-card h3 {
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

.feature-icon svg {
    stroke: var(--accent-color);
}

/* FAQ Section */
.faq {
    background: transparent;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.faq-question {
    background: transparent;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-answer {
    color: white;
    background: var(--bg-tertiary);
}

.faq-answer p {
    color: white;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content h3 {
    color: var(--text-primary);
}

.footer-content p,
.footer-content a {
    color: var(--text-secondary);
}

.footer-content a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Privacy Section */
.privacy {
    background: transparent;
}

.privacy-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.privacy-card h3 {
    color: var(--text-primary);
}

.privacy-card p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    background: transparent;
}

.contact-item h4 {
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-icon svg {
    stroke: var(--accent-color);
}

.contact-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.form-group label {
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
}

/* General h3 styling */
h3 {
    color: white !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    transition: width 0.3s ease;
}



.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 80px 0 40px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    padding: 2rem 0;
    z-index: 10;
}

.hero-text {
    position: relative;
    z-index: 11;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.hero-description a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-description a:hover {
    color: #a0aec0;
        border-bottom-color: #a0aec0;
    transform: translateY(-1px);
}

/* Section header links styling */
.section-header p a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.section-header p a:hover {
    color: #e2e8f0;
        border-bottom-color: #e2e8f0;
    transform: translateY(-1px);
}

.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.platform-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.platform-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Download Interface */
.download-interface {
    position: relative;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    z-index: 12;
    max-width: 500px;
}

.interface-header {
    text-align: center;
    margin-bottom: 1rem;
}

.interface-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.platform-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideInUp 0.3s ease;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-wrapper {
    position: relative;
    flex: 1;
}

.url-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.url-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.detect-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #f7fafc;
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    color: #4a5568;
    transition: all 0.3s ease;
}

.detect-btn:hover {
    background: #edf2f7;
    color: #667eea;
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-width: 150px;
    justify-content: center;
}

.download-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.download-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Loading Section */
.loading-section {
    padding: 2rem 0;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
}

.loading-card {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

.loading-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.progress-container {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Video Info Section */
.video-info-section {
    padding: 2rem 0;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
}

.video-card {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: start;
    max-height: 300px;
    overflow-y: auto;
}

.video-thumbnail-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    min-height: 120px;
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    background-color: #f7fafc;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-platform {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.video-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property for future compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    gap: 2rem;
    margin-top: auto;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-item svg {
    color: #667eea;
}

/* Quality Section */
.quality-section {
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.quality-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.quality-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.3rem;
}

.quality-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.quality-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.quality-option {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.quality-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.quality-option.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.15);
}

.quality-option.selected::after {
    content: '✓';
    width: 20px;
    height: 20px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.download-btn-quality {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.3s ease;
    margin-left: 1rem;
    white-space: nowrap;
}

.download-btn-quality:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.download-btn-quality:active {
    transform: translateY(0);
}

.download-btn-quality i {
    font-size: 0.75rem;
}

.quality-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.quality-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.quality-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
}

.quality-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.quality-content {
    flex: 1;
    min-width: 0;
}

.quality-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.download-actions {
    text-align: center;
}

.download-selected-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 180px;
}

.download-selected-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.download-selected-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.file-info {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 3rem 0;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

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

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: transparent;
    color: white;
}

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

.blog-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #a0aec0;
}

.blog-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.blog-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-cta {
    text-align: center;
    margin-top: 50px;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--bg-tertiary);
    color: #f5576c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Platform Guides Section */
.platform-guides {
    padding: 80px 0;
    background: transparent;
    color: white;
}

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

.platform-guide-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.platform-guide-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.platform-logo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.platform-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.guide-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.guide-features li {
    padding: 8px 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.guide-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.guide-link:hover {
    background: var(--bg-tertiary);
    color: #4facfe;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq {
    padding: 40px 0;
    background: transparent;
    color: white;
}.section-header h2 {
    color: white;
}

.faq .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

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

.faq-item {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

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

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Privacy Section */
.privacy {
    padding: 3rem 0;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
}

.privacy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.privacy-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.privacy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.privacy-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.privacy-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background: transparent;
}

.contact .section-header h2 {
    color: white;
}

.contact .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contact-form {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-tertiary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Error and Success Sections */
.error-section,
.success-section {
    padding: 2rem 0;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
}

.error-card,
.success-card {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    max-width: 500px;
    margin: 0 auto;
}

.error-animation,
.success-animation {
    margin-bottom: 2rem;
}

.error-animation svg {
    color: #e53e3e;
    animation: shake 0.5s ease-in-out;
}

.success-animation svg {
    color: #38a169;
    animation: checkmark 0.6s ease-in-out;
}

.error-card h3,
.success-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-card h3 {
    color: #e53e3e;
}

.success-card h3 {
    color: #38a169;
}

.error-message,
.success-message {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.retry-btn,
.contact-btn,
.new-download-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.retry-btn {
    background: #667eea;
    color: white;
}

.contact-btn {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.new-download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.retry-btn:hover,
.contact-btn:hover,
.new-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #2d3748;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.supported-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.platform-tag {
    background: #2d3748;
    color: #a0aec0;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-list a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(45deg);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .video-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-color);
        border-radius: 0 0 16px 16px;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 60px 0 30px 0;
        min-height: 40vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .download-interface {
        max-width: 100%;
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .download-btn {
        width: 100%;
    }
    
    .video-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        max-height: 200px;
    }
    
    .video-thumbnail-container {
        max-width: 120px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .quality-option {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .quality-actions {
        justify-content: center;
    }
    
    .download-btn-quality {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
    
    .quality-details {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .quality-grid {
        max-width: 100%;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .quality-option {
        padding: 0.6rem 0.8rem;
        border-radius: 6px;
    }
    
    .quality-label {
        font-size: 0.85rem;
    }
    
    .quality-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
    
    .quality-details {
        font-size: 0.75rem;
        gap: 0.75rem;
    }
    
    .download-selected-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        min-width: 160px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .download-interface {
        padding: 0.75rem;
        margin: 0 10px;
    }
    
    .hero-content {
        padding: 0.25rem 0;
    }
    
    .hero-title {
        font-size: 1.25rem;
    }
    
    .platform-badges {
        justify-content: center;
    }
    
    .quality-section {
        padding: 1rem 0;
    }
    
    .quality-header h3 {
        font-size: 1.25rem;
    }
    
    .quality-header p {
        font-size: 0.85rem;
    }
    
    .quality-option {
        padding: 0.5rem 0.7rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .quality-info {
        width: 100%;
    }
    
    .quality-details {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .download-selected-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-width: 140px;
    }
    
    .error-actions {
        flex-direction: column;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Platform-specific Hero Styles - Dark Theme Compatible */
.tiktok-hero {
    background: linear-gradient(135deg, var(--tiktok-primary) 0%, var(--tiktok-secondary) 100%);
}

.youtube-hero {
    background: linear-gradient(135deg, var(--youtube-primary) 0%, var(--youtube-secondary) 100%);
}

.instagram-hero {
    background: linear-gradient(135deg, var(--instagram-primary) 0%, var(--instagram-secondary) 100%);
}

/* Platform-specific Feature Icons - Dark Theme Compatible */
.tiktok-icon {
    background: linear-gradient(135deg, var(--tiktok-primary), var(--tiktok-secondary));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.youtube-icon {
    background: linear-gradient(135deg, var(--youtube-primary), var(--youtube-secondary));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.instagram-icon {
    background: linear-gradient(135deg, var(--instagram-primary), var(--instagram-secondary));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Content Card List Items */
.content-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.content-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Quality Options for YouTube */
.quality-options {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    color: white;
}

.quality-card.popular {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--accent-color);
    position: relative;
}

.quality-card.popular::before {
    content: 'PHỔ BIẾN';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.quality-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Selection */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.3);
    color: var(--text-primary);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.breadcrumb-item.active span {
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }
    
    .breadcrumb-list {
        gap: 0.25rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
         margin-left: 0.25rem;
     }
 }

/* How to Use Section */
.how-to-use {
    padding: 4rem 0;
    background: var(--bg-tertiary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-platforms,
.step-features,
.step-qualities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.platform-tag,
.feature-tag,
.quality-tag {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.feature-tag {
    background: var(--success-color);
}

.quality-tag {
    background: var(--info-color);
}

.tips-section {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 3rem;
    border-left: 4px solid var(--accent-color);
}

.tips-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    color: var(--text-secondary);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list strong {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .how-to-use {
        padding: 2rem 0;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .tips-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}

/* Popup Modal Styles */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.popup-modal.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: var(--bg-primary);
    border-radius: 1rem;
    width: 95%;
    max-width: 1200px;
    height: 90%;
    max-height: 800px;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: all 0.3s ease;
    overflow: hidden;
}

.popup-modal.active .popup-content {
    transform: scale(1);
}

.popup-header {
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popup-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.popup-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transform: scale(1.1);
}

.popup-iframe {
    width: 100%;
    height: calc(100% - 70px);
    border: none;
    background: var(--bg-tertiary);
}

.popup-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.popup-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Platform-specific popup styles */
.popup-modal.tiktok .popup-header {
    background: linear-gradient(135deg, var(--tiktok-primary), var(--tiktok-secondary));
}

.popup-modal.youtube .popup-header {
    background: linear-gradient(135deg, var(--youtube-primary), var(--youtube-secondary));
}

.popup-modal.instagram .popup-header {
    background: linear-gradient(135deg, var(--instagram-primary), var(--instagram-secondary));
}

/* Mobile responsive */
@media (max-width: 768px) {
    .popup-content {
        width: 98%;
        height: 95%;
        border-radius: 0.5rem;
    }
    
    .popup-header {
        padding: 0.75rem 1rem;
    }
    
    .popup-title {
        font-size: 1.1rem;
    }
    
    .popup-close {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
}