* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f8fafc;
    color: #0f172a;
}

header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    color: #2563eb;
}

nav a {
    text-decoration: none;
    color: #475569;
    margin-left: 25px;
}

.hero {
    text-align: center;
    padding: 80px 20px 50px;
}

.badge {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: bold;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #2563eb;
}

.hero > p {
    font-size: 19px;
    color: #64748b;
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}

.search-box {
    max-width: 750px;
    margin: 35px auto 15px;
}

.search-box textarea {
    width: 100%;
    min-height: 130px;
    padding: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    resize: vertical;
    font-family: inherit;
    font-size: 17px;
    outline: none;
}

.search-box textarea:focus {
    border-color: #2563eb;
}

.search-box button {
    width: 100%;
    margin-top: 12px;
    padding: 17px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.search-box button:hover {
    background: #1d4ed8;
}

.examples {
    max-width: 750px;
    margin: auto;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.examples span {
    color: #64748b;
}

.examples button {
    border: 1px solid #cbd5e1;
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
}

.examples button:hover {
    border-color: #2563eb;
    color: #2563eb;
}

#result {
    max-width: 800px;
    margin: 35px auto 0;
    text-align: right;
}

.result-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    margin-top: 25px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-label {
    color: #2563eb;
    font-weight: bold;
}

.score {
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
}

.result-card h2 {
    font-size: 28px;
    margin: 20px 0;
}

.score-bar {
    height: 12px;
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
}

.score-progress {
    height: 100%;
    background: #2563eb;
    transition: width 1s ease;
}

.score-message {
    background: #eff6ff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.result-item {
    background: #f8fafc;
    padding: 18px;
    border-radius: 12px;
}

.result-item h3 {
    margin-bottom: 8px;
}

.result-item p {
    color: #64748b;
}

.idea-box {
    background: #f8fafc;
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    line-height: 1.7;
}

.analysis-button {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: #0f172a;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.features {
    padding: 60px 8%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: #64748b;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 30px;
    color: #64748b;
}

@media (max-width: 768px) {

    header {
        padding: 20px;
    }

    nav {
        display: none;
    }

    .hero {
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 36px;
    }

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

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