/* --- Root Variables & Base Styles --- */
:root {
    --bg-dark: #1a1a1a;
    --bg-darker: #111;
    --primary-orange: #ff4d00;
    --secondary-orange: #ff8c00;
    --text-light: #f0f0f0;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(35, 35, 35, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 6rem 0;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Roboto Slab', serif;
    font-weight: 900;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-orange);
}

nav a:last-child {
    border: 1px solid var(--primary-orange);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

nav a:last-child:hover {
    background-color: var(--primary-orange);
    color: var(--bg-dark);
}

/* --- Hero Section --- */
#hero {
    text-align: center;
    padding: 8rem 0;
    background: radial-gradient(circle, var(--bg-darker) 0%, var(--bg-dark) 70%);
}

.hero-title {
    font-size: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 77, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.4);
}

/* --- About Section --- */
#about {
    background-color: var(--bg-darker);
}
.about-content {
    max-width: 750px;
    text-align: center;
    margin: 0 auto;
}
.about-content h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* --- Our Apps Section --- */
#apps .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.app-showcase {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 6rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2.5rem;
    transition: border-color 0.4s ease;
}

.app-showcase:hover {
    border-color: var(--primary-orange);
}

/* Alternating layout for visual interest */
.app-showcase:nth-child(odd) {
    flex-direction: row-reverse;
}

.app-visual {
    flex-shrink: 0;
}

.app-visual img {
    border-radius: 22%; /* Standard iOS icon shape */
    width: 150px;
    height: 150px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.app-details h3 {
    font-size: 2rem;
    color: var(--text-light);
}

.app-tagline {
    font-size: 1.1rem;
    color: var(--secondary-orange);
    font-style: italic;
    margin-bottom: 1rem;
}

.store-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.store-button {
    display: inline-block;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.store-button:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--text-light);
}


/* --- Contact CTA Section --- */
.cta-section {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    text-align: center;
}
.cta-section h2 {
    font-size: 3rem;
    background: linear-gradient(90deg, var(--text-light), var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cta-section p {
    color: var(--text-muted);
    margin: 1rem 0 2rem;
}

.contact-email {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--secondary-orange);
    transition: color 0.3s;
}

.contact-email:hover {
    color: var(--primary-orange);
}


/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .app-showcase, .app-showcase:nth-child(odd) {
        flex-direction: column;
        text-align: center;
    }

    .store-buttons {
        justify-content: center;
    }
}