:root {
    --primary: #2563EB;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --text-dark-blue: #2e61b2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 2rem;
    font-weight: 500;
}

.cta-button {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: opacity 0.2s;
}

.cta-button:hover {
    opacity: 0.9;
}

.heroimage {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 20%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.heroimage2 {
    margin-top: 3rem;
    border-radius: 20%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(to bottom, var(--bg-light), var(--white));
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--white);
}

.features-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.features-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.features-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    text-align: center;
    background: var(--white);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    color: var(--text-dark-blue);
    margin-bottom: 2rem;
    font-weight: bold;
}

#signup-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

#signup-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 1rem;
}

.primary-button {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
    display: inline-block;
}

.primary-button:hover {
    opacity: 0.9;
}

/* App Store Buttons */
.store-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.app-store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.app-store-button img {
    height: 40px;
    width: auto;
}

.apple-badge {
    height: 45px;
}

#cta, #screenshots {
    scroll-margin-top: 80px;
}

/* Screenshots Section */
.screenshots {
    padding: 6rem 0;
    background: var(--bg-light);
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.screenshot-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.screenshot-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.screenshot-card p {
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid #E2E8F0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--text-dark);
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
    padding-top: 2rem;
    border-top: 1px solid #E2E8F0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    #signup-form {
        flex-direction: column;
    }
    
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    .features-intro h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}