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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
}

/* Subtle background geometric patterns */
.container::before {
    display: none;
}

/* Form Section */
.form-section {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-heading {
    font-size: 28px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
    text-transform: lowercase;
}

.error-message {
    color: #006400;
    font-size: 14px;
    margin-bottom: 20px;
}

.onboarding-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

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

.form-group input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: #ffffff;
    color: #333333;
    transition: all 0.3s;
}

.form-group input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-group input:focus {
    outline: none;
    border-color: #006400;
    box-shadow: 0 0 10px rgba(0, 100, 0, 0.2);
    background-color: #ffffff;
}

.example-text {
    color: #006400;
    font-size: 12px;
    margin-top: 5px;
}

.help-text {
    color: #666666;
    font-size: 12px;
    margin-top: 5px;
}

.terms-section {
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333333;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #006400;
}

.terms-link {
    color: #006400;
    text-decoration: underline;
    margin-left: 5px;
    transition: color 0.3s;
}

.terms-link:hover {
    text-decoration: none;
    color: #004d00;
}

/* OTP Section */
.otp-section {
    background-color: #f9f9f9;
    border: 1px solid rgba(0, 100, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.otp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.otp-header h3 {
    font-size: 18px;
    color: #333333;
}

.resend-btn {
    background: none;
    border: none;
    color: #006400;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    padding: 0;
    transition: color 0.3s;
}

.resend-btn:hover:not(:disabled) {
    text-decoration: none;
    color: #004d00;
}

.resend-btn:disabled {
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    text-decoration: none;
}

.otp-input-group {
    margin-bottom: 10px;
}

.otp-input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 18px;
    letter-spacing: 8px;
    text-align: center;
    background-color: #ffffff;
    color: #333333;
}

.otp-input-group input:focus {
    border-color: #006400;
    box-shadow: 0 0 10px rgba(0, 100, 0, 0.2);
    outline: none;
}

.otp-timer {
    color: #666666;
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
}

.otp-help-text {
    color: #666666;
    font-size: 12px;
    text-align: center;
}

.otp-display {
    background-color: rgba(0, 100, 0, 0.1);
    border: 2px solid #006400;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 100, 0, 0.2);
}

.otp-display-text {
    color: #333333;
    font-size: 16px;
    margin-bottom: 8px;
}

.otp-code {
    color: #006400;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 4px;
    font-family: 'Courier New', monospace;
}

.otp-display-note {
    color: #666666;
    font-size: 12px;
    margin-top: 5px;
}

.submit-btn,
.verify-otp-btn {
    background-color: #006400;
    color: #ffffff;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 0 20px rgba(0, 100, 0, 0.3);
}

.submit-btn:hover,
.verify-otp-btn:hover {
    background-color: #004d00;
    box-shadow: 0 0 30px rgba(0, 100, 0, 0.5);
    transform: translateY(-2px);
}

.submit-btn:disabled,
.verify-otp-btn:disabled {
    background-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Promotional Section */
.promotional-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    border: 1px solid rgba(0, 100, 0, 0.2);
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 100, 0, 0.1);
}

.promotional-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(0, 100, 0, 0.3), transparent);
    transform: rotate(15deg);
    transform-origin: top;
}

.promotional-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 100, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 100, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.promo-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-ready {
    font-size: 48px;
    font-weight: bold;
    color: white;
    line-height: 1;
}

.logo-for {
    font-size: 24px;
    color: white;
    margin-left: 5px;
}

.logo-next {
    font-size: 48px;
    font-weight: bold;
    color: white;
    line-height: 1;
}

.play-button {
    cursor: pointer;
    transition: transform 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
}

.logo-subtitle {
    color: white;
    font-size: 16px;
    margin-top: 10px;
}

.promo-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 5px rgba(0, 100, 0, 0.5));
}

.benefit-item p {
    color: white;
    font-size: 16px;
    line-height: 1.5;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 40px;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-content h2 {
    color: #333333;
    margin-bottom: 15px;
}

.modal-content p {
    color: #666666;
    margin-bottom: 20px;
}

.modal-btn {
    background-color: #006400;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 100, 0, 0.3);
}

.modal-btn:hover {
    background-color: #004d00;
    box-shadow: 0 0 25px rgba(0, 100, 0, 0.5);
}

/* Terms & Conditions Modal */
.terms-modal-content {
    max-width: 800px;
    max-height: 90vh;
    width: 90%;
    text-align: left;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
}

.terms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.pirlanta-logo {
    display: flex;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pirlanta-logo-img {
    max-height: 70px;
    max-width: 250px;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 100, 0, 0.3));
    display: block;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #006400 0%, #004d00 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 100, 0, 0.4);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 20px;
    font-weight: bold;
    color: #006400;
    letter-spacing: 2px;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    line-height: 1.2;
    margin-top: 2px;
}

.modal-close-btn {
    background: none;
    border: none;
    color: #333333;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
    line-height: 1;
}

.modal-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #006400;
}

.terms-modal-body {
    padding: 30px 40px;
    overflow-y: auto;
    flex: 1;
    max-height: calc(90vh - 200px);
}

.terms-modal-body h2 {
    color: #006400;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid rgba(0, 100, 0, 0.3);
    padding-bottom: 15px;
}

.terms-intro {
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: justify;
}

.terms-section-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.terms-section-item:last-child {
    border-bottom: none;
}

.terms-section-item h3 {
    color: #006400;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.terms-section-item p {
    color: #333333;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
    text-align: justify;
}

.terms-section-item ul {
    margin: 10px 0 15px 20px;
    padding-left: 20px;
}

.terms-section-item li {
    color: #333333;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
    list-style-type: disc;
}

.terms-section-item li::marker {
    color: #006400;
}

.terms-link-inline {
    color: #006400;
    text-decoration: underline;
    transition: color 0.3s;
}

.terms-link-inline:hover {
    color: #004d00;
    text-decoration: none;
}

.contact-link {
    margin-top: 15px;
    font-size: 16px;
}

.terms-modal-footer {
    padding: 20px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    background: #f9f9f9;
}

/* Custom Scrollbar for Terms Modal */
.terms-modal-body::-webkit-scrollbar {
    width: 8px;
}

.terms-modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.terms-modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 100, 0, 0.3);
    border-radius: 4px;
}

.terms-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 100, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promotional-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .promotional-section::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 10px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-heading {
        font-size: 24px;
    }
    
    .promotional-section {
        padding: 40px 20px;
    }
    
    .logo-ready,
    .logo-next {
        font-size: 36px;
    }
    
    .pirlanta-logo-img {
        max-height: 50px;
        max-width: 180px;
    }
    
    .terms-modal-header {
        padding: 20px 25px;
    }
}

