/* --- General Setup & Variables --- */
:root {
    --primary-color: #8A2BE2; /* Purple */
    --secondary-color: #FF69B4; /* Pink */
    --accent-color: #32CD32; /* Lime Green */
    --text-color: #333;
    --background-color: #f9f9f9;
    --white-color: #fff;
    --font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

h1, h2 {
    font-weight: 700;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

section {
    padding: 80px 0;
}

/* --- Navbar --- */
.navbar {
    background: var(--white-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.cta-button, .cta-button-large {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-button:hover, .cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0;
    background: var(--white-color);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.cta-button-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.1));
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    background: var(--white-color);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    height: 60px;
    width: 60px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
}
#icon-jlpt { background-color: rgba(138, 43, 226, 0.1); background-image: url('https://api.iconify.design/ph:rosette-fill.svg?color=%238A2BE2'); }
#icon-progress { background-color: rgba(255, 105, 180, 0.1); background-image: url('https://api.iconify.design/ph:chart-line-up-bold.svg?color=%23FF69B4'); }
#icon-quiz { background-color: rgba(50, 205, 50, 0.1); background-image: url('https://api.iconify.design/ph:game-controller-bold.svg?color=%2332CD32'); }


.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- Screenshots Section --- */
.screenshots {
    background: var(--white-color);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.screenshots-grid img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.screenshots-grid img:hover {
    transform: scale(1.05);
}

/* --- Final CTA Section --- */
.cta-final {
    text-align: center;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
}

.cta-final h2 {
    color: var(--white-color);
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- Footer --- */
.footer {
    background: #333;
    color: #ccc;
    padding: 30px 0;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
}

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

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 40px;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 15px;
    }
}
