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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #0a0a0f;
    color: #f0f0f0;
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Enhanced Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 50%, rgba(76, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0f 0%, #121225 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 3.5rem;
    margin-right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.5));
}

.logo-text {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    color: #cbd5e1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.7;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #667eea, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-badge {
    margin-top: 40px;
    font-size: 1rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.trust-badge i {
    color: #10b981;
    font-size: 1.2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

.scroll-indicator i {
    margin-top: 5px;
    font-size: 1.5rem;
}

/* Features Section - Updated to match dark theme */
.features {
    background: #121225;
    padding: 100px 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    color: #f8fafc;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

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

.feature-card {
    background: rgba(30, 30, 46, 0.7);
    padding: 35px;
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(40, 40, 62, 0.8);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #f1f5f9;
}

.feature-desc {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* Keep other sections with updated dark theme */
.how-it-works {
    background: #0a0a0f;
    padding: 100px 20px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background: rgba(30, 30, 46, 0.7);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.use-cases {
    background: #121225;
    padding: 100px 20px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.use-case {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.use-case:hover {
    transform: scale(1.05);
    border-color: rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
}

.final-cta {
    background: linear-gradient(135deg, #0a0a0f 0%, #121225 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(76, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 0, 128, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.final-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #cbd5e1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #0a0a0f;
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 999;
}

/* Active State */
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Box */
.modal-box {
    background: linear-gradient(135deg, rgba(30,30,60,0.9), rgba(20,20,40,0.95));
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 550px;
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    position: relative;
}

/* Animate In */
.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #fff;
}

.modal-box h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-subtitle {
    color: #94a3b8;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Form */
.modal-box input,
.modal-box textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.modal-box input:focus,
.modal-box textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102,126,234,0.3);
}

.modal-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* Error */
#error-msg {
    color: #f87171;
    font-size: 0.9rem;
    margin-bottom: 10px;
    min-height: 20px;
}

@media (max-width: 768px) {
    .tagline {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }

    .cta-button {
        padding: 18px 35px;
        font-size: 1.1rem;
    }

    .logo-text {
        font-size: 2.5rem;
    }

    .stats-container {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }
    
    .modal-box {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 2.2rem;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .modal-box {
        width: 95%;
        padding: 25px 20px;
    }
}
/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: white;
}

.loading-content {
    text-align: center;
    max-width: 500px;
    padding: 40px;
}

.loading-content i {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 20px;
}

.loading-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #a5b4fc;
}

.loading-content p {
    color: #cbd5e1;
    margin-bottom: 30px;
}

.loading-steps {
    text-align: left;
    margin-top: 30px;
}

.loading-steps .step {
    padding: 10px 0;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-steps .step.active {
    color: #10b981;
}
/* Add to existing index.css */

/* Modal Enhancements */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: linear-gradient(135deg, rgba(30,30,60,0.95), rgba(20,20,40,0.98));
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(102, 126, 234, 0.3);
    position: relative;
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    transform: rotate(90deg);
}

.modal-box h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-subtitle {
    color: #94a3b8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
    width: 100%;
    padding: 15px 18px;
    margin-bottom: 15px;
    border-radius: 12px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.modal-box input:focus,
.modal-box select:focus,
.modal-box textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.2);
    background: rgba(255,255,255,0.1);
}

.modal-box select option {
    background: #121225;
    color: white;
}

.modal-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    padding: 16px;
    font-size: 1.1rem;
    border-radius: 12px;
}

#error-msg {
    color: #f87171;
    font-size: 0.9rem;
    margin-bottom: 10px;
    min-height: 20px;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Form focus animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.modal-box input:invalid:focus,
.modal-box select:invalid:focus,
.modal-box textarea:invalid:focus {
    animation: shake 0.3s ease;
    border-color: #f87171;
}

/* Loading animation for submit button */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .modal-box {
        padding: 30px 25px;
        width: 95%;
        margin: 20px;
    }
    
    .modal-box h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .modal-box {
        padding: 25px 20px;
    }
    
    .modal-box input,
    .modal-box select,
    .modal-box textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}
