:root {
    --flow-bg: #CFE6EA;      
    --flow-text: #0E3D45;      
    --flow-muted: #537B83;     
    --flow-rail: rgba(29,60,69,.28); 
    --flow-accent: #A61B27;    
    --cor-quadrado: #BDD5DD;
    --cor-botoes-azul: #358493;
    --card-pad: 32px;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--flow-accent), #8C1620);
    --gradient-blue: linear-gradient(135deg, var(--cor-botoes-azul), #2A6B7A);
    --gradient-bg: linear-gradient(180deg, var(--flow-bg), #E8F4F7);
    
    /* Sombras */
    --shadow-elegant: 0 10px 30px -10px rgba(14, 61, 69, 0.3);
    --shadow-glow: 0 0 40px rgba(53, 132, 147, 0.2);
    --shadow-card: 0 8px 25px rgba(14, 61, 69, 0.15);
    
    /* Transições */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Syne', sans-serif !important;
    line-height: 1.7;
    color: var(--flow-text);
    overflow-x: hidden;
}

/* Animações globais */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Seção do Cabeçalho */
.header-section {
    padding: 80px 0 60px;
    text-align: center;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
    height: auto;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(circle at 50% 0%, rgba(53, 132, 147, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.confetti-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    position: relative;
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: 3em !important;
    color: var(--flow-text) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(14, 61, 69, 0.1);
    background: linear-gradient(135deg, var(--flow-text), var(--flow-muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.subtitle {
    font-size: 1.4em;
    color: var(--flow-muted);
    max-width: 800px;
    font-weight: 500;
    line-height: 1.6;
}

.download-trigger {
    color: var(--flow-accent);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    padding: 2px 8px;
    border-radius: 6px;
    background: linear-gradient(90deg, transparent, rgba(166, 27, 39, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    transition: var(--transition-smooth);
}

.download-trigger:hover {
    color: var(--flow-accent);
    background: rgba(166, 27, 39, 0.1);
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(166, 27, 39, 0.3);
}

/* Seção do Tutorial */
.tutorial-section {
    padding: 80px 0 !important;
    text-align: center;
    background: var(--flow-bg);
    position: relative;
}

.tutorial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(166, 27, 39, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(53, 132, 147, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.tutorial-section .container {
    position: relative;
    z-index: 1;
}

.tutorial-section h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5em;
    margin-bottom: 25px;
    color: var(--flow-text);
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.tutorial-description {
    font-size: 1.2em;
    margin-bottom: 40px !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--flow-muted);
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.spotify-container {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.spotify-container iframe {
    margin-bottom: 20px;
    border-radius: 16px !important;
    box-shadow: var(--shadow-elegant);
    transition: var(--transition-smooth);
}

.spotify-container iframe:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(14, 61, 69, 0.4);
}

.spotify-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.spotify-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.spotify-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(166, 27, 39, 0.4);
    color: white;
}

.spotify-button:hover::before {
    left: 100%;
}

.spotify-button i {
    font-size: 1.3em;
    animation: pulse 2s infinite;
}

/* Seção de Produtos */
.products-section {
    background: var(--flow-text);
    padding: 80px 0 !important;
    text-align: center;
    color: var(--flow-bg);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(207, 230, 234, 0.1) 0%, transparent 100%);
    z-index: 0;
}

.products-section .container {
    position: relative;
    z-index: 1;
}

.products-section h2 {
    font-size: 2.5em !important;
    margin-bottom: 50px !important;
    color: var(--flow-bg) !important;
    font-weight: 600 !important;
    animation: fadeInUp 1s ease-out !important;
}

.product-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.product-cards > a {
    text-decoration: none;
    transition: var(--transition-smooth);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.product-cards > a:hover {
    transform: translateY(-10px) scale(1.02);
}

.card {
    background: var(--cor-quadrado);
    color: var(--flow-text);
    border-radius: 20px;
    padding: var(--card-pad);
    width: 100%;
    max-width: 350px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    background: linear-gradient(145deg, var(--cor-quadrado), #A8C5CE);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 20px 20px 0 0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(14, 61, 69, 0.25);
    border-color: rgba(53, 132, 147, 0.3);
}

.card h3 {
    font-size: 1.6em;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--flow-text);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5em;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition-smooth);
}

.social-icon:hover::before {
    transform: scale(1);
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0077B5, #005885);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
    color: white;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.social-icon.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    animation: float 2s ease-in-out infinite;
}

.product-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 15px 0;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.card:hover .product-image {
    transform: scale(1.05);
}

.card p {
    margin-top: 20px;
    background: var(--gradient-primary);
    color: var(--flow-bg);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    animation: pulse 2.5s infinite ease-in-out;
    box-shadow: 0 4px 15px rgba(166, 27, 39, 0.3);
    position: relative;
    overflow: hidden;
}

.card p::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.card:hover p::before {
    left: 100%;
}

/* Responsividade Melhorada */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em !important;
    }
    
    .subtitle {
        font-size: 1.2em;
        padding: 0 20px;
    }
    
    .tutorial-section h2,
    .products-section h2 {
        font-size: 2em;
    }
    
    .tutorial-description {
        font-size: 1.1em;
        padding: 0 20px;
    }
    
    .spotify-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    
    .card {
        max-width: 300px;
        margin: 0 20px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .header-section {
        padding: 60px 0 40px;
    }
    
    h1 {
        font-size: 1.8em !important;
        line-height: 1.3 !important;
    }
    
    .subtitle {
        font-size: 1.1em;
    }
    
    .tutorial-section,
    .products-section {
        padding: 60px 0 !important;
    }
    
    .tutorial-section h2,
    .products-section h2 {
        font-size: 1.8em;
    }
    
    .card {
        padding: 25px;
    }
    
    .card h3 {
        font-size: 1.4em;
    }
    
    .spotify-container iframe {
        height: 250px;
    }
}