/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #10b981; /* Emerald Green */
    --color-primary-dark: #059669;
    --color-primary-light: #34d399;
    --color-secondary: #111827; /* Dark Gray */
    --color-accent: #f59e0b; /* Amber */
    --color-white: #ffffff;
    --color-light: #f9fafb;
    --color-gray: #6b7280;
    --color-dark: #1f2937;
    --color-border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-green: 0 10px 30px -5px rgba(16, 185, 129, 0.2);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-white);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-gray);
}

.highlight-green {
    color: var(--color-primary);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--color-gray);
    font-size: 1.125rem;
}

/* ================================
   CONTAINER
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-login {
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-border);
}

.btn-login:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-extra-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-number {
    color: var(--color-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
}

.logo-text {
    color: var(--color-dark);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 2rem;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.mobile-nav-link {
    padding: 1rem 0;
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--color-primary);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--color-gray);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-gray);
    font-weight: 500;
}

.hero-visual {
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
}

.phone-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.phone-content {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border-radius: 30px;
    overflow: hidden;
    background: var(--color-light);
}

.screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screenshot.active {
    opacity: 1;
}

/* ================================
   FEATURES SECTION
   ================================ */
.features {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--color-primary);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.feature-description {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* ================================
   DOWNLOAD SECTION
   ================================ */
.download-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text .section-title,
.download-text .section-subtitle {
    color: var(--color-white);
    text-align: left;
}

.download-info {
    margin: 2rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.info-item svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.qr-code-container {
    text-align: center;
}

.qr-code {
    width: 150px;
    height: 150px;
    background: var(--color-white);
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

.qr-code-container p {
    color: var(--color-white);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.installation-steps {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.installation-steps h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.installation-steps ol {
    color: rgba(255, 255, 255, 0.9);
    padding-left: 1.5rem;
}

.installation-steps li {
    margin-bottom: 0.5rem;
}

.download-visual {
    display: flex;
    justify-content: center;
}

.app-showcase {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    max-width: 300px;
    text-align: center;
}

.app-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: var(--radius-lg);
}

.app-details h3 {
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

.rating-text {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.app-description {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ================================
   HOW TO PLAY
   ================================ */
.how-to-play {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--color-gray);
    margin: 0;
}

.cta-center {
    text-align: center;
}

/* ================================
   REWARDS SECTION
   ================================ */
.rewards {
    padding: 6rem 0;
    background-color: var(--color-light);
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reward-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.reward-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.reward-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reward-card h3 {
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.reward-card p {
    color: var(--color-gray);
    margin: 0;
}

/* ================================
   FINAL CTA
   ================================ */
.final-cta {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.cta-card {
    background: linear-gradient(135deg, var(--color-light) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    border: 2px solid var(--color-primary);
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.cta-card p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--color-gray);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.security-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray);
    font-weight: 500;
}

.badge svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    padding: 4rem 0 2rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-address {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.link-group h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--color-primary);
}

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.disclaimer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.disclaimer a {
    color: var(--color-primary);
    text-decoration: none;
}

.disclaimer a:hover {
    text-decoration: underline;
}

.seo-text {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.seo-text strong {
    color: var(--color-primary);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text,
    .download-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .download-text .section-title,
    .download-text .section-subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-cta {
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn-large,
    .btn-extra-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .cta-card {
        padding: 2rem;
    }
    
    .features-grid,
    .rewards-grid {
        grid-template-columns: 1fr;
    }
}
/* ================================
   TESTIMONIALS SECTION
   ================================ */
.testimonials {
    padding: 6rem 0;
    background-color: var(--color-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    color: var(--color-dark);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-rating .stars {
    color: #fbbf24;
    font-size: 1rem;
}

.review-time {
    color: var(--color-gray);
    font-size: 0.85rem;
}

.testimonial-text {
    color: var(--color-dark);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}