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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%);
}

.hero-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    min-height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.left-panel {
    background: linear-gradient(135deg, #4c5bbf 0%, #5d368e 100%);
    color: white;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

.contact-info {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.brand-section {
    position: relative;
    z-index: 2;
}

.brand-logo-img {
    max-width: 200px;
    height: auto;
    margin-bottom: 16px;
    display: block;
    position: relative;
    z-index: 2;
}

.tagline {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 12px;
    opacity: 0.95;
}

.features {
    list-style: none;
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
}

.features li {
    padding: 3px 0;
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
}

.features li:nth-child(1) { animation-delay: 0.2s; }
.features li:nth-child(2) { animation-delay: 0.4s; }
.features li:nth-child(3) { animation-delay: 0.6s; }
.features li:nth-child(4) { animation-delay: 0.8s; }
.features li:nth-child(5) { animation-delay: 1.0s; }

.features li:before {
    content: "✓";
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-weight: bold;
    font-size: 0.65rem;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
}

.value-prop {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px;
    position: relative;
    z-index: 2;
}

.value-prop h3 {
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.value-prop p {
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 10px;
}

.benefits {
    list-style: none;
    margin-top: 8px;
}

.benefits li {
    font-size: 0.7rem;
    padding: 2px 0;
    opacity: 0.9;
    display: flex;
    align-items: center;
}

.benefits li:before {
    content: "✓";
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    font-weight: bold;
    font-size: 0.6rem;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
    flex-shrink: 0;
}

.right-panel {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
}

.form-header {
    text-align: center;
    margin-bottom: 16px;
}

.form-header h2 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.form-header p {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

label {
    display: block;
    margin-bottom: 4px;
    color: #374151;
    font-weight: 600;
    font-size: 0.7rem;
}

.required {
    color: #ef4444;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 6px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    background: #fff;
    font-weight: 500;
}

input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.gmail-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    border: 2px solid #e2e8f0;
    position: relative;
}

.gmail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.gmail-section h3 {
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.gmail-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background: linear-gradient(135deg, #ea4335, #d93025);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
    box-shadow: 0 2px 6px rgba(234, 67, 53, 0.3);
}

.gmail-help {
    font-size: 0.65rem;
    color: #64748b;
    line-height: 1.4;
    font-weight: 500;
    margin-top: 6px;
}

.gmail-help strong {
    color: #374151;
    display: block;
    margin-bottom: 4px;
}

.disclaimer {
    margin: 8px 0;
}

.disclaimer label {
    display: flex;
    align-items: flex-start;
    font-size: 0.65rem;
    font-weight: 500;
    line-height: 1.3;
}

.disclaimer input[type="checkbox"] {
    margin-right: 6px;
    margin-top: 1px;
    flex-shrink: 0;
}

.submit-btn {
    width: 100%;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.submit-btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.terms {
    margin-top: 6px;
    text-align: center;
    font-size: 0.6rem;
    color: #64748b;
    line-height: 1.2;
}

.terms a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.terms a:hover {
    text-decoration: underline;
    color: #764ba2;
}

/* ============================================
   MODAL STYLES - Registration Success
   ============================================ */

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Container */
.modal-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

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

/* Logo Section */
.modal-logo {
    text-align: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-logo img {
    max-width: 180px;
    height: auto;
}

/* Success Icon */
.success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px;
    animation: scaleIn 0.5s ease;
}

.success-icon::before {
    content: '✓';
    color: white;
    font-size: 48px;
    font-weight: bold;
}

@keyframes scaleIn {
    from { 
        transform: scale(0);
    }
    to { 
        transform: scale(1);
    }
}

/* Content */
.modal-content {
    padding: 0 40px 40px;
    text-align: center;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px;
}

.modal-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 15px;
}

.modal-text:last-of-type {
    margin-bottom: 30px;
}

/* Button */
.modal-button {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.modal-button:active {
    transform: translateY(0);
}

/* Footer */
.modal-footer {
    text-align: center;
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 12px 12px;
}

.modal-footer p {
    margin: 5px 0;
    font-size: 13px;
    color: #666;
}

/* ============================================
   END MODAL STYLES
   ============================================ */

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, -30px) rotate(120deg); }
    66% { transform: translate(30px, -60px) rotate(240deg); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .left-panel {
        padding: 20px;
        text-align: center;
    }
    
    .right-panel {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        margin: 15px;
        border-radius: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Modal responsive adjustments */
    .modal-container {
        width: 95%;
        margin: 10px;
    }
    
    .modal-content {
        padding: 0 25px 30px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-text {
        font-size: 14px;
    }
}