:root {
    --bg-gradient-center: #fffbe5;
    --bg-gradient-edge: #e8db96;
    --text-primary: #332b00;
    --text-secondary: #66581f;
    --btn-primary: #e09400;
    --btn-primary-hover: #c28100;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    font-family: var(--font-heading);
    background: radial-gradient(circle at center, var(--bg-gradient-center) 0%, var(--bg-gradient-edge) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: absolute; /* Keep it at top without affecting centered content */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--text-primary);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

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

nav a:hover::after {
    width: 100%;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem 2rem;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 650px;
}

.hero > * {
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero .app-icon { animation-delay: 0.1s; }
.hero .main-title { animation-delay: 0.2s; }
.hero .subtitle { animation-delay: 0.3s; }
.hero .description { animation-delay: 0.4s; }
.hero .download-btn { animation-delay: 0.5s; }
.hero .requirements { animation-delay: 0.6s; }

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.app-icon {
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.app-icon svg {
    animation: float 4s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-icon svg:hover {
    transform: scale(1.08) rotate(-3deg);
    animation-play-state: paused;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--btn-primary); /* Green accent for subtitle */
}

.description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--btn-primary);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(224, 148, 0, 0.3);
    transition: all 0.2s ease;
    margin-bottom: 2rem;
}

.download-btn:hover {
    background-color: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(224, 148, 0, 0.4);
}

.download-btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(224, 148, 0, 0.3);
}

.requirements {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 2rem;
    }
    .main-title {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.4rem;
    }
    .description {
        font-size: 1.1rem;
    }
}
