:root {
    --app-bg: #F2F2F7;
    --surface: #FFFFFF;
    --accent: #1F578F;
    --text-primary: #000000;
    --text-secondary: #444444;
    --safe-green: #4CAF50;
    --danger-red: #E53935;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--surface); /* CHANGED TO WHITE */
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--surface);
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero {
    padding: 60px 0;
    background-color: var(--surface); /* CHANGED TO WHITE (Removed Gradient) */
}

.hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .hero-layout {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    
    .hero-text {
        flex: 1;
        padding-right: 40px;
    }

    .hero-image-wrapper {
        flex: 1;
        display: flex;
        justify-content: center;
    }
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid var(--accent);
}

.cta-button:hover { 
    opacity: 0.9; 
}

.cta-button svg { 
    width: 24px; 
    height: 24px; 
    fill: white; 
    margin-right: 12px; 
}

.app-screenshot {
    border-radius: 10px;
    border: 6px solid #000;
    background:#000
}

.hero-shot {
    max-width: 300px;
}

.gallery-section {
    padding: 60px 0;
    background-color: var(--surface); /* CHANGED TO WHITE */
}

.scroll-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 5px 40px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}
.scroll-container::-webkit-scrollbar-track {
    background: transparent;
}
.scroll-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.scroll-item {
    flex: 0 0 auto;
    width: 260px;
    text-align: center;
    scroll-snap-align: center;
}

.scroll-item img {
    margin-bottom: 15px;
}

.caption {
    font-weight: 600;
    color: var(--accent);
    font-size: 1rem;
}

.features {
    background-color: var(--surface);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

@media (min-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card h3 {
    margin: 15px 0 10px 0;
    color: var(--accent);
    font-size: 1.1rem;
    white-space: nowrap;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #F0F4F8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--accent);
    font-size: 28px;
}

footer {
    background-color: var(--surface);
    padding: 50px 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a:hover {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    .hero-shot { max-width: 240px; }
    .hero-layout { text-align: center; }
}

.text-content {
    padding: 40px 0 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.text-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: left;
    color: var(--text-primary);
}

.text-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--accent);
    text-align: left;
}

.text-content h3 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
    text-align: left;
}

.text-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    text-align: left;
    line-height: 1.7;
}

.text-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-align: left;
}

.text-content li {
    margin-bottom: 8px;
}

.text-content a {
    color: var(--accent);
    text-decoration: underline;
}

.last-updated {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 40px;
    display: block;
    text-align: left;
}

.highlight-box {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: left;
}

.small-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 24px;
    line-height: 1.4;
    display: block;
}