/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #006db6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Main Wrapper */
.main-wrapper {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Background Decorative Elements */
.bg-decorations {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.decoration-1 {
    width: 160px;
    height: 160px;
    top: -80px;
    left: -80px;
}

.decoration-2 {
    width: 128px;
    height: 128px;
    top: 25%;
    right: -40px;
    background: rgba(255, 255, 255, 0.03);
}

.decoration-3 {
    width: 96px;
    height: 96px;
    bottom: 80px;
    left: 25%;
    background: rgba(255, 255, 255, 0.04);
}

/* Landing Container */
.landing-container {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Left Illustration Section */
.illustration-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* Target with Arrow */
.target-container {
    position: relative;
}

.target {
    position: relative;
    width: 192px;
    height: 192px;
}

.target-ring {
    position: absolute;
    border-radius: 50%;
    border: 8px solid white;
}

.ring-1 {
    inset: 0;
    background: #ef4444;
}

.ring-2 {
    inset: 16px;
    background: white;
}

.ring-3 {
    inset: 48px;
    background: #ef4444;
}

.ring-4 {
    inset: 64px;
    background: white;
}

.ring-5 {
    inset: 80px;
    background: #ef4444;
}

/* Golden Arrow */
.arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.arrow-shaft {
    width: 8px;
    height: 64px;
    background: linear-gradient(to top, #d97706, #fbbf24);
    border-radius: 4px;
}

.arrow-head {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 32px solid #fbbf24;
}

/* Floating Icons */
.floating-icons {
    display: flex;
    gap: 60px;
    align-items: center;
}

.floating-icon {
    background: rgba(255, 255, 255, 0.2);
    padding: 16px;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(2) {
    animation-delay: 1.5s;
}

.floating-icon i {
    width: 32px;
    height: 32px;
    color: #fbbf24;
    font-size: 32px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 3D Geometric Shapes */
.geometric-shapes {
    display: flex;
    gap: 16px;
    align-items: center;
}

.shape {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.shape-1 {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    transform: rotate(12deg);
    border-radius: 8px;
}

.shape-2 {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    transform: rotate(-12deg);
    border-radius: 50%;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4ade80, #16a34a);
    transform: rotate(45deg);
}

/* Form Section */
.form-section {
    display: flex;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    padding: 48px;
    width: 100%;
    max-width: 400px;
}

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 48px;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #006db6;
    border-radius: 50%;
    margin-bottom: 24px;
}

.logo-text {
    color: white;
    font-weight: bold;
    font-size: 24px;
}

.brand-title {
    font-size: 32px;
    font-weight: bold;
    color: #581c87;
    margin-bottom: 12px;
}

.brand-underline {
    border-bottom: 2px solid #e9d5ff;
    padding-bottom: 2px;
}

.login-subtitle {
    color: #6b7280;
    font-size: 16px;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    ring: 2px;
    ring-color: #006db6;
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(0, 109, 182, 0.2);
}

/* Password Container */
.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #374151;
}

/* Captcha Container */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-input {
    flex: 1;
}

.captcha-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-code {
    background: #f3f4f6;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px dashed #d1d5db;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    color: #374151;
    letter-spacing: 2px;
}

.captcha-refresh {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s ease;
}

.captcha-refresh:hover {
    color: #006db6;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #006db6;
}

.checkbox-text {
    color: #6b7280;
}

.forgot-link {
    color: #006db6;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Login Button */
.login-button {
    width: 100%;
    background: #006db6;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 109, 182, 0.3);
}

.login-button:hover {
    background: #005a9a;
}

.login-button:active {
    transform: translateY(1px);
}

/* Signup Link */
.signup-link {
    text-align: center;
    font-size: 14px;
}

.signup-text {
    color: #6b7280;
}

.signup-link-text {
    color: #006db6;
    text-decoration: none;
    font-weight: 500;
    transition: text-decoration 0.2s ease;
}

.signup-link-text:hover {
    text-decoration: underline;
}

/* Marketing Section */
.marketing-section {
    color: white;
    position: relative;
}

.marketing-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.marketing-title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 24px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-bullet {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.bullet-purple {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.bullet-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.bullet-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.bullet-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-text {
    font-size: 18px;
    font-weight: 500;
}

/* Triangle Shape */
.triangle-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 128px;
    height: 128px;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    transform: rotate(12deg);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0.8;
}

/* Signup Page Specific Styles */
.signup-card {
    max-width: 450px;
}

.signup-description {
    color: #9ca3af;
    font-size: 14px;
    margin-top: 4px;
}

.otp-group {
    background: #f0f9ff;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #0ea5e9;
}

.otp-input {
    background: white !important;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}

.otp-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    color: #0369a1;
}

.otp-info i {
    color: #0ea5e9;
}

.terms-link {
    color: #006db6;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.signup-button {
    background: linear-gradient(135deg, #006db6, #0ea5e9);
}

.signup-button:hover {
    background: linear-gradient(135deg, #005a9a, #0284c7);
}

/* Animation for OTP field appearance */
.otp-group.show {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Password strength indicator */
.password-strength {
    margin-top: 8px;
    display: flex;
    gap: 4px;
}

.strength-bar {
    height: 4px;
    flex: 1;
    background: #e5e7eb;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.strength-bar.weak {
    background: #ef4444;
}

.strength-bar.medium {
    background: #f59e0b;
}

.strength-bar.strong {
    background: #10b981;
}

.strength-text {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

.strength-text.weak {
    color: #ef4444;
}

.strength-text.medium {
    color: #f59e0b;
}

.strength-text.strong {
    color: #10b981;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .landing-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .illustration-section,
    .marketing-section {
        display: none;
    }
    
    .form-section {
        order: 1;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        padding: 16px;
    }
    
    .login-card {
        padding: 32px 24px;
    }
    
    .brand-title {
        font-size: 28px;
    }
    
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .captcha-display {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 24px 16px;
    }
    
    .brand-title {
        font-size: 24px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}