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

:root {
    --bg-black: #000000;
    --bg-card: #0a0a0a;
    --white: #ffffff;
    --gray: #888888;
    --gray-dark: #333333;
    --accent: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-black);
    color: var(--white);
    line-height: 1.5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-black);
    z-index: 1000;
    border-bottom: 2px solid var(--white);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    color: var(--white);
}

.nav {
    display: flex;
    gap: 48px;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.6;
}

/* Hero Section */
.hero {
    padding: 200px 0 140px;
    text-align: center;
    background: var(--bg-black);
    border-bottom: 2px solid var(--gray-dark);
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.gradient-text {
    color: var(--white);
    display: block;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 60px;
    font-weight: 400;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 24px 64px;
    background: var(--white);
    color: var(--bg-black);
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
    border: 3px solid var(--white);
}

.cta-button:hover {
    background: var(--bg-black);
    color: var(--white);
}

/* Apps Section */
.apps-section {
    padding: 120px 0;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-card {
    background: var(--bg-card);
    padding: 60px;
    margin-bottom: 80px;
    border: 2px solid var(--gray-dark);
    transition: border-color 0.3s ease;
}

.app-card:hover {
    border-color: var(--white);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.app-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--white);
    background: var(--bg-black);
}

.app-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.finch-icon {
    background: var(--bg-black);
}

.stashflow-icon {
    background: var(--bg-black);
}

.stashflow-icon img {
    width: 100px;
    height: 100px;
}

.app-info {
    flex: 1;
}

.app-info h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-tagline {
    color: var(--gray);
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.play-store-badge {
    flex-shrink: 0;
    padding: 16px 32px;
    border: 2px solid var(--white);
    background: var(--bg-black);
    transition: all 0.3s ease;
}

.play-store-badge:hover {
    background: var(--white);
}

.play-store-badge img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.play-store-badge:hover img {
    filter: brightness(0);
}

.app-description {
    margin-bottom: 48px;
}

.app-description p {
    color: var(--gray);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
}

.app-description strong {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-black);
    border: 1px solid var(--gray-dark);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--white);
    background: var(--gray-dark);
}

.feature-icon {
    font-size: 1.5rem;
}

/* Screenshots */
.screenshots-container {
    position: relative;
    margin-top: 48px;
}

.screenshots {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 24px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshots::-webkit-scrollbar {
    display: none;
}

.screenshots img {
    width: 240px;
    height: auto;
    border: 2px solid var(--gray-dark);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.screenshots img:hover {
    border-color: var(--white);
    transform: translateY(-8px);
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--bg-black);
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.scroll-btn:hover {
    background: var(--white);
    color: var(--bg-black);
}

.scroll-left {
    left: -20px;
}

.scroll-right {
    right: -20px;
}

/* Contact Section */
.contact-section {
    padding: 160px 0;
    text-align: center;
    background: var(--bg-black);
    border-top: 2px solid var(--gray-dark);
}

.contact-text {
    color: var(--gray);
    font-size: 1.5rem;
    margin-bottom: 48px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 28px 56px;
    background: var(--bg-black);
    border: 3px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.email-link:hover {
    background: var(--white);
    color: var(--bg-black);
}

.email-icon {
    font-size: 1.75rem;
}

/* Footer */
.footer {
    padding: 80px 0 60px;
    border-top: 2px solid var(--white);
}

.footer .container {
    text-align: center;
}

.footer-content {
    margin-bottom: 48px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-tagline {
    color: var(--gray);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.footer-links a:hover {
    border-bottom-color: var(--white);
}

.copyright {
    color: var(--gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .header .container {
        height: 70px;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .nav {
        gap: 24px;
    }
    
    .nav a {
        font-size: 0.75rem;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 0.85rem;
    }
    
    .section-title {
        margin-bottom: 60px;
    }
    
    .app-card {
        padding: 32px;
    }
    
    .app-header {
        flex-direction: column;
        text-align: center;
    }
    
    .app-info {
        text-align: center;
    }
    
    .app-info h3 {
        font-size: 2rem;
    }
    
    .app-tagline {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots img {
        width: 200px;
    }
    
    .scroll-btn {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .email-link {
        padding: 20px 32px;
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
    }
    
    .app-icon img {
        width: 56px;
        height: 56px;
    }
    
    .stashflow-icon img {
        width: 80px;
        height: 80px;
    }
    
    .app-info h3 {
        font-size: 1.75rem;
    }
    
    .screenshots img {
        width: 160px;
    }
    
    .scroll-left {
        left: -8px;
    }
    
    .scroll-right {
        right: -8px;
    }
}
