* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #2d3748;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: bounce 2s ease-in-out infinite alternate;
}

.launch-badge i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.special-offer {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 10px;
    padding: 1rem;
    margin: 1.5rem 0;
    backdrop-filter: blur(10px);
}

.offer-text {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title i {
    color: #ffd700;
    margin-right: 1rem;
    animation: pulse 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

.course-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight i {
    margin-right: 0.75rem;
    color: #ffd700;
    font-size: 1.2rem;
}

/* Form Section */
.form-section {
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    flex: 1;
}

.form-container {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-title {
    text-align: center;
    margin-bottom: 0;
    padding: 3rem 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.course-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.course-title h1 i {
    color: #ffd700;
    margin-right: 0.75rem;
    font-size: 2.25rem;
    vertical-align: middle;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem 1rem;
    background: white;
    border-bottom: 3px solid #e2e8f0;
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.form-header p {
    color: #718096;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.urgency-banner {
    background: linear-gradient(45deg, #ff6b6b, #ff8787);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    animation: pulse 2s ease-in-out infinite alternate;
}

.urgency-banner i {
    margin-right: 0.5rem;
    animation: flicker 1.5s ease-in-out infinite alternate;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    margin-right: 0.5rem;
    color: #667eea;
    width: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    margin-right: 0.75rem;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 12px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.submit-btn.loading i,
.submit-btn.loading span {
    opacity: 0;
}

/* Messages */
.success-message,
.error-message {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.success-message {
    background: #f0fff4;
    border: 2px solid #9ae6b4;
    color: #276749;
}

.error-message {
    background: #fff5f5;
    border: 2px solid #feb2b2;
    color: #742a2a;
}

.success-message i,
.error-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.success-message h3,
.error-message h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.next-steps {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: left;
}

.next-steps p {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-5px);
    }
}

@keyframes flicker {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes codeIcon {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.05) rotate(-2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes sparkle {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
}

.form-group {
    animation: slideIn 0.6s ease forwards;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}
.form-group:nth-child(2) {
    animation-delay: 0.2s;
}
.form-group:nth-child(3) {
    animation-delay: 0.3s;
}
.form-group:nth-child(4) {
    animation-delay: 0.4s;
}
.form-group:nth-child(5) {
    animation-delay: 0.5s;
}
.form-group:nth-child(6) {
    animation-delay: 0.6s;
}
.form-group:nth-child(7) {
    animation-delay: 0.7s;
}
.form-group:nth-child(8) {
    animation-delay: 0.8s;
}
.form-group:nth-child(9) {
    animation-delay: 0.9s;
}
.form-group:nth-child(10) {
    animation-delay: 1s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: 40vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .course-highlights {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .highlight {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section,
    .form-section {
        padding: 2rem;
    }

    .form-container {
        padding: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .course-highlights {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-section,
    .form-section {
        padding: 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .form-header h2 {
        font-size: 1.75rem;
    }
}
