/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFF9F0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 249, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(135, 206, 235, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #87CEEB;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
    background: linear-gradient(45deg, #87CEEB, #98D8E8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #87CEEB;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #87CEEB;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 249, 240, 0.6) 0%, rgba(232, 244, 248, 0.6) 100%), url('bjt.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0 2rem;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #87CEEB;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 400px;
    height: 400px;
    border-radius: 20px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(135, 206, 235, 0.3);
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(135, 206, 235, 0.4);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: white;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #87CEEB;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #FFF9F0;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(135, 206, 235, 0.2);
    border-color: #87CEEB;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #87CEEB, #98D8E8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #87CEEB;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Story Section */
.story {
    padding: 5rem 2rem;
    background: #F8FBFF;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    background: #87CEEB;
    color: white;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #76B5D8;
}

.accordion-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.accordion-body {
    padding: 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 5rem 2rem;
    background: white;
}

.screenshot-gallery {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.screenshot-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.screenshot-slide {
    min-width: 100%;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}

.screenshot-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.screenshot-slide:hover img {
    transform: scale(1.05);
}

.screenshot-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #87CEEB;
    transition: all 0.3s ease;
}

.screenshot-nav:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.screenshot-prev {
    left: 20px;
}

.screenshot-next {
    right: 20px;
}

.screenshot-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.screenshot-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.screenshot-dot.active {
    background: white;
}

/* FAQ Section */
.faq {
    padding: 5rem 2rem;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #FFF9F0;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-item:hover {
    border-color: #87CEEB;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.15);
}

.faq-item.active {
    border-color: #87CEEB;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.15);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(135, 206, 235, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    color: #87CEEB;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Requirements Section */
.requirements {
    padding: 5rem 2rem;
    background: #F8FBFF;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.requirement-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.requirement-card.featured {
    border-color: #87CEEB;
    background: linear-gradient(135deg, #FFF9F0 0%, #F0F8FF 100%);
}

.requirement-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.requirement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #87CEEB, #98D8E8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-right: 1rem;
}

.requirement-header h3 {
    font-size: 1.5rem;
    color: #87CEEB;
    margin: 0;
}

.requirement-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #666;
    min-width: 100px;
}

.spec-value {
    color: #333;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.additional-info {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.additional-info h4 {
    color: #87CEEB;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #FFF9F0;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
}

.info-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-text h5 {
    color: #87CEEB;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.info-text p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Download Section */
.download {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #87CEEB, #98D8E8);
    text-align: center;
}

.download h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    background: white;
    color: #87CEEB;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.download-btn.secondary:hover {
    background: white;
    color: #87CEEB;
}

.download-info {
    margin-top: 2rem;
    color: white;
}

.download-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.subpage-links {
    margin-bottom: 3rem;
}

.subpage-links h3 {
    color: #87CEEB;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.subpage-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.subpage-link {
    color: #87CEEB;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid #87CEEB;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    background: transparent;
}

.subpage-link:hover {
    color: white;
    background: #87CEEB;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.3);
}

.friend-links {
    margin-bottom: 2rem;
}

.friend-links h3 {
    color: #87CEEB;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.friend-link {
    color: #ccc;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #555;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.friend-link:hover {
    color: #87CEEB;
    border-color: #87CEEB;
    background: rgba(135, 206, 235, 0.1);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    color: #ccc;
    font-size: 0.9rem;
}

/* Mobile Menu Styles */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 249, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #333;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 1000;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        word-wrap: break-word;
    }
    
    .hero-content .subtitle {
        font-size: 1.2rem;
        word-wrap: break-word;
    }
    
    .hero-image img {
        width: 300px;
        height: 300px;
        max-width: 90vw;
    }
    
    .section-title {
        font-size: 2rem;
        word-wrap: break-word;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .screenshot-slide {
        height: 300px;
    }
    
    .screenshot-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .screenshot-prev {
        left: 10px;
    }
    
    .screenshot-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .nav-container,
    .hero,
    .features,
    .story,
    .screenshots,
    .download,
    .requirements,
    .faq {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .section-container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-content .subtitle {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .section-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .screenshot-slide {
        height: 300px;
        width: 100%;
    }
    
    .screenshot-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .subpage-grid {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .subpage-link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        width: 100%;
    }
    
    .friend-link {
        padding: 0.8rem 1rem;
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .requirement-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }
    
    .spec-label,
    .spec-value {
        text-align: left;
        margin-left: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
    }
    
    .requirement-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .info-text h5,
    .info-text p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .faq-container {
        width: 100%;
        max-width: 100%;
    }
    
    .faq-question {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
    }
    
    .faq-icon {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .faq-answer p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        font-size: 0.9rem;
    }
}
