:root {
    --primary-color: #0071e3;
    --text-color: #1d1d1f;
    --text-secondary: #6e6e73;
    --border-radius: 24px;
    /* Slightly larger radius */
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.65;
    color: var(--text-color);
    background-color: #f0f2f5;
    /* New base background color */
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    /* Needed for pseudo-elements */
    overflow-x: hidden;
    /* Hide horizontal overflow from blobs */
}

/* Decorative Background Blobs */
body::before,
body::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.7;
}

body::before {
    width: 400px;
    height: 400px;
    background: rgba(0, 113, 227, 0.15);
    top: -150px;
    left: -150px;
}

body::after {
    width: 500px;
    height: 500px;
    background: rgba(80, 227, 194, 0.15);
    bottom: -200px;
    right: -200px;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
}

.content-container {
    /* Refined Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: var(--border-radius);
    max-width: 840px;
    width: 100%;
    padding: 50px;
    box-sizing: border-box;
    margin: 40px 0;
}

header {
    text-align: left;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(221, 221, 221, 0.5);
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.8em;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-color);
    margin: 0 0 10px 0;
}

header p {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin: 0;
}

main h2 {
    font-size: 1.6em;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text-color);
}

main p,
main ul {
    font-size: 1.05em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

main ul {
    padding-left: 25px;
}

main li {
    margin-bottom: 10px;
}

strong {
    font-weight: 600;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 40px 0;
    width: 100%;
    color: #6e6e73;
    font-size: 0.9em;
}

/* Navigation Bar */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 20px 0;
}

.app-store-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.app-store-button:hover {
    background-color: #0077ed;
    text-decoration: none;
}

/* Landing Page Specifics */
.landing-page {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 60px 0;
    gap: 40px;
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 3.5em;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.hero-text p {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-image {
    flex-shrink: 0;
}

.hero-image img {
    max-width: 320px;
    border-radius: 40px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 80px 0;
    text-align: left;
}

.feature-item h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 40px 0 80px 0;
}

.gallery-section h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 40px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.screenshots-grid img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshots-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-text h1 {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        padding: 0 15px;
    }

    .content-container {
        padding: 30px;
    }

    header h1 {
        font-size: 2.2em;
    }
}