/* styles.css */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #1a1a2e;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout */
.container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4a 100%);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #4a4a6a;
    z-index: 1000;
    padding: 16px 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #4ecdc4;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #b8b8c8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4ecdc4;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 16px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 8px;
}

.button-large {
    padding: 16px 32px;
    font-size: 18px;
}

.button-primary {
    background-color: #4ecdc4;
    color: #ffffff;
}

.button-primary:hover {
    background-color: #3ba89f;
    transform: translateY(-2px);
}

.button-secondary {
    background-color: #2d2d4a;
    color: #ffffff;
    border: 1px solid #4a4a6a;
}

.button-secondary:hover {
    background-color: #3a3a5c;
    transform: translateY(-2px);
}

.button-icon {
    font-size: 20px;
}

.button-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 120px 32px 80px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #4ecdc4;
    margin-bottom: 24px;
}

.description {
    font-size: 18px;
    color: #b8b8c8;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: #b8b8c8;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 80px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-card {
    background-color: #2d2d4a;
    border: 1px solid #4a4a6a;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #4ecdc4;
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.feature-description {
    color: #b8b8c8;
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: #2d2d4a;
    padding: 80px 32px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 18px;
    color: #b8b8c8;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 64px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #4ecdc4;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #b8b8c8;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.contact-card {
    background-color: #2d2d4a;
    border: 1px solid #4a4a6a;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: #4ecdc4;
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.contact-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.contact-info {
    color: #4ecdc4;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #1a1a2e;
    border-top: 1px solid #4a4a6a;
    padding: 64px 32px 32px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-link {
    color: #b8b8c8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #4ecdc4;
}

.footer-text {
    color: #b8b8c8;
    line-height: 1.6;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid #4a4a6a;
    text-align: center;
}

.footer-copyright {
    color: #8a8aa8;
    font-size: 14px;
}

.link {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 32px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #2a2a44;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    background-color: #2d2d4a;
    border: 1px solid #4a4a6a;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    border-color: #4ecdc4;
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.1);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #4ecdc4;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 24px;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.step-description {
    font-size: 16px;
    color: #b8b8c8;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        padding: 0 16px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .hero {
        padding: 100px 16px 60px;
    }
    
    .title {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .description {
        font-size: 16px;
    }
    
    .button-group {
        justify-content: center;
    }
    
    .features, .contact {
        padding: 60px 16px;
    }
    
    .about {
        padding: 60px 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 48px 16px 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .step {
        padding: 32px 24px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
    }
    
    .step-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    
    .title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.loading-text {
    margin-top: 16px;
    color: #b8b8c8;
}