/* ========== CONFIGURATION VARIABLES ========== */
:root {
    --main-bg: #1B3E47;
    --accent-color: #FF8C00;
    --header-footer-bg: #152f36;
    --text-light: #ffffff;
    --text-dark: #333333;
    --section-background: rgba(255, 255, 255, 0.03);
    --section-stroke: rgba(255, 255, 255, 0.04);
    --section-padding: 80pt 40pt;
    --section-padding-text: 20pt 20pt;
    --section-border-radius: 20px;
    --download-button-hover-background: rgba(255, 255, 255, 0.1);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Open Sans", "Segoe UI", Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--main-bg);
}

/* ========== HEADER ========== */
header {
    background-color: var(--header-footer-bg);
    padding: 20px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.header-logo.visible {
    opacity: 1;
    pointer-events: auto;
}

.header-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.header-app-icon img {

}

.company-name {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
}

.company-name .small-cap {
    font-size: 0.75em;
    text-transform: uppercase;
}

.small-cap {
    font-size: 0.75em;
    text-transform: uppercase;
}

.header-app-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
}

.header-app-name > span:not(.small-cap) {
    font-size: 1em;
}

.header-app-name .small-cap {
    font-size: 0.75em;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    white-space: nowrap;
}

nav a:hover {
    color: var(--accent-color);
}

ul {
    margin: 0;
    padding-left: 0;
    list-style-position: inside; /* optional: keeps bullets inside the text flow */
}

/* Default link style */
a {
    color: var(--text-light); /* blue color */
    font-weight: 500;
    transition: color 0.3s ease; /* smooth color change on hover */
}

/* Hover state */
a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ========== HERO SECTION ========== */
.hero {
    text-align: center;
    padding: 100px 20px 80px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.app-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0px 0px 70px /*rgba(255, 140, 0, 0.3)*/;
}

.app-logo img {
    width: 85%;
    height: 85%;
}

.app-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.app-name > span:not(.small-cap) {
    font-size: 1em;
}

.app-name .small-cap {
    font-size: 0.75em;
    text-transform: uppercase;
}

.app-tagline {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 12px;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #FFF;
    background-color: var(--section-background);
}

.store-button:hover {
    transform: translateY(-2px);
    border: 2px solid var(--accent-color);
    background-color: var(--download-button-hover-background);
}

.store-icon {
    font-size: 24px;
}

/* ========== MAIN CONTENT WRAPPER ========== */
main {
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ========== SECTIONS ========== */
section {
    padding: var(--section-padding);
    max-width: 1200px;
    margin: 20px auto;
    background-color: var(--section-background);
    border-radius: var(--section-border-radius);
    border: 1px solid var(--section-stroke);
}

section:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

.section-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.section-content-text {
    padding: var(--section-padding-text);
}

.section-content.reverse {
    flex-direction: row-reverse;
}

.section-image {
    flex: 1;
    min-width: 300px;
}

.section-image img {
    width: 100%;
    object-fit: contain;
}

.section-text {
    flex: 1;
    min-width: 300px;
}

.section-content-blank {
    text-align: center;
}

h1 {
    font-family: 'Orbitron', Roboto, sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--accent-color);
    margin: 0 auto 32px; /* centers block */
    max-width: 1200px;   /* same as sections */
    padding: 40px 20px 20px 0;     /* matches main padding */
    text-align: center;
    letter-spacing: 0.5px;
}

h2 {
    color: var(--accent-color);
    font-size: 32px;
    margin-bottom: 20px;
    font-family: 'Orbitron', Roboto, sans-serif;
}

h3 {
    font-size: 1.5em;
}

p {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--header-footer-bg);
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    opacity: 0.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
    }

    .header-app-name {
        font-size: 16px;
    }

    .header-app-icon {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 11px;
    }

    main {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 15px 60px;
    }

    .app-logo {
        width: 120px;
        height: 120px;
        font-size: 50px;
    }

    .app-name {
        font-size: 36px;
    }

    .app-tagline {
        font-size: 16px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        width: 100%;
        max-width: 280px;
    }

    section {
        padding: 40px 20px;
        margin: 15px 15px;
        border-radius: 15px;
    }

    .section-content,
    .section-content.reverse {
        flex-direction: column;
    }

    h2 {
        font-size: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    nav a {
        font-size: 10px;
        letter-spacing: 0.3px;
    }

    .app-name {
        font-size: 28px;
    }

    section {
        padding: 30px 15px;
        margin: 15px 15px;
    }
}