/* 
   PlayGaraj Official Landing Page Styles 
   Theme: Matches Flutter App Design (Blue/Red/Dark)
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --primary-color: #1E88E5;
    /* App Primary Blue */
    --secondary-color: #E53935;
    /* App Accent Red */
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
    --font-main: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
    /* Updated Gradients to match Blue/Red theme */
    --gradient-primary: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
    --gradient-secondary: linear-gradient(135deg, #E53935 0%, #C62828 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--primary-color);
}

.login-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 8px;
    /* Slightly more rounded like generic app buttons */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.login-btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background glow effect for hero - Blue based */
.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.15) 0%, rgba(18, 18, 18, 0) 70%);
    z-index: -1;
}

.hero h1 {
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-white);
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.5);
}

.btn-secondary {
    background: #2D2D2D;
    color: #fff;
    border: 1px solid #3E3E3E;
}

.btn-secondary:hover {
    background: #3E3E3E;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #161616;
}

.section-title {
    text-align: center;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    height: 64px;
    width: 64px;
    line-height: 64px;
    border-radius: 16px;
    background: rgba(30, 136, 229, 0.1);
    margin: 0 auto 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    line-height: 46px;
    font-weight: 700;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(30, 136, 229, 0.15);
}

.step-item h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: #0A0A0A;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    max-width: 300px;
}

.footer-info h2 {
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-info h2 span {
    color: var(--primary-color);
}

.footer-links a {
    color: var(--text-gray);
    margin-left: 0;
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons a {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-right: 15px;
    /* Spacing */
    margin-left: 0;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.disclaimer {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    color: #777;
    font-size: 0.8rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.copyright {
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a {
        display: inline-block;
        margin: 5px 10px;
    }

    .social-icons {
        margin-top: 10px;
    }
}