:root {
    --bg-color: #f5f5f7; /* Apple light gray */
    --text-color: #1d1d1f; /* Apple dark gray */
    --text-muted: #86868b;
    --primary-color: #000000;
    --primary-hover: #1a1a1a;
    
    --panel-bg: rgba(255, 255, 255, 0.75);
    --panel-border: rgba(255, 255, 255, 0.8);
        
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Apple Liquid Glass Background */
.apple-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    background: #fdfdfd;
    overflow: hidden;
}

.apple-orb {
    position: absolute;
    opacity: 0.8;
    border-radius: 50%;
    animation: morph 20s infinite alternate linear;
    will-change: transform;
}

.orb-red {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 70, 85, 0.35), rgba(255, 70, 85, 0)); 
    top: -200px;
    left: -100px;
}

.orb-grey {
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle at 50% 50%, rgba(200, 200, 205, 0.6), rgba(255, 255, 255, 0));
    top: 20%;
    right: -200px;
    animation-delay: -5s;
}

.orb-dark {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at 50% 50%, rgba(30, 30, 30, 0.12), rgba(0, 0, 0, 0));
    bottom: -300px;
    left: 10%;
    animation-delay: -10s;
}

@keyframes morph {
    0% { transform: rotate(0deg) scale(1) translate(0, 0); }
    100% { transform: rotate(45deg) scale(1.2) translate(50px, 50px); }
}

/* Panels */
.liquid-glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border-bottom: 1px solid var(--panel-border);
}

.liquid-glass-panel {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    padding: 3.5rem;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

h1 span, .feature-text h2 {
    background: linear-gradient(135deg, #000000 20%, #ff4655 80%);
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons - Apple Style */
.btn-primary, .btn-primary-small, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255,255,255,0.6);
    color: var(--text-color);
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
    border: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.1);
}

.btn-primary-small {
    background: var(--primary-color);
    color: #fff;
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 100px;
    border: 1px solid var(--panel-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 1rem;
}

.lang-btn {
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--text-color);
}

.lang-separator {
    color: var(--border-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-nav {
    position: fixed;
    top: 80px;
    left: 1rem;
    width: calc(100% - 2rem);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    display: none; /* Handled by JS */
    z-index: 99;
    border-radius: 24px;
    border: 1px solid var(--panel-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

.mobile-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(3.5rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 800px;
    z-index: 2;
    filter: drop-shadow(0 40px 50px rgba(0,0,0,0.15));
    transform: scale(1.4);
}

/* Rich Push Notifications - Apple Style */
.rich-notif {
    position: absolute;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 1);
    padding: 1.2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 5;
    width: 320px;
}

.notif-icon {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.notif-icon img {
    width: 26px;
    height: 26px;
}

.notif-content {
    display: flex;
    flex-direction: column;
}

.notif-content strong {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.notif-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
}

.notif-tr { top: 15%; right: 0%; }
.notif-tl { top: 15%; left: 0%; }
.notif-bl { bottom: 20%; left: 0%; }
.notif-arsenal { bottom: 33%; right: -5%; }

/* Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.divider-line {
    height: 1px;
    width: 150px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

/* Feature Sections */
.feature-section {
    padding: 6rem 0;
}

.feature-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.feature-section.reverse .feature-container {
    grid-template-columns: 0.8fr 1.2fr;
}

.feature-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.icon-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ff4655;
    flex-shrink: 0;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(255, 70, 85, 0.15), inset 0 1px 3px rgba(255,255,255,1);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-list h4 {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-list span {
    font-size: 1rem;
    color: var(--text-muted);
}

.feature-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.feature-img {
    width: 100%;
    max-width: 900px;
    z-index: 2;
    filter: drop-shadow(0 40px 60px rgba(0,0,0,0.15));
    transform: scale(1.6);
}

/* Call to Action */
.cta {
    padding: 6rem 0;
    text-align: center;
}

.cta-container {
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Toast Notification */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(255, 70, 85, 0.3);
}

.toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-container h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

/* Premium Footer */
.premium-footer {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.social-icons a:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-3px);
}

.premium-footer .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .feature-container, .feature-section.reverse .feature-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .feature-list li {
        text-align: left;
    }
    
    .feature-section.reverse .feature-text {
        order: 2;
    }
    
    .feature-section.reverse .feature-image-wrapper {
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-container > .btn-primary-small {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .feature-text h2 {
        font-size: 2.5rem;
    }
    
    .rich-notif {
        display: none;
    }
    
    .liquid-glass-panel {
        padding: 2.5rem;
        border-radius: 30px;
    }
}

/* --- NEW PREMIUM UI/UX STYLES --- */

/* 1. Micro-animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.liquid-glass-panel {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.liquid-glass-panel:hover {
    box-shadow: 0 40px 80px rgba(255, 70, 85, 0.1), inset 0 2px 4px rgba(255, 255, 255, 1);
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.9);
}

.feature-list li.active .icon-box {
    box-shadow: 0 15px 30px rgba(255, 70, 85, 0.4), inset 0 2px 5px rgba(255,255,255,1);
    color: #fff;
    background: linear-gradient(135deg, #ff4655, #ff2a3c);
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
}

/* 3. Gaming Theme Coherence & CTAs */
.btn-primary {
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-primary:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(255, 70, 85, 0.4) !important;
    background: #ff4655 !important;
    color: white !important;
}

.btn-secondary {
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-secondary:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

.divider-line {
    background: linear-gradient(90deg, transparent, #ff4655, transparent);
    height: 2px;
}

/* 4. Responsive Design fixes */
html, body {
    overflow-x: hidden;
    width: 100%;
}
@media (max-width: 768px) {
    .lang-switch {
        display: none;
    }
    .mobile-nav {
        max-width: 90vw;
        box-sizing: border-box;
    }
    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* --- PREMIUM ANIMATIONS --- */
@keyframes float-hero {
    0% { transform: scale(1.4) translateY(0px); }
    50% { transform: scale(1.4) translateY(-15px); }
    100% { transform: scale(1.4) translateY(0px); }
}
@keyframes float-feature {
    0% { transform: scale(1.6) translateY(0px); }
    50% { transform: scale(1.6) translateY(-15px); }
    100% { transform: scale(1.6) translateY(0px); }
}

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

.feature-img {
    animation: float-feature 5s ease-in-out infinite;
}

@keyframes float-notif {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.rich-notif {
    animation: float-notif 7s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.rich-notif:hover {
    transform: scale(1.05) translateY(-5px) !important;
    box-shadow: 0 25px 50px rgba(255, 70, 85, 0.2), inset 0 2px 4px rgba(255, 255, 255, 1);
    z-index: 10;
    animation: none;
}

/* Staggered entry for feature list items */
.fade-up.visible .feature-list li:nth-child(1) { animation: fade-in-right 0.6s ease-out 0.2s forwards; opacity: 0; }
.fade-up.visible .feature-list li:nth-child(2) { animation: fade-in-right 0.6s ease-out 0.4s forwards; opacity: 0; }
.fade-up.visible .feature-list li:nth-child(3) { animation: fade-in-right 0.6s ease-out 0.6s forwards; opacity: 0; }

@keyframes fade-in-right {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Primary Button Pulse */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 70, 85, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 70, 85, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 70, 85, 0); }
}
.btn-primary {
    animation: pulse-glow 2.5s infinite;
}
.btn-primary:hover {
    animation: none !important;
}

