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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo h1 {
    color: #679A5C;
    font-size: 1.5rem;
    font-weight: 600;
}

.logo h1 a {
    color: inherit;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #679A5C;
}

/* Main content */
main {
    margin-top: 80px;
}

section {
    padding: 4rem 0;
}

#hero {
    background: linear-gradient(135deg, #679A5C 0%, #5A8551 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

#hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About section */
#about {
    background: #f8f9fa;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

#about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Apps section */
#apps h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #333;
}

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

.app-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.app-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 20%;
    border: 2px solid rgba(0,0,0,0.2);
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.app-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.app-card h3 a:hover {
    color: #679A5C;
}

.app-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.app-status {
    background: #679A5C;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.learn-more {
    color: #679A5C;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #5A8551;
    text-decoration: underline;
}

/* Contact section */
#contact {
    background: #f8f9fa;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

#contact p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

#contact a {
    color: #679A5C;
    text-decoration: none;
    font-weight: 500;
}

#contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

footer a {
    color: #679A5C;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #5A8551;
    text-decoration: underline;
}

/* DebtSplitter page styles */
#app-hero {
    background: linear-gradient(135deg, #679A5C 0%, #5A8551 100%);
    color: white;
    text-align: center;
    padding: 6rem 0 4rem 0;
}

.app-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.app-icon-large {
    font-size: 6rem;
    margin-bottom: 1rem;
    width: 200px;
    height: 200px;
    object-fit: contain;
    background: white;
    border-radius: 20%;
    padding: 20px;
    border: 2px solid rgba(0,0,0,0.9);
}

.app-tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.app-status-large {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.3);
}

#app-features {
    padding: 5rem 0;
}

#app-features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #333;
}

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

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

#use-cases {
    background: #f8f9fa;
    padding: 5rem 0;
}

#use-cases h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #333;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.use-case {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.use-case h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.use-case p {
    color: #666;
    font-size: 0.9rem;
}

#app-updates {
    padding: 5rem 0;
}

#app-updates h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #333;
}

.update-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.update-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #679A5C;
}

.update-card ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.update-card li {
    margin-bottom: 0.5rem;
    color: #666;
}

.update-note {
    background: #679A5C;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-weight: 500;
    text-align: center;
    margin-top: 1.5rem;
}

#notify {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

#notify h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

#notify p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

#notify a {
    color: #679A5C;
    text-decoration: none;
    font-weight: 500;
}

#notify a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    #hero h2 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    section {
        padding: 2rem 0;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }

    .app-hero-content h1 {
        font-size: 2.5rem;
    }

    .app-icon-large {
        font-size: 4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    main {
        margin-top: 120px;
    }
}

/* Legal pages styles */
#legal-content {
    padding: 3rem 0;
    background: #fff;
}

#legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #333;
}

.legal-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #679A5C;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-date {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.legal-section {
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #679A5C;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

.legal-section ul, .legal-section ol {
    margin: 1rem 0 1rem 1.5rem;
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #444;
}

.legal-section strong {
    color: #333;
}

.legal-footer {
    max-width: 900px;
    margin: 3rem auto 0 auto;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.legal-footer a {
    color: #679A5C;
    text-decoration: none;
    font-weight: 500;
    margin: 0 1rem;
}

.legal-footer a:hover {
    text-decoration: underline;
}

.app-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 500;
}