* {
    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: 12px;
    padding-top: 10px;
    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 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    position: relative;
    z-index: 2;
}

.value-prop h3 {
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #667eea;
}

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

.benefits {
    list-style: none;
    margin: 0;
    padding-left: 20px;
}

.benefits li {
    font-size: 0.7rem;
    margin-bottom: 6px;
    color: #444;
    padding-left: 20px;
    position: relative;
    opacity: 0.9;
    display: flex;
    align-items: center;
}

.benefits li span {
    position: absolute;
    left: 0;
    color: #4ade80;
    font-size: 0.9rem;
}

.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: 0px 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 {
    display: none !important;
}

.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 {
    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 {
    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;
    }
}

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

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

.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); }
}

.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;
}

.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);
}

.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;
}

/* ============================================
   TEST MODE & VIDEO STYLES
   ============================================ */

.test-mode-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #dc2626;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    z-index: 1000;
    display: none;
    font-size: 0.85rem;
}

.test-mode-banner.active {
    display: block;
}

.video-section {
    margin: 18px 0;
    position: relative;
    z-index: 2;
}

.right-panel .video-section {
    padding: 0;
    margin: 0 0 16px 0;
}

.video-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 8px;
    position: relative;
}

.right-panel .video-container {
    background: rgba(0, 0, 0, 0.1);
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.video-controls {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    gap: 10px;
}

.fullscreen-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.right-panel .fullscreen-btn {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.right-panel .fullscreen-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

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

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1400px;
}

.video-modal video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.close-video-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-video-modal:hover {
    color: #ddd;
}

/* ============================================
   LEAD SOURCES SECTION
   ============================================ */

.left-panel-columns {
    display: flex;
    gap: 24px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.left-panel-columns .brand-section {
    flex: 1;
}

.lead-sources-section {
    flex: 0 0 190px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    align-self: flex-start;
    margin-top: 55px;
}

.lead-sources-section h3 {
    color: #4ade80;
    font-size: 0.75rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.lead-source-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.lead-source-item:last-child {
    margin-bottom: 0;
}

.lead-icon {
    font-size: 1.2rem;
}

.lead-source-item strong {
    color: white;
    font-size: 0.75rem;
    display: block;
}

.lead-source-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
    margin: 2px 0 0 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@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-container {
        width: 95%;
        margin: 10px;
    }
    
    .modal-content {
        padding: 0 25px 30px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-text {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .left-panel-columns {
        flex-direction: column;
    }
    .lead-sources-section {
        flex: none;
    }
}