/*
    ALM PLAY PREMIUM 
    Design System 
*/
:root {
    --primary-color: #EAB308; /* Yellow-500 */
    --bg-color: #000000;
    --surface-color: #1E1F22;
    --accent-color: #111111;
    --text-color: #ffffff;
    --text-secondary: #aaaaaa;
    
    --glass-bg: rgba(30, 31, 34, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

/* Typography Helpers */
.text-center { text-align: center; }
span { color: var(--primary-color); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3);
}

.btn-primary:hover {
    background-color: #facc15; /* Lighter yellow */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.icon-svg {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(234, 179, 8, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Glassmorphism Classes */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-btn {
        display: none;
    }
}

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

.hero-bg-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(234, 179, 8, 0.15) 0%, rgba(0,0,0,1) 50%);
    z-index: -1;
}

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

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(234, 179, 8, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.display-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 80%;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trial-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Phone Mockup */
.hero-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--surface-color);
    border-radius: 40px;
    border: 8px solid #333;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
                0 0 100px rgba(234, 179, 8, 0.2);
    overflow: hidden;
    position: relative;
    transform: rotate(-5deg) translateY(20px);
    transition: var(--transition);
}

.phone-mockup:hover {
    transform: rotate(0deg) translateY(0);
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.bg-pattern {
    background-image: 
      radial-gradient(circle at center, rgba(234, 179, 8, 0.2) 2px, transparent 2.5px);
    background-size: 20px 20px;
}

@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .subtitle {
        max-width: 100%;
    }
    .hero-actions {
        align-items: center;
    }
    .hero-mockup {
        margin-top: 50px;
        display: none; /* Hide on small mobile to focus on copy */
    }
    .display-title {
        font-size: 2.5rem;
    }
}

/* Features */
.features {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--accent-color) 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(234, 179, 8, 0.3);
}

.step-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: var(--bg-color);
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    margin-top: -40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.pricing-card {
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.premium-card {
    background: linear-gradient(145deg, var(--surface-color) 0%, #2a220a 100%);
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.premium-card .plan-name {
    color: var(--primary-color);
}

.plan-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin: 0 5px;
}

.period {
    color: var(--text-secondary);
}

.plan-savings {
    color: #10B981; /* Emerald-500 */
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.plan-features li {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .premium-card {
        transform: scale(1);
    }
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: linear-gradient(0deg, var(--bg-color) 0%, var(--accent-color) 100%);
}

.download-desc {
    color: var(--text-secondary);
    margin-bottom: 40px;
    margin-top: -40px;
    font-size: 1.1rem;
}

.version-text {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: opacity 0.4s ease;
}

.version-loading {
    display: inline-block;
    background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.8rem;
}

.version-loaded {
    opacity: 1;
}

.version-text strong {
    color: var(--primary-color);
    font-weight: 800;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: var(--bg-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    outline: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: var(--accent-color);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-logo h2 {
    font-size: 1.5rem;
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
