:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #D4AF37; /* Metallic Gold */
    --accent-dim: #8a701e;
    --grid-line: #222;
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Marquee */
.marquee-container {
    width: 100%;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    z-index: 100;
}

.marquee-container.inverted {
    background-color: transparent;
    color: var(--text-color);
    border-top: 1px solid var(--grid-line);
    border-bottom: 1px solid var(--grid-line);
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content.reverse {
    animation: marquee-reverse 20s linear infinite;
}

.marquee-content span {
    padding: 0 30px;
}

.divider {
    color: var(--accent-color);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    position: absolute;
    width: 100%;
    top: 50px; /* Below marquee */
    z-index: 50;
}

.nav-logo img {
    height: 60px;
    filter: invert(1);
}

.nav-menu a {
    margin-left: 30px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-download-nav {
    border: 1px solid var(--text-color);
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-download-nav:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.nav-mobile-cta {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-mobile-cta:hover {
    background-color: #25D366; /* WhatsApp Green */
    border-color: #25D366;
    color: #fff;
}

/* Language Switcher */
.lang-btn {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 20px;
    text-transform: uppercase;
}

.lang-btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.mobile-nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-only {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 500px;
    color: #888;
    margin: 0 auto;
    text-align: center;
}

.hero-cta {
    margin-top: 40px;
}

.btn-hero-download {
    background-color: var(--accent-color);
    color: #000;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s;
    display: inline-block;
}

.btn-hero-download:hover {
    background-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background-color: var(--text-color);
    margin-top: 10px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--grid-line);
    border-bottom: 1px solid var(--grid-line);
}

.stat-item {
    padding: 60px 20px;
    text-align: center;
    border-right: 1px solid var(--grid-line);
    transition: background-color 0.3s;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-item p {
    color: #888;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.stat-item:hover {
    background-color: #0a0a0a;
}

.stat-item.highlight h3 {
    color: var(--accent-color);
}

/* Content Section */
.content-section {
    padding: 150px 5%;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
}

.section-heading.center {
    text-align: center;
    margin-bottom: 80px;
}

.content-text p {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 40px;
}

.btn-arrow {
    font-size: 1.2rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 5px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.btn-arrow i {
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn-arrow:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-arrow:hover i {
    transform: translateX(10px);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    margin-bottom: 40px;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    opacity: 0.5;
}

.feature-detail h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-detail p {
    font-size: 1rem;
    color: #888;
    margin-bottom: 0;
}

.content-wrapper.reverse {
    /* Standard LTR layout (Content Left, Heading Right) */
}

.section-heading.right {
    text-align: right;
}

/* Installation Guide */
.container-guide {
    max-width: 1100px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: #0a0a0a;
    border: 1px solid var(--grid-line);
    padding: 40px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 auto 30px;
}

.step-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-card p {
    color: #888;
    font-size: 0.9rem;
}

/* Download Section */
.download-showcase {
    padding: 150px 5%;
    background: radial-gradient(circle at center, #111 0%, #050505 70%);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.platform-card {
    background: #0f0f0f;
    border: 1px solid var(--grid-line);
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.platform-card .icon {
    font-size: 3rem;
}

.platform-card .details {
    text-align: right;
    z-index: 2;
}

.platform-card .label {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.platform-card .name {
    display: block;
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.hover-reveal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 5rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.platform-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.platform-card:hover .hover-reveal {
    transform: translate(-50%, -50%) scale(1);
}

/* Footer */
footer {
    padding: 80px 5%;
    border-top: 1px solid var(--grid-line);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.footer-disclaimer {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 500px;
}

.age-limit {
    background: #ff3b30;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1.2rem;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0;
}

.footer-socials a {
    margin-left: 20px;
    font-size: 1rem;
    border: 1px solid var(--grid-line);
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.footer-bottom {
    text-align: center;
    color: #444;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: var(--bg-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-mobile-cta {
        display: flex;
    }

    .mobile-only {
        display: block;
    }
    
    .lang-btn {
        margin-left: 0;
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: clamp(3rem, 12vw, 5rem);
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--grid-line);
        padding: 40px 10px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-wrapper.reverse {
        direction: ltr;
        display: flex;
        flex-direction: column-reverse;
    }
    
    .section-heading, .section-heading.right, .section-heading.center {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .platform-card {
        padding: 30px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .platform-card .details {
        text-align: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-list li {
        flex-direction: column;
        text-align: center;
    }

    .feature-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
