/* ===== GLOBAL STYLES ===== */
:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --secondary-dark: #059669;
    --secondary-light: #34D399;
    --accent: #F472B6;
    --accent-dark: #DB2777;
    --accent-light: #F9A8D4;
    --dark: #1F2937;
    --dark-blue: #111827;
    --light: #F9FAFB;
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --danger: #EF4444;
    --warning: #F59E0B;
    --success: #10B981;
    --white: #FFFFFF;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-colored: 0 10px 15px -3px rgba(99, 102, 241, 0.15), 0 4px 6px -2px rgba(99, 102, 241, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    --gradient-mixed: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
}

/* Dark theme variables */
:root.dark-theme {
    --dark: #F9FAFB;
    --dark-blue: #E5E7EB;
    --light: #111827;
    --gray: #D1D5DB;
    --gray-light: #374151;
    --white: #1F2937;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-colored: 0 10px 15px -3px rgba(99, 102, 241, 0.3), 0 4px 6px -2px rgba(99, 102, 241, 0.2);
}

/* Additional Dark Theme Styles */
:root.dark-theme .header {
    background-color: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Floating Provider Button Styles */
.floating-provider-button {
    position: fixed;
    bottom: 118px;
    right: 13px; /* Moved to the left of theme toggle button */
    z-index: 1000;
}

.provider-toggle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.provider-toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.4);
}

.floating-provider-menu {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 250px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.95);
    opacity: 0;
    visibility: hidden;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-provider-menu.show {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.provider-menu-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
}

.provider-menu-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.provider-menu-close {
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.provider-menu-close:hover {
    opacity: 1;
}

.provider-menu-body {
    padding: 15px;
}

.provider-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: white;
    transition: all 0.2s ease;
}

.provider-btn i {
    margin-right: 10px;
}

.provider-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.provider-btn.ind-server {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
}

.provider-btn.world-s2 {
    background: linear-gradient(135deg, #4F46E5, #6366F1);
}

.provider-btn.world-s3 {
    background: linear-gradient(135deg, #10B981, #059669);
}

.provider-btn.world-s4 {
    background: linear-gradient(135deg, #F472B6, #EC4899);
}

.provider-btn.bulk-buy {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.provider-btn.bulk-task {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

/* Dark theme adjustments for provider menu */
:root.dark-theme .floating-provider-menu {
    background-color: var(--dark-blue);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

:root.dark-theme .provider-menu-header {
    border-bottom: 1px solid var(--gray-light);
}

:root.dark-theme .header.sticky {
    background-color: rgba(31, 41, 55, 0.95);
}

:root.dark-theme .hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

:root.dark-theme .wave-shape path {
    fill: var(--white);
}

:root.dark-theme .platform,
:root.dark-theme .feature-card,
:root.dark-theme .testimonial-card,
:root.dark-theme .app-number,
:root.dark-theme .new-faq-item {
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

:root.dark-theme .how-it-works,
:root.dark-theme .features-section,
:root.dark-theme .faq-section {
    background-color: var(--light);
}

:root.dark-theme .platforms-section,
:root.dark-theme .testimonials-section {
    background-color: #0f172a;
}

/* Special override for logo and light text elements */
:root.dark-theme .logo a,
:root.dark-theme .section-header h2,
:root.dark-theme .feature-content h3,
:root.dark-theme .step h3 {
    color: var(--dark);
}

/* Fix footer background in dark theme */
:root.dark-theme .footer {
    background-color: #0f172a;
    color: #e5e7eb;
}

:root.dark-theme .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

:root.dark-theme .footer-link-group ul li a {
    color: rgba(255, 255, 255, 0.7);
}

:root.dark-theme .footer-link-group ul li a:hover {
    color: var(--primary-light);
}

/* Fix trust badges in dark theme */
:root.dark-theme .badge {
    background-color: rgba(31, 41, 55, 0.7);
    color: #e5e7eb;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

:root.dark-theme .badge i {
    color: var(--primary-light);
}

/* Additional dark theme improvements */
:root.dark-theme .cta-section {
    background: linear-gradient(135deg, #4338ca 0%, #1e1b4b 50%, #042f2e 100%);
}

:root.dark-theme .social-links a {
    background-color: rgba(255, 255, 255, 0.1);
}

:root.dark-theme .payment-methods i {
    color: rgba(255, 255, 255, 0.5);
}

:root.dark-theme .hero-text h1 {
    background: linear-gradient(to right, #f9fafb 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
} 

/* Improve testimonial styling in dark mode */
:root.dark-theme .testimonial-card {
    border-left: 5px solid var(--primary-light);
}

:root.dark-theme .testimonial-content p::before {
    color: var(--primary-light);
}

:root.dark-theme .rating i {
    color: #f59e0b;
}

:root.dark-theme .dot {
    background-color: rgba(255, 255, 255, 0.2);
}

:root.dark-theme .dot.active {
    background-color: var(--primary-light);
}

:root.dark-theme .prev-btn,
:root.dark-theme .next-btn {
    background-color: rgba(31, 41, 55, 0.8);
    color: var(--light);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

:root.dark-theme .prev-btn:hover,
:root.dark-theme .next-btn:hover {
    background-color: var(--primary);
}

/* Transition for smooth theme switching */
body, a, button, input, .header, .footer, .hero-section, .platform, .feature-card, 
.testimonial-card, .step, .app-number, .new-faq-item, .section-header h2, .feature-content h3 {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

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

/* Remove tap highlight on interactive elements */
a, button, .btn, input, select, textarea, [role="button"], [tabindex]:not([tabindex="-1"]) {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

a:focus, button:focus, .btn:focus, input:focus, select:focus, textarea:focus, [role="button"]:focus {
    outline: none;
    box-shadow: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    position: relative;
}

/* When mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Hide scrollbar on menu transition to prevent flicker */
.nav-menu {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.nav-menu::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
} 

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-touch-callout: none;
}

.btn:hover {
    color: var(--white);
}

.btn:focus,
.btn:active {
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-colored);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-dark);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-outline:hover {
    color: var(--white);
    transform: translateY(-3px);
    border-color: transparent;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, var(--secondary) 100%);
    background-size: 200% 100%;
    color: var(--white);
    font-size: 1.1rem;
    padding: 15px 40px;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.5s ease;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-cta:hover {
    background-position: 100% 0;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(99, 102, 241, 0.4);
    color: var(--white);
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.btn-cta:hover::before {
    opacity: 1;
} 

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gray-light);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header.sticky {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.logo a span {
    color: var(--primary);
}

/* Enhanced hamburger menu styling */
.nav-toggle {
    position: relative;
    z-index: 101;
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

/* Dark mode specific hamburger styling */
:root.dark-theme .nav-toggle span {
    background-color: var(--light);
}

.nav-toggle.active {
    transform: rotate(180deg);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background-color: var(--primary);
    width: 100%;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-15px) scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background-color: var(--primary);
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    align-items: center;
}

.nav-menu ul li {
    margin: 0 15px;
}

.nav-menu ul li a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: var(--primary);
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.nav-menu ul li a.active {
    color: var(--primary);
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: 15px;
}

.auth-buttons .btn {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-buttons .btn:hover {
    transform: translateY(-3px) scale(1.02);
}

/* Remove blue highlight on button click */
.btn:focus, a:focus {
    outline: none;
    box-shadow: none;
}

button:focus {
    outline: none;
}

*:focus {
    outline: none;
} 

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f6f9fe 0%, #eef1fa 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%236366F1' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.badge i {
    color: var(--primary);
    margin-right: 8px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.mockup {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-10deg);
}

.blob-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    filter: blur(60px);
    top: -150px;
    right: -150px;
    z-index: 1;
}

.wave-shape {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    z-index: 3;
}

@media (min-width: 1025px) {
    .wave-shape {
        bottom: -120px; /* Push the wave much lower on desktop to prevent hiding content */
        transform: scale(1.5); /* Make it bigger to ensure coverage */
    }
    
    .hero-section {
        padding-bottom: 120px; /* Add more padding to accommodate the lower wave */
    }
} 

/* Phone mockup styles */
.mockup-container {
    position: relative;
    z-index: 2;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--dark-blue);
    border-radius: 40px;
    position: relative;
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2),
                0 0 0 10px rgba(255, 255, 255, 0.1) inset;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateY(-10deg);
    transition: all 0.5s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--light);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    padding: 25px 15px;
}

.phone-notch {
    position: absolute;
    width: 150px;
    height: 25px;
    background: var(--dark-blue);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-buttons {
    position: absolute;
    width: 3px;
    height: 50px;
    background: var(--dark-blue);
    top: 120px;
    left: -3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.phone-buttons::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 70px;
    background: var(--dark-blue);
    top: 90px;
    left: 0;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.phone-buttons::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 30px;
    background: var(--dark-blue);
    top: -60px;
    right: -300px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

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

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

.app-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.app-logo-text span {
    color: var(--primary);
}

.app-menu {
    display: flex;
    gap: 3px;
}

.menu-dot {
    width: 5px;
    height: 5px;
    background-color: var(--dark);
    border-radius: 50%;
}

.app-balance {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 20px;
    border-radius: 15px;
    color: var(--white);
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.balance-title {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.balance-amount {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.balance-action {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.balance-action i {
    margin-right: 5px;
}

.app-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.service-item {
    background-color: var(--white);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.service-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.whatsapp-icon {
    background-color: #25D366;
}

.telegram-icon {
    background-color: #0088cc;
}

.facebook-icon {
    background-color: #1877F2;
}

.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.service-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark);
}

.app-number {
    background-color: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary);
}

.number-title {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.number-display {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.number-timer {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.number-timer i {
    margin-right: 5px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background-color: var(--white);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    max-width: 250px;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.step-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--gray);
}

.step-connector {
    flex-grow: 0.1;
    height: 4px;
    background: linear-gradient(to right, var(--primary-light), var(--primary));
    position: relative;
    top: -30px;
}

.step-connector::before,
.step-connector::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    top: 50%;
    transform: translateY(-50%);
}

.step-connector::before {
    left: 0;
}

.step-connector::after {
    right: 0;
} 

/* ===== PLATFORMS SECTION ===== */
.platforms-section {
    padding: 100px 0;
    background-color: #f9fafb;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 30px;
    justify-content: center;
}

.platform {
    text-align: center;
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.platform:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.platform:hover .platform-icon {
    border-radius: 50%;
    transform: rotate(10deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.platform-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
    z-index: 1;
}

.platform-icon i {
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.platform:hover .platform-icon i {
    transform: scale(1.2);
}

.platform h3 {
    font-size: 1.1rem;
    margin-top: 15px;
}

.whatsapp {
    background-color: #25D366;
}

.telegram {
    background-color: #0088cc;
}

.facebook {
    background-color: #1877F2;
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.gmail {
    background-color: #EA4335;
}

.tinder {
    background-color: #FE3C72;
}

.more {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 100px 0;
    background-color: var(--white);
}

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

.feature-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-10px) rotate(10deg);
    box-shadow: 0 15px 25px rgba(99, 102, 241, 0.3);
    background: var(--gradient-mixed);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
    transition: all 0.3s ease;
    transform: translateY(5px) scale(0.95);
}

.feature-card:hover .feature-icon::before {
    opacity: 0.7;
    transform: translateY(15px) scale(0.85);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2);
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--gray);
} 

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 100px 0;
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    filter: blur(50px);
    z-index: 1;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    filter: blur(50px);
    z-index: 1;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 30px;
    align-items: center;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(50px);
    visibility: hidden;
    border-left: 5px solid var(--primary);
}

.testimonial-card.active {
    opacity: 1;
    position: relative;
    transform: translateX(0);
    visibility: visible;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.1);
}

.user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 5px solid var(--gray-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover .user-avatar {
    transform: scale(1.05);
    border-color: rgba(99, 102, 241, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.testimonial-card:hover .user-avatar img {
    transform: scale(1.1);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-info h4 {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

.rating i {
    color: var(--warning);
    margin-right: 2px;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.prev-btn,
.next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    width: 25px;
    border-radius: 5px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    filter: blur(80px);
    top: -300px;
    right: -300px;
    z-index: 0;
}

.new-faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.new-faq-item {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    -webkit-tap-highlight-color: transparent;
}

.new-faq-item:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.new-faq-question {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.new-faq-question:focus, 
.new-faq-question:active {
    outline: none;
    box-shadow: none;
}

.new-faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s ease;
    margin: 0;
}

.new-faq-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--gray);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.new-faq-icon i {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 14px;
}

.new-faq-item.active .new-faq-icon {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.25);
}

.new-faq-item.active .new-faq-icon i {
    transform: rotate(180deg);
}

.new-faq-item.active .new-faq-question h3 {
    color: var(--primary);
}

.new-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
    opacity: 0;
    transform: translateY(-10px);
    will-change: max-height, opacity, transform;
    display: block !important; /* Ensure display is always block */
}

.new-faq-item.active .new-faq-answer {
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.9s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.new-faq-answer-content {
    padding: 0 30px 25px;
    color: var(--gray);
    line-height: 1.6;
}

/* Add gradient border for active FAQ item */
.new-faq-item.active {
    background: linear-gradient(to right, rgba(99, 102, 241, 0.02) 0%, rgba(255, 255, 255, 0.5) 100%);
    border-left: 4px solid var(--primary);
} 

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-mixed);
    background-size: 300% 300%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    filter: blur(20px);
}

.cta-section::before {
    width: 350px;
    height: 350px;
    top: -150px;
    left: -150px;
    animation: float 8s ease-in-out infinite;
}

.cta-section::after {
    width: 350px;
    height: 350px;
    bottom: -150px;
    right: -150px;
    animation: float 10s ease-in-out infinite reverse;
}

/* Add additional decorative elements */
.cta-section .shape-1,
.cta-section .shape-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
}

.cta-section .shape-1 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 10%;
    background: var(--accent-light);
    animation: float 12s ease-in-out infinite 1s;
}

.cta-section .shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 60%;
    background: var(--secondary-light);
    animation: float 15s ease-in-out infinite 0.5s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

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

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-section .btn-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--secondary-dark) 100%);
    background-size: 200% 100%;
    color: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    -webkit-tap-highlight-color: transparent;
}

.cta-section .btn-cta:hover {
    background-position: 100% 0;
    box-shadow: 0 7px 20px rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.cta-section .btn-cta:focus,
.cta-section .btn-cta:active {
    outline: none;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    -webkit-tap-highlight-color: transparent;
    color: var(--white);
}

/* Fix CTA heading color in dark mode - make it explicitly white */
:root.dark-theme .cta-content h2 {
    color: #FFFFFF !important;
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 20px;
    background-color: var(--dark);
    color: var(--light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo a span {
    color: var(--primary-light);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-link-group ul li {
    margin-bottom: 12px;
}

.footer-link-group ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-link-group ul li a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.payment-methods {
    display: flex;
    gap: 15px;
}

.payment-methods i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 99;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-touch-callout: none;
    overflow: hidden;
}

.theme-toggle:focus,
.theme-toggle:active {
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    color: var(--white);
}

.theme-toggle:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}

.theme-toggle i {
    position: absolute;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-toggle .fa-sun {
    opacity: 1;
    transform: translateY(0);
}

.theme-toggle .fa-moon {
    opacity: 0;
    transform: translateY(20px);
}

/* Dark theme active state */
.dark-theme .theme-toggle .fa-sun {
    opacity: 0;
    transform: translateY(-20px);
}

.dark-theme .theme-toggle .fa-moon {
    opacity: 1;
    transform: translateY(0);
}

.dark-theme .theme-toggle {
    background-color: var(--primary-light);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-touch-callout: none;
}

.back-to-top:focus,
.back-to-top:active {
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    color: var(--white);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 1.2rem;
} 

/* ===== ANIMATIONS ===== */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.animate-fade-in {
    opacity: 0;
    transition: all 1s ease;
}

.animate-fade-in.active {
    opacity: 1;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        gap: 60px;
    }

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

    .hero-buttons, .trust-badges {
        justify-content: center;
    }

    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .step-connector {
        width: 4px;
        height: 40px;
        top: 0;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .nav-toggle {
        display: flex;
    }

    /* Enhanced mobile menu styling */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 100;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding-top: 80px;
        border-left: 1px solid rgba(99, 102, 241, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-bottom: 30px;
        overflow: hidden; /* Change from overflow-y: auto to overflow: hidden */
        -ms-overflow-style: none;
        scrollbar-width: none;
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 0 20px;
        align-items: flex-start;
        width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        margin-bottom: auto;
        max-height: 60vh;
        box-sizing: border-box;
    }

    /* Eliminate all scrollbars */
    .nav-menu ul::-webkit-scrollbar,
    .nav-menu ul li::-webkit-scrollbar,
    .nav-menu ul li a::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .nav-menu ul,
    .nav-menu ul li,
    .nav-menu ul li a {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav-menu ul li {
        margin: 15px 0;
        width: 100%;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        transition-delay: calc(0.1s * var(--i, 0));
        box-sizing: border-box; /* Ensure width includes padding */
    }
    
    .nav-menu.active ul li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu ul li:nth-child(1) {
        --i: 1;
    }
    
    .nav-menu ul li:nth-child(2) {
        --i: 2;
    }
    
    .nav-menu ul li:nth-child(3) {
        --i: 3;
    }
    
    .nav-menu ul li:nth-child(4) {
        --i: 4;
    }
    
    .nav-menu ul li a {
        display: block;
        padding: 12px 20px;
        font-size: 1.1rem;
        border-left: 3px solid transparent;
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        width: 100%;
        position: relative;
        overflow: hidden;
        white-space: nowrap; /* Prevent text wrapping */
        box-sizing: border-box; /* Ensure width includes padding */
        text-overflow: ellipsis; /* Show ellipsis for overflowing text */
    }
    
    .nav-menu ul li a:hover,
    .nav-menu ul li a.active {
        border-left: 3px solid var(--primary);
        padding-left: 25px;
        background-color: rgba(99, 102, 241, 0.05);
    }
    
    .nav-menu ul li a:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background-color: rgba(99, 102, 241, 0.1);
        z-index: -1;
        transition: width 0.3s ease;
    }
    
    .nav-menu ul li a:hover:before {
        width: 100%;
    }
    
    /* Add focus indicator for keyboard navigation */
    .nav-menu ul li a:focus {
        outline: none;
        border-left: 3px solid var(--primary-dark);
        background-color: rgba(99, 102, 241, 0.1);
        box-shadow: inset 0 0 0 2px rgba(99, 102, 241, 0.2);
    }

    .auth-buttons {
        margin: 0 20px;
        justify-content: center;
        width: calc(100% - 40px);
        flex-direction: row;
        gap: 15px;
        border-top: 1px solid rgba(99, 102, 241, 0.1);
        padding-top: 30px;
        position: relative;
    }
    
    .auth-buttons::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: var(--gradient-primary);
        border-radius: 3px;
    }
    
    .auth-buttons .btn {
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        transition-delay: 0.5s;
        flex: 1;
        max-width: 130px;
        text-align: center;
        border-radius: 12px;
        padding: 12px 15px;
        font-weight: 600;
        letter-spacing: 0.5px;
        box-shadow: var(--shadow);
    }
    
    .auth-buttons .btn-outline {
        background-color: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(99, 102, 241, 0.3);
        color: var(--primary);
    }
    
    .auth-buttons .btn-outline:hover {
        background-color: rgba(255, 255, 255, 1);
        border-color: var(--primary);
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
    }
    
    .auth-buttons .btn-primary {
        background: var(--gradient-primary);
        border: none;
    }
    
    .auth-buttons .btn-primary:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    }
    
    .nav-menu.active .auth-buttons .btn {
        transform: translateY(0);
        opacity: 1;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }

    .user-info {
        flex-direction: column;
        gap: 10px;
    }

    .footer-content {
        flex-direction: column;
    }

    /* Dark mode mobile menu auth buttons */
    :root.dark-theme .auth-buttons .btn-outline {
        background-color: rgba(31, 41, 55, 0.8);
        border: 1px solid rgba(99, 102, 241, 0.5);
        color: var(--primary-light);
    }
    
    :root.dark-theme .auth-buttons .btn-primary {
        background: var(--gradient-primary);
    }
    
    :root.dark-theme .nav-menu ul li a {
        color: #FFFFFF;
    }
    
    :root.dark-theme .nav-menu ul li a:hover,
    :root.dark-theme .nav-menu ul li a.active {
        border-left: 3px solid var(--primary-light);
        background-color: rgba(99, 102, 241, 0.15);
    }

    /* Mobile menu dark mode styling */
    :root.dark-theme .nav-menu {
        background-color: rgba(17, 24, 39, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(99, 102, 241, 0.2);
    }
    
    :root.dark-theme .auth-buttons {
        border-top: 1px solid rgba(99, 102, 241, 0.2);
    }
    
    :root.dark-theme .auth-buttons::before {
        background: linear-gradient(90deg, var(--primary-light), var(--primary));
    }
    
    :root.dark-theme .nav-menu ul li a:focus {
        outline: none;
        border-left: 3px solid var(--primary-light);
        background-color: rgba(99, 102, 241, 0.2);
        box-shadow: inset 0 0 0 2px rgba(99, 102, 241, 0.3);
    }
}

/* Overlay for mobile menu */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Dark mode mobile overlay with stronger blur */
:root.dark-theme .nav-overlay.active {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    /* Add bottom padding to prevent footer overlap with mobile bottom nav */
    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 576px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
    }

    /* Adjust theme toggle and back-to-top for mobile */
    .theme-toggle {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===== MOBILE TOUCH IMPROVEMENTS ===== */
@media (hover: none) {
    /* Improve touch behavior on mobile devices */
    a, button, .btn, [role="button"] {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        touch-action: manipulation;
    }
    
    /* Ensure proper touch area size for better usability */
    .nav-menu ul li a,
    .auth-buttons .btn,
    .back-to-top,
    .btn-cta {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}