/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais */
    --primary-color: #E1306C;
    --primary-dark: #C13584;
    --secondary-color: #405DE6;
    --accent-color: #5851DB;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    
    /* Cores neutras */
    --white: #ffffff;
    --text-primary: #262626;
    --text-secondary: #8e8e8e;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--white);
    overflow-x: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Hero Container */
.hero-container {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Particles Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.particles::before {
    background: var(--primary-color);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.particles::after {
    background: var(--secondary-color);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* Content */
.content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Header */
.hero-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    animation: fadeInUp 1s ease;
}

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

.logo-circle {
    margin: 0 auto var(--spacing-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 400px;
    gap: var(--spacing-sm);
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 8px 32px rgba(255, 0, 0, 0.4));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 12px 48px rgba(255, 0, 0, 0.7));
    }
}

.logo-circle i {
    font-size: 4rem;
    color: var(--primary-color);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    margin-top: 0;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 600px;
    margin: 0;
    text-align: center;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.feature-card p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Converters Section */
.converters-section {
    margin-bottom: var(--spacing-xxl);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.converters-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.converters-subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.converters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.converter-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.converter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.converter-card:hover::before {
    opacity: 1;
}

/* Active Converter */
.converter-card.active {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px rgba(225, 48, 108, 0.3);
}

.converter-card.active:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 40px rgba(225, 48, 108, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Disabled Converter */
.converter-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.converter-card.disabled:hover {
    transform: none;
}

.converter-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--spacing-md);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.converter-card.active .converter-icon {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.converter-card.active:hover .converter-icon {
    transform: scale(1.1) rotate(5deg);
}

.converter-card.disabled .converter-icon {
    background: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
}

/* YouTube */
.converter-card:nth-child(2) .converter-icon {
    color: #FF0000;
}

/* TikTok */
.converter-card:nth-child(3) .converter-icon {
    color: #000000;
}

/* Facebook */
.converter-card:nth-child(4) .converter-icon {
    color: #1877F2;
}

/* Twitter */
.converter-card:nth-child(5) .converter-icon {
    color: #1DA1F2;
}

/* LinkedIn */
.converter-card:nth-child(6) .converter-icon {
    color: #0A66C2;
}

.converter-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.converter-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.converter-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
}

.converter-badge.available {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #7FFF9F;
}

.converter-badge.coming-soon {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #FFE066;
}

/* How It Works */
.how-it-works {
    text-align: center;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.step-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: var(--spacing-lg);
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
}

.step-info h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.step-info p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.step-arrow {
    font-size: 2rem;
    opacity: 0.5;
}

/* Footer */
.home-footer {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    margin-top: auto;
}

.home-footer p {
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .logo-circle {
        width: 300px;
        height: 300px;
    }
    
    .logo-image {
        max-width: 100%;
        max-height: 100%;
    }
    
    .logo-circle i {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .converters-title {
        font-size: 2rem;
    }
    
    .converters-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: var(--spacing-md);
    }
    
    .how-it-works h2 {
        font-size: 2rem;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .content {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .converters-title {
        font-size: 1.8rem;
    }
    
    .converters-grid {
        grid-template-columns: 1fr;
    }
    
    .converter-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .converter-card h3 {
        font-size: 1.2rem;
    }
}
