/* css/auth-styles.css - PointRWRDS Authentication Styles */

/* Reset and base styles */
* {
    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, #f8f9fa 0%, #ffffff 100%);
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Container */
.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Form containers */
.form-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.form-container.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo and branding */
.logo-placeholder {
    text-align: center;
    margin-bottom: 24px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffba00, #ffd800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ffba00; /* Fallback */
    letter-spacing: 2px;
    margin-bottom: 4px;
    font-family: 'Mabroc', sans-serif;
}

.logo-tagline {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Headers and text */
h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Form elements */
form {
    width: 100%;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 14px;
}

input[type="text"],
input[type="tel"],
input[type="password"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #ffba00;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 186, 0, 0.1);
}

input.success {
    border-color: #00c851;
    background-color: #f8fff9;
}

input.error {
    border-color: #ff4444;
    background-color: #fff8f8;
}

input.warning {
    border-color: #ffba00;
    background-color: #fffcf5;
}

/* Password input wrapper */
.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    background-color: #f0f0f0;
    color: #333;
}

.toggle-password:focus {
    outline: 2px solid #ffba00;
    outline-offset: 2px;
}

/* Error messages */
.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
    font-weight: 500;
    line-height: 1.3;
}

.error-message[style*="block"] {
    display: block !important;
}

/* Field help text */
.field-help {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    line-height: 1.3;
}

.field-help small {
    font-size: inherit;
}

/* Password requirements */
.password-requirements {
    margin-top: 8px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #ffba00;
}

.password-requirements small {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 12px;
}

.password-requirements ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.password-requirements li {
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Terms checkbox */
.terms-checkbox {
    margin: 20px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
    accent-color: #ffba00;
}

.checkbox-text {
    font-size: 13px;
    color: #666;
    flex: 1;
}

.checkbox-text a {
    color: #ffba00;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Custom checkbox styling */
.checkmark {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: #ffba00;
    border-color: #ffba00;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark:after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Buttons */
.primary-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffba00, #ffd800);
    color: #333;
    border: none;
    padding: 16px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 100; /* Ensure button is clickable */
    pointer-events: auto;
}

.primary-btn:hover {
    background: linear-gradient(135deg, #ffd800, #ffba00);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 186, 0, 0.3);
}

.primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 186, 0, 0.3);
}

.primary-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.primary-btn .btn-text {
    transition: opacity 0.3s ease;
}

.primary-btn .btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.primary-btn .btn-loader .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(51, 51, 51, 0.3);
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.secondary-btn {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e1e1e1;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.secondary-btn:hover {
    background: #e9ecef;
    color: #333;
    border-color: #ccc;
    transform: translateY(-1px);
}

/* Form links */
.form-links {
    text-align: center;
    margin-top: 16px;
}

.form-links .help-text {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    font-style: italic;
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.form-footer p {
    color: #666;
    font-size: 14px;
}

.form-footer a {
    color: #ffba00;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Platform disclaimer */
.platform-disclaimer {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 20px;
    margin-top: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-content h4 {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 12px;
}

.disclaimer-content h4:first-child {
    margin-top: 0;
}

.disclaimer-content p {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.disclaimer-links {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e1e1e1;
    text-align: center;
}

.disclaimer-links a {
    color: #ffba00;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.disclaimer-links a:hover {
    text-decoration: underline;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    background: #00c851;
    color: white;
}

.notification.error {
    background: #ff4444;
    color: white;
}

.notification.warning {
    background: #ffba00;
    color: #333;
}

.notification.info {
    background: #2196F3;
    color: white;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    font-size: 18px;
    opacity: 0.8;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 186, 0, 0.3);
    border-top: 3px solid #ffba00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.loading-overlay p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    height: auto;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.modal-body {
    padding: 20px 24px 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.modal-actions button {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

/* Terms and privacy content */
.terms-content,
.privacy-content {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.terms-content h4,
.privacy-content h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.terms-content h4:first-child,
.privacy-content h4:first-child {
    margin-top: 0;
}

.terms-content p,
.privacy-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.terms-content ul,
.privacy-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.terms-content li,
.privacy-content li {
    color: #666;
    line-height: 1.5;
    margin-bottom: 6px;
}

/* Fix mobile viewport and layout */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Container fixes */
.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    flex-shrink: 0;
}

/* Platform disclaimer mobile fix */
.platform-disclaimer {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 16px;
    margin-top: 24px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Responsive design */
@media (max-width: 480px) {
    body {
        padding: 12px;
        justify-content: flex-start;
        align-items: stretch;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
    }
    
    .form-container {
        padding: 24px 20px;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .platform-disclaimer {
        padding: 12px;
        margin-top: 16px;
        font-size: 12px;
    }
    
    .disclaimer-content h4 {
        font-size: 13px;
        margin-bottom: 4px;
        margin-top: 8px;
    }
    
    .disclaimer-content p {
        font-size: 11px;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .disclaimer-links {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .disclaimer-links a {
        font-size: 11px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    input[type="text"],
    input[type="tel"],
    input[type="password"],
    input[type="email"] {
        padding: 12px 14px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .primary-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .modal-content {
        margin: 10px;
        max-width: none;
        max-height: calc(100vh - 20px);
    }
    
    .modal-header {
        padding: 20px 20px 16px;
    }
    
    .modal-body {
        padding: 16px 20px 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions button {
        width: 100%;
    }
    
    .platform-disclaimer {
        margin-top: 24px;
        padding: 16px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    input[type="text"],
    input[type="tel"],
    input[type="password"],
    input[type="email"] {
        border-width: 3px;
    }
    
    .primary-btn {
        border: 2px solid #333;
    }
    
    .error-message {
        font-weight: 700;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .notification,
    .loading-overlay,
    .modal-overlay,
    .platform-disclaimer {
        display: none !important;
    }
    
    .form-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .primary-btn,
    .secondary-btn {
        background: white !important;
        color: black !important;
        border: 1px solid #333 !important;
    }
}

/* Focus styles for accessibility */
input:focus,
button:focus,
.checkbox-container:focus,
.form-footer a:focus {
    outline: 2px solid #ffba00;
    outline-offset: 2px;
}

/* Selection styles */
::selection {
    background: rgba(255, 186, 0, 0.3);
    color: #333;
}

::-moz-selection {
    background: rgba(255, 186, 0, 0.3);
    color: #333;
}


/* 🔧 ENHANCED Signup Password CSS - Add to auth-styles.css */

/* Enhanced input states for signup */
#signupFormElement input.success {
    border-color: #00c851;
    background-color: #f0fff4;
}

#signupFormElement input.error {
    border-color: #ff4444;
    background-color: #fff5f5;
}

#signupFormElement input.success:focus {
    box-shadow: 0 0 0 3px rgba(0, 200, 81, 0.1);
}

#signupFormElement input.error:focus {
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

/* Password match indicator for signup */
#signup-password-match {
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.3s ease-out;
}

/* Enhanced error messages for signup */
#signupFormElement .error-message {
    display: block;
    color: #ff4444;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
    line-height: 1.3;
    min-height: 16px;
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#landingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffbb00 0%, #000000 100%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    animation: slideInFromTop 0.8s ease-out;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(99, 86, 27, 0.521);
    backdrop-filter: blur(10px);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-logo-image {
    width: 60px;
    height: 40px;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.landing-logo-text {
    color: rgb(233, 233, 233);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: 'Mabroc', sans-serif;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.landing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed from center */
    align-items: center;
    padding: 20px 24px 40px; /* Reduced top padding */
    text-align: center;
    position: relative;
    overflow-y: auto;
    padding-top: 20px; /* Explicit top padding */
}

.hero-section {
    max-width: 600px;
    margin-bottom: 40px;
    margin-top: 20px; /* Added top margin */
    width: 100%;
    flex-shrink: 0; /* Prevent shrinking */
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    display: block;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    font-weight: 300;
    line-height: 1.4;
    width: 100%;
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffba00, #ffd800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
    box-shadow: 0 4px 20px rgba(255, 186, 0, 0.3);
}

.feature-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.cta-section {
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.cta-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    justify-content: center;
}

.cta-primary {
    background: linear-gradient(135deg, #ffba00, #ffd800);
    color: #333;
    box-shadow: 0 8px 25px rgba(255, 186, 0, 0.4);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 186, 0, 0.5);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.stats-section {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #ffba00;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.disclaimer {
    max-width: 600px;
    margin-top: 32px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.disclaimer-title {
    color: #ffba00;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.disclaimer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1.4;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.landing-overlay-closing {
    animation: slideOutToTop 0.6s ease-in forwards;
}

@keyframes slideOutToTop {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Mobile responsiveness for landing */
@media (max-width: 768px) {
    .landing-header {
        padding: 12px 20px;
    }

    .landing-logo-text {
        font-size: 20px;
    }

    .landing-content {
        padding: 16px 20px 24px;
        padding-top: 16px;
    }

    .hero-section {
        margin-bottom: 32px;
        margin-top: 16px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 12px;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 24px;
        line-height: 1.3;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-btn {
        min-width: auto;
        width: 100%;
    }

    .stats-section {
        gap: 24px;
    }

    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .landing-content {
        padding: 12px 16px 20px;
        padding-top: 12px;
    }

    .hero-section {
        margin-bottom: 24px;
        margin-top: 12px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .stats-section {
        flex-direction: column;
        gap: 16px;
    }
}