/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Main container */
.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Content side (left) */
.content-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    position: relative;
}

.content-wrapper {
    max-width: 500px;
    text-align: left;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #4a5568;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}



.contact-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.email-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: inherit;
}

.email-button:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

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

.email-icon {
    font-size: 1.1rem;
}

/* Verification Modal */
.verification-modal {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.verification-modal.show {
    display: flex;
}

.modal-content {
    background: transparent;
    border-radius: 0;
    padding: 0;
    max-width: 500px;
    width: 100%;
    max-height: none;
    box-shadow: none;
    border: none;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.modal-header h3 {
    margin: 0;
    color: #1a1a1a;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.modal-body p {
    color: #4a5568;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.verification-puzzle {
    background: rgba(102, 126, 234, 0.1);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
}

.verification-puzzle span {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.verification-puzzle input {
    width: 120px;
    padding: 0.5rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

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

.verification-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.verify-btn, .cancel-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.verify-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

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

.verify-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cancel-btn {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.cancel-btn:hover {
    background: rgba(107, 114, 128, 0.2);
    color: #4b5563;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Animation side (right) */
.animation-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.animation-container {
    position: relative;
    width: 400px;
    height: 400px;
}

/* Animated shapes */
.shape-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.circle {
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 15%;
    right: 15%;
    animation-delay: -1s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 45%;
    left: 10%;
    animation-delay: -2s;
}

.shape-4 {
    width: 70px;
    height: 70px;
    top: 55%;
    right: 20%;
    animation-delay: -3s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    bottom: 15%;
    left: 25%;
    animation-delay: -4s;
}

.shape-6 {
    width: 50px;
    height: 50px;
    bottom: 20%;
    right: 30%;
    animation-delay: -5s;
}

/* Connection lines */
.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
    transform-origin: left center;
    animation: pulse 4s ease-in-out infinite;
}

.line-1 {
    width: 120px;
    height: 2px;
    top: 25%;
    left: 25%;
    transform: rotate(35deg);
    animation-delay: 0s;
}

.line-2 {
    width: 100px;
    height: 2px;
    top: 40%;
    left: 35%;
    transform: rotate(-20deg);
    animation-delay: -1s;
}

.line-3 {
    width: 90px;
    height: 2px;
    top: 60%;
    left: 20%;
    transform: rotate(60deg);
    animation-delay: -2s;
}

.line-4 {
    width: 80px;
    height: 2px;
    top: 35%;
    right: 25%;
    transform: rotate(-45deg);
    animation-delay: -3s;
}

.line-5 {
    width: 110px;
    height: 2px;
    bottom: 25%;
    left: 40%;
    transform: rotate(20deg);
    animation-delay: -4s;
}

/* Background pattern */
.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

.pattern-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.pattern-dot:nth-child(1) { top: 20%; left: 30%; animation-delay: 0s; }
.pattern-dot:nth-child(2) { top: 40%; right: 25%; animation-delay: -0.5s; }
.pattern-dot:nth-child(3) { bottom: 30%; left: 40%; animation-delay: -1s; }
.pattern-dot:nth-child(4) { top: 60%; right: 40%; animation-delay: -1.5s; }
.pattern-dot:nth-child(5) { bottom: 20%; right: 20%; animation-delay: -2s; }
.pattern-dot:nth-child(6) { top: 80%; left: 20%; animation-delay: -2.5s; }

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    33% {
        transform: translateY(-20px) scale(1.05);
    }
    66% {
        transform: translateY(10px) scale(0.95);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.1);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: 100vh;
    }
    
    .content-side {
        flex: 1;
        padding: 1.5rem;
    }
    
    .animation-side {
        flex: 0.8;
    }
    
    .animation-container {
        width: 300px;
        height: 300px;
    }
    
    .main-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .content-wrapper {
        text-align: center;
        max-width: 100%;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .verification-actions {
        justify-content: center;
    }
    
    .modal-header h3 {
        text-align: center;
        font-size: 2rem;
    }
    

}

@media (max-width: 480px) {
    .animation-side {
        display: none;
    }
    
    .content-side {
        flex: 1;
    }
    
    .container {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}
