* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-gradient-start: #667eea;
    --bg-gradient-end: #764ba2;
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --input-border: #e0e0e0;
    --input-focus: #667eea;
    --section-bg: rgba(255, 255, 255, 0.95);
    --faq-bg: #f8f9fa;
    --footer-text: #ffffff;
}

[data-theme="dark"] {
    --bg-gradient-start: #1a1a2e;
    --bg-gradient-end: #16213e;
    --card-bg: #0f1419;
    --text-primary: #e4e6eb;
    --text-secondary: #b0b3b8;
    --nav-bg: rgba(15, 20, 25, 0.95);
    --input-border: #38444d;
    --input-focus: #8b9dc3;
    --section-bg: rgba(15, 20, 25, 0.95);
    --faq-bg: #1c2732;
    --footer-text: #e4e6eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    color: var(--text-primary);
    transition: background 0.3s ease;
}

/* Navigation Styles */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    text-decoration: none;
    transition: transform 0.3s;
}

[data-theme="dark"] .nav-logo {
    color: #8b9dc3;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

[data-theme="dark"] .nav-link:hover {
    color: #8b9dc3;
    background: rgba(139, 157, 195, 0.1);
}

.nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.15);
}

[data-theme="dark"] .nav-link.active {
    color: #8b9dc3;
    background: rgba(139, 157, 195, 0.2);
}

/* Dark Mode Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: #667eea;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Content Page Styles */
.content-page {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 30px auto;
    max-width: 900px;
    line-height: 1.6;
    transition: background 0.3s ease;
}

.content-page h1 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.content-page h2 {
    color: #667eea;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.content-page h3 {
    color: #764ba2;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.content-page section {
    margin-bottom: 30px;
}

.content-page ul, .content-page ol {
    margin-left: 25px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.content-page li {
    margin-bottom: 8px;
}

.content-page a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.content-page a:hover {
    border-bottom-color: #667eea;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background: var(--faq-bg);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Steps List */
.steps-list {
    counter-reset: step-counter;
    list-style: none;
    margin-left: 0;
}

.steps-list li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding-left: 50px;
    position: relative;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* FAQ Items */
.faq-item {
    background: var(--faq-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: background 0.3s ease;
}

.faq-item h3 {
    margin-top: 0;
    color: #667eea;
}

/* Contact Form */
.contact-form {
    background: var(--faq-bg);
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--input-border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--card-bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--input-focus);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
}

.form-message.success {
    background: #efe;
    color: #3c3;
    border-left: 4px solid #3c3;
}

.form-message.error {
    background: #fee;
    color: #c33;
    border-left: 4px solid #c33;
}

.contact-section {
    margin-bottom: 40px;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    transition: background 0.3s ease;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

input[type="text"] {
    flex: 1;
    padding: 15px;
    border: 2px solid var(--input-border);
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
    background: var(--card-bg);
    color: var(--text-primary);
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--input-focus);
}

button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #c33;
    margin-bottom: 20px;
}

.success-message {
    background: #efe;
    color: #3c3;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #3c3;
    margin-bottom: 20px;
}

.video-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.video-details h3 {
    color: #667eea;
    margin-bottom: 10px;
}

.video-details p {
    color: #666;
    margin-bottom: 15px;
}

.download-btn {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    margin-top: 15px;
}

.download-btn:hover {
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.4);
}

.instructions {
    background: var(--section-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.instructions h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.instructions h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.instructions ol {
    margin-left: 20px;
    line-height: 1.8;
}

.instructions li {
    margin-bottom: 8px;
}

/* SEO Content Section */
.seo-content {
    background: var(--section-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    line-height: 1.8;
    transition: background 0.3s ease;
}

.seo-content h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.seo-content h3 {
    color: #764ba2;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.seo-content p {
    margin-bottom: 15px;
    color: #333;
}

.seo-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.seo-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.seo-content strong {
    color: #667eea;
}

/* Blog Post Styles */
.blog-post {
    background: var(--faq-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
    transition: background 0.3s ease;
}

[data-theme="dark"] .blog-post {
    border-left-color: #8b9dc3;
}

.blog-post h2 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.blog-post h3 {
    color: #764ba2;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.post-meta {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.blog-post p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.blog-post ul,
.blog-post ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.blog-post li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.faq-section {
    margin-bottom: 40px;
}

.faq-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* AdSense Placeholder Styles */
.ad-container {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-container p {
    color: #999;
    font-size: 0.9rem;
}

footer {
    text-align: center;
    color: var(--footer-text);
    opacity: 0.9;
    padding: 20px;
    margin-top: 30px;
}

footer p {
    margin-bottom: 8px;
}

footer a {
    color: var(--footer-text);
    text-decoration: underline;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    margin: 0 10px;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .content-page {
        padding: 25px;
    }
    
    .content-page h1 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    button {
        width: 100%;
        justify-content: center;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .content-page {
        padding: 20px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--card-bg);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Social Share Buttons */
.share-section {
    text-align: center;
}

.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-btn {
        justify-content: center;
    }
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.consent-text {
    flex: 1;
    min-width: 300px;
}

.consent-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.consent-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.consent-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.consent-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

#accept-cookies {
    background: linear-gradient(135deg, #1DA1F2, #1e90ff);
    color: white;
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.2);
}

#accept-cookies:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
    background: linear-gradient(135deg, #1a8cd8, #1c7ed6);
}

#reject-cookies {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

#reject-cookies:hover {
    background: var(--border-color);
}

@media (max-width: 768px) {
    .consent-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .consent-buttons {
        width: 100%;
        justify-content: stretch;
    }
    
    .consent-btn {
        flex: 1;
        min-width: 120px;
    }
}
