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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #050A1F;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Variables */
:root {
    --primary-color: #FF6B4A;
    --primary-hover: #ff5530;
    --bg-dark: #050A1F;
    --bg-card: #0A1633;
    --bg-darker: #080F29;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-small {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(5, 10, 31, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-wrapper {
    padding: 0.25rem;
}

.logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 1;
}

.brand-highlight {
    color: var(--primary-color);
}

.nav-actions {
    display: none;
}

@media (min-width: 768px) {
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 107, 74, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-nav {
    font-size: 0.875rem;
}

.btn-hero {
    font-size: 1.125rem;
    font-weight: 800;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 0 20px rgba(255, 107, 74, 0.4);
}

.btn-submit {
    width: 100%;
    font-size: 1.25rem;
    font-weight: 900;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(255, 107, 74, 0.4);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-icon {
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-dark);
}

@media (min-width: 768px) {
    .hero {
        padding-top: 12rem;
        padding-bottom: 8rem;
    }
}

.hero-bg-mobile {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.9;
    background-image: url('https://i.ibb.co/j9n9401L/Design-sem-nome-4.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero-bg-desktop {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.35;
    background-image: url('https://i.ibb.co/WWh34g2z/Design-sem-nome.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
    display: none;
}

@media (min-width: 768px) {
    .hero-bg-mobile {
        display: none;
    }
    
    .hero-bg-desktop {
        display: block;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(5, 10, 31, 0.5), transparent, var(--bg-dark));
}

@media (min-width: 768px) {
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(5, 10, 31, 0.8), transparent, var(--bg-dark));
    }
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.glow-blob-1 {
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background-color: rgba(255, 107, 74, 0.1);
}

.glow-blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background-color: rgba(37, 99, 235, 0.1);
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 20;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: rgba(255, 107, 74, 0.1);
    border: 1px solid rgba(255, 107, 74, 0.2);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
    box-shadow: 0 0 15px rgba(255, 107, 74, 0.1);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.badge-icon {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.text-gradient {
    background: linear-gradient(to right, #ff6b4a, #ff8f70);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #f1f5f9;
    margin-bottom: 2.5rem;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: pulse 2s infinite;
    color: var(--primary-color);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Marquee */
.marquee {
    background-color: var(--primary-color);
    padding: 0.75rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 30;
}

.marquee-content {
    display: inline-block;
    font-weight: 900;
    color: var(--bg-dark);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    animation: marquee 20s linear infinite;
    padding-right: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--bg-darker);
}

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

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    color: #94a3b8;
    max-width: 576px;
    margin: 0 auto;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 380px;
}

@media (min-width: 640px) {
    .feature-card {
        width: calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .feature-card {
        width: calc(33.333% - 1.5rem);
    }
}

.feature-card:hover {
    border-color: rgba(255, 107, 74, 0.5);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background-color: rgba(255, 107, 74, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Register Section */
.register {
    padding: 6rem 0;
}

.register-card {
    background-color: rgba(10, 22, 51, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 2.5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .register-card {
        padding: 4rem;
    }
}

.register-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    background-color: rgba(255, 107, 74, 0.05);
    filter: blur(48px);
    border-radius: 50%;
}

.register-content {
    position: relative;
    z-index: 10;
}

.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-tag {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 1rem;
}

.register-title {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 2rem;
    font-style: italic;
}

@media (min-width: 768px) {
    .register-title {
        font-size: 3rem;
    }
}

.event-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background-color: rgba(5, 10, 31, 0.5);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .event-info {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
}

.event-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-label {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.event-value {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.event-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.youtube-icon {
    color: #FF0000;
}

.event-text {
    font-weight: 900;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .event-text {
        font-size: 1.5rem;
    }
}

.event-divider {
    display: none;
}

@media (min-width: 768px) {
    .event-divider {
        display: block;
        width: 1px;
        height: 48px;
        background-color: rgba(255, 255, 255, 0.1);
    }
}

.register-subtitle {
    color: #94a3b8;
}

.register-form {
    margin-top: 2rem;
}

.form-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-left: 0.25rem;
}

.form-input {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 107, 74, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1);
}

.form-input::placeholder {
    color: #1e293b;
}

.error-message {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fca5a5;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.error-message svg {
    flex-shrink: 0;
}

/* Success Card */
.success-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 107, 74, 0.5);
    padding: 3rem 2rem;
    border-radius: 2.5rem;
    text-align: center;
    max-width: 672px;
    margin: 6rem auto;
    box-shadow: 0 0 50px rgba(255, 107, 74, 0.1);
}

@media (min-width: 768px) {
    .success-card {
        padding: 3rem;
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--bg-dark);
}

.success-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-text {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

.footer-info {
    color: #64748b;
    font-size: 0.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-info {
        text-align: right;
    }
}

.footer-copy {
    margin-bottom: 0.5rem;
}

/* Spinner for loading state */
.spinner {
    width: 28px;
    height: 28px;
    border: 4px solid rgba(5, 10, 31, 0.3);
    border-top-color: var(--bg-dark);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}