/* --- 0. Global Styles & Variables --- */
:root {
    --dark-gray: #1E1E1E;
    --medium-gray: #2B2B2B;
    --light-gray: #CCCCCC;
    --yellow: #FFD700; /* Main site accent color */
    --color-button-bg: #FF4B4B; /* Light Red - ONLY for buttons */
    --white: #FFFFFF;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-gray);
    color: var(--light-gray);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; font-weight: 900; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--yellow);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--white);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 6rem 0;
    background-color: var(--dark-gray);
}

section:nth-of-type(even) {
    background-color: var(--medium-gray);
}

/* --- Utility: Buttons --- */
.btn {
    display: inline-block; /* Reverted as flex alignment is not needed */
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-button-bg); 
    color: var(--white); 
}

.btn-primary:hover {
    background-color: var(--white);
    color: #000;
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}


/* --- 1. Header & Navigation --- */
header {
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
}

.logo span {
    color: var(--yellow);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--yellow);
}


/* --- 2. Hero Section --- */
#hero {
    padding-top: 150px; 
    padding-bottom: 80px;
    background-color: var(--dark-gray); 
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    margin: 1.5rem 0;
    font-size: 1.2rem;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    background: #111;
    border: 10px solid #000;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: rotate(5deg);
}

.phone-mockup img {
    border-radius: 30px;
}


/* --- 3. Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-item i {
    font-size: 3rem;
    color: var(--yellow);
    margin-bottom: 1rem;
}


/* --- 4. Devices Section --- */
.devices-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.devices-text { flex: 1; }
.devices-visual { flex: 1; }

.platform-logos {
    font-size: 2.5rem;
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    color: var(--light-gray);
}


/* --- 5. Final Download/CTA Section --- */
#download {
    text-align: center;
}
#download .container {
    max-width: 800px;
}

#download p {
    font-size: 1.1rem;
    margin: 1rem auto 2rem auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; 
    margin-top: 2rem;
    flex-wrap: wrap; 
}


/* --- 6. Footer --- */
footer {
    background-color: #111;
    padding: 4rem 0;
    color: #888;
    border-top: 1px solid #333;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr; 
    text-align: center;
    gap: 2rem;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
}


/* --- 7. Responsive Design --- */
@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-links { 
        display: none; 
    }
    
    .hero-content, .devices-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text { order: 2; margin-top: 2rem; }
    .hero-image { order: 1; }
    .hero-text p { margin-left: auto; margin-right: auto; }

    .devices-text { order: 2; margin-top: 2rem; }
    .devices-visual { order: 1; }
    .devices-text h2 { text-align: center; }

    .platform-logos {
        justify-content: center;
    }
}