:root {
    --bg-color: #FFFDF5; /* Warm cream background */
    --primary-color: #FF6B6B; /* Soft Red/Orange */
    --secondary-color: #4ECDC4; /* Teal */
    --accent-color: #FFE66D; /* Yellow */
    --text-color: #2C3E50; /* Dark Blue-Grey */
    --text-muted: #7F8C8D;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    /* --gradient-1: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%); */
    --gradient-1: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
    --gradient-text: linear-gradient(to right, #FF6B6B, #556270);
    --font-main: 'Outfit', sans-serif;
    --nav-text: #2C3E50;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    background-image: url('hero-bg.png'); /* Fallback or overlay */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-overlay {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle at 50% 50%, rgba(48, 43, 99, 0.4) 0%, rgba(15, 12, 41, 0.9) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #ffffff; /* While text for better contrast on dark background */
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    padding: 2rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.store-button {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    padding-right: 3.5rem; /* Space for badge */
    width: 260px; /* Fixed width for symmetry */
    justify-content: flex-start;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;
}

.store-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.store-button i {
    font-size: 2rem;
}

.store-text {
    display: flex;
    flex-direction: column;
}

.small-text {
    font-size: 0.75rem;
    opacity: 0.8;
}

.big-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--gradient-1);
    font-size: 0.5rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Glass Card Animation */
.glass-card {
    width: 300px;
    height: 180px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 40px;
    gap: 10px;
}

.bar {
    width: 100%;
    background: var(--glass-border);
    border-radius: 4px;
}

.bar:nth-child(2) { background: var(--accent-color); opacity: 0.5; }
.bar:nth-child(4) { background: var(--accent-color); }

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(-20px); }
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    position: relative;
    z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    
    .hero { padding-top: 6rem; }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: none; /* Hide 3D element on small mobile if it stays in the way, or adjust sizing */
    }
}
