:root {
    --bg-dark: #05101a; /* Navy background */
    --primary: #00b87c; /* Atrevo Green */
    --primary-hover: #009968;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-family: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(0, 184, 124, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(0, 184, 124, 0.05) 0%, transparent 40%);
}

/* Halftone/Grid Pattern */
.background-pattern {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    z-index: -2;
    opacity: 0.5;
}

.background-logo-outline {
    position: fixed;
    top: 10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: url('assets/Logo Atrevo-1.png') no-repeat center center;
    background-size: contain;
    opacity: 0.03;
    z-index: -1;
    filter: invert(1);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    padding: 1rem 0;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    flex-grow: 1;
    position: relative;
}

/* Info Section */
.info-section {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.title {
    font-size: 5.5rem;
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

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

.subtitle {
    font-size: 1.75rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.2;
}

.subtitle-divider {
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    margin: 1.5rem 0;
}

.description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 70%;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    max-width: 380px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--glass-bg);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.detail-icon svg {
    color: var(--primary);
    width: 28px;
    height: 28px;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-label {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.detail-value {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.3;
}

/* Speaker Card */
.speaker-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 420px;
}

.speaker-photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 184, 124, 0.2);
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.speaker-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.speaker-info strong {
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 700;
}

.speaker-info > span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.free-badge-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.free-badge-inline svg {
    color: var(--primary);
    width: 14px;
    height: 14px;
}

.free-badge-inline span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-weight: 600;
}

/* Form Section */
.form-section {
    z-index: 20;
    margin-top: 2rem;
}

.glass {
    background: rgba(10, 20, 30, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 184, 124, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 184, 124, 0.1);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 184, 124, 0.2);
}

.form-footer {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    margin-bottom: 0 !important;
}

/* Responsive */
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .title {
        font-size: 4rem;
    }

    .description {
        max-width: 100%;
    }

    .speaker-card {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 1.5rem;
    }

    .title {
        font-size: 3.5rem;
    }

    .glass {
        padding: 1.5rem;
    }

    .detail-item {
        padding: 0.875rem;
    }

    .speaker-card {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }

    .speaker-photo {
        width: 60px;
        height: 60px;
    }
}
