/* --- Global Styles --- */
:root {
    --bg-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    --glass-white: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, system-ui, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.6;
}

/* --- Header --- */
.glass-header {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    background: var(--glass-white);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}

.header-logo-img { height: 32px; margin-right: 10px; border-radius: 6px; }

.btn-download {
    background: #fff;
    color: #0f2027;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text-side {
    flex: 1;
    text-align: left;
    max-width: 550px;
}

.hero-logo {
    width: 80px; height: 80px;
    margin-bottom: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
.subtitle { font-size: 1.2rem; opacity: 0.8; margin-bottom: 2rem; }

/* Store Badges Column */
.store-badge {
    display: flex;
    flex-direction: row;     
    gap: 20px;              
    align-items: flex-start;
    margin-top: 10px;       
}


.store-badge-app-store, 
.store-badge-google-play {
    height: 44px !important;   
    width: auto;
    transition: transform 0.2s ease;
    padding: 20px; 
}

.store-badge-app-store:hover, 
.store-badge-google-play:hover {
    transform: scale(1.03);   
}
/* Mockup Side */
.mockup-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.iphone-img {
    max-width: 380px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

/* --- Features & FAQ --- */
.features, .faq { padding: 100px 2rem; max-width: 1100px; margin: 0 auto; }
h2 { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; }

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

.feature-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.faq-item { margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem; }
.faq-item h4 { color: #a8dadc; margin-bottom: 0.5rem; }

/* --- Footer --- */
footer { padding: 60px 2rem; text-align: center; background: rgba(0,0,0,0.2); }
footer p { display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer-links { margin-top: 1rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; margin: 0 10px; font-size: 0.8rem; }

/* --- Mobile Responsiveness --- */
@media (max-width: 850px) {
    .hero-content-split { flex-direction: column; text-align: center; padding-top: 50px; }
    .hero-text-side { align-items: center; display: flex; flex-direction: column; }
    .store-badge { align-items: center; padding-bottom: 20px; }
    h1 { font-size: 2.5rem; }
    .iphone-img { max-width: 280px; }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base class to apply to elements */
.animate-on-load {
    opacity: 0; /* Start invisible */
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Add a slight delay to the mockup so it appears after the text */
.delay-1 {
    animation-delay: 0.3s;
}