body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    flex-direction: column; 
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #1f2937;
    padding: 40px 20px 20px 20px;
    box-sizing: border-box;
}

.container {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 600px;
    text-align: center;
    box-sizing: border-box;
}

.header h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
    color: #000000;
    margin: 0 0 30px 0;
    font-size: 15px;
}

.input-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

input {
    width: 100%;
    padding: 16px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #4f46e5, #ec4899) border-box;
    color: #000000;
}

input::placeholder {
    color: #000000;
    opacity: 0.6;
}

input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

button:active {
    transform: translateY(0);
}

.qr-result {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border: 2px dashed #e5e7eb;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.qr-result.hidden {
    display: none;
}

#qrcode img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

#download-btn {
    display: none;
    margin-top: 20px;
    background: linear-gradient(135deg, #10b981, #34d399);
}

#download-btn:hover {
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.brand-logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.brand-logo span {
    -webkit-text-fill-color: #6366f1;
    font-weight: 600;
    font-size: 22px;
    margin-left: 6px;
}

.seo-content {
    max-width: 600px;
    width: 90%;
    margin-top: 40px;
    margin-bottom: 40px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
    box-sizing: border-box;
}

.seo-content h2 {
    font-size: 20px;
    color: #1f2937;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.seo-content h2:not(:first-child) {
    margin-top: 30px;
}

.seo-content p, .seo-content ul {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.seo-content ul {
    padding-left: 20px;
}

.seo-content li {
    margin-bottom: 10px;
}

.seo-content strong {
    color: #1f2937;
}

@media (max-width: 480px) {
    body {
        padding: 30px 15px;
    }

    .container {
        padding: 30px 20px;
    }
    
    .brand-logo {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .brand-logo span {
        font-size: 18px;
    }
    
    .header h1 {
        font-size: 26px;
    }

    .input-group {
        flex-direction: column;
    }
}