/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #000000; /* Pure Black */
    --card-bg: #1C1C1C; /* Dark Charcoal / Deep Gray */
    --text-color: #ffffff;
    --text-secondary: #8E8E93;
    --accent-color: #B3FF00; /* Electric Neon Lime Green */
    --accent-hover: #9ED400;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 5%;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

#nav-logo {
    height: 40px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
}

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 5% 6rem 5%;
    flex-grow: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 800px;
}

.badge {
    background: rgba(179, 255, 0, 0.1);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: #ffffff;
}

.gradient-text {
    color: var(--accent-color); /* Flat color instead of gradient as per Finza theme */
}

#hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

/* Buttons */
.cta-button, .cta-button-small {
    background: var(--accent-color);
    color: #000000; /* Black text on neon green */
    border: none;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-family);
    border-radius: 100px; /* Fully rounded pill buttons */
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.cta-button-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.cta-button:hover, .cta-button-small:hover {
    transform: translateY(-2px) scale(1.02);
    background-color: var(--accent-hover);
}

.secondary-button {
    background: #1C1C1C; /* Solid dark gray */
    color: white;
    border: none;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* How It Works Section - Finza Style */
#how-it-works {
    padding: 6rem 5% 10rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--card-bg); /* Solid Dark Gray */
    padding: 3.5rem 2.5rem;
    border-radius: 32px; /* Deeply rounded corners */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    text-align: left;
}

.step-card:hover {
    transform: translateY(-10px);
    background-color: #242424;
}

.step-icon {
    font-size: 2.5rem;
    background: #2C2C2E;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.step-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.step-card:hover .step-icon {
    transform: scale(1.05);
    background-color: #3A3A3C;
}

.step-number {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color); /* Highlighted number */
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 10px;
    color: #ffffff;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Footer */
footer {
    padding: 3rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1C1C1C;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 24px;
}


.footer-socials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-socials a {
    color: #ffffff; /* Keep the logo colors white! */
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* App Showcase */
#showcase {
    width: 100%;
    padding: 1rem 0 3rem 0;
    background: #000000;
    overflow: hidden;
    position: relative;
}

.showcase-container {
    overflow-x: auto;
    display: flex;
    padding: 2rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.showcase-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.showcase-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 4%;
}

.slider-nav {
    background: #1C1C1C;
    border: 2px solid #2C2C2E;
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    flex-shrink: 0;
}

.slider-nav:hover {
    background: var(--accent-color);
    color: #000000;
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: #2C2C2E;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    width: 24px;
    border-radius: 100px;
}

.showcase-track {
    display: flex;
    gap: 30px;
    padding: 10px;
}

.screenshot-card {
    flex: 0 0 280px;
    width: 280px;
    background: #1C1C1C;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 4px solid #2C2C2E;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-card img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    object-fit: cover;
    display: block;
}

.screenshot-card:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 30px 60px rgba(179, 255, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    #hero-title {
        font-size: 3.5rem;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button, .secondary-button {
        width: 100%;
    }
    
    .slider-wrapper {
        padding: 0;
    }
    
    .slider-nav {
        display: none; /* Hide navigation buttons on mobile; let users swipe naturally */
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 16px;
    }
}
