* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed header if any */
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

header {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 1.2em 1.5em;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 2em;
    font-weight: 700;
    white-space: nowrap;
    position: relative;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ffd700, #ff6b6b);
    transition: width 0.3s ease;
}

header:hover h1::after {
    width: 100%;
}

#user-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

#user-auth button {
    background-color: #ffffff;
    color: #007bff;
    border: none;
    padding: 0.6em 1.2em;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
}

#user-auth button:hover {
    background-color: #e9ecef;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

#user-info span {
    font-weight: 600;
    font-size: 0.95em;
}

/* Landing Screen Styles */
#landing-screen {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    color: white;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

#landing-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Background Video Styling */
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -10;
    opacity: 0.8;
    filter: brightness(0.6) contrast(1.2) saturate(1.1);
    pointer-events: none;
    will-change: transform, opacity;
}

/* Enhanced overlay for better text contrast with video */
#landing-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

.landing-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}



.hero-title {
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-text {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-subtitle {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-item:nth-child(1) { --delay: 0s; }
.feature-item:nth-child(2) { --delay: 0.5s; }
.feature-item:nth-child(3) { --delay: 1s; }

.feature-icon {
    font-size: 1.2em;
}

.cta-section {
    margin-bottom: 50px;
}

.primary-cta {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.secondary-cta {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.trust-indicators {
    opacity: 0.9;
}

.trust-text {
    font-size: 0.95em;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
}

.supported-regions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.region-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden;
}

.features-section::before {
    content: '💳 📱 💰 🏛️ 🌏 💸 📊 💼 🔐 ⚡ 🌍 💎';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.08);
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    letter-spacing: 60px;
    line-height: 100px;
    pointer-events: none;
    animation: float 20s infinite linear;
}

.features-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 60px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
    backdrop-filter: blur(15px);
    color: white;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon-large {
    font-size: 3em;
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '⭐ 💬 👥 🌟 ✨ 🎯 📈 🏆 💪 🔥 ⚡ 🌍';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    letter-spacing: 80px;
    line-height: 120px;
    pointer-events: none;
    animation: float 25s infinite linear reverse;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    margin-bottom: 2px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.author-location {
    font-size: 0.9em;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* App Main Content */
main#app-main-content {
    flex-grow: 1;
    padding: 25px 15px;
    max-width: 950px;
    margin: 25px auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#user-dashboard {
    text-align: center;
    padding: 30px 20px;
}

#user-dashboard h2 {
    font-size: 2.2em;
    color: #0056b3;
    margin-bottom: 0.5em;
    border-bottom: none;
}

#user-dashboard p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 2em;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.dashboard-action-button {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    min-width: 220px;
    text-align: center;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.dashboard-action-button .button-icon {
    margin-right: 10px;
    font-size: 1.3em;
}

.dashboard-action-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.app-section {
    margin-bottom: 30px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fdfdfd;
}

.app-section h2 {
    color: #0056b3;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 1.8em;
    font-weight: 600;
}

.back-to-dashboard-button {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.back-to-dashboard-button:hover {
    background-color: #5a6268;
}

form div {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #444;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

button[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 250px;
    margin: 20px auto 0;
}

button[type="submit"]:hover {
    background: linear-gradient(135deg, #218838 0%, #1abc9c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

button[type="submit"]::before {
    content: '🔒';
    font-size: 1em;
}

#refresh-history-button {
    background-color: #17a2b8;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-left: 10px;
}

#refresh-history-button:hover {
    background-color: #138496;
    transform: translateY(-2px);
}

#history-container p {
    color: #666;
    padding: 8px 0;
}

#history-container ul {
    list-style: none;
    padding: 0;
}

/* Payment History Table Styling */
#history-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#history-container table th {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#history-container table td {
    padding: 12px;
    border-bottom: 1px solid #f1f3f5;
    color: #495057;
    font-size: 0.9em;
}

#history-container table tr:hover {
    background-color: #f8f9fa;
}

#history-container table tr:last-child td {
    border-bottom: none;
}

/* Status indicators */
.status-completed {
    background-color: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background-color: #ffc107;
    color: #212529;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-scheduled {
    background-color: #17a2b8;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-failed {
    background-color: #dc3545;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form styling improvements */
input[type="text"]::placeholder,
input[type="number"]::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

select option {
    padding: 8px;
}

/* Responsive table */
@media (max-width: 768px) {
    #history-container table {
        font-size: 0.75em;
    }
    
    #history-container table th,
    #history-container table td {
        padding: 6px 4px;
    }
    
    #history-container table th {
        font-size: 0.7em;
    }
    
    .status-completed,
    .status-pending,
    .status-scheduled,
    .status-failed {
        padding: 2px 6px;
        font-size: 0.65em;
    }
    
    /* Hide some columns on mobile for better readability */
    #history-container table th:nth-child(3),
    #history-container table td:nth-child(3),
    #history-container table th:nth-child(6),
    #history-container table td:nth-child(6) {
        display: none;
    }
}

/* Floating animation effects for the landing page */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Add floating currency symbols */
.landing-hero::after {
    content: '₹ $ € £ ¥ ₹ $ € £ ¥';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 2em;
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    pointer-events: none;
    letter-spacing: 80px;
}



/* Add some visual depth to feature cards */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    border-radius: 20px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

/* Add shine effect to primary CTA button */
.primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.primary-cta:hover::before {
    left: 100%;
}

/* Add subtle movement to feature items */
.feature-item {
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.feature-item:nth-child(1) { --delay: 0s; }
.feature-item:nth-child(2) { --delay: 0.5s; }
.feature-item:nth-child(3) { --delay: 1s; }

/* Add visual indicators for supported regions */
.region-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #ffd700);
    margin-right: 6px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Add depth to testimonial cards */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.testimonial-card:hover::before {
    transform: scale(1);
}

/* Enhanced header with subtle animation */
header h1 {
    position: relative;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ffd700, #ff6b6b);
    transition: width 0.3s ease;
}

header:hover h1::after {
    width: 100%;
}

/* Add payment-themed icons to the background */
.landing-hero {
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '💳 📱 💰 🏛️ 🌏 💸 📊 💼';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: space-between;
    padding: 40px;
    pointer-events: none;
    animation: float 8s ease-in-out infinite reverse;
}

/* Ensure content stays above the decorative elements */
.hero-content {
    position: relative;
    z-index: 3;
}

/* Add glow effect to important elements */
.primary-cta,
.hero-title {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Mobile optimizations for animations */
@media (max-width: 768px) {
    .landing-hero::after,
    .landing-hero::before {
        display: none; /* Hide decorative elements on mobile for performance */
    }
    
    .feature-item {
        animation: none; /* Disable floating animation on mobile */
    }
}

/* Payment Methods Section */
.payment-methods-section {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    position: relative;
    overflow: hidden;
}

.payment-methods-section::before {
    content: '💳 🏦 📱 💰 🔐 💎 ⚡ 🌍 🛡️ 💸';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.08);
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    letter-spacing: 70px;
    line-height: 80px;
    pointer-events: none;
    animation: float 30s infinite linear;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.payment-method {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.payment-method:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.payment-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.payment-method h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.payment-method p {
    font-size: 0.95em;
    opacity: 0.95;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Final CTA Section */
.final-cta-section {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '🚀 💳 🌟 ⚡ 🎯 💎 🔥 🌍 ✨ 💪';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.08);
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    letter-spacing: 90px;
    line-height: 100px;
    pointer-events: none;
    animation: float 35s infinite linear reverse;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.large-cta {
    padding: 20px 35px;
    font-size: 1.1em;
    min-width: 200px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.cta-feature {
    font-size: 0.95em;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.cta-feature::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    margin-right: 3px;
    animation: pulse 1.8s ease-in-out infinite;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .large-cta {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 1.5em 0;
    background-color: #2c3e50;
    color: #ecf0f1;
    width: 100%;
    margin-top: auto;
    font-size: 0.9em;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
    color: #bdc3c7;
}

/* Email hyperlink styling for better readability */
footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer a:hover {
    color: #5dade2;
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

footer a:visited {
    color: #3498db;
}

/* Additional text contrast improvements */
.beta-caveat {
    color: #666 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Demo Account Button - White Background */
.demo-cta {
    background: white;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
}

.demo-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
    background: #f8f9fa;
}

/* Demo Account Container - Ensure proper vertical layout */
#test-user-login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* Demo Account Text - Similar to Beta Caveat */
.demo-caveat {
    color: #666 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    font-size: 0.8em;
    margin: 5px 0 0 0;
    text-align: center;
}

/* Ensure all section titles have proper white styling with video background */
.features-section .section-title,
.payment-methods-section .section-title,
.testimonials-section .section-title,
.final-cta-section .section-title {
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

/* Improve form text contrast */
.app-section p {
    color: #555;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Enhance trust indicators text */
.trust-text {
    font-size: 0.95em;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
}

/* Enhance hero subtitle for better readability */
.hero-subtitle {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Credit Card Form Styling */
.payment-method-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.credit-card-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.credit-card-grid > div:first-child {
    grid-column: 1 / -1;
}

.credit-card-grid > div:last-child {
    grid-column: 1 / -1;
}

/* Credit card input formatting */
#card-number {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

#card-expiry, #card-cvv {
    font-family: 'Courier New', monospace;
    text-align: center;
}

/* Responsive credit card form */
@media (max-width: 768px) {
    .credit-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .credit-card-grid > div:first-child,
    .credit-card-grid > div:last-child {
        grid-column: 1;
    }
}

/* Enhanced form styling */
.payment-method-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-method-section h3::before {
    content: '💳';
    font-size: 1.2em;
}

/* Card type detection styling */
.card-type-indicator {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

#card-number {
    position: relative;
}

/* Security indicators */
.security-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.85em;
    color: #28a745;
}

.security-info::before {
    content: '🛡️';
}

/* Performance optimizations for smooth scrolling */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling for all sections */
.features-section,
.payment-methods-section,
testimonials-section,
.final-cta-section {
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden;
}

/* Optimize interactive elements */
button,
.feature-card,
.payment-method,
.testimonial-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
