/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(128, 112, 253, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
    color: #8070FD;
}

.logo-icon {
    height: 32px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8070FD;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8070FD;
    transition: width 0.3s ease;
}

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

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #8070FD 0%, #9d8bff 50%, #b8a9ff 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateX(0); }
    100% { transform: translateX(-60px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(45deg, #ffffff, #e0dcff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #8070FD;
    border-color: #8070FD;
}

.btn-outline:hover {
    background: #8070FD;
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 28px;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.app-interface {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.game-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.2rem;
    color: #5f6368;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #fafbfc;
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(128, 112, 253, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(128, 112, 253, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(128, 112, 253, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.feature-card p {
    color: #5f6368;
    line-height: 1.6;
}

/* Games Section */
.games {
    padding: 100px 0;
}

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

.game-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: #8070FD;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(128, 112, 253, 0.1);
}

.game-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.game-icon {
    font-size: 2rem;
    background: rgba(128, 112, 253, 0.1);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
}

.game-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.game-card p {
    color: #5f6368;
    margin-bottom: 20px;
    line-height: 1.6;
}

.game-skills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.skill-tag {
    background: rgba(128, 112, 253, 0.1);
    color: #8070FD;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.game-card.coming-soon {
    border: 2px dashed #8070FD;
    background: linear-gradient(135deg, rgba(128, 112, 253, 0.05), rgba(157, 139, 255, 0.05));
    position: relative;
    opacity: 0.8;
}

.game-card.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%238070FD' fill-opacity='0.03'%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3C/g%3E%3C/svg%3E") repeat;
    border-radius: 14px;
    pointer-events: none;
}

.game-card.coming-soon .skill-tag {
    background: rgba(128, 112, 253, 0.2);
    color: #6b5ce6;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: #fafbfc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(128, 112, 253, 0.1);
    border: 1px solid rgba(128, 112, 253, 0.08);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8070FD, #9d8bff, #b8a9ff);
    border-radius: 24px 24px 0 0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(128, 112, 253, 0.15);
}

.testimonial-content {
    margin-bottom: 28px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -8px;
    font-size: 4rem;
    color: rgba(128, 112, 253, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    color: #2a2a2a;
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
    margin-left: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 112, 253, 0.1);
}

.author-name {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.author-role {
    color: #8070FD;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #f1f3f4;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: #8070FD;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(128, 112, 253, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #8070FD;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.price {
    margin-bottom: 32px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #8070FD;
}

.price-period {
    color: #5f6368;
    font-size: 1rem;
}

.pricing-description {
    color: #8070FD;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 8px 0 0 0;
    opacity: 0.9;
}

.pricing-features {
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features .feature {
    padding: 8px 0;
    color: #1a1a1a;
    border-bottom: 1px solid #f1f3f4;
}

.pricing-features .feature:last-child {
    border-bottom: none;
}

/* Download */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #8070FD 0%, #9d8bff 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.download-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 20px;
}

.download-btn img {
    height: 60px;
    transition: transform 0.3s ease;
}

.download-btn:hover img {
    transform: scale(1.05);
}

.app-screens {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.screen {
    width: 180px;
    height: 320px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.screen-2 {
    transform: translateY(30px);
}

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

.screen-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.progress-ring {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.progress-ring::before {
    content: '📊';
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.word-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.word {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.definition {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #8070FD;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #8070FD;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    opacity: 0.6;
}

/* Simple Footer */
.simple-footer {
    background: #f8f9fa;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.footer-links {
    margin-bottom: 16px;
}

.footer-links a {
    color: #8070FD;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6b5ce6;
    text-decoration: underline;
}

.separator {
    margin: 0 16px;
    color: #dee2e6;
}

.simple-footer p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

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

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

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid,
    .games-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .download-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .feature-card,
    .testimonial-card {
        padding: 30px;
    }

    .game-card {
        padding: 24px;
    }

    .pricing-card {
        padding: 30px;
    }

    .app-screens {
        gap: 10px;
    }

    .screen {
        width: 140px;
        height: 260px;
        padding: 16px;
    }

    .screen-2 {
        transform: translateY(20px);
    }

    .screen-content h4 {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .word-card {
        padding: 16px;
    }

    .word {
        font-size: 1rem;
    }

    .definition {
        font-size: 0.8rem;
    }
}